Ganeti: add details about how to setup Ganeti on POWER
[mirror/dsa-wiki.git] / input / howto / install-ganeti.creole
index cd69cbb..521d82c 100644 (file)
@@ -581,7 +581,7 @@ With the SandyBridge CPU type:
 
 There are two KVM implementations on POWER, the KVM-PR (kvm-pr.ko) one which uses the "PRoblem state" of the ppc CPUs to run the guests and the KVM-HV (kvm-hv.ko) one uses the hardware virtualization support of the POWER CPU. In the later case the guest CPU has to be of the same type as the host CPU. However, there is at least the possibility to run the guest in a backward-compatibility mode of the previous CPU generation by using the compat parameter:
 {{{
-  gnt-cluster modify -H kvm:cpu_type='host,\compat=power8'
+  gnt-cluster modify -H kvm:cpu_type='host\,compat=power8'
 }}}
 
 === Add a virtio-rng device ===
@@ -594,3 +594,15 @@ The final command to add a virtio-rng device cluster-wise is therefore:
 }}}
 
 The max-bytes and period options limit the entropy rate a guest can get to 1kB/s.
+
+=== POWER specific settings ===
+
+On POWER the Ganeti doesn't enable the KVM module by default. Therefore the -enable-kvm option has to be passed.
+
+In addition by disabling the video card automatically makes the guest (firmware, grub, kernel) to use the serial console. This can be done with the -vga none option.
+
+The command to setup KVM on POWER cluster-wise is therefore the following one (possibly combined with the vritio-rng one):
+
+{{{
+  gnt-cluster modify -H kvm:kvm_extra="-enable-kvm -vga none"
+}}}