Ask Your Question
0

Controller node vs Computer Node

asked 2014-09-24 17:43:57 -0600

NewStacker gravatar image

Hello,

I am fairly new to the OpenStack, and am trying to set up a simple network using Neutron. I dont understand the difference between a controller node and a compute node. Can anyone please help me out with this?

1) What is the function of both?

2) Do we always need both of them?

Thanking in anticipation.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-09-24 19:58:17 -0600

larsks gravatar image

updated 2014-09-24 19:58:30 -0600

What is the function of both?

The terms "compute node" and "controller" describe a fairly simplistic deployment model with only two roles:

  • A "compute" node runs a hypervisor and the nova-compute service. This is where virtual instances actually run.

  • The "controller" is basically everything else -- public facing APIs, web interface, scheduler, database server, message queue, etc.

Do we always need both of them?

It really depends on what you are trying to do. You need all of the services that comprise these two roles, but they don't need to be organized like this.

It's pretty common to have a "compute" role in any model. On the other hand, the stuff on the "controller" is often spread across several systems:

  • Dedicated network hosts to isolate tenant traffic
  • Dedicated storage nodes providing glance/cinder/etc, or providing a shared filesystem like NFS or GlusterFS for use by the rest of the cluster,
  • Dedicated database servers
  • Dedicated web servers to clearly separate "ui" from "api services"

Etc.

How you structure your deployment depends heavily on your goals: do you need HA? Are you trying to optimize storage performance? Are you trying to minimize cost?

edit flag offensive delete link more

Comments

To me, this is a very good answer. In addition, I would say that you can also have a look at this community document http://docs.openstack.org/icehouse/install-guide/install/apt/content/ (http://docs.openstack.org/icehouse/in...) where they explain the installation of a basic deployment.

MCo gravatar imageMCo ( 2014-09-25 01:22:12 -0600 )edit

Thanks you Larsks. Your answer was really helpful. Actually I am trying to isolate two the traffic from two companies and provide them basic services likes Routing-NAT, Firewall, Loadbalancer and VPN.

NewStacker gravatar imageNewStacker ( 2014-09-25 06:28:27 -0600 )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: 2014-09-24 17:43:57 -0600

Seen: 4,320 times

Last updated: Sep 24 '14