Administrators_Guide.pdf - Citrix XenServer u00ae 5.6...

This preview shows page 1 out of 235 pages.

You've reached the end of your free preview.

Want to read all 235 pages?

Unformatted text preview: Citrix XenServer ® 5.6 Administrator's Guide Published June 2010 1.1 Edition Citrix XenServer ® 5.6 Administrator's Guide Copyright © 2009 Citrix All Rights Reserved. Version: 5.6 Citrix, Inc. 851 West Cypress Creek Road Fort Lauderdale, FL 33309 United States of America Disclaimers This document is furnished "AS IS." Citrix, Inc. disclaims all warranties regarding the contents of this document, including, but not limited to, implied warranties of merchantability and fitness for any particular purpose. This document may contain technical or other inaccuracies or typographical errors. Citrix, Inc. reserves the right to revise the information in this document at any time without notice. This document and the software described in this document constitute confidential information of Citrix, Inc. and its licensors, and are furnished under a license from Citrix, Inc. Citrix Systems, Inc., the Citrix logo, Citrix XenServer and Citrix XenCenter, are trademarks of Citrix Systems, Inc. in the United States and other countries. All other products or services mentioned in this document are trademarks or registered trademarks of their respective companies. Trademarks Citrix ® XenServer ® XenCenter ® 1.1 Edition Table of Contents Document Overview .................................................................................... 1 How this Guide relates to other documentation .................................................................................. 1 Managing users ............................................................................................ 2 Authenticating users using Active Directory (AD) ................................................................................. 2 Configuring Active Directory authentication ................................................................................ 3 User authentication .............................................................................................................. 5 Removing access for a user .................................................................................................. 6 Leaving an AD domain ......................................................................................................... 6 Role Based Access Control ........................................................................................................... 7 Roles ................................................................................................................................ 8 Definitions of RBAC roles and permissions ................................................................................ 9 Working with RBAC using the xe CLI ..................................................................................... 14 To list all the available defined roles in XenServer ............................................................... 14 To display a list of current subjects: ............................................................................... 15 To add a subject to RBAC ........................................................................................... 16 To assign an RBAC role to a created subject ................................................................... 16 To change a subject’s RBAC role: ................................................................................. 17 Auditing ........................................................................................................................... 17 Audit log xe CLI commands ......................................................................................... 17 To obtain all audit records from the pool ......................................................................... 17 To obtain audit records of the pool since a precise millisecond timestamp ............................... 17 To obtain audit records of the pool since a precise minute timestamp ..................................... 17 How does XenServer compute the roles for the session? ............................................................ 18 XenServer hosts and resource pools ....................................................... 19 Hosts and resource pools overview ................................................................................................ 19 Requirements for creating resource pools ........................................................................................ 19 iii Creating a resource pool ............................................................................................................. 20 Creating heterogeneous resource pools .......................................................................................... 21 Adding shared storage ................................................................................................................ 21 Removing a XenServer host from a resource pool ............................................................................. 22 High Availability .......................................................................................................................... 23 HA Overview ..................................................................................................................... 23 Overcommitting ......................................................................................................... 23 Overcommitment Warning ............................................................................................ 23 Host Fencing ............................................................................................................ 23 Configuration Requirements .................................................................................................. 24 Restart priorities ................................................................................................................ 24 Enabling HA on a XenServer pool .................................................................................................. 25 Enabling HA using the CLI ................................................................................................... 25 Removing HA protection from a VM using the CLI ..................................................................... 26 Recovering an unreachable host ........................................................................................... 26 Shutting down a host when HA is enabled .............................................................................. 26 Shutting down a VM when it is protected by HA ....................................................................... 26 Host Power On ......................................................................................................................... 27 Powering on hosts remotely ................................................................................................. 27 Using the CLI to Manage Host Power On ............................................................................... 27 To enable Host Power On using the CLI ......................................................................... 28 To turn on hosts remotely using the CLI .......................................................................... 28 Configuring a Custom Script for XenServer’s Host Power On Feature ............................................. 28 Key/Value Pairs ......................................................................................................... 28 host.power_on_mode .......................................................................................... 28 host.power_on_config ......................................................................................... 29 Sample Script ........................................................................................................... 29 Storage ........................................................................................................ 30 iv Storage Overview ....................................................................................................................... 30 Storage Repositories (SRs) ................................................................................................... 30 Virtual Disk Images (VDIs) .................................................................................................... 30 Physical Block Devices (PBDs) .............................................................................................. 30 Virtual Block Devices (VBDs) ................................................................................................ 31 Summary of Storage objects ................................................................................................ 31 Virtual Disk Data Formats .................................................................................................... 31 VHD-based VDIs ........................................................................................................ 32 VHD Chain Coalescing ........................................................................................ 32 Space Utilization ................................................................................................ 32 LUN-based VDIs ........................................................................................................ 33 Storage configuration .................................................................................................................. 33 Creating Storage Repositories ............................................................................................... 33 Upgrading LVM storage from XenServer 5.0 or earlier ................................................................. 34 LVM performance considerations ........................................................................................... 34 VDI types ................................................................................................................. 34 Creating a raw virtual disk using the xe CLI ..................................................................... 34 Converting between VDI formats ........................................................................................... 35 Probing an SR .................................................................................................................. 35 Storage Multipathing ........................................................................................................... 38 Storage Repository Types ............................................................................................................ 39 Local LVM ........................................................................................................................ 40 Creating a local LVM SR (lvm) ....................................................................................... 40 Local EXT3 VHD ................................................................................................................ 40 Creating a local EXT3 SR (ext) ...................................................................................... 40 udev ............................................................................................................................... 41 ISO ................................................................................................................................. 41 EqualLogic ....................................................................................................................... 41 v Creating a shared EqualLogic SR .................................................................................. 41 EqualLogic VDI Snapshot space allocation with XenServer EqualLogic Adapter ......................... 42 Creating a VDI using the CLI ................................................................................ 43 NetApp ............................................................................................................................ 43 Creating a shared NetApp SR over iSCSI ........................................................................ 46 Managing VDIs in a NetApp SR ................................................................................... 47 Taking VDI snapshots with a NetApp SR ......................................................................... 47 Software iSCSI Support ....................................................................................................... 47 XenServer Host iSCSI configuration ............................................................................... 48 Managing Hardware Host Bus Adapters (HBAs) ........................................................................ 48 Sample QLogic iSCSI HBA setup ................................................................................. 48 Removing HBA-based SAS, FC or iSCSI device entries ..................................................... 49 LVM over iSCSI ................................................................................................................. 49 Creating a shared LVM over iSCSI SR using the software iSCSI initiator (lvmoiscsi) .................... 49 Creating a shared LVM over Fibre Channel / iSCSI HBA or SAS SR (lvmohba) .......................... 50 NFS VHD ......................................................................................................................... 52 Creating a shared NFS SR (nfs) ................................................................................... 53 LVM over hardware HBA ..................................................................................................... 53 Citrix StorageLink Gateway (CSLG) SRs .................................................................................. 54 Creating a shared StorageLink SR ................................................................................. 54 Managing Storage Repositories .................................................................................................... 58 Destroying or forgetting a SR ............................................................................................... 59 Introducing an SR ............................................................................................................. 59 Resizing an SR .................................................................................................................. 60 Converting local Fibre Channel SRs to shared SRs .................................................................... 60 Moving Virtual Disk Images (VDIs) between SRs ........................................................................ 60 Copying all of a VM’s VDIs to a different SR .................................................................... 60 Copying individual VDIs to a different SR ......................................................................... 60 vi Adjusting the disk IO scheduler ............................................................................................. 61 Virtual disk QoS settings ............................................................................................................. 61 Configuring VM memory ........................................................................... 63 What is Dynamic Memory Control (DMC)? ....................................................................................... 63 The concept of dynamic range ............................................................................................. 63 The concept of static range ................................................................................................. 64 DMC Behaviour ................................................................................................................. 64 How does DMC Work? ....................................................................................................... 64 Memory constraints ............................................................................................................ 65 Supported operating systems ............................................................................................... 65 xe CLI commands ..................................................................................................................... 66 Display the static memory properties of a VM ........................................................................... 66 Display the dynamic memory properties of a VM ....................................................................... 66 Updating memory properties ................................................................................................ 67 Update individual memory properties ...................................................................................... 68 Upgrade issues ......................................................................................................................... 68 Workload Balancing interaction ..................................................................................................... 68 Networking .................................................................................................. 69 XenServer networking overview ..................................................................................................... 69 Network objects ................................................................................................................ 70 Networks ......................................................................................................................... 70 VLANs ............................................................................................................................. 70 Using VLANs with host management interfaces ................................................................ 70 Using VLANs with virtual machines ................................................................................ 70 Using VLANs with dedicated storage NICs ...................................................................... 71 Combining management interfaces and guest VLANs on a single host NIC .............................. 71 NIC bonds ....................................................................................................................... 71 vii Initial networking configuration ............................................................................................. 72 Managing networking configuration ................................................................................................ 72 Creating networks in a standalone server ................................................................................ 72 Creating networks in resource pools ...................................................................................... 73 Creating VLANs ................................................................................................................. 73 Creating NIC bonds on a standalone host ............................................................................... 74 Creating a NIC bond on a dual-NIC host ......................................................................... 74 Controlling the MAC address of the bond ........................................................................ 75 Reverting NIC bonds .................................................................................................. 75 Creating NIC bonds in resource pools .................................................................................... 75 Adding NIC bonds to new resource pools ....................................................................... 76 Adding NIC bonds to an existing pool ............................................................................ 77 Configuring a dedicated storage NIC ...................................................................................... 79 Controlling Quality of Service (QoS) ....................
View Full Document

  • Fall '19
  • ISCSI, Citrix Systems

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes