xen-drbd

view xen-scripts-network-xen-drbd @ 31:5e499179b5ed

Добавлена поддержка HVM-доменов; параметры migrate-all-out и migrate-all-in заменены, соответственно, на migrate-out-all и migrate-in-all
author igor@manas.xt.vpn
date Thu Aug 14 22:04:16 2008 +0300 (2008-08-14)
parents b6dc3480caae
children a428be6d690b
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.py ${TOPOLOGY_NAME} make-bridges | sh -s
10 ;;
11 stop)
12 ;;
13 *)
14 echo $0 'start|stop'
15 ;;
16 esac