Modify Dom0 for resize/migration support
To resize servers with XenServer and XCP, 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 an /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 XCP) 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