Citrix Systems 6.2.0 manual Preparing to Clone a Linux VM, Additional Debian Notes, Machine Name

Page 28

Linux Distribution

Installation Notes

 

 

Oracle Enterprise Linux 6.0, 6.1, 6.2 (32-/64-bit)

None.

 

 

Debian Squeeze 6.0 (32-/64-bit)

When a private mirror is specified in XenCenter this

 

is only used to retrieve the installer kernel. Once the

 

installer is running you will again need to enter the

 

address of the mirror to be used for package retrieval.

 

 

Ubuntu 10.04 (32-/64-bit)

For Ubuntu 10.04 VMs with multiple vCPUs, Citrix

 

strongly recommends that you update the guest kernel

 

to "2.6.32-32 #64". For details on this issue, see

 

the Knowledge Base article CTX129472 Ubuntu 10.04

 

Kernel Bug Affects SMP Operation.

 

 

Ubuntu 12.04 (32-/64-bit)

None.

 

 

5.6.1. Additional Debian Notes

5.6.1.1. Apt Repositories

For infrequent or one-off installations, it is reasonable to directly use a Debian mirror. However, if you intend to do several VM installations, we recommend that you use a caching proxy or local mirror. Apt-cacheris an implementation of proxy server that will keep a local cache of packages. debmirror is a tool that will create a partial or full mirror of a Debian repository. Either of these tools can be installed into a VM.

5.7. Preparing to Clone a Linux VM

Typically, when cloning a VM or a computer, unless you "generalize" the cloned image, attributes unique to that machine, such as the IP address, SID, or MAC address, will be duplicated in your environments.

As a result, XenServer automatically changes some virtual hardware parameters when you clone a Linux VM. If you copy the VM using XenCenter, XenCenter automatically changes the MAC address and IP address for you. If these interfaces are configured dynamically in your environment, you might not need to make any modifications to the cloned VM. However, if the interfaces are statically configured, you might need to modify their network configurations.

The VM may need to be customized to be made aware of these changes. For instructions for specific supported Linux distributions, see Section B.1, “Release Notes”.

5.7.1. Machine Name

A cloned VM is another computer, and like any new computer in a network, it must have a unique name within the network domain it is part of.

5.7.2. IP address

A cloned VM must have a unique IP address within the network domain it is part of. Generally, this is not a problem if DHCP is used to assign addresses; when the VM boots, the DHCP server will assign it an IP address. If the cloned VM had a static IP address, the clone must be given an unused IP address before being booted.

5.7.3. MAC address

There are two situations when Citrix recommends disabling MAC address rules before cloning:

1.In some Linux distributions, the MAC address for the virtual network interface of a cloned VM is recorded in the network configuration files. However, when you clone a VM, XenCenter assigns the new cloned VM a

21

