# HG changeset patch # User igor # Date 1203241853 -7200 # Node ID 128f4bc3f522f98e670d16f6c7279f6710a4f255 # Parent 0aa17b693e5924422d3370cb44e2b8d395574c3d installation pathes and defaults diff -r 0aa17b693e59 -r 128f4bc3f522 INSTALL --- a/INSTALL Sun Feb 17 11:38:43 2008 +0200 +++ b/INSTALL Sun Feb 17 11:50:53 2008 +0200 @@ -1,8 +1,21 @@ #!/bin/sh ROOT=/ -DEST_DIR=/usr/bin +DEST_DIR=/usr/local/sbin +echo ------------------------------------------------- +echo Installation of xen-drbd to $ROOT$DEST_DIR +echo ------------------------------------------------- +set -x +cp xen-drbd.py ${ROOT}/${DEST_DIR} +cp xen-drbd-install.py ${ROOT}/${DEST_DIR} +set +x + +echo ------------------------------------------------- +echo Installing of xen-drbd configs and boot scripts to /etc: +echo ------------------------------------------------- + +set -x cp init.d-xen-drbd ${ROOT}/etc/init.d/xen-drbd chmod +x ${ROOT}/etc/init.d/xen-drbd @@ -11,18 +24,21 @@ cp default-xen-drbd ${ROOT}/etc/default/xen-drbd cp xen-drbd-start.py ${ROOT}/etc/xen/xen-drbd-start -cp xen-drbd.py ${ROOT}/${DEST_DIR} +set +x + for i in 2 3 4 5 do - ln -sf ../init.d/xen-drbd ${ROOT}/etc/rc$i.d/S95xen-drbd - #rm /etc/rc$i.d/S22xen-drbd + set -x + ln -sf ../init.d/xen-drbd ${ROOT}/etc/rc$i.d/S95xen-drbd + set +x done for i in 0 1 6 do - ln -sf ../init.d/xen-drbd ${ROOT}/etc/rc$i.d/K05xen-drbd - #rm /etc/rc$i.d/K21xen-drbd + set -x + ln -sf ../init.d/xen-drbd ${ROOT}/etc/rc$i.d/K05xen-drbd + set +x done diff -r 0aa17b693e59 -r 128f4bc3f522 default-xen-drbd --- a/default-xen-drbd Sun Feb 17 11:38:43 2008 +0200 +++ b/default-xen-drbd Sun Feb 17 11:50:53 2008 +0200 @@ -1,5 +1,5 @@ -XEN_DRBD_PATH='/usr/local/bin' -TOPOLOGY_NAME='eb' +XEN_DRBD_PATH='/usr/local/sbin' +TOPOLOGY_NAME='od' START_ACTION=nothing # migrate-and-start-all STOP_ACTION=nothing # migrate-all-out