Book Image

Citrix XenServer 6.0 Administration Essential Guide

By : Daniele Tosatto
Book Image

Citrix XenServer 6.0 Administration Essential Guide

By: Daniele Tosatto

Overview of this book

Virtualization helps an organization reduce costs and achieve low maintenance. It is fast becoming an important skill for all administrators. Citrix's XenServer is one of the leading virtualization solutions for enterprises and helps companies reduce costs while allowing them to integrate, automate and easily manage their datacenters. It comes with a steep learning curve, but the results are well worth the effort. This practical guide on XenServer administration shows you how to manage XenServer pools; create, configure and manage virtual machines and a datacenter. With the help of real-world examples in this book, you will be able to apply these concepts directly in your everyday life. Packed with author's tips and helpful advice; the book is your best choice for anything related to XenServer administration. This is the only book that focuses on the most vital aspect of XenServerñadministration. You don't have to struggle through the lesser-documented tasks anymore, this book will provide all the information you need to create and run a perfectly designed datacenter using XenServer.You will begin your journey towards becoming an expert XenServer administrator by configuring XenServer pools and managing role-based user authentication. Your next step is to create and manage virtual machines. In the following chapters you will learn to configure storage. The book discusses some of the more difficult tasks like configuring and managing VM memory. In the end you will be capable of handling your datacenter and virtual machines through a network, and you will learn how to monitor and backup your XenServer setup. All through the book, the author adds his helpful tips and advice that will help you choose the best options for your setup.
Table of Contents (18 chapters)
Citrix XenServer 6.0 Administration Essential Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
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.