Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 127

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 128

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 129

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 130

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 131

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 132

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 133

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 134

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 135

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 136

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 137

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/includes/bootstrap.inc on line 463

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/informat/public_html/sites/default/settings.php:127) in /home/informat/public_html/includes/bootstrap.inc on line 1143

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/informat/public_html/sites/default/settings.php:127) in /home/informat/public_html/includes/bootstrap.inc on line 1143

Warning: Cannot modify header information - headers already sent by (output started at /home/informat/public_html/sites/default/settings.php:127) in /home/informat/public_html/includes/bootstrap.inc on line 709

Warning: Cannot modify header information - headers already sent by (output started at /home/informat/public_html/sites/default/settings.php:127) in /home/informat/public_html/includes/bootstrap.inc on line 710

Warning: Cannot modify header information - headers already sent by (output started at /home/informat/public_html/sites/default/settings.php:127) in /home/informat/public_html/includes/bootstrap.inc on line 711

Warning: Cannot modify header information - headers already sent by (output started at /home/informat/public_html/sites/default/settings.php:127) in /home/informat/public_html/includes/bootstrap.inc on line 712
migrating a running linux installation to a xen guest | InformatiQ

migrating a running linux installation to a xen guest

warning: Cannot modify header information - headers already sent by (output started at /home/informat/public_html/sites/default/settings.php:127) in /home/informat/public_html/includes/common.inc on line 148.

i only tested thes instructions on Ubuntu, but it should work with any distro for the sake of this post we will call a running linux distro "pmachine" and a xen guest "vmachine" 

  1. you need t otake a copy of the installation of the pmachine, this could be done in two ways
  2. create vmachine "data disk" as explained in xen-vmachine-howto
  3. copy all files from the pmachine backup to the new data disk
  4. remove the /boot directory of the vmachine data disk
  5. copy /lib of the pmachine to /lib of the vmachine
  6. create the xen guest config file
  7. and you should be done

this will create a vmachine based on the pmachine but with a different kernel (a generic kernel provided by your xen host)if you want to have the same kernel of the pmachine, then you will have to

  1. install a xen kernel into the pmachine
  2. copy over all contens of the /boot of the pmachine to /boot of the xen host
  3. use the kernel image copied over from the pmachine as the kernel of the vmachine in the xen guest config file
  4. do not copy /lib to the vmachine

Random image

DSC07560

Recent comments