aboutsummaryrefslogtreecommitdiff
path: root/system/xen/README.SLACKWARE
blob: 97c28af6facceb9d746bc276fd90ccf20b85e849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
be started, wich must be done with rc.xencommons script.
The rc.xend script is no longer needed if you are going to use 'xl' instead
of 'xm'. As a matter of fact, 'xm' is marked as deprecated since Xen 4.2.
Future versions of Xen will no longer support 'xm'.
You may wish to add these lines to /etc/rc.d/rc.local to start this service
after booting from your Xen kernel:

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