FSF France machines management - Cookbook: recipe #320, Howto clone a Ganeti node
Show feedback again
recipe #320, HowTo: Howto clone a Ganeti node
Warning : during disc copy (~1.5TB) the "source" node will be offline !
- failover the vm of source node to avoid long downtime (failover ip if needed).
- reboot the source node in rescue mode
- reboot the new node in rescue mode
- use dd to sync disk from source to new node :
- after dd are done, restart source node, and put the vm back on it (with dedicated failover ips).
- when both sync are done, on the new node :
openvpn
Then, be sure all failover IPs are available as z2-X1.pokersource.info :
- on new node :
- on ganeti master :
Ganeti config
Remove ganeti config :
Zebra & OSPF
Boot
- exit chroot
- umount /mnt/sda
- reboot on system
When you have rebooted, it still has some things to do :
LVM
Remove all existing lv :
Add the node
On ganeti master :
Last update: Thu 14 Oct 2010 04:15:29 PM UTC
Audience and Context
Audience:All Project Members
Feature:
Project Main Pages
(As there is at least one of the Audience/Feature/Action context information not set, this recipe will not show up in related recipes links)
Show feedback again

Related Recipes: