XenServer Administrator's Guide 4.1.0
4
Table of Contents
1. Overview ..................................................................................................................... 1
1.1. XenServer Hosts and resource pools ................................................................. 1
1.2. Networking ........................................................................................................ 1
1.3. Storage ............................................................................................................ 1
1.4. Command Line Interface ................................................................................... 2
1.5. How this Guide relates to other documentation ................................................... 2
2. XenServer Hosts and resource pools ............................................................................ 3
2.1. Requirements for creating resource pools ........................................................... 3
2.2. Creating a resource pool ................................................................................... 4
2.3. Adding shared storage ...................................................................................... 4
2.4. Installing and managing VMs on shared storage ................................................. 5
2.5. Removing a XenServer Host from a resource pool .............................................. 5
2.6. Backups ........................................................................................................... 6
2.7. Coping with machine failures ............................................................................. 7
2.7.1. Member failures ..................................................................................... 7
2.7.2. Master failures ....................................................................................... 8
2.7.3. Pool failures ........................................................................................... 8
2.7.4. Coping with Failure due to Configuration Errors ........................................ 8
2.7.5. Physical Machine failure ......................................................................... 9
3. Storage ..................................................................................................................... 11
3.1. Overview ........................................................................................................ 11
3.1.1. Storage repositories (SRs) .................................................................... 11
3.1.2. Virtual Disk Images (VDI) ...................................................................... 11
3.1.3. Managing Storage ............................................................................... 12
3.2. Storage Repository Types .............................................................................. 12
3.2.1. Local Disks ......................................................................................... 13
3.2.2. Local hotplug devices ........................................................................... 13
3.2.3. Shared Network Attached Storage using NFS ........................................ 13
3.2.4. Shared iSCSI Storage ......................................................................... 14
3.2.5. Shared LVM storage over FC or iSCSI hardware HBAs .......................... 15
3.2.6. Shared NetApp Storage ........................................................................ 16
3.3. Storage configuration examples ....................................................................... 18
3.3.1. Creating Storage Repositories ............................................................... 18
3.3.2. Probing an SR .................................................................................... 19
3.3.3. Creating a local LVM SR (lvm) .............................................................. 21
3.3.4. Creating a local EXT3 SR (ext) ............................................................. 21
3.3.5. Creating a shared NFS SR (nfs) ........................................................... 21
3.3.6. Creating a shared LVM over iSCSI SR using the software iSCSI initiator
(lvmoiscsi) .................................................................................................... 22
3.3.7. Creating a shared LVM over Fibre Channel or iSCSI HBA SR (lvmohba)
...................................................................................................................... 22
3.3.8. Creating a shared NetApp SR over iSCSI ............................................. 25
3.4. Managing Storage Repositories ...................................................................... 25
3.4.1. Destroying or forgetting a SR ............................................................... 25
3.4.2. Introducing a SR ................................................................................. 26
3.4.3. Converting local Fibre Channel SRs to shared SRs ................................. 26
3.4.4. Moving Virtual Disk Images (VDIs) between SRs ................................... 27
3.4.5. Managing VDIs in a Netapp SR ........................................................... 28
3.4.6. Taking VDI snapshots with a Netapp SR ............................................... 28
3.4.7. Adjusting the disk IO scheduler for an LVM-based SR ............................ 28
3.5. Managing Host Bus Adapters (HBAs) .............................................................. 28










