diff --git a/tsa/howto/ganeti.mdwn b/tsa/howto/ganeti.mdwn index 818f80a9d25cf034edbdf995eadb985d1d004ba7..70177bd8f65878876fcda332978ae8335be0d69b 100644 --- a/tsa/howto/ganeti.mdwn +++ b/tsa/howto/ganeti.mdwn @@ -247,40 +247,34 @@ Import procedure: ./ganeti -v -H $INSTANCE libvirt-import --ganeti-node $SPARE_NODE --libvirt-host $KVM_HOST --suspend --adopt - 4. login the new machine through the ganeti console: - - gnt-instance console $INSTANCE - - 5. renumber the host: + 4. renumber the host: - vi /etc/network/interfaces - service networking stop - service networking start + ./ganeti -v -H $SPARE_NODE renumber-instance $INSTANCE - 6. test services by changing your `/etc/hosts` + 5. test services by changing your `/etc/hosts` - 7. shutdown original instance: + 6. shutdown original instance: ssh $INSTANCE shutdown -h +1 'migrating to new server' - 8. destroy test instance: + 7. destroy test instance: gnt-instance remove $INSTANCE - 9. redo migration as in step 3, 4 and 5 + 8. redo migration as in step 3, 4 and 5 - 10. final test procedure + 9. final test procedure - 11. switch to DRBD, still on the Ganeti MASTER NODE: + 10. switch to DRBD, still on the Ganeti MASTER NODE: gnt-instance stop $INSTANCE gnt-instance modify -t drbd $INSTANCE gnt-instance failover $INSTANCE gnt-instance start $INSTANCE - 12. switch DNS over to the new machine (see step 16 below) + 11. switch DNS over to the new machine (see step 16 below) - 13. retire old instance ([[retire-a-host]]) + 12. retire old instance ([[retire-a-host]]) ## Importing external instances, manual