Xen Cloud Platform Administrator's Guide Release 0.1 0.1
Total Page:16
File Type:pdf, Size:1020Kb
Xen Cloud Platform Administrator's Guide Release 0.1 0.1 Published October 2009 1.0 Edition 1 Xen Cloud Platform Administrator's Guide Xen Cloud Platform Administrator's Guide: Release 0.1 Published October 2009 Copyright © 2008 Xen®, Xen.org®, Xen Cloud Platform™, and logos are either registered trademarks or trademarks of Xen.org Systems, Inc. in the United States and/or other countries. Other company or product names are for informational purposes only and may be trademarks of their respective owners. This product contains an embodiment of the following patent pending intellectual property of Xen.org Systems, Inc.: 1. United States Non-Provisional Utility Patent Application Serial Number 11/487,945, filed on July 17, 2006, and entitled “Using Writeable Page Tables for Memory Address Translation in a Hypervisor Environment”. 2. United States Non-Provisional Utility Patent Application Serial Number 11/879,338, filed on July 17, 2007, and entitled “Track- ing Current Time on Multiprocessor Hosts and Virtual Machines”. 2 Contents 1. Document Overview ........................................................................................... 9 How this Guide relates to other documentation .................................................. 9 2. Xen Cloud Platform hosts and resource pools ................................................ 11 Hosts and resource pools overview ................................................................. 11 Requirements for creating resource pools ........................................................ 11 Creating a resource pool ................................................................................ 12 Adding shared storage ................................................................................... 13 Installing and managing VMs on shared storage .............................................. 14 Removing a Xen Cloud Platform host from a resource pool .............................. 15 Authenticating users using Active Directory (AD) .............................................. 15 Configuring Active Directory authentication .............................................. 16 User authentication ................................................................................ 17 Removing access for a user ................................................................... 18 Leaving an AD domain ........................................................................... 19 3. Storage ............................................................................................................. 21 Storage Overview .......................................................................................... 21 Storage Repositories (SRs) .................................................................... 21 Virtual Disk Images (VDIs) ..................................................................... 22 Physical Block Devices (PBDs) ............................................................... 22 Virtual Block Devices (VBDs) .................................................................. 22 Summary of Storage objects ................................................................... 22 Virtual Disk Data Formats ....................................................................... 23 Storage configuration ..................................................................................... 25 Creating Storage Repositories ................................................................ 25 Upgrading LVM storage from Xen Cloud Platform 5.0 or earlier ................. 25 LVM performance considerations ............................................................ 26 Converting between VDI formats ............................................................. 27 Probing an SR ....................................................................................... 27 Storage Multipathing .............................................................................. 30 Storage Repository Types .............................................................................. 32 Local LVM ............................................................................................. 33 Local EXT3 VHD ................................................................................... 33 udev ...................................................................................................... 34 ISO ....................................................................................................... 34 EqualLogic ............................................................................................. 34 NetApp .................................................................................................. 35 Software iSCSI Support .......................................................................... 41 Managing Hardware Host Bus Adapters (HBAs) ....................................... 42 3 LVM over iSCSI ..................................................................................... 43 NFS VHD .............................................................................................. 46 LVM over hardware HBA ........................................................................ 47 Xen.org StorageLink Gateway (CSLG) SRs ............................................. 48 Managing Storage Repositories ..................................................................... 53 Destroying or forgetting a SR ................................................................. 53 Introducing an SR ................................................................................. 53 Resizing an SR ...................................................................................... 54 Converting local Fibre Channel SRs to shared SRs .................................. 54 Moving Virtual Disk Images (VDIs) between SRs ..................................... 55 Adjusting the disk IO scheduler .............................................................. 55 Virtual disk QoS settings ................................................................................ 55 4. Networking ....................................................................................................... 57 Xen Cloud Platform networking overview ......................................................... 57 Network objects ..................................................................................... 57 Networks ............................................................................................... 58 VLANs ................................................................................................... 58 NIC bonds ............................................................................................. 59 Initial networking configuration ............................................................... 60 Managing networking configuration ................................................................. 61 Creating networks in a standalone server ................................................ 61 Creating networks in resource pools ....................................................... 61 Creating VLANs ..................................................................................... 62 Creating NIC bonds on a standalone host ....................................................... 62 Creating a NIC bond on a dual-NIC host ................................................. 63 Controlling the MAC address of the bond ................................................ 64 Reverting NIC bonds .............................................................................. 64 Creating NIC bonds in resource pools ............................................................. 64 Adding NIC bonds to new resource pools ................................................ 65 Adding NIC bonds to an existing pool ..................................................... 67 Configuring a dedicated storage NIC ............................................................... 68 Controlling Quality of Service (QoS) ................................................................ 69 Changing networking configuration options ...................................................... 70 Hostname .............................................................................................. 70 DNS servers .......................................................................................... 70 Changing IP address configuration for a standalone host .......................... 70 Changing IP address configuration in resource pools ................................ 70 Management interface ............................................................................ 71 Disabling management access ................................................................ 72 Adding a new physical NIC .................................................................... 72 NIC/PIF ordering in resource pools ................................................................. 72 Verifying NIC ordering ............................................................................ 72 Re-ordering NICs ................................................................................... 73 Networking Troubleshooting ............................................................................ 74 Diagnosing network corruption ................................................................ 74 Recovering from a bad network configuration .......................................... 75 4 5. Workload Balancing ........................................................................................