extend documentation about converting disks and DRBD
[mirror/dsa-wiki.git] / input / howto / install-ganeti.creole
index 22925c7..ba5f690 100644 (file)
@@ -334,7 +334,6 @@ manually.
 * If you are importing an instance from libvirt with LVM setup, you can adopt LVs:
 
 {{{
-
     gnt-instance add -t plain --os-type debootstrap+dsa-wheezy \
       --disk 0:adopt=lully-boot \
       --disk 1:adopt=lully-root \
@@ -342,7 +341,14 @@ manually.
       --disk 3:adopt=lully-log  \
       --hypervisor-parameters kvm:initrd_path=,kernel_path= \
       --net 0:ip=82.195.75.99 -n clementi.debian.org  lully.debian.org
+}}}
 
+And you want to convert it to use DRBD afterwards and start it on the cluster node, so we can ensure that DRBD is correctly working.
+{{{
+    gnt-instance shutdown lully.debian.org
+    gnt-instance modify -t drbd -n czerny.debian.org lully.debian.org
+    gnt-instance failover lully.debian.org
+    gnt-instance startup lully.debian.org
 }}}
 
 * Some instances NEED ide instead of virtio