informatique_hd
Ceci est une ancienne révision du document !
Table des matières
Haute Disponibilité
Heartbeat
Installation
# apt-get install heartbeat
Configuration
ha.cf
est manquant par defaut, donc:
# cd /etc/ha.d # zcat /usr/share/doc/heartbeat/ha.cf.gz >ha.cf # vi ha.cf
Faire en sorte d'avoir:
FIXME
Et puis:
# zcat /usr/share/doc/heartbeat/haresources.gz >haresources # vi haresources
Faire en sorte d'avoir:
FIXME
DRBD
Compilation
On est sur HB1 (qui a la même distrib que HB2) !
# aptitude update # aptitude install drbd-utils
En fait: drbd0.7-utils
# aptitude install drbd0.7-utils
En fait: drbd0.7-module-source
Et aussi:
# aptitude install linux-hearders-`uname -r`
Compiler
Suivre, grosso merdo, le How-to ici:
# cd /usr/src # ls -lart -rw-r--r-- 1 root root 123283 2007-01-17 18:43 drbd0.7.tar.gz # tar xvzf drbd0.7.tar.gz # cd modules/drbd # m-a
Choose “SELECT” and hit enter Choose {-“drbd8-module”-} “drbd7-module” and hit enter Choose “BUILD” Choose “NO” if asked to install or upgrade the selected source package. Continue the process and install the module when prompted.
# update-modules # modprobe drbd
Copier et installer le package sur l'autre bécanne:
# scp /usr/src/drbd0.7-module-2.6.18-5-686_0.7.21-4+2.6.18.dfsg.1-13etch4_i386.deb <IP_DE_HB2>:/usr/src/.
Et sur HB2, faire simplement ça:
# aptitude update # aptitude install drbd-utils # cd /usr/src # dpkg -i drbd0.7-module-2.6.18-5-686_0.7.21-4+2.6.18.dfsg.1-13etch4_i386.deb # update-modules # modprobe drbd
Ok.
# lsmod | grep drbd drbd 127444 0
informatique_hd.1193003591.txt.gz · Dernière modification : 2007/10/21 21:53 de thierry