xen-drbd
annotate xen-scripts-network-xen-drbd @ 60:dd23766a87c6
Minor fixes. Hvmlaoder now can be specified by its path in the netowrk config file.
Also slightly changed drbdadm call
Also slightly changed drbdadm call
author | igor@book.xt.vpn |
---|---|
date | Thu Mar 19 19:42:41 2009 +0200 (2009-03-19) |
parents | a428be6d690b |
children |
rev | line source |
---|---|
igor@0 | 1 #!/bin/sh |
igor@0 | 2 |
igor@0 | 3 XEN_DRBD_PATH='/usr/bin' |
igor@0 | 4 TOPOLOGY_NAME='xen-drbd' |
igor@0 | 5 [ -e /etc/default/xen-drbd ] && . /etc/default/xen-drbd |
igor@0 | 6 |
igor@0 | 7 case $1 in |
igor@21 | 8 start) |
igor@49 | 9 $XEN_DRBD_PATH/xen-drbd-install -n ${TOPOLOGY_NAME} make-bridges | sh -s |
igor@21 | 10 ;; |
igor@21 | 11 stop) |
igor@21 | 12 ;; |
igor@21 | 13 *) |
igor@21 | 14 echo $0 'start|stop' |
igor@21 | 15 ;; |
igor@0 | 16 esac |
igor@0 | 17 |