2013-02-10 09:52:17 +01:00
|
|
|
After installing this package, in addition to the /usr/doc/xen-*/README file;
|
|
|
|
the Xen User Manual is installed as /usr/doc/xen-*/html.
|
|
|
|
|
|
|
|
Before Xen can be used, xenstored, xenconsoled and xenbackendd services must
|
2015-03-15 23:10:28 +01:00
|
|
|
be started with the rc.xencommons script. You may wish to add these lines to
|
2013-11-11 16:21:00 +01:00
|
|
|
/etc/rc.d/rc.local to start this service after booting from your Xen kernel:
|
2013-02-10 09:52:17 +01:00
|
|
|
|
|
|
|
if [ -d /proc/xen ]; then
|
|
|
|
if [ -x /etc/rc.d/rc.xencommons ]; then
|
|
|
|
echo "Starting XEN commons: /etc/rc.d/rc.xencommons"
|
|
|
|
/etc/rc.d/rc.xencommons start
|
|
|
|
fi
|
|
|
|
if [ -x /etc/rc.d/rc.xendomains ]; then
|
|
|
|
echo "Starting XEN domains: /etc/rc.d/rc.xendomains"
|
|
|
|
/etc/rc.d/rc.xendomains start
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
You may also add these lines to /etc/rc.d/rc.local_shutdown:
|
|
|
|
|
|
|
|
if [ -d /proc/xen ]; then
|
|
|
|
if [ -x /etc/rc.d/rc.xendomains ]; then
|
|
|
|
echo "Stopping XEN domains: /etc/rc.d/rc.xendomains"
|
|
|
|
/etc/rc.d/rc.xendomains stop
|
|
|
|
fi
|
|
|
|
if [ -x /etc/rc.d/rc.xencommons ]; then
|
|
|
|
echo "Stopping XEN commons: /etc/rc.d/rc.xencommons"
|
|
|
|
/etc/rc.d/rc.xencommons stop
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
Remember to give executable permission to /etc/rc.d/rc.local_shutdown:
|
|
|
|
|
|
|
|
chmod 0755 /etc/rc.d/rc.local_shutdown
|
|
|
|
|