Xenserver 7.1 Virtual Machine User's Guide
Total Page:16
File Type:pdf, Size:1020Kb
Citrix XenServer ® 7.1 Virtual Machine User's Guide Published November 2018 1.1 Edition Citrix XenServer ® 7.1 Virtual Machine User's Guide Copyright © 2018 Citrix Systems. Inc. All Rights Reserved. Version: 7.1 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, the Citrix logo, Citrix XenServer and Citrix XenCenter, and other trademarks appearing herein are the property of Citrix Systems, Inc, 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 ................................................................................. 4 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. XenServer Product Family Virtual Device Support ........................................................... 6 3.1.1. VM Block Devices .............................................................................................. 6 4. Creating Windows VMs ................................................................................. 7 4.1. Basic Procedure for Creating a Windows VM ................................................................. 7 4.2. Windows VM Templates ............................................................................................... 7 4.2.1. Attaching an ISO Image Library ........................................................................... 8 4.3. Using XenCenter to Create a VM ................................................................................... 8 4.3.1. Installing XenServer Tools ................................................................................. 10 4.3.1.1. Silent Installation .................................................................................. 11 4.4. Using the CLI to Create a Windows VM ....................................................................... 12 5. Creating Linux VMs ...................................................................................... 13 5.1. PV Linux distributions ................................................................................................. 14 5.2. HVM Linux distributions .............................................................................................. 15 5.3. Creating a Linux VM by Installing from an Internet Repository ....................................... 16 iii 5.4. Creating a Linux VM by Installing from a Physical CD/DVD ............................................ 16 5.5. Creating a Linux VM by Installing From an ISO Image ................................................... 17 5.5.1. Network Installation Notes ............................................................................... 18 5.6. Advanced Operating System Boot Parameters .............................................................. 18 5.7. Installing the Linux Guest Agent .................................................................................. 19 5.8. Additional Installation Notes for Linux Distributions ..................................................... 20 5.9. Debian Apt Repositories .............................................................................................. 22 5.10. Preparing to Clone a Linux VM .................................................................................. 22 5.10.1. Machine Name .............................................................................................. 23 5.10.2. IP address ...................................................................................................... 23 5.10.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 ..................................................................... 29 7.3.3. Managing Automatic Updates .......................................................................... 29 7.4. Updating Linux Kernels and Guest Utilities ................................................................... 30 7.5. Upgrading to Ubuntu 14.04, RHEL 7.x and CentOS 7.x Guests ........................................ 30 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 ...........................................................................................................