Citrix Systems 6.1.0 manual Converting an Existing Host to Use Thin Provisioning

Page 23

5.1.2. Converting an Existing Host to Use Thin Provisioning

To destroy an existing LVM based local SR, and replace it with a thin provisioned EXT3 based SR, enter the following commands.

Warning:

These commands will destroy your existing local SR, and VMs on the SR will be permanently deleted.

localsr=`xe sr-list type=lvm host=<hostname> params=uuid --minimal` echo localsr=$localsr

pbd=`xe pbd-list sr-uuid=$localsr params=uuid --minimal` echo pbd=$pbd

xe pbd-unplug uuid=$pbd xe pbd-destroy uuid=$pbd xe sr-forget uuid=$localsr

sed -i "s/'lvm'/'ext'/" /etc/firstboot.d/data/default-storage.conf rm -f /etc/firstboot.d/state/10-prepare-storage

rm -f /etc/firstboot.d/state/15-set-default-storage service firstboot start

xe sr-list type=ext

To enable local caching, enter the following commands:

xe host-disable host=<hostname>

localsr=`xe sr-list type=ext host=<hostname> params=uuid --minimal` xe host-enable-local-storage-caching host=<hostname> sr-uuid=$localsr xe host-enable host=<hostname>

18

Image 23
Contents Citrix XenServer 6.1.0 Installation Guide Trademarks Contents Using Scvmm and Scom with XenServer Boot From SAN Environments About This Document Benefits of Using XenServerAdministering XenServer WelcomeXenServer Editions New Features in XenServerGuest Enhancements XenServer DocumentationReferences XenServer Host System Requirements System RequirementsSystem 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 Host Partition Format Installing XenCenterTo install XenCenter To connect XenCenter to the XenServer host Connecting XenCenter to the XenServer HostBasic hardware requirements Installation and Deployment ScenariosHigh-level procedure XenServer Hosts with Local StorageXenServer 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 IntelliCache Deployment Enabling on Host InstallationXenServer and IntelliCache 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 Integration Requirements for Scvmm Using Scvmm and Scom with XenServerHow to install the Integration Suite Supplemental Pack Integration Requirements for Scom Upgrading XenServer Rolling Pool UpgradesPage Before You Upgrade To upgrade a pool of XenServer hosts using the xe CLI Upgrading XenServer Hosts Using the xe CLIBefore you begin your rolling pool upgrade Before You Upgrade a Single XenServer Host Upgrading a Single XenServer Host Using the xe CLITo upgrade a single XenServer host using the xe CLI Upgrading a Single XenServer Host Using the xe CLITo empty the CD/DVD drive of a VM using the xe CLI Page Upgrading LVM Storage from XenServer 5.0 or Earlier Upgrading LVM-based SRs using the xe CLIBefore you begin updating Applying Updates and Hotfixes to XenServerBefore You Apply an Update or Hotfix Updating Individual XenServer Hosts To update individual hosts using XenCenterTo update individual hosts using the xe CLI Updating a Pool of XenServer Hosts To update a pool of hosts using XenCenterTo update a pool of XenServer hosts using the xe CLI To activate a free XenServer product Licensing XenServerActivating a Free XenServer Product To license XenServer Advanced editions and higher Licensing XenServer EditionsAdditional Licensing Information To configure licensing for XenServer hosts using XenCenterTo configure licensing for XenServer hosts using the xe CLI Grace Period To capture and save the log file Appendix A. TroubleshootingAppendix B. Boot From SAN Environments To configure your Tftp server Appendix C. PXE Boot InstallationsConfiguring your PXE Environment for XenServer Installation Preparing the destination system Creating an answer file for unattended PXE installationElement Description Required? Element Description Required? Element Proto dhcp or static