Difference between revisions of "GSP Virtualisation with Xen"
From PDP/Grid Wiki
Jump to navigationJump to searchLine 131: | Line 131: | ||
will return <tt>eliloader</tt>, and to set it to boot the system: | will return <tt>eliloader</tt>, and to set it to boot the system: | ||
xe vm-param-set uuid=7dff5ebc-f348-718e-72d7-850670897469 PV-bootloader=pygrub | xe vm-param-set uuid=7dff5ebc-f348-718e-72d7-850670897469 PV-bootloader=pygrub | ||
+ | |||
+ | == Creating Quattor-managed VMs == | ||
+ | |||
+ | Quattor-managed VMs are created in almost the standard way, except that the final "--install" command given via aii-shellfe has been replaved by a VM provisioning script. Do the following | ||
+ | |||
+ | # create a machine in the usual way, run <tt>pushxprof -f ''facility'' ''host.name''</tt>. '''Please keep in mind that the hardware and system configuration are taken as is from the template. Make sure to configure enough RAM (at least 1024MB for EL5), and a moderate amount of disk (enough to host the partitions, but not an arbitrary value like 120 GB please)''' | ||
+ | # configure the DHCP settings, needed for kickstart (but not needed for the bare VM): | ||
+ | sudo aii-shellfe --configure ''host.name'' | ||
+ | # provision the VM (and start it if so desired) | ||
+ | aii-provision-vm -n ''host.name'' [--start] [--autoboot] [--sr=''name-of-SR''] [--vmtemplate=''name-of-template''] | ||
+ | : where the default template name is <tt>CentOS 5.*64-bit</tt>, and the default SR is taken from the pool default config. | ||
+ | # start the VM on your preferred machine - and assign it a preferred VM server if you want autoboot to work. | ||
+ | |||
+ | The configuration is in <tt>$HOME/.xapirc</tt> on stal in the home of ndpfmgr. You can override all settings except the network map. | ||
== XAPI XML-RPC management == | == XAPI XML-RPC management == |