xen-drbd

view 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
author igor@book.xt.vpn
date Thu Mar 19 19:42:41 2009 +0200 (2009-03-19)
parents a428be6d690b
children
line source
1 #!/bin/sh
3 XEN_DRBD_PATH='/usr/bin'
4 TOPOLOGY_NAME='xen-drbd'
5 [ -e /etc/default/xen-drbd ] && . /etc/default/xen-drbd
7 case $1 in
8 start)
9 $XEN_DRBD_PATH/xen-drbd-install -n ${TOPOLOGY_NAME} make-bridges | sh -s
10 ;;
11 stop)
12 ;;
13 *)
14 echo $0 'start|stop'
15 ;;
16 esac