xen-drbd
diff xen-drbd.py @ 53:748e00890579
transition to xen 3.2.1
author | root@linux10 |
---|---|
date | Fri Oct 10 20:35:46 2008 +0000 (2008-10-10) |
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 Fri Oct 10 20:35:46 2008 +0000 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