Ask Your Question
1

Can we deploy - controller, compute, networking inside one host?

asked 2015-05-03 01:06:47 -0500

senyapsudah gravatar image

hi guys,

i'm looking for a confirmation if is it possible for us to deploy openstack inside a single server? say i have 5 server and i would like to have all my 5 servers running as controller, compute and networking. the reason being for me to deply like this is probably looking for:

  1. High Availability
  2. fully utilize all servers resources.

thanks.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2015-05-03 01:26:32 -0500

dbaxps gravatar image

updated 2015-05-03 02:46:03 -0500

Just now RDO KIlo (RC2) does AIO packstack install with no problems ( actually, multi node as well )
View :- https://www.linux.com/community/blogs...
Skip part of procedure related to switching to Nova-Docker driver and stay with Libvirt one.
I realize that question was asked with Ubuntu 14.04 in the mind , so view :-
https://www.linux.com/community/blogs...
Just replace local.conf like this

   ubuntu@ubuntu-System:~$ cat local.conf
    [[local|localrc]]
    HOST_IP=192.168.1.51
    ADMIN_PASSWORD=secret
    DATABASE_PASSWORD=$ADMIN_PASSWORD
    RABBIT_PASSWORD=$ADMIN_PASSWORD
    SERVICE_PASSWORD=$ADMIN_PASSWORD
    SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50

    FLOATING_RANGE=192.168.12.0/24
    FLAT_INTERFACE=eth0
    Q_FLOATING_ALLOCATION_POOL=start=192.168.12.150,end=192.168.12.254
    PUBLIC_NETWORK_GATEWAY=192.168.12.15

    # Useful logging options for debugging:
    DEST=/opt/stack
    LOGFILE=$DEST/logs/stack.sh.log
    SCREEN_LOGDIR=$DEST/logs/screen

    # The default fixed range (10.0.0.0/24) conflicted with an address
    # range I was using locally.
    FIXED_RANGE=10.254.1.0/24
    NETWORK_GATEWAY=10.254.1.1

    # Services
    disable_service n-net
    enable_service n-cauth
    enable_service q-svc
    enable_service q-agt
    enable_service q-dhcp
    enable_service q-l3
    enable_service q-meta
    enable_service horizon
    disable_service tempest



  Regarding HA for Controllers it's a separate question.
    General concepts may be found here

http://docs.openstack.org/high-availa...

Just in case view also :- http://bderzhavets.blogspot.com/2015/...

edit flag offensive delete link more

Comments

Does this means that it is possible for me to have 5 servers being installed as controller, compute, network node and manage from single dashboard?

senyapsudah gravatar imagesenyapsudah ( 2015-05-03 08:45:01 -0500 )edit

In regards of RDO Kilo I guess "yes", because I would perform install of all 5 nodes via single packstack run from selected box. I never did several controllers, but network node an compute nodes gets registered with controller on the fly .

dbaxps gravatar imagedbaxps ( 2015-05-03 09:31:41 -0500 )edit

Two tables in nova database are responsible for registration "sevices && compute_nodes"

dbaxps gravatar imagedbaxps ( 2015-05-03 09:33:40 -0500 )edit

thanks. i should give it a try. :)

senyapsudah gravatar imagesenyapsudah ( 2015-05-03 19:04:55 -0500 )edit

Regarding RDO Kilo , you would better wait 05/07/2015 GA day for release . RC2 is extensively testing and 05/05-06 are official test days for GA release. Versions for CentOS 7.1 and F21 are expected to be out

dbaxps gravatar imagedbaxps ( 2015-05-03 22:32:19 -0500 )edit
1

answered 2015-05-03 01:17:02 -0500

uts9 gravatar image

Yes you can. But it will be a single point of failure.

edit flag offensive delete link more

Comments

just in case if you did not get my question correctly. i would like to have these 5 servers to be control by single dashboard and all the features controller, compute, network and also storage - probably i will use ceph. so far i manage to get things working without l3 networking. but not with l3

senyapsudah gravatar imagesenyapsudah ( 2015-05-03 08:48:06 -0500 )edit
1

Try RDO link text or DevStack link text. You will be able to run a full fledged OpenStack on a single server.

This is my DevStack local.conf

uts9 gravatar imageuts9 ( 2015-05-03 11:19:11 -0500 )edit

then i should give it a try. :)

senyapsudah gravatar imagesenyapsudah ( 2015-05-03 19:04:27 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-05-03 01:06:47 -0500

Seen: 449 times

Last updated: May 03 '15