X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Finstall-ganeti.creole;h=bd7d85ca478b77d708b8d63368fb4c82ad0eb4be;hb=4050b37a44d53e672e347f8525d634d6280884b2;hp=e5f46f869dd1d9045d464f0826773281a13da04d;hpb=74d366e3e9c853ddb9f6471997cbdabc0b1f21a6;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/install-ganeti.creole b/input/howto/install-ganeti.creole index e5f46f8..bd7d85c 100644 --- a/input/howto/install-ganeti.creole +++ b/input/howto/install-ganeti.creole @@ -36,8 +36,9 @@ The following DNS records exist: On each node, install the required packages: {{{ - apt-get install fai-client ssed extlinux - apt-get install {drbd8-utils,ganeti2,ganeti-htools}/squeeze-backports ganeti-instance-debootstrap qemu-kvm + # maybe: apt-get install drbd8-utils + # maybe: apt-get install ganeti-instance-debootstrap + apt-get install ganeti2 ganeti-htools qemu-kvm }}} === configure kernel modules === @@ -49,6 +50,7 @@ On each node, ensure that the required kernel modules are loaded at boot: ainsl /etc/modules 'hmac' ainsl /etc/modules 'tun' ainsl /etc/modules 'ext3' + ainsl /etc/modules 'ext4' }}} === configure networking === @@ -124,17 +126,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 +153,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 }}} @@ -377,7 +368,7 @@ And you want to convert it to use DRBD afterwards and start it on the other clus then: reload multipath-tools on gnt-master (normaly bm-bl1): - /etc/init.d/multipath-tools reload + 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: