Xenserver pool master server for maintanance

Posted on 2013-12-11
Last Modified: 2013-12-25

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?

Question by:kolathaya123
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 23

Accepted Solution

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.

Author Comment

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?
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.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 39713308
Thank you very much..

Author Comment

ID: 39713493

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 ?
LVL 23

Expert Comment

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


Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
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.

734 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