Solved

Xenserver pool master server for maintanance

Posted on 2013-12-11
8
3,433 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
[X]
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
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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

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!

Question has a verified solution.

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

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
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.

739 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