X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Finstall-ganeti.creole;h=5f9734f64e166bdd69e6c14801a3312b9b2bd171;hb=7e639b510c06b270d0f9ac2f849f0b3843ccd626;hp=118aa033429386ec38f4eaa28204f1a72adf6f45;hpb=bc8d9d0b9a1feda7b82d2643038b80c9a610b896;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/install-ganeti.creole b/input/howto/install-ganeti.creole index 118aa03..5f9734f 100644 --- a/input/howto/install-ganeti.creole +++ b/input/howto/install-ganeti.creole @@ -124,17 +124,6 @@ On each node, create a volume group: vgcreate vg_ganeti /dev/cciss/c0d0p3 }}} -=== create kvmU symbolic links === - -On each node, create vmlinuz and initrd symlinks as expected by the kvm -hypervisor (not strictly required if all guests will boot from their own -kernels): - -{{{ - ln -s -T /boot/vmlinuz-2.6.32-5-amd64 /boot/vmlinuz-2.6-kvmU - ln -s -T /boot/initrd.img-2.6.32-5-amd64 /boot/initrd.img-2.6-kvmU -}}} - === exchange ssh keys === on each node: @@ -162,7 +151,7 @@ On the master node (foo) only: --mac-prefix 00:16:37 \ --no-ssh-init \ --no-etc-hosts \ - --hypervisor-parameters kvm:initrd_path=/boot/initrd.img-2.6-kvmU,kernel_path=/boot/vmlinuz-2.6-kvmU \ + --hypervisor-parameters kvm:initrd_path=,kernel_path= \ foobar.debian.org }}} @@ -366,3 +355,22 @@ And you want to convert it to use DRBD afterwards and start it on the other clus --hypervisor-parameters kvm:initrd_path=,kernel_path= \ --net 0:ip=206.12.19.124 -n rossini.debian.org reger.debian.org }}} + +* How to add new LUNs to Bytemark Cluster + +{{{ + + Add a new LUN in the MSA and export it to all blades + + then: + gnt-cluster command "echo 1 > /sys/bus/pci/devices/0000:0e:00.0/cciss0/rescan" + + then: + reload multipath-tools on gnt-master (normaly bm-bl1): + service multipath-tools reload + add the WWNs to dsa-puppet/modules/multipath/files/bm-multipath.conf and define the alias and commit that file to git. + + then: + gnt-cluster command "puppet agent -t" + + This will update the multipath config on all cluster nodes. WITHOUT doing this, you can't migrate VMs between nodes. +}}}