Skip to content

Autostart XEN Domains

When using XEN you can start virtual machines using "xm create". However after rebooting the host machine, the virtual machines are not started automatically. This minor problem is easy to solve. Let's say the configuration for the virtual machine is in /etc/xen/pluto.cfg:

mkdir -p /etc/xen/auto
cd /etc/xen/auto
ln -s /etc/xen/pluto.cfg .
cd -

This creates a link to autostart the virtual machine. The source of the symlink must be an absolute path.

In addition to the symlink, the "pluto.cfg" file must contain the following entries:

on_xend_stop  = 'shutdown'
on_xend_start = 'start'

If you are using the "xm" toolkit, you can add these two lines to the template in /etc/xen-tools/xm.tmpl. After these changes, "pluto" starts when the host system starts.

  • Twitter
  • Bookmark Autostart XEN Domains at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Autostart XEN Domains
  • Bloglines Autostart XEN Domains
  • Technorati Autostart XEN Domains
  • Fark this: Autostart XEN Domains
  • Bookmark Autostart XEN Domains at YahooMyWeb
  • Bookmark Autostart XEN Domains at Furl.net
  • Bookmark Autostart XEN Domains at reddit.com
  • Bookmark Autostart XEN Domains at blinklist.com
  • Bookmark Autostart XEN Domains at Spurl.net
  • Bookmark Autostart XEN Domains at Simpy.com
  • Bookmark Autostart XEN Domains at blogmarks
  • Bookmark Autostart XEN Domains with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.
Form options