Re: [Pacemaker] master/slave or unique clones

2010-05-28 Thread Maros Timko
> So, application acts as "master" if it was able to bind to the pre-configured > IP and as a "node" if it wasn't. If it's a master it listens on an additional > port and receives updates from nodes. Each application pulls video feed out > of attached video cameras and stores them on the local d

Re: [Pacemaker] MySQL startup slow on OCFS2

2010-05-28 Thread daniel qian
On 2010-05-26, at 2:26 PM, Lars Marowsky-Bree wrote: > On 2010-05-26T10:26:35, daniel qian wrote: > >> I followed this link to setup a two-node cluster on Ubuntu 10.4 - >> https://wiki.ubuntu.com/ClusterStack/LucidTesting#Pacemaker,%20drbd8%20and%20OCFS2%20or%20GFS2 >> >> Everything is workin

Re: [Pacemaker] master/slave or unique clones

2010-05-28 Thread Vadym Chepkov
On May 28, 2010, at 11:17 AM, Florian Haas wrote: > On 05/28/2010 02:37 PM, Vadym Chepkov wrote: >> >> On May 28, 2010, at 8:27 AM, Florian Haas wrote: Imperative word was "started". You think I still should go multi-state RA for this application? >>> >>> If the application whi

Re: [Pacemaker] master/slave or unique clones

2010-05-28 Thread Florian Haas
On 05/28/2010 02:37 PM, Vadym Chepkov wrote: > > On May 28, 2010, at 8:27 AM, Florian Haas wrote: >>> >>> Imperative word was "started". You think I still should go multi-state RA >>> for this application? >> >> If the application which that RA applies to distinguishes between roles >> equivalent

[Pacemaker] Info on customization of RA

2010-05-28 Thread Gianluca Cecchi
Hello, I tried this approach and it seems to work ootb. But I would like to know if there could be silent drawbacks or potential problems from a technical point of view. Under /usr/lib/ocf/resource.d/ I create a directory named myocfdir and inside it I put a copy of an existing RA (eg apache) /usr

Re: [Pacemaker] master/slave or unique clones

2010-05-28 Thread Vadym Chepkov
On May 28, 2010, at 8:27 AM, Florian Haas wrote: >> >> Imperative word was "started". You think I still should go multi-state RA >> for this application? > > If the application which that RA applies to distinguishes between roles > equivalent to a Master and a Slave, and you want the RA to mana

Re: [Pacemaker] master/slave or unique clones

2010-05-28 Thread Florian Haas
On 2010-05-28 14:20, Vadym Chepkov wrote: > > On May 28, 2010, at 8:12 AM, Florian Haas wrote: > >> On 2010-05-28 14:01, Vadym Chepkov wrote: >>> Hi, >>> >>> I want to convert our home-made application to be managed by pacemaker >>> cluster. >>> The way it works now: application starts, discove

Re: [Pacemaker] master/slave or unique clones

2010-05-28 Thread Vadym Chepkov
On May 28, 2010, at 8:12 AM, Florian Haas wrote: > On 2010-05-28 14:01, Vadym Chepkov wrote: >> Hi, >> >> I want to convert our home-made application to be managed by pacemaker >> cluster. >> The way it works now: application starts, discovers all IPs configured on >> the system and if it see

Re: [Pacemaker] master/slave or unique clones

2010-05-28 Thread Florian Haas
On 2010-05-28 14:01, Vadym Chepkov wrote: > Hi, > > I want to convert our home-made application to be managed by pacemaker > cluster. > The way it works now: application starts, discovers all IPs configured on the > system and if it sees preconfigured IP it becomes "master" and will serve > co

[Pacemaker] master/slave or unique clones

2010-05-28 Thread Vadym Chepkov
Hi, I want to convert our home-made application to be managed by pacemaker cluster. The way it works now: application starts, discovers all IPs configured on the system and if it sees preconfigured IP it becomes "master" and will serve configuration requests, if not - "node" and will try to co

[Pacemaker] Linux-HA User's Guide 0.9.2

2010-05-28 Thread Florian Haas
Hello everybody, I've pushed an update to the Linux-HA User's Guide to http://www.linux-ha.org/doc. The relevant changes since 0.9.1 are in the section on upgrades from Heartbeat 2.1 to Heartbeat 3 with Pacemaker, starting at: http://www.linux-ha.org/doc/s-upgrade-crm.html As always, PDF version

Re: [Pacemaker] MySQL startup slow on OCFS2

2010-05-28 Thread Lars Marowsky-Bree
On 2010-05-26T10:26:35, daniel qian wrote: > I followed this link to setup a two-node cluster on Ubuntu 10.4 - > https://wiki.ubuntu.com/ClusterStack/LucidTesting#Pacemaker,%20drbd8%20and%20OCFS2%20or%20GFS2 > > Everything is working fine except for running MySQL on both nodes with MySQL > dat

Re: [Pacemaker] 2 node cluster with clvm, configuration help needed...

2010-05-28 Thread Lars Marowsky-Bree
On 2010-05-20T09:55:40, patrik.rappo...@knapp.com wrote: > possibly this behaviour is based on my configuration. could you please give > me an advice how to realize this? Upgrade. And configure stonith. Regards, Lars -- Architect Storage/HA, OPS Engineering, Novell, Inc. SUSE LINUX Produ

Re: [Pacemaker] advisory ordering question

2010-05-28 Thread Gianluca Cecchi
On Fri, May 28, 2010 at 8:00 AM, Andrew Beekhof wrote: > > > I don't know if it is the same bug... > > In the sense that in your bug case the problem is related to: > > - the stop operation not enforcing the order constraint > > - the constraint is between a clone of a group and a clone of a reso