[Pacemaker] HELP! HELP! HELP!

2011-05-30 Thread 项磊
> Did you check the schema?I don't know where I should put the "role field" for > the master/slave resource to promote it in my cib.xml.the sample is > valid.thank you. 2011/5/30 项磊 : Hi, friends, I have a problem with Pacemaker 1.1.5. When I configure a master resource as usual

Re: [Pacemaker] HELP! HELP! HELP!

2011-05-30 Thread Andrew Beekhof
Did you check the schema? 2011/5/30 项磊 : Hi, friends, I have a problem with Pacemaker 1.1.5. When I configure a master resource as usual, and set target-role=“Master”, but all instances are in slave state, no instance is promoted to master state. Who can tel

Re: [Pacemaker] Automating Pacemaker Setup

2011-05-30 Thread Andrew Beekhof
On Mon, May 30, 2011 at 3:59 PM, Dejan Muhamedagic wrote: > Hi, > > On Fri, May 27, 2011 at 08:21:08PM +, veghead wrote: >> veghead writes: >> > Todd Nine writes: >> > Wow. The example pacemaker config and the trick of starting >> > heartbeat before >> >> Bah. So close. But I still don't hav

Re: [Pacemaker] Bug in compiling pacemaker-pygui: CRM_DAEMON_DIR not defined

