Archive/XCP as virtual machine
From Xen
Jump to navigationJump to search
XCP (as any Xen-based solution) allow you to run xen as virtual machine under xen. That allows to run XCP as virtual machine under XCP.
Restrictions
- You need HVM-capable processor to do this (intel VT or AMD Pacifica)
- You will be not able to run any HVM domains in 'virtual' XCP (only PV guests), so no windows at all (no way to do this, completely)
- You will be not able to run XCP in XCP in XCP, because XCP can be ran only in HVM domains (see #2)
Howto
- Create vm with template 'Other install media'
- Set up memory at least 800Mb (1GB+ will be better)
- Create a vdi (at least 10-11Gb), attach it to vm (create VBD) as device=0 to vm
- Create one or more networks
- download XCP iso image and put it to /opt/xensource/packages/iso (or creates new ISO images SR)
- create CD vbd as device=1 with bootable=true flag
- start vm and attach to it console via VNC or via xl console and domain number, you can see domain number in 'xl list' command. This operation which will attach you to serial console of virtual machine. Answer the installation questions.
- After installation remove CD vbd.
possible troubles
Don't forget to change mac of network interface if you clonning installed XCP. Same MAC can make you management interface working unreliable and even not reply to ssh.