Citrix Systems 6.1.0 manual Xe sr-list params=local-cache-sr,uuid,name-label

Page 25

Q:How do I specify a particular SR for use as the cache?

A:The host object field local-cache-srrefers to a local SR. You can view its value by running the following command:

xe sr-list params=local-cache-sr,uuid,name-label

This field is set either:

after host installation, if the "Enable thin provisioning" option was selected in the host installer

by executing xe host-enable-local-storage-caching host=<host> sr-uuid=<sr>. This command requires the specified host to be disabled, VMs must be shut down if this command is used.

The first option uses the EXT type local SR and is created during host installation. The second option, uses the SR that is specified on the command-line.

Warning:

These steps are only necessary for users who have configured more than one local SR.

Q:When is the local cache deleted?

A:A VDI cache file is only deleted when the VDI itself is deleted. The cache is reset when a VDI is attached to a VM (for example on VM start). If the host is offline when the VDI is deleted, the SR synchronisation that runs on startup will garbage collect the cache file.

Note:

The cache file is not deleted from the host when a VM is migrated to a different host or shut down.

20

Image 25
Contents Citrix XenServer 6.1.0 Installation Guide Trademarks Contents Using Scvmm and Scom with XenServer Boot From SAN Environments Administering XenServer Benefits of Using XenServerWelcome About This DocumentXenServer Editions New Features in XenServerGuest Enhancements XenServer DocumentationReferences System Requirements System RequirementsXenServer Host System Requirements Supported Guest Operating Systems XenCenter System RequirementsInstallation Media and Methods Installing XenServer and XenCenterTo install or upgrade the XenServer host Installing the XenServer HostPage To install XenCenter Installing XenCenterHost Partition Format To connect XenCenter to the XenServer host Connecting XenCenter to the XenServer HostHigh-level procedure Installation and Deployment ScenariosXenServer Hosts with Local Storage Basic hardware requirementsXenServer Hosts with Shared NFS Storage Pools of XenServer Hosts with Shared StorageXenServer Hosts with Shared iSCSI Storage Configuring your iSCSI storageConfiguring an iSCSI IQN for each XenServer host Xe pool-param-set uuid=pooluuid default-SR=iscsisharedsruuid XenServer and IntelliCache Enabling on Host InstallationIntelliCache Deployment Converting an Existing Host to Use Thin Provisioning To enable local caching, enter the following commandsImplementation Details and Troubleshooting VM Boot BehaviorXe sr-list params=local-cache-sr,uuid,name-label How to install the Integration Suite Supplemental Pack Using Scvmm and Scom with XenServerIntegration Requirements for Scvmm Integration Requirements for Scom Upgrading XenServer Rolling Pool UpgradesPage Before You Upgrade Before you begin your rolling pool upgrade Upgrading XenServer Hosts Using the xe CLITo upgrade a pool of XenServer hosts using the xe CLI Before You Upgrade a Single XenServer Host Upgrading a Single XenServer Host Using the xe CLITo empty the CD/DVD drive of a VM using the xe CLI Upgrading a Single XenServer Host Using the xe CLITo upgrade a single XenServer host using the xe CLI Page Upgrading LVM Storage from XenServer 5.0 or Earlier Upgrading LVM-based SRs using the xe CLIBefore You Apply an Update or Hotfix Applying Updates and Hotfixes to XenServerBefore you begin updating To update individual hosts using the xe CLI To update individual hosts using XenCenterUpdating Individual XenServer Hosts Updating a Pool of XenServer Hosts To update a pool of hosts using XenCenterTo update a pool of XenServer hosts using the xe CLI Activating a Free XenServer Product Licensing XenServerTo activate a free XenServer product To license XenServer Advanced editions and higher Licensing XenServer EditionsTo configure licensing for XenServer hosts using the xe CLI To configure licensing for XenServer hosts using XenCenterAdditional Licensing Information Grace Period To capture and save the log file Appendix A. TroubleshootingAppendix B. Boot From SAN Environments Configuring your PXE Environment for XenServer Installation Appendix C. PXE Boot InstallationsTo configure your Tftp server Preparing the destination system Creating an answer file for unattended PXE installationElement Description Required? Element Description Required? Element Proto dhcp or static