Re: [SSI-users] DRBD
Brought to you by:
brucewalker,
rogertsang
From: Gopalakrishna NM <go...@in...> - 2005-02-10 08:16:11
|
Hi Aneesh, There were lot of queries in mailing list on Debian SSI DRBD and CVIP. We need to create document for this. I can create CVIP document. For DRBD I don't have much experience. Following are the list I cut the mail from one of the user. Since you worked on DRBD, You will be having better information. If you have time you can create DRBD document or else let me know what else we should put. I should experiment first before creating document. Please let me know your feedback. Thanks and regards, Gopal. 'G>pre) start with just the init node, turn all others off > > > >1) apt-get install the drbd packages. > >2) edit the default drbd.conf, mine is attached. > >3) modprobe drbd, if you don't do this, the mkinitrd will fail cause it > > can't find the drbd devices, ****** you should have no > > warnings/errors with your config, if you do FIX THEM!!!!!!!!! > >4) add 'drbd' to /etc/mkinitrd/modules > >5) set 'DRBD_CONFIG=yes' in /etc/mkinitrd/mkinitrd.conf > >6) replace UUID=f00barf00 with /dev/drbd/0 > >7) add 'drbd node=<comma separated list of initnodes> Y' to /etc/rc.nodeinfo > >8) be sure to use ssi-chnode to modify all nodes that will be drbd > > failovers, make them initnodes > >9) you should be ready to make your initrd, issue ssi-ksync.... it's > > easier and it puts them in the tftp directory and everywhere you'll > > need it > >10) reboot, it should give you a error/warning about not having a > > primary disk/node, when it prompts you for a shell, enter the shell and issue > > drbdadm --do-what-I-say primary all, after you exit the shell it > > should boot just fine. > >11) since you did ssi-ksync, you can boot the second intinode > >12) once the second node is up you can issue 'drbdsetup /dev/drbd/0 wait_sync' > > > > > >I did this about two weeks ago, and i'm going purely off of my dead > >brain cells from drinking too much... so be sure to read: > >http://openssi.org/docs/rh/README.drbd.shtml and > >http://www.drbd.org/documentation.html instalation guid and quick > >start guide, to get a feel of what you need to do... > > > > > >On 2005-01-28 13:59:43, Shaun Martin wrote: |