xen-drbd

view INSTALL @ 60:dd23766a87c6

Minor fixes. Hvmlaoder now can be specified by its path in the netowrk config file.
Also slightly changed drbdadm call
author igor@book.xt.vpn
date Thu Mar 19 19:42:41 2009 +0200 (2009-03-19)
parents d3198c10cc10
children
line source
1 #!/bin/sh
3 ROOT=/
4 DEST_DIR=/usr/local/sbin
6 echo -------------------------------------------------
7 echo Installation of xen-drbd to $ROOT$DEST_DIR
8 echo -------------------------------------------------
9 set -x
10 cp xen-drbd.py ${ROOT}/${DEST_DIR}/xen-drbd
11 cp xen-drbd-install.py ${ROOT}/${DEST_DIR}/xen-drbd-install
12 set +x
14 echo -------------------------------------------------
15 echo Installing of xen-drbd configs and boot scripts to /etc:
16 echo -------------------------------------------------
18 set -x
19 cp init.d-xen-drbd ${ROOT}/etc/init.d/xen-drbd
20 chmod +x ${ROOT}/etc/init.d/xen-drbd
22 cp xen-scripts-network-xen-drbd $ROOT/etc/xen/scripts/network-xen-drbd
23 chmod +x /etc/xen/scripts/network-xen-drbd
25 cp default-xen-drbd ${ROOT}/etc/default/xen-drbd
26 cp xen-drbd-start.py ${ROOT}/etc/xen/xen-drbd-start
27 set +x
30 for i in 2 3 4 5
31 do
32 set -x
33 ln -sf ../init.d/xen-drbd ${ROOT}/etc/rc$i.d/S95xen-drbd
34 set +x
35 done
37 for i in 0 1 6
38 do
39 set -x
40 ln -sf ../init.d/xen-drbd ${ROOT}/etc/rc$i.d/K05xen-drbd
41 set +x
42 done