RE: [SSI-users] HA-CFS problem: openSSI 1.2
Brought to you by:
brucewalker,
rogertsang
|
From: Javier C. A. <Jav...@al...> - 2005-02-28 07:49:15
|
Yes, I think so.=20 In node 1: "/etc/init.d/SSIfailover status" returns:=20 "Root failover enabled" =20 " - Current root node " I node 2: "/etc/init.d/SSIfailover status" returns:=20 "Root failover enabled" " - Takeover node " Best regards, Javier. -----Mensaje original----- De: Roger Tsang [mailto:op...@bl...]=20 Enviado el: jueves, 24 de febrero de 2005 12:20 Para: Javier Castillo Alcibar CC: ssi...@li... Asunto: RE: [SSI-users] HA-CFS problem: openSSI 1.2 Are you running the SSIfailover script? -Roger > > No, in this case, /dev/sda is not a shared disk. Only /dev/sdb is a=20 > shared disk.... > > Is there any other test to check my installation? > > Javier. > > > -----Mensaje original----- > De: Walker, Bruce J [mailto:bru...@hp...] Enviado el:=20 > mi=E9rcoles, 23 de febrero de 2005 19:31 > Para: Javier Castillo Alcibar; ssi...@li... > Asunto: RE: [SSI-users] HA-CFS problem: openSSI 1.2 > > Each node can in fact have its own swap partition and they are often=20 > the same /dev name. However, Roger's concern is that in this case=20 > /dev/sda is a shared disk so the configuration outlined would cause=20 > both nodes to write all over each others swap partition and cause a = big mess. > > Bruce > > >> -----Original Message----- >> From: ssi...@li... >> [mailto:ssi...@li...] On Behalf Of=20 >> Javier Castillo Alcibar >> Sent: Wednesday, February 23, 2005 9:55 AM >> To: ssi...@li... >> Subject: RE: [SSI-users] HA-CFS problem: openSSI 1.2 >> >> >> >> I'm not an expert on openssi, but from documentaion I did understand=20 >> that each node could have its own swap partition... Because both=20 >> servers are partitioned in the same way, fstab looks a bit strange,=20 >> but I think it's ok...... What do you think, SSI-users? >> >> Javier. >> >> >> -----Mensaje original----- >> De: Roger Tsang [mailto:op...@bl...] >> Enviado el: martes, 22 de febrero de 2005 21:56 >> Para: Javier Castillo Alcibar >> CC: ssi...@li... >> Asunto: RE: [SSI-users] HA-CFS problem: openSSI 1.2 >> >> I think you shouldn't use the same device for swap unless you intend=20 >> to. >> >> -Roger >> >> >> > oops, >> > >> > I forget to send /etc/fstab: >> > >> > " >> > proc /proc proc defaults,node=3D* 0 0 >> > UUID=3D520c4d53-753f-417f-a696-1423683918c6 / ext3 >> > chard,defaults,errors=3Dremount-ro,node=3D1:2 0 1 >> > /dev/sda1 /boot ext3 defaults,node=3D1 0 2 >> > /dev/sda1 /boot ext3 defaults,node=3D2 0 2 >> > /dev/sda2 none swap sw,node=3D1 0 0 >> > /dev/sda2 none swap sw,node=3D2 0 0 >> > /dev/hda /media/cdrom0 iso9660 ro,user,noauto,node=3D1 0 >> > 0 >> > /dev/fd0 /media/floppy0 auto rw,user,noauto,node=3D1 0 >> > 0 >> > " >> > >> > Very strange for me. I only get the problem when I power >> off the firts >> >> > node booted (for example, if I boot node2 first, then boot node1, >> > node1 joins the cluster, and then power off node2, I get the kernel = >> > panic in >> > node1) >> > >> > Javier. >> > >> > >> > -----Mensaje original----- >> > De: ssi...@li... >> > [mailto:ssi...@li...] En nombre de=20 >> > Javier Castillo Alcibar Enviado el: martes, 22 de febrero >> de 2005 8:49 >> > Para: ssi...@li... >> > Asunto: RE: [SSI-users] HA-CFS problem: openSSI 1.2 >> > >> > Yes, vmware GSX/ESX server, allows disk sharing. Very >> useful to test >> > clusters. >> > >> > Answers: >> > 1.- Yes, the second node boots, and then, I can boot node 1 >> into the >> > cluster. >> > 2.- Yes, I can: my root device is in /dev/sdb: >> > "openssi-n2:~# onnode 1 fdisk -l /dev/sdb" and >> "openssi-n2:~# onnode 2 >> >> > fdisk -l /dev/sdb" show me the same disk. And, "onnode 1 dd >> > if=3D/dev/sdb1 of=3D/dev/null" and "onnode 2 dd if=3D/dev/sdb1 >> of=3D/dev/null" >> >> > give me the same number of records.... >> > " >> > >> > Javier. >> > >> > >> > >> > -----Mensaje original----- >> > De: Walker, Bruce J [mailto:bru...@hp...] Enviado >> el: lunes, 21 >> >> > de febrero de 2005 23:02 >> > Para: Javier Castillo Alcibar; >> ssi...@li... >> > Asunto: RE: [SSI-users] HA-CFS problem: openSSI 1.2 >> > >> > I gather the shared disk is via vmware? Does vmware allow >> sharing a >> > disk? Two things you could test. >> > 1. With both nodes down, can you boot node 2 first and then >> boot node >> > 1 into the cluster? >> > 2. With both nodes up, can you dd if=3D/dev/<rootdevice> >> of=3D/dev/null on >> >> > both nodes >> > (eg. If /dev/sda2 was root device, >> > onnode 2 dd if=3D/dev/sda2 of=3D/dev/null >> > onnode 1 dd if=3D/dev/sda2 of=3D/dev/null 3. What does your = fstab=20 >> > look like? >> > >> > Bruce >> > >> > >> >> -----Original Message----- >> >> From: ssi...@li... >> >> [mailto:ssi...@li...] On Behalf Of = >> >> Javier Castillo Alcibar >> >> Sent: Monday, February 21, 2005 12:30 PM >> >> To: ssi...@li... >> >> Subject: RE: [SSI-users] HA-CFS problem: openSSI 1.2 >> >> >> >> >> >> of course: >> >> >> >> ---/etc/clustertab----- >> >> >> >> 1 10.0.1.1 00:C0:29:2D:1A:51 P 1 /dev/sda1 >> >> 2 10.0.1.2 00:C0:29:26:09:FC P 1 /dev/sda1 >> >> >> >> >> >> I'm running these two machines into an vmware ESX 2.5 server+ HP=20 >> >> Proliant ml370.... >> >> >> >> Javier. >> >> >> >> ________________________________ >> >> >> >> De: Walker, Bruce J [mailto:bru...@hp...] Enviado el: lun >> >> 21/02/2005 20:19 >> >> Para: Javier Castillo Alcibar; >> ssi...@li... >> >> Asunto: RE: [SSI-users] HA-CFS problem: openSSI 1.2 >> >> >> >> >> >> >> >> OpenSSI works with a single copy of the root filesystem, >> which means >> >> to do failover you either need a shared disk or you need >> DRBD (which >> >> replicates block devices and thus filesystems across the=20 >> >> interconnect). >> >> If you have shared disk hardware, you have not set up >> correctly for >> >> failover. Send your /etc/clustertab. >> >> >> >> Bruce >> >> >> >> >> >> > -----Original Message----- >> >> > From: ssi...@li... >> >> > [mailto:ssi...@li...] On >> Behalf Of >> >> > Javier Castillo Alcibar >> >> > Sent: Monday, February 21, 2005 10:36 AM >> >> > To: ssi...@li... >> >> > Subject: [SSI-users] HA-CFS problem: openSSI 1.2 >> >> > >> >> > >> >> > Hello all, >> >> > >> >> > I setup two Debian machines with HA-CFS enabled. I did follow=20 >> >> > "Installing an OpenSSI Cluster on Debian 3.1(Sarge) and=20 >> >> > README.hardmounts and README.fstab. My problem arises, >> when I power >> >> >> > off one machine, the other, stops working and shows a >> kernel panic: >> >> > >> >> > "Kernel panic: No init found. Can't restart. >> >> > Instruction(i) breakpoint #0 at 0xc0128840 (adjusted) >> >> > 0xc0128840 panic_hook: int3 >> >> > >> >> > Enetring kdb(current=3D0xc3a08000, pid 1) on processor 0 due to=20 >> >> > Breakpoint @ 0xc0128840 " >> >> > >> >> > Any ideas?? >> >> > >> >> > BTW: during HA_CFS installation, do I need to execute >> >> clustertab.pl?? >> >> > It's mentioned on README.fstab, but not in INSTALL and=20 >> >> > README.hardmounts docs. And, the default grub installation,=20 >> >> > installs >> > >> >> > ssi >> >> kernel on third >> >> > position, so grub will try to boot nodes with the default debian = >> >> > kernel.... >> >> > >> >> > >> >> > Best regards, >> >> > Javier. >> >> > >> >> > >> >> > >> >> > ------------------------------------------------------- >> >> > SF email is sponsored by - The IT Product Guide Read honest &=20 >> >> > candid >> > >> >> > reviews on hundreds of IT Products from real users. >> >> > Discover which products truly live up to the hype. Start >> >> reading now. >> >> > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dick >> >> > _______________________________________________ >> >> > Ssic-linux-users mailing list >> >> > Ssi...@li... >> >> > https://lists.sourceforge.net/lists/listinfo/ssic-linux-users >> >> > >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------- >> >> SF email is sponsored by - The IT Product Guide Read >> honest & candid >> >> reviews on hundreds of IT Products from real users. >> >> Discover which products truly live up to the hype. Start >> reading now. >> >> http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dick >> >> _______________________________________________ >> >> Ssic-linux-users mailing list >> >> Ssi...@li... >> >> https://lists.sourceforge.net/lists/listinfo/ssic-linux-users >> >> >> > >> > >> > >> > >> > ------------------------------------------------------- >> > SF email is sponsored by - The IT Product Guide Read honest >> & candid >> > reviews on hundreds of IT Products from real users. >> > Discover which products truly live up to the hype. Start >> reading now. >> > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dick >> > _______________________________________________ >> > Ssic-linux-users mailing list >> > Ssi...@li... >> > https://lists.sourceforge.net/lists/listinfo/ssic-linux-users >> > >> > >> > >> > >> > ------------------------------------------------------- >> > SF email is sponsored by - The IT Product Guide Read honest >> & candid >> > reviews on hundreds of IT Products from real users. >> > Discover which products truly live up to the hype. Start >> reading now. >> > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick >> > _______________________________________________ >> > Ssic-linux-users mailing list >> > Ssi...@li... >> > https://lists.sourceforge.net/lists/listinfo/ssic-linux-users >> > >> >> >> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide Read honest & candid=20 >> reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dick >> _______________________________________________ >> Ssic-linux-users mailing list >> Ssi...@li... >> https://lists.sourceforge.net/lists/listinfo/ssic-linux-users >> > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & candid=20 > reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick > _______________________________________________ > Ssic-linux-users mailing list > Ssi...@li... > https://lists.sourceforge.net/lists/listinfo/ssic-linux-users > |