On Thu, Sep 27, 2012 at 5:17 PM, Jonathan Bayer
> I've finally gotten my first node up and running. This is on a RHEL6.3
> system, I have a script which, once I'm done, I'll post on my blog.
> In the meantime, I want to add a 2nd node. Once I've created it and added
> it, how do I change the existing VMs to be a DRDB setup so that I can
> migrate them from one system to another?
You will need to run:
# gnt-instance shutdown $instance
# gnt-instance modify -t drbd -n $second_node $instance
# gnt-instance start $instance
for every instance you that you want to convert. There will be
downtime for each instance while data is copied to the second node.
Somewhat riskier way is to run 'gnt-instance modify -t drbd -n
$second_node --no-wait-for-sync $instance' instead. Then you can start
instance earlier before data is fully copied, but you may have worse
performance due to heavy I/O and potentially higher chance of losing
instance data if something goes wrong.
> Thanks in advance.