2011-05-30 Thread Andrew Beekhof
On Mon, May 30, 2011 at 2:23 PM, Gao,Yan wrote: > On 05/30/11 17:31, Andrew Beekhof wrote: >> It used to be in crm_config.h but I had to remove it because it >> interfered with multilib (not that I've ever seen anyone make use of >> that particular feature). > Mgmtd uses it for invoking pengine/cr

[Pacemaker] Mysqlping resource for Mysql Master-Master replication

2011-05-30 Thread Viacheslav Biriukov
Hi all. I have written mysqlping resorce. It works same as ping or pingd. Main purpose it is location Mysql VIP on right node in Mysql Master-Master replication with clone configuration. https://github.com/Sov1et/ocf-mysqlping -- Viacheslav Biriukov BR http://biriukov.com __

Re: [Pacemaker] mysql RA fixes merged

2011-05-30 Thread Raoul Bhatia [IPAX]
On 05/30/2011 04:18 PM, Florian Haas wrote: > Hello, > > I've merged and pushed a number of fixes to master/slave replication in > the mysql RA, contributed by Marek Marczykowski. I've deliberately left > out Raoul Bhatia's retab patch out though, those "janitor" patches > usually make debugging h

Re: [Pacemaker] Node removal in corosync-based cluster

2011-05-30 Thread Vladislav Bogdanov
Hi, 30.05.2011 17:12, Dejan Muhamedagic wrote: > Hi, > > On Sun, May 29, 2011 at 11:58:17PM +0300, Vladislav Bogdanov wrote: >> Hi all. >> >> I've got a task to remove some nodes from cluster to save some power and >> found that it is not sufficient to follow >> http://www.clusterlabs.org/doc/en-

[Pacemaker] mysql RA fixes merged

2011-05-30 Thread Florian Haas
Hello, I've merged and pushed a number of fixes to master/slave replication in the mysql RA, contributed by Marek Marczykowski. I've deliberately left out Raoul Bhatia's retab patch out though, those "janitor" patches usually make debugging harder if we do run into issues. We can always merge that

Re: [Pacemaker] Node removal in corosync-based cluster

2011-05-30 Thread Dejan Muhamedagic
Hi, On Sun, May 29, 2011 at 11:58:17PM +0300, Vladislav Bogdanov wrote: > Hi all. > > I've got a task to remove some nodes from cluster to save some power and > found that it is not sufficient to follow > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-node-delete.ht

Re: [Pacemaker] Adding a STONITH device to pacemaker

2011-05-30 Thread Dejan Muhamedagic
Hi, On Sun, May 29, 2011 at 11:28:55PM +0300, Vladislav Bogdanov wrote: > Hi, > > 29.05.2011 22:38, Digimer wrote: > > Hi all, > > > > I'd like to adapt my Node Assassin[1] device to support Pacemaker. > > Currently it supports RHCS and the agent is built to the > > FenceAgentAPI[2]. I'm hopin

Re: [Pacemaker] Automating Pacemaker Setup

2011-05-30 Thread Dejan Muhamedagic
Hi, On Fri, May 27, 2011 at 08:21:08PM +, veghead wrote: > veghead writes: > > Todd Nine writes: > > Wow. The example pacemaker config and the trick of starting > > heartbeat before > > Bah. So close. But I still don't have it completely automated. > > If I start heatbeat on the first nod

[Pacemaker] lxc RA merged

2011-05-30 Thread Florian Haas
Hello, after much useful testing from Christoph Mitasch and a number of necessary changes highlighted by ocf-tester, I've now merged and pushed the lxc resource agent that was originally contributed by Darren Thompson. The resource agent is here: https://github.com/ClusterLabs/resource-agents/bl

[Pacemaker] sbd daemon initialize kdump

2011-05-30 Thread Janec, Jozef
Hello All, Is there some possibility configure sdb daemon initialize kdump instead of power reset? I saw in source code that the sdb is using /proc/sysrq-trigger for power reset, or power off. I'm looking for configuration trigger kdump via sysrequest, and if possible have this option in stonit

Re: [Pacemaker] Bug in compiling pacemaker-pygui: CRM_DAEMON_DIR not defined

2011-05-30 Thread Gao,Yan
On 05/30/11 17:31, Andrew Beekhof wrote: > It used to be in crm_config.h but I had to remove it because it > interfered with multilib (not that I've ever seen anyone make use of > that particular feature). Mgmtd uses it for invoking pengine/crmd to retrieve the metadata. Is there a replacement of i

[Pacemaker] 4 node cluster configuration

2011-05-30 Thread Janec, Jozef
Hello All, I'm trying find solution for 4 node cluster: scenario: We have two primary resource group GA,GB 2 dc's nodeA.nodeB in DC1 nodeC,nodeD in DC2 I need configure solution that GA will be running on nodeA,nodeC, GB will be running on nodeB,noddeD. In case that GA, or GB will be not abl

Re: [Pacemaker] Bug in compiling pacemaker-pygui: CRM_DAEMON_DIR not defined

2011-05-30 Thread Michael Schwartzkopff
> > Hi, > > > > when I tried to compile pacemaker-pygui tip I got the error > > > > CRM_DAEMON_DIR not defined > > > > searching in the /usr/include for that string with > > grep -r "CRM_DAEMON_DIR" /usr/include > > > > I did not find the definition anywhere. Any ideas? > It used to be in crm_

[Pacemaker] HELP! HELP! HELP!

2011-05-30 Thread 项磊
>>> Hi, friends, I have a problem with Pacemaker 1.1.5. >>> >>> When I configure a master resource as usual, and set >>> target-role=“Master”, >>> but all instances are in slave state, no instance is promoted to master >>> state. >>> >>> Who can tell me how to promote a instance to master? > >>hav

Re: [Pacemaker] Node removal in corosync-based cluster

2011-05-30 Thread Andrew Beekhof
On Sun, May 29, 2011 at 10:58 PM, Vladislav Bogdanov wrote: > Hi all. > > I've got a task to remove some nodes from cluster to save some power and > found that it is not sufficient to follow > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-node-delete.html#s-del-ais

Re: [Pacemaker] Is there any limitattion of resource name length

2011-05-30 Thread Andrew Beekhof
64 characters iirc On Mon, May 30, 2011 at 3:05 AM, jiaju liu wrote: > Hi all > I intend to use wwid as resource name which is 32bit, so are there any > limitations of resource name? 32bit is ok? > > ___ > Pacemaker mailing list: Pacemaker@oss.clust

Re: [Pacemaker] HELP! HELP! HELP!

2011-05-30 Thread Andrew Beekhof
2011/5/30 项磊 : >>> Hi, friends, I have a problem with Pacemaker 1.1.5. >>> >>> When I configure a master resource as usual, and set >>> target-role=“Master”, >>> but all instances are in slave state, no instance is promoted to master >>> state. >>> >>> Who can tell me how to promote a instance to m

Re: [Pacemaker] Bug in compiling pacemaker-pygui: CRM_DAEMON_DIR not defined

2011-05-30 Thread Andrew Beekhof
It used to be in crm_config.h but I had to remove it because it interfered with multilib (not that I've ever seen anyone make use of that particular feature). I don't think that change was in 1.1.5 though - what version of pacemaker are you building against? On Sat, May 28, 2011 at 3:00 PM, Micha

Re: [Pacemaker] HELP! HELP! HELP!

2011-05-30 Thread Florian Haas
http://www.catb.org/~esr/faqs/smart-questions.html#bespecific Please. Thanks. Florian signature.asc Description: OpenPGP digital signature ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker