Re: [SSI-users] openssi failover with drbd
Brought to you by:
brucewalker,
rogertsang
From: Roger T. <rog...@gm...> - 2006-03-28 12:45:34
|
More than likely you have a typo in your drbd config. Roger On 3/28/06, stefan <st...@fu...> wrote: > I tried it it out now multiple times following the instructions for drbd = on > debian 3.1 but I dont get drbd running. > I setup drbd and did a reboot going to shell doing "drbdadm -- --do-what= -I > say primary all" then I get a failure that I have multiple host sections = for > the peer. and nothing goes. Booting without going into shell gives me a s= hell > and it tells me that there is no such device or address and I can start f= rom > beginning :( > > When I setup drbd and start drbd without booting it runs without failure.= When > I reboot the node I get the shell that no such device, device not > configured .. thats it. And I can start again. > Something changed with drbd? Or the docu outdated? > > Is someone here who can help me? > > tia > stefan > > > > Hello all, > > I want to do a 2node openssi clsuter with drbd but get this not working= . > > my fstab: > > /etc/fstab: static file system information. > > # > > # <file system> <mount point> <type> <options> <dump> <pass> > > proc /proc proc defaults,node=3D* 0 0 > > #UUID=3D8a2b5ac4-c62c-4907-aade-fa8533025ce9 / ext3 > > chard,defaults,errors=3Dremount-ro,node=3D1:2 0 1 > > /dev/drbd/0 / ext3 chard,defaults,errors=3Dremount-ro,node= =3D1:2 > > 1 2 > > /dev/sda1 /boot ext3 defaults,node=3D1 0 2 > > /dev/sda1 /boot ext3 defaults,node=3D2 0 2 > > /dev/sda5 /drbd ext3 defaults,node=3D1 0 2 > > /dev/sda5 /drbd ext3 defaults,node=3D2 0 2 > > /dev/sda6 none swap sw,node=3D1 0 0 > > /dev/sda6 none swap sw,node=3D2 0 0 > > /dev/hdc /media/cdrom0 iso9660 ro,user,noauto,node=3D1 0 = 0 > > /dev/fd0 /media/floppy0 auto rw,user,noauto,node=3D1 0 = 0 > > > > > > my drbd.conf. Note that /dev/sda7 was the / before > > > > on node11 { > > device /dev/drbd/0; > > disk /dev/sda7; > > nodenum 1; > > address 192.168.8.3:7788; > > # meta-disk internal; > > meta-disk /dev/sda5[0]; > > > > on node222 { > > device /dev/drbd/0; > > disk /dev/sda7; > > nodenum 2; > > address 192.168.8.4:7788; > > # meta-disk internal; > > meta-disk /dev/sda5[0]; > > } > > } > > > > Idont get drbd really running. I want to sync all / .When the machine i= s up > > and do then "drbdadm -- --do-what-I say primary all" I get : > > drbdsetup exited with code 20 and some no such device or address before= . > > Okay I think my drbd.conf is wrong. > > > > Can someone give me a hint to get openssi running with drbd and failove= r? > > > > tia > > stefan > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting lang= uage > > that extends applications into web and mobile media. Attend the live > > webcast and join the prime developer group breaking into this new codin= g > > territory! > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > > _______________________________________________ > > Ssic-linux-users mailing list > > Ssi...@li... > > https://lists.sourceforge.net/lists/listinfo/ssic-linux-users > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Ssic-linux-users mailing list > Ssi...@li... > https://lists.sourceforge.net/lists/listinfo/ssic-linux-users > |