Re: [Linux-cluster] Quorum disk over RAID software device

2010-02-11 Thread Thomas Meller
Thanks Gordan! You put me to the right direction. Yes, we are driving an active/passive solution. Each node can see the storage LUNs of both nodes on startup. We sort them in an init script within the initrd (remove and re-add) to get a well-defined order. Then we start multipathing via vpath. A

Re: [Linux-cluster] Quorum disk over RAID software device

2010-02-05 Thread Gordan Bobic
Thomas Meller wrote: You're right, I am unclear. Some years ago, we tried two versions: storage-based mirroring and host-based mirroring. As the processes were too complicated in our company we decided to mirror the disks host-based. So currently there is a /dev/md0 (simplified) consisting of sd

Re: [Linux-cluster] Quorum disk over RAID software device

2010-02-05 Thread Thomas Meller
eb 2010 15:18:07 + > Von: Gordan Bobic > An: linux clustering > Betreff: Re: [Linux-cluster] Quorum disk over RAID software device > Thomas Meller wrote: > > Many thanks, Gordan. > > > > This could nearly be the solution. > > But as I understand, it&#x

Re: [Linux-cluster] Quorum disk over RAID software device

2010-02-05 Thread Gordan Bobic
Thomas Meller wrote: Many thanks, Gordan. This could nearly be the solution. But as I understand, it's not possible to mirror the root-(g)fs to another computing center despite for relying on a new SPOF (if at all possible) or on hardware-dependent solutions. Not sure I follow what you mean. I

Re: [Linux-cluster] Quorum disk over RAID software device

2010-02-05 Thread Thomas Meller
the initrd? Thanks again, Thomas Original-Nachricht > Datum: Thu, 04 Feb 2010 18:59:52 + > Von: Gordan Bobic > An: linux clustering > Betreff: Re: [Linux-cluster] Quorum disk over RAID software device > Thomas, > > It sounds like what you're look

Re: [Linux-cluster] Quorum disk over RAID software device

2010-02-04 Thread Gordan Bobic
Thomas, It sounds like what you're looking for is Open Shared Root: http://www.open-sharedroot.org/ Gordan Thomas Meller wrote: Just found this thread while searching for illumination. We are running a self-constructed cluster setup since 4 Years on a 2.4 kernel (RHAS3). It's a two-machine s

Re: [Linux-cluster] Quorum disk over RAID software device

