ganeti update
[mirror/dsa-wiki.git] / input / howto / install-ganeti.creole
index e27f02b..ddab5df 100644 (file)
@@ -183,6 +183,13 @@ on the master node (foo):
       bar.debian.org
 }}}
 
+more stuff:
+
+{{{
+  gnt-cluster modify --reserved-lvs='vg0/local-swap.*'
+  maybe: gnt-cluster modify --nic-parameters mode=openvswitch
+}}}
+
 Note the following:
 
 * the secondary IP address is set to the value of the slave node's interface on the private network
@@ -197,9 +204,9 @@ On the master node (foo):
 
 If everything has been configured correctly, no errors should be reported.
 
-=== create the 'dsa' variant ===
+=== create the 'noop' variant ===
 
-Ensure that the debootstrap+dsa variant has been installed by puppet (see ganeti2 module in dsa-puppet).
+Ensure that the ganeti-os-noop is installed.
 
 ----
 
@@ -368,17 +375,19 @@ And you want to convert it to use DRBD afterwards and start it on the other clus
   Choose which vdisk to use, use "show vdisks" to list
 
 Add the volume:
-  # create volume vdisk msa2k-2-500gr10 size 5G donizetti      
+  # create volume vdisk msa2k-2-500gr10 size 5G donizetti
 
 Find a free LUN:
 
   # show lun-maps
+  or (if we assume they are all the same)
+  # show host-maps 3001438001287090
 
 Make a note of the next free LUN
 
 Generate map commands for all blades, all ports, run locally:
 
-  $ for p in 1 2 3 4; do for bl in 1 2 3 4 5 6 ; do echo "map volume donizetti lun 27 host bm-bl$bl-p$p" ; done ; done
+  $ for bl in 1 2 3 4 5 6 ; do for p in 1 2 3 4; do echo "map volume donizetti lun 27 host bm-bl$bl-p$p" ; done ; done
 
 Paste the output into the MSA shell