Image 28
Contents Citrix XenServer 6.2.0 Virtual Machine Users Guide Trademarks Contents VM Migration with XenMotion and Storage XenMotion Importing the Demo Linux Virtual Appliance Windows VM Release Notes Setting Up a Red Hat Installation Server Overview About this DocumentXenServer Documentation Creating VMs Virtual MachinesOther Methods of VM Creation XenServer Tools Importing an Exported VMPage Supported Guests, Virtual Memory, and Disk Size Limits Supported Guests and Allocating ResourcesOperating System Minimum Maximum Minimum Disk Space 4GB 8GB Experimental Guests Operating SystemXenServer Product Family Virtual Device Support Deprecated GuestsVirtual device Linux VMs Windows VMs VM Block Devices Basic Procedure for Creating a Windows VM Creating Windows VMsAvailable Windows Templates Template Name DescriptionAttaching an ISO Image Library Using XenCenter to Create a VMTo create a Windows 7 32-bit VM Page Using the CLI to Create a Windows VM Installing a Windows VM from an ISO Repository Using the CLICreating Linux VMs Install From Network From CD Repository Distribution VendorCreating a Linux VM by Installing from a Physical CD/DVD Creating a Linux VM by Installing From an ISO Image Network Installation NotesTo install Debian using a preseed file Advanced Operating System Boot ParametersTo install Rhel Using a Kickstart File Installing the Linux Guest Agent To install the guest agentAdditional Installation Notes for Linux Distributions Linux Distribution Installation NotesPreparing to Clone a Linux VM Additional Debian NotesMachine Name IP addressPage VM Migration with XenMotion and Storage XenMotion XenMotion and Storage XenMotionXenMotion Storage XenMotionLive VDI Migration Migrating a VM using XenCenterLimitations and Caveats To Move Virtual Disks To uninstall the XenServer Tools Updating VMsUpdating Windows Operating Systems Updating XenServer Tools for Windows VMsPage Creating a vApp using XenCenter VAppsManaging vApps in XenCenter Creating vAppsStart and shutdown vApps using XenCenter Deleting vApps using XenCenterDeleting vApps To start a vAppTo export a vApp Importing and Exporting vAppsTo import a vApp VM Boot Behavior Persist XenDesktop Private Desktop ModeReset XenDesktop Shared Desktop Mode Advanced Notes for Virtual MachinesInstalldir/xensetup.exe /S /norestart Windows Volume Shadow Copy Service VSS provider Connecting to a Windows VM Using Remote DesktopTo enable the Windows XenServer VSS provider To Enable Remote Desktop on a Windows VMTime Handling in Windows VMs Time Handling in Linux VMsTo set individual Linux VMs to maintain independent times Installing a VM from Reseller Option Kit BIOS-locked MediaGuest OS Dependent wallclock Independent wallclock Using XenCenter Preparing for Cloning a Windows VM Using VSSUsing the CLI Assigning a GPU to a Windows VM for Use with XenDesktop Cloning Windows VMsTo assign a GPU to a Windows VM using XenCenter To assign a GPU to a Windows VM using xe CLITo detach a Windows VM from a GPU using XenCenter To detach a Windows VM from a GPU using the xe CLIDetach the GPU from the VM by entering the following Importing the Demo Linux Virtual Appliance To Import the Demo Linux Virtual Appliance Using XenCenterUseful Tests Page Supported Formats Importing and Exporting VMsFormat Description Open Virtualization Format OVF and OVA Attribute DescriptionDisk Image Formats VHD and Vmdk XVA FormatOperating System Fixup XVA Version 1 FormatImporting VMs Transfer VMTo use the RawVDI transfer protocol To Import VMs from OVF/OVA using XenCenter Importing VMs from OVF/OVAPage To Import VMs from a Disk Image using XenCenter Importing Disk ImagesTo Import VMs from XVA Files VM using XenCenter Importing VMs from XVAExporting VMs To Import a VM from XVA using the xe CLIExporting VMs as OVF/OVA To Export VMs as OVF/OVA using XenCenter To Export VMs as XVA Files using XenCenter Exporting VMs as XVATo Export VMs as XVA Files using the xe CLI Appendix A. Windows VM Release Notes Release NotesAppendix B. Linux VM Release Notes Red Hat Enterprise Linux 4.5 toRed Hat Enterprise Linux Preparing a Rhel 4.5 to 4.8 guest for cloningCentOS Oracle Enterprise LinuxSuse Enterprise Linux 10 SP1 Suse Enterprise Linux 10 SP3Ubuntu Creating an ISO on a Linux computer Appendix C. Creating ISO ImagesOn a Windows computer Appendix D. Enabling VNC for Linux VMs Enabling a Graphical Console on Debian Squeeze VMsDetermining the Location of your VNC Configuration File Configuring GDM to use VNCFirewall Settings VNC Screen ResolutionEnabling VNC for RHEL, CentOS, or OEL 6.x VMs Create the xinetd.d file, /etc/xinetd.d/vnc-server-streamSetting up SLES-based VMs for VNC Enabling Remote AdministrationModifying the xinetd Configuration Checking for a VNC ServerTo Open the VNC Port on Sles 10.x VMs Firewall Checking Runlevels To Open the VNC Port on Sles 11.x VMs FirewallAppendix E. Setting Up a Red Hat Installation Server Copying Installation MediaEnable Remote Access NFSFTP HttpAppendix F. Troubleshooting VM Problems To enable saving of Linux VM crash dumpsVM Crashes Controlling Linux VM Crashdump BehaviourTroubleshooting Boot Problems on Linux VMs