Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Citrix XenServer 6.0 Administration Essential Guide

You're reading from   Citrix XenServer 6.0 Administration Essential Guide Deploy and manage XenServer in your enterprise to create, integrate, manage and automate a virtual datacenter quickly and easily with this book and ebook.

Arrow left icon
Product type Paperback
Published in Jun 2012
Publisher Packt
ISBN-13 9781849686167
Length 364 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Daniele Tosatto Daniele Tosatto
Author Profile Icon Daniele Tosatto
Daniele Tosatto
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Citrix XenServer 6.0 Administration Essential Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Introducing XenServer Resource Pools FREE CHAPTER 2. Managing User Authentication 3. Managing Storage Repositories 4. Creating Virtual Machines 5. Managing Virtual Machines 6. Managing XenServer and Virtual Machine Memory 7. Managing XenServer Networking 8. Managing High Availability and Snapshots 9. Protecting and Monitoring XenServer Supported Guest Operating Systems and Virtual Machine Templates Applying Updates and Hotfixes Index

Removing a XenServer host from a resource pool


You may have the need to remove a XenServer host from a resource pool because that host is no longer available or because you decide to retire it.

When a XenServer host is removed (ejected) from a pool, the machine is rebooted, reinitialized, and left in a state equivalent to that after a fresh installation. It is important not to eject a XenServer host from a pool if there is important data on the local disks, because all of the data will be erased upon ejection from the pool.

Note: Before removing a XenServer host from a pool, ensure that you shut down all the VMs running on that host. You may see a warnin stating that the host cannot be removed.

Note

You cannot remove the host acting as pool master from a resource pool. First, designate another host as master.

You can remove a host using XenCenter or CLI.

You have decided to substitute your host xenserver2 with a new server so to complete this task you will have to remove it from the pool named XenPool:

  1. Open XenCenter and select host xenserver2. Right-click and select Remove server from Pool as shown in the following screenshot:

  2. A warning will be displayed informing you that the operation will erase all the data. Click on Yes.

  3. The server will be removed from the pool and will be restarted.

  4. To perform the same task using the CLI, follow this procedure:

  5. Open a console on any host of the pool.

  6. Identify the UUID of the host that you have to eject by executing the following command:

    xe host-list
    
  7. Execute the following command to start the removal process:

    xe pool-eject host-uuid=<host_uuid>
    

    where host-uuid is the value that you have found in the previous step.

  8. We will run following command to remove xenserver2 from the XenPool:

    xe pool-eject host-uuid=8791cc9e-e1e0-43f0-9104-d608bb033b9b
    
  9. Type yes to continue. The host will be ejected and left in a freshly-installed state.

You have been reading a chapter from
Citrix XenServer 6.0 Administration Essential Guide
Published in: Jun 2012
Publisher: Packt
ISBN-13: 9781849686167
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image