Master/Slave

13 posts / 0 new
Last post
#1 Fri, 10/30/2009 - 06:18
pcardoso

Master/Slave

Hi,

Can we change a Master server to another server?

We have a Master and a Slave Cloudmin server and would like to move the Master Role to another server and change the actual master server hardware. Can it be done?

If we have the master server down, how can we manage the vm's running on slave servers?

Thanks Paulo Cardoso

Sat, 10/31/2009 - 01:35
JamieCameron

So if you want to move your Cloudmin master settings to another system, here's what I would recommend :

1) Install Cloudmin on the new system.

2) Transfer the /etc/webmin/servers and /etc/webmin/server-manager directories from the old system to the new.

3) Shut down the old system..

All VMs hosted on other systems will continue to run. However, if you have VMs hosted on the old master, they will need to be manually transferred across..

''

Sun, 11/01/2009 - 15:38 (Reply to #2)
pcardoso

What if I install the server as slave, migrate the machines from master to that slave and them move that folders? Will it work?

Sun, 11/01/2009 - 17:39 (Reply to #3)
JamieCameron

Could you explain what you mean by a slave exactly? Cloudmin doesn't really have anything that is calls a slave ..

''

Mon, 11/02/2009 - 06:42 (Reply to #4)
pcardoso

Hi,

I call slave to the additional servers for Cloudmin. We have a 10 server license and installed it on one server (master). Then we installed a new server and added it to the Master configuration. After that we can migrate VM's from "Master" to "Slave" server. We have some machines on the "Master" and others on "Slave". Now we would like to change the "Master Role" to the "Slave" server and shut down the actual "Master" server. After that we would like to have only one server with all the VM's and acting as "Master".

Can it be done live?

Mon, 11/02/2009 - 17:55 (Reply to #5)
JamieCameron

Ok, I see what you mean now .. Cloudmin uses the term "host" to refer to a system that can host virtual systems like Xen instances. The "master" can be a host, as can other physical systems.

So in your case, here's what I would recommend if you want to move the master role :

1) Install Cloudmin on the new master system.

2) Copy the /etc/webmin/servers , /etc/webmin/server-manager and /var/webmin/server-manager directories from the old master to the new.

3) Shut down the old master

All running virtual systems should continue to operate just fine.

''

Fri, 01/22/2010 - 14:16 (Reply to #6)
SoftDux

Jamie,

Is it possible to stop & remove CloudMin from the old server, after I have moved everything across to a new master server, without shutting down the whole server, and disrupting the running VM's on that server?

Fri, 01/22/2010 - 14:41 (Reply to #7)
JamieCameron

Yes, that will work fine .. shutting down or removing Cloudmin won't effect running VMs

''

Tue, 11/03/2009 - 17:40
Joe
Joe's picture

I'll also mention that we do have plans to provide for Cloudmin redundancy, and a notion of master and replicas. It'll be a little while before that capability shows up, but reliability, redundancy and scalability are useful features of cloud computing services, so the tools that help build cloud computing services ought to also have those features.

Jamie and I hashed out how this might work on our drive up to Davis recently, and I think we have a pretty good plan for how to implement it.

--

Check out the forum guidelines!

Thu, 01/14/2010 - 07:39 (Reply to #9)
SoftDux

Joe,

Can you please tell me when this feature will be implemented? I'm looking for a solution where the CloudMin "Masters" could be replicated across two, or even three different "master servers" for redundancy. Ideally this should be able to be done across data centers as well for higher redundancy.

If the "master roles" could run on a host server which has XEN instances running as well that would be awesome :)

Thu, 01/14/2010 - 09:49 (Reply to #10)
andreychek

Howdy,

Here's some "Joe-ese" for you.

when Joe mentions "soon", he often means a month or two. When he says "a little while", it's probably 6 months or more down the road.

I'll pass along your request to Joe and Jamie, but since he said it'll be a little while, I'd be surprised to see that feature before the summer this year.

-Eric

Fri, 01/22/2010 - 14:47
SoftDux

ok, cool. But how to I actually uninstall CloudMin ?

Fri, 01/22/2010 - 15:46 (Reply to #12)
JamieCameron

On a CentOS / Redhat system, you could use the command :

rpm -e wbm-server-manager wbt-virtual-server-theme wbm-security-updates webmin

''

Topic locked