Re: openssi failover with drbd

Stefan Fuhrmann <[email protected]>
Newsgroups gmane.linux.cluster.ssic.user
Organization no-panic-systems
Message-ID <[email protected]>
this is also not working!
for a better understanding I put screenshoots to:

http://www.nopanicsystems.net/openssi-drbd/index.htm

what do you think about that?

tia
stefan


> Stefan,
>
> Here's what I had to do to get it all working on debian:
>
> In order for mkinitrd to work correctly, the drbd devices need to be
> defined as /dev/drbd/X in /etc/fstab and /etc/drbd.conf.
>
> You'll also need to create devices to match those entries. This will
> create 7 for you:
>
> ckdir /dev/drbd
> cd /dev/drbd
> for i in `seq 0 7`;do mknod $i b 147 $i;done
>
> run mkinitrd to create your ramdisk
>
> edit /etc/fstab and /etc/drbd.conf to change the entries back to
> /etc/drbdX and reboot with you new ramdisk.
>
> I also had to change /etc/SSIFailover from /dev/drbd/X to /dev/drbdX
>
> Hope this helps,
>
> Owen
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Roger
> Tsang
> Sent: 05 April 2006 00:40
> To: [email protected]
> Cc: [email protected]
> Subject: Re: [SSI-users] openssi failover with drbd
>
> You might have the wrong resource name r0.  Change r0 to root.  See if
> that helps.
>
> Aneesh helped port the Fedora OpenSSI DRBD scripts to Debian OpenSSI
> and the Debian port hasn't been touched since.  So there could be some
> discrepancies between the latest Fedora script and the older Debian
> script.
>
> Roger
>
> On 4/4/06, stefan <[email protected]> wrote:
> > HI Roger,
> >
> > > Which version of OpenSSI are you using?
> >
> > its drbd0.7-10
> >
> > > Which version of DRBD have you compiled for OpenSSI?
> >
> > I didnt compile, I used the debian package
> >
> > > Where did you obtain DRBD?
> >
> > deb http://deb.openssi.org/v1 ./
> > deb-src http://deb.openssi.org/v1 ./
> >
> > > What does `drbdadm dump all` say?
> >
> > resource r0 {
> >     protocol               C;
> >     incon-degr-cmd       "exit 1";
> >     on node11 {
> >         device           /dev/drbd/0;
> >         disk             /dev/sda7;
> >         nodenum            1;
> >         address          192.168.8.3:7788;
> >         meta-disk        /dev/sda5 [0];
> >     }
> >     on node22 {
> >         device           /dev/drbd/0;
> >         disk             /dev/sda7;
> >         nodenum            2;
> >         address          192.168.8.4:7788;
> >         meta-disk        /dev/sda5 [0];
> >     }
> >     disk {
> >         on-io-error      detach;
> >     }
> >     syncer {
> >         rate             10M;
> >         group              1;
> >         al-extents       257;
> >     }
> >     startup {
> >         wfc-timeout        0;
> >         degr-wfc-timeout 120;
> >     }
> > }
> >
> > > Find out whether /dev/sda7 exists or not before setting up DRBD.
> >
> > /dev/sda7 was / when setting up debian, when I setup openssi /dev/sda7
>
> is
>
> > changed to LABEL. When configuring drbd I replace LABEL in /etc/fstab
> > to /dev/drbd/0 which is so discribed on openssi webpage.
> >
> > tia
> > stefan
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
> _______________________________________________
> Ssic-linux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ssic-linux-users
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live
> webcast and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
> _______________________________________________
> Ssic-linux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ssic-linux-users

-- 
***********************************************************************
no-panic-systems

Stefan Fuhrmann
H3,7
68159 Mannheim
Germany
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
fon: +49.621.1568801
mailto: [email protected]
web: www.no-panic-systems.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
PGP- public key
http://pgpkeys.pca.dfn.de:80/pks/lookup?op=get&search=0x383884BB213EB1C1

PGP- fingerprint
FE34 1D07 34E3 AEC6 32A2 7057 3838 84BB 213E B1C1
************************************************************************
signature.asc (application/pgp-signature, 481 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iQEVAwUARDUwhTg4hLshPrHBAQJYTgf9EtsoOmSzL81ulDGdYOIxnqvnRiF+cLot
QsGePI9EZ+Tkc+tyfyP0qKHFMb+Qf0xO8DiTXO5/sBBgIoZmzXZDIf0jsM5Ms51f
iJIUQxcKrw2ptB0aeCXDuEpW4kDYLMCrgTphAa/ADCBhr4ZJesobzEYMZB20ruoc
tEZdVW4qCAB0zItWeb+zzV6tv+CQ+0sJnJ1UyOdqkBAdh2HlxTjnq33ywQkhy/V+
YjxHisnr5I5dRA2OpRi+6hDQeRJkG+OO3YThlZUZ0foHHO6lf9rl3lN8Ixsj5F4u
oJDw/QldwpkLl2IbCMKwmxG5+Gb8uigMDL1ZNmjvfuy3EqlFeD3fHA==
=rO6W
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.