xen-drbd
diff xen-drbd.py @ 45:a91c91c166c4
double xen-drbd pass
author | igor@manas.xt.vpn |
---|---|
date | Thu Sep 25 22:05:19 2008 +0300 (2008-09-25) |
parents | 26d7bae7dcde |
children | 8afb0999f562 |
line diff
1.1 --- a/xen-drbd.py Mon Sep 22 15:14:08 2008 +0300 1.2 +++ b/xen-drbd.py Thu Sep 25 22:05:19 2008 +0300 1.3 @@ -110,7 +110,7 @@ 1.4 print "Migrating the domain <%s> from the node <%s> to the node <%s>" % (domain, node, another_node) 1.5 set_drbd_primary(domain,another_node) 1.6 run("xm migrate %s %s --live" % (domain,another_node),node) 1.7 - run("sleep 2") 1.8 + run("sleep 2", node) 1.9 set_drbd_secondary(domain,node) 1.10 print "+ Done" 1.11