Difference between revisions of "GSP Virtualisation with Xen"
From PDP/Grid Wiki
Jump to navigationJump to search|  (clarify that template names are not string matches but Perl regular expressions (mind the parentheses!)) | |||
| Line 206: | Line 206: | ||
|   sudo aii-shellfe --configure ''host.name'' |   sudo aii-shellfe --configure ''host.name'' | ||
| # provision the VM (and start it if so desired) | # 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''] | + |   aii-provision-vm -n ''host.name'' [--start] [--autoboot] [--sr=''name-of-SR''] [--vmtemplate=''name-of-template-pcre-match''] | 
| : where the default template name is <tt>CentOS 5.*64-bit</tt>, and the default SR is taken from the pool default config. | : 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. | # start the VM on your preferred machine - and assign it a preferred VM server if you want autoboot to work. | ||
| Line 217: | Line 217: | ||
| ; -cdbxml=s ($cdbxmldir) : directory where the XMLCDB profiles are stored, defaults to <tt>/project/quattor/conf/build/xml</tt> | ; -cdbxml=s ($cdbxmldir) : directory where the XMLCDB profiles are stored, defaults to <tt>/project/quattor/conf/build/xml</tt> | ||
| ; -n|name=s ($VMname) : name of the VM, defaults to <tt>example.nikhef.nl</tt> so ''please change this'' | ; -n|name=s ($VMname) : name of the VM, defaults to <tt>example.nikhef.nl</tt> so ''please change this'' | ||
| − | ; --vmtemplate=s ($vmtplname) : name of the template from which VMs are derived.  | + | ; --vmtemplate=s ($vmtplname) : Perl regular expression to match the name of the template from which VMs are derived, e.g. <code>CentOS 6.*64-bit</code>. | 
| − | ; --sr=s ($srname) : name of the SR on which to place the disk images and  | + | ; --sr=s ($srname) : name of the SR on which to place the disk images and snapshot. Must be a shared SR. | 
| ; -a|autoboot ($autoboot) : make the VM start on VM host boot | ; -a|autoboot ($autoboot) : make the VM start on VM host boot | ||
| ; --start : start the VM after provisioning on any host in the pool | ; --start : start the VM after provisioning on any host in the pool | ||