2010-02-04 Thread Thomas Meller
Just found this thread while searching for illumination. We are running a self-constructed cluster setup since 4 Years on a 2.4 kernel (RHAS3). It's a two-machine setup, nothing fancy. The fancy thing is that we boot the nodes in different computing centers from mirrored SAN devices which are ru

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-21 Thread Rafael Micó Miranda
Hi Brem El mié, 16-12-2009 a las 20:41 +0100, brem belguebli escribió: > In my multipath setup I use the following : > > polling_interval3 (checks the storage every 3 seconds) > no_path_retry 5 (will check 5 times the path if failure happens on > it, making it last scsi_timer (/sys/b

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-16 Thread brem belguebli
In my multipath setup I use the following : polling_interval3 (checks the storage every 3 seconds) no_path_retry 5 (will check 5 times the path if failure happens on it, making it last scsi_timer (/sys/block/sdXX/device/timeout) + 5*3 secondes ) path_grouping_policymultibus (to l

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-16 Thread brem belguebli
Rafael, What ou have to take care about is the following. Imagine your SAN admin modifies the wrong zoning while doing his job, making the qdisk (both legs) unavailable for your nodes, and at this time you have one node off because of maintenance operation, your whole cluster would go down. Brem

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-16 Thread Rafael Micó Miranda
Hi Brem El mar, 15-12-2009 a las 21:15 +0100, brem belguebli escribió: > Hi Rafael, > > I can already predict what is going to happen during your test > > I one of your nodes looses only 1 leg of your mirrored qdisk (either > with mdadm or lvm), the qdisk will still be active from the point of >

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-16 Thread Rafael Micó Miranda
Hi Kaloyan El mié, 16-12-2009 a las 13:41 +0200, Kaloyan Kovachev escribió: > About the 6 node cluster - do you really need to have it operational with just > a single node? If this is not mandatory it might be better to use different > votes for the nodes to break the tie instead of mirrored qdi

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-16 Thread Kaloyan Kovachev
On Wed, 16 Dec 2009 01:02:19 +0100, Jakov Sosic wrote > On Tue, 2009-12-15 at 19:51 +0100, Rafael [UTF-8?]MicГі Miranda wrote: > > > [1] http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Logical_Volume_Manager_Administration/mirrored_volumes.html > > http://www.redhat.com/docs/en

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-15 Thread Jakov Sosic
On Tue, 2009-12-15 at 19:51 +0100, Rafael Micó Miranda wrote: > http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Logical_Volume_Manager_Administration/mirrored_volumes.html > http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Logical_Volume_Manager_Administration/

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-15 Thread brem belguebli
Hi Rafael, I can already predict what is going to happen during your test I one of your nodes looses only 1 leg of your mirrored qdisk (either with mdadm or lvm), the qdisk will still be active from the point of view of this particular node, so nothing will happen. What you should consider is 1

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-15 Thread Andreas Pfaffeneder
Am 15.12.2009 20:01, schrieb Rafael Micó Miranda: in a similar situation I am using a raid-1 device (built with mdadm prior to the startup of cman/rgmanager) which consists of two luns, one in each location. This works pretty well as quorum-device. -- Linux-cluster mailing list Linux-cluster@re

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-15 Thread Rafael Micó Miranda
Hi Jacov El mar, 15-12-2009 a las 17:26 +0100, Jakov Sosic escribió: > On Tue, 2009-12-15 at 15:31 +0100, Andreas Pfaffeneder wrote: > > > in a similar situation I am using a raid-1 device (built with mdadm > > prior to the startup of cman/rgmanager) which consists of two luns, one > > in each

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-15 Thread Rafael Micó Miranda
Hi Brem El mar, 15-12-2009 a las 17:21 +0100, brem belguebli escribió: > Hi, > > The problem you could encounter is the network and storage split brain. > > If your Qdsik LUNs were hosted by 2 arrays located in 2 different > rooms or site, each room hosting half the nodes of your cluster, in > c

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-15 Thread Rafael Micó Miranda
Hi Andreas El mar, 15-12-2009 a las 15:31 +0100, Andreas Pfaffeneder escribió: > Hi Rafael, > > Am 14.12.2009 23:15, schrieb Rafael Micó Miranda: > > Hi all, > > > > I was wondering if there is a way to achieve a "quorum disk over a RAID > > software device" working CMAN cluster. > > > > > in

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-15 Thread Rafael Micó Miranda
Hi Jakov, El mar, 15-12-2009 a las 11:58 +0100, Jakov Sosic escribió: > On Mon, 2009-12-14 at 23:15 +0100, Rafael Micó Miranda wrote: > > > - Using an LVM-Mirror device as a Qdisk and creating additional LUNs for > > mirror and log in both storage arrays: if the Qdisk is a Clustered > > Logical V

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-15 Thread Jakov Sosic
On Tue, 2009-12-15 at 15:31 +0100, Andreas Pfaffeneder wrote: > in a similar situation I am using a raid-1 device (built with mdadm > prior to the startup of cman/rgmanager) which consists of two luns, one > in each location. This works pretty well as quorum-device. So you have to create mdraid

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-15 Thread brem belguebli
Hi, The problem you could encounter is the network and storage split brain. If your Qdsik LUNs were hosted by 2 arrays located in 2 different rooms or site, each room hosting half the nodes of your cluster, in case a SAN and network partition occurs between the 2 rooms, you'll find yourself in a

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-15 Thread Andreas Pfaffeneder
Hi Rafael, Am 14.12.2009 23:15, schrieb Rafael Micó Miranda: Hi all, I was wondering if there is a way to achieve a "quorum disk over a RAID software device" working CMAN cluster. in a similar situation I am using a raid-1 device (built with mdadm prior to the startup of cman/rgmanager) w

Re: [Linux-cluster] Quorum disk over RAID software device

2009-12-15 Thread Jakov Sosic
On Mon, 2009-12-14 at 23:15 +0100, Rafael Micó Miranda wrote: > - Using an LVM-Mirror device as a Qdisk and creating additional LUNs for > mirror and log in both storage arrays: if the Qdisk is a Clustered > Logical Volume, But is it possible to have clustered LVM-mirror? And if so, how? I would

[Linux-cluster] Quorum disk over RAID software device

2009-12-14 Thread Rafael Micó Miranda
Hi all, I was wondering if there is a way to achieve a "quorum disk over a RAID software device" working CMAN cluster. Explanation: A) Environment - 6 x different servers used as cluster nodes, with dual FC HBA - 2 x different fabrics, each build with 3 FC SAN switches - 2 x storage arrays, with