Modify dom0 for resize/migration support
To resize servers with XenServer you must:
Establish a root trust between all hypervisor nodes
of your deployment:
To do so, generate an ssh key-pair with the
ssh-keygen command. Ensure that each of your
dom0's authorized_keys file (located in
/root/.ssh/authorized_keys) contains the
public key fingerprint (located in
/root/.ssh/id_rsa.pub).
Provide a /images mount point to the dom0
for your hypervisor:
dom0 space is at a premium so creating a directory in dom0 is
potentially dangerous and likely to fail especially when you
resize large servers. The least you can do is to symlink
/images to your local storage SR. The
following instructions work for an English-based installation
of XenServer and in the case of ext3-based SR (with which the
resize functionality is known to work correctly).
# LOCAL_SR=$(xe sr-list name-label="Local storage" --minimal)
# IMG_DIR="/var/run/sr-mount/$LOCAL_SR/images"
# mkdir -p "$IMG_DIR"
# ln -s "$IMG_DIR" /images