Solved

Xenserver pool master server for maintanance

Posted on 2013-12-11
8
3,145 Views
Last Modified: 2013-12-25
Hi,

I have 3 xen servers in a pool. I am planning to upgraded al 3 server's memory. I planned to do one by one at a time. when i do for pool master (xen1) i will move all vm's into xen2 and xen2, then i will shutdown the pool master and upgrade the RAM and start the pool master server. Is it the right way.

My doubt is, If I down the pool master for memory upgrade, will VM's in other server work?

Thanks
0
Comment
Question by:kolathaya123
  • 3
  • 3
8 Comments
 
LVL 23

Accepted Solution

by:
Ayman Bakr earned 500 total points
ID: 39713274
First put your pool master into maintenance mode. Right click on the server, then select Enter Maintenance Mode. Alternatively you can issue the following commands from CLI:
xe host-list

Open in new window

note down the uuid of the pool master then issue
xe host-disable uuid=<host uuid>
xe host-evacuate uuid=<host uuid>

Open in new window

The <host uuid> will be the uuid you got from the previous command.

This will automatically migrate the VMs to other servers and trigger an election for another pool master.

After the upgrade and putting it up you need to go out of maintenance mode by right clicking on the server, then selecting Exit Maintenance Mode. Or alternatively issuing this from CLI:
xe host-enable uuid=<host uuid>

Open in new window


You will do this with the rest of the servers one by one. Hope this helps.
0
 

Author Comment

by:kolathaya123
ID: 39713287
Thanks a lot.

One more question.

I don't have full resource to move all vm's into other server's . only 50% of VM's I can move. In this case. first I can shutdown 50% of VM's in the pool master, the put the pool master in maintenance more, so other 50% VM's will move to other hosts and new pool master will be elected right. Then I will switch of pool master, upgrade memory, start pool master, exit maintenance mode.

Is this correct?
0
 
LVL 23

Expert Comment

by:Ayman Bakr
ID: 39713300
Yep, you are right. The idea is not to have any VM running on the xenserver you want to bring down. So whether you would like 100% migration, 50% migration or 0% migration of VMs, you need to ensure that the VMs are not running on that XenServer and thus you need to shut down those that are not migrated.

Then when you enter maintenance mode, you are telling the system to disable the XenServer from accepting any VM to start on it, migrate VMs if any exist to other XenServers, and if the XenServer is a pool master, trigger an election for another server to be the pool master.

Next you shut down, do the upgrade, bring it up, test that VMs can start on it, working fine and continue with the rest of the XenServers.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:kolathaya123
ID: 39713308
Thank you very much..
0
 

Author Comment

by:kolathaya123
ID: 39713493
Hi,

One more question:

if my pool master is down due to power, I can restore the pool master role to another server in the pool using xe pool-emergency-transition-to-master. But how to bring the VM's from the dead pool master? will they come automatically into the new pool ?
0
 
LVL 23

Expert Comment

by:Ayman Bakr
ID: 39713731
The attached file should help you.

XenServer-System-Recovery-Guide-.pdf
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Join & Write a Comment

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now