Disable XenServer HA

From the cli execute: xe pool-ha-disable

In an emergency execute: xe host-emergency-ha-disable

Advertisements

Add Multiple CD/DVD Drives to XenServer VM

To add more than one CD/DVD drive to a VM, complete the following procedure:

  1. Run the following command to find the UUID of the VM for which you need to add a new virtual CD-ROM drive.
    xe vm-list name-label=<name of the virtual machine>  
  2. Check the availability of user device numbers for your VM.
    Note: VMs running on XenServer support upto seven virtual disk devices. The device number ranges from 0 to 7. Run the following command and check the “userdevice” values:
    xe vm-disk-list uuid=<uuid of VM>

Continue reading “Add Multiple CD/DVD Drives to XenServer VM”

Configure dom0 Memory in XenServer 6.x

To configure the dom0 memory, complete the following procedure:

  1. On the XenServer host, open a local shell and log on as root.
  2. Enter the following command:
    /opt/xensource/libexec/xen-cmdline –set-xen dom0_mem=<nn>M,max:<nn>M
    Note:
    <nn> represents the memory in megabytes, to be allocated to dom0. This value should be between 1024 and 4096, depending on the number of VMs that are expected to run and the total memory of the host. A higher value results in less memory being available to the VMs.

Continue reading “Configure dom0 Memory in XenServer 6.x”