Citrix Xenserver ® 7.2 Virtual Machine User's Guide
Total Page:16
File Type:pdf, Size:1020Kb
Citrix XenServer ® 7.2 Virtual Machine User's Guide Published October 2017 1.1 Edition Citrix XenServer ® 7.2 Virtual Machine User's Guide © 1999-2017 Citrix Systems, Inc. All Rights Reserved. Version: 7.2 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. and/or one or more of its subsidiaries, and may be registered in the United States Patent and Trademark Office and in other countries. All other trademarks and registered trademarks are property of their respective owners. Trademarks Citrix® XenServer ® XenCenter ® Contents 1. About this Document .................................................................................... 1 1.1. Overview ...................................................................................................................... 1 1.2. XenServer Documentation ............................................................................................ 1 2. Virtual Machines ............................................................................................ 2 2.1. Types of Virtual Machines ............................................................................................. 2 2.2. Creating VMs ............................................................................................................... 2 2.2.1. Using VM Templates .......................................................................................... 2 2.3. Other Methods of VM Creation .................................................................................... 3 2.3.1. Physical to Virtual Conversion (P2V) ................................................................... 3 2.3.2. Cloning an Existing VM ...................................................................................... 3 2.3.3. Importing an Exported VM ................................................................................. 3 2.4. XenServer Tools ............................................................................................................ 4 2.4.1. Finding out the virtualization state of a VM ........................................................ 4 3. Supported Guests and Allocating Resources ................................................. 6 3.1. Supported Guests, Virtual Memory, and Disk Size Limits ................................................. 6 3.2. Long-term Guest Support ............................................................................................. 9 3.3. XenServer Product Family Virtual Device Support ........................................................... 9 3.3.1. VM Block Devices .............................................................................................. 9 4. Creating Windows VMs ............................................................................... 10 4.1. Basic Procedure for Creating a Windows VM ............................................................... 10 4.2. Windows VM Templates ............................................................................................. 10 4.2.1. Attaching an ISO Image Library ......................................................................... 11 4.3. Using XenCenter to Create a VM ................................................................................. 11 4.3.1. Installing XenServer Tools ................................................................................. 13 4.3.1.1. Silent Installation .................................................................................. 14 4.4. Using the CLI to Create a Windows VM ....................................................................... 15 5. Creating Linux VMs ...................................................................................... 16 5.1. Creating a Linux VM by Installing from an Internet Repository ....................................... 17 iii 5.2. Creating a Linux VM by Installing from a Physical CD/DVD ............................................ 18 5.3. Creating a Linux VM by Installing From an ISO Image ................................................... 19 5.3.1. Network Installation Notes ............................................................................... 19 5.4. Advanced Operating System Boot Parameters .............................................................. 20 5.5. Installing the Linux Guest Agent .................................................................................. 21 5.6. Additional Installation Notes for Linux Distributions ..................................................... 21 5.6.1. Additional Debian Notes .................................................................................. 22 5.6.1.1. Apt Repositories .................................................................................... 22 5.7. Preparing to Clone a Linux VM .................................................................................... 22 5.7.1. Machine Name ................................................................................................ 22 5.7.2. IP address ........................................................................................................ 23 5.7.3. MAC address ................................................................................................... 23 6. VM Migration with XenMotion and Storage XenMotion ............................. 24 6.1. XenMotion and Storage XenMotion ............................................................................. 24 6.1.1. XenMotion ...................................................................................................... 24 6.1.2. Storage XenMotion .......................................................................................... 24 6.1.3. Compatibility Requirements ............................................................................. 24 6.1.4. Limitations and Caveats ................................................................................... 25 6.2. Migrating a VM using XenCenter ................................................................................. 25 6.3. Live VDI Migration ...................................................................................................... 25 6.3.1. Limitations and Caveats ................................................................................... 26 6.3.2. To Move Virtual Disks ...................................................................................... 26 7. Updating VMs .............................................................................................. 27 7.1. Updating Windows Operating Systems ........................................................................ 27 7.2. Reinstalling XenServer Tools ........................................................................................ 27 7.3. Updating XenServer Tools ........................................................................................... 28 7.3.1. Updating the I/O drivers .................................................................................. 28 7.3.2. Updating the Management Agent ..................................................................... 28 7.3.3. Managing Automatic Updates .......................................................................... 29 7.4. Updating Linux Kernels and Guest Utilities ................................................................... 31 7.5. Upgrading to Ubuntu 14.04, RHEL 7 and CentOS 7 Guests ............................................ 31 iv 8. Container Management ............................................................................... 32 8.1. What is Docker™ ....................................................................................................... 32 8.2. Container Management Supplemental Pack ................................................................. 32 8.3. Managing Docker Containers Using XenCenter ............................................................. 33 8.4. Managing Containers on Other Linux Guests ................................................................ 33 8.5. Accessing Docker Container Console and Logs ............................................................. 34 8.5.1. Automating the Authentication Process (optional) ............................................. 34 8.6. Managing Windows Server Containers ......................................................................... 34 8.7. Network Requirements and Security ............................................................................ 35 8.7.1. Network Partitioning and Firewalls ................................................................... 36 8.7.2. Authentication on Linux-based operating systems ............................................. 36 8.7.3. Authentication for Windows Server Containers .................................................. 36 9. vApps ...........................................................................................................