Create Linux LVM partition
The first step is to write a new partition table on the second disk drive using the fdisk
command.
Device Boot Start End Blocks Id System
/dev/sdb1 1 182401 1465136001 8e Linux LVM
The first step is to write a new partition table on the second disk drive using the fdisk
command.
Device Boot Start End Blocks Id System
/dev/sdb1 1 182401 1465136001 8e Linux LVM
First find the template you want to convert to VM
xe template-list
xe template-list name-label="vm_name"
xe vm-param-set uuid=<Template UUID> is-a-template=false
xe vm-reset-powerstate uuid=<Template UUID> force=true
First create a template for 14.04 since it’s not an option:
TEMPLATE_UUID=`xe template-list name-label="Ubuntu Lucid Lynx 10.04 (64-bit)" params=uuid --minimal`
NEW_TEMPLATE_UUID=`xe vm-clone uuid=$TEMPLATE_UUID new-name-label="Ubuntu Trusty 14.04 (64-bit)"`
xe template-param-set other-config:default_template=true other-config:debian-release=trusty uuid=$NEW_TEMPLATE_UUID
With 6.2 SP1 and all the patches, it works out of the box.
The only thing left to do is to install Xen Tools with this command:
sudo dpkg -i /media/
Get update with wget from the website, like this:
wget http://downloadns.citrix.com.edgesuite.net/9031/XS62ESP1003.zip
Unzip:
unzip XS62ESP1003.zip
Run below command to get update UUID
xe patch-upload -s <host> -u root -pw <password> file-name=XS62ESP1003.xsupdate
This command will give UUID for this updates, something like this:
0850b186-4d47-11e3-a720-001b2151a503
xe -s <host> -u root -pw <password> patch-pool-apply uuid=0850b186-4d47-11e3-a720-001b2151a503