xen-drbd

diff xen-drbd.py @ 46:6964fb4421a5

nifix
author igor@manas.xt.vpn
date Mon Sep 29 16:09:02 2008 +0300 (2008-09-29)
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	Mon Sep 29 16:09:02 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