Difference between revisions of "GSP Virtualisation with Xen"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 163: Line 163:
 
; --start : start the VM after provisioning on any host in the pool
 
; --start : start the VM after provisioning on any host in the pool
 
; --user=s ($xapi_user) : name of the management user, defaults to <tt>root</tt>
 
; --user=s ($xapi_user) : name of the management user, defaults to <tt>root</tt>
 +
 +
== Re-installation of an existing VM ==
 +
 +
To re-install an existing VM, set the bootloader to "eliloader":
 +
xe vm-param-set uuid=7dff5ebc-f348-718e-72d7-850670897469 PV-bootloader=pygrub
 +
 +
The re-installation uses an ISO from the OS distribution. Use the following command to find out which location is used:
 +
xe vm-param-list uuid=c2f112e8-4a1f-0072-8d5a-99e91d132bac | grep other-config
 +
other-config (MRW): last_shutdown_time: 20121107T16:07:02Z; last_shutdown_action: Restart; last_shutdown_initiator: internal; last_shutdown_reason: rebooted; install-repository: http://stal.nikhef.nl/centos/5.7/os/x86_64/; install-methods: cdrom,nfs,http,ftp; auto_poweron: true
 +
 +
To change the location from which the ISO is downloaded, execute:
 +
xe vm-param-set uuid=c2f112e8-4a1f-0072-8d5a-99e91d132bac other-config:install-repository=http://stal.nikhef.nl/centos/5.8/os/x86_64/
  
 
== XAPI XML-RPC management ==
 
== XAPI XML-RPC management ==

Revision as of 18:13, 7 November 2012