[Pacemaker] A mistake of the log output.

2010-06-10 Thread renayama19661014
Hi, There seems to be an error in the log output of the source of Pacemaker. void clone_expand(resource_t *rsc, pe_working_set_t *data_set) { clone_variant_data_t *clone_data = NULL; get_clone_variant_data(clone_data, rsc); crm_err("Processing actions from %s", rsc->id);

Re: [Pacemaker] Clones restart on node recovery

2010-06-10 Thread Andrew Beekhof
On Wed, Jun 9, 2010 at 6:46 AM, jraditch...@gmail.com wrote: > Hi hopefully osmeone can help. I have little experience with pacemaker > and possibly I do something wrong. > > I have the follwoing design: > > Two hardware nodes > Part of the services are 100% redundant on both nodes - we use Clones

Re: [Pacemaker] use_logd or use_mgmtd kills corosync

2010-06-10 Thread Andrew Beekhof
1.2.4 just came out, perhaps that will help. I'll kick off a rebuild shortly On Thu, Jun 10, 2010 at 4:48 AM, Devin Reade wrote: > Andrew Beekhof wrote: > >> Do any other children start up? > > None. > >> Where is the mgmtd binary installed to? > > /usr/lib64/heartbeat/mgmtd > > > >

Re: [Pacemaker] A mistake of the log output.

2010-06-10 Thread Andrew Beekhof
ooops, right. that one should be crm_debug_2() Fixing now... On Thu, Jun 10, 2010 at 9:02 AM, wrote: > Hi, > > There seems to be an error in the log output of the source of Pacemaker. > > void clone_expand(resource_t *rsc, pe_working_set_t *data_set) > { >        clone_variant_data_t *clone_data

Re: [Pacemaker] Specifying stop and demote order

2010-06-10 Thread Andrew Beekhof
2010/6/10 Stefan Förster : > Follow-up to my own posting: > > * Stefan Foerster : >> I have a number of primitives and a master/slave resource which need >> to be started in a given order. At first I was thinking about using a >> "group", but as things go with groups, seemingly independent resource

Re: [Pacemaker] Issues with constraints - working for start/stop, being ignored on "failures"

2010-06-10 Thread Dejan Muhamedagic
Hi, On Thu, Jun 10, 2010 at 01:14:28AM +0200, Cnut Jansen wrote: > > > Am 08.06.2010 19:32, schrieb Dejan Muhamedagic: > >Hi, > > > >On Sun, Jun 06, 2010 at 07:07:32PM -0600, Tim Serong wrote: > >>Say what? The CRM shell shouldn't be canceling ops... > >True. Though there was a dreadful bug foun

Re: [Pacemaker] Service failback issue with SLES11 and HAE 11

2010-06-10 Thread Dejan Muhamedagic
Hi, On Thu, Jun 10, 2010 at 09:40:09AM +0800, ben180 wrote: > Dear Dejan, > > Thanks for your reply. > > I reviewed the log of tibcodb2 and noticed that after step7.ServerB reboot, > ServerB CAN heard from ServerA. > > The strange thing is that when ServerA reboot, ServerA CANNOT heart from > S

[Pacemaker] How to replace an agent

2010-06-10 Thread Vadym Chepkov
Hi, I stumbled upon interesting feature or a bug, not sure how to classify it. I needed to add a resource to a cluster and since it didn't have native RA, I used 'anything' RA while I was working on a new script. When new script was ready I stopped the running resource and edited it's definitio

Re: [Pacemaker] How to replace an agent

2010-06-10 Thread Dejan Muhamedagic
Hi, On Thu, Jun 10, 2010 at 08:46:22AM -0400, Vadym Chepkov wrote: > Hi, > > I stumbled upon interesting feature or a bug, not sure how to classify it. > > I needed to add a resource to a cluster and since it didn't have native RA, I > used 'anything' RA while I was working on a new script. Whe

[Pacemaker] Active/Active issue

2010-06-10 Thread David
Got my first install of pacemaker/corosync running for a 2 node apache cluster in active/active mode yesterday on CentOS 5.5 x86_64. Everything was working just fine until I tested disaster recovery by failing both servers and restarting them. When the servers came back I noticed that even th

[Pacemaker] How to really deal with gateway restarts?

2010-06-10 Thread Maros Timko
Hi all, I know it was requested here number of times, but with no real conclusive answer. All of the requests were update Pacemaker and use ping RA. Setup: - simple symetric 2 node DRBD-Xen cluster - both nodes connected to the same network and gateway - cloned ping RA to monitor gateway and u

Re: [Pacemaker] A mistake of the log output.

2010-06-10 Thread renayama19661014
Hi Andrew, Thanks! Another one... Not a great problemNext if is the same. static gboolean determine_online_status_no_fencing(pe_working_set_t *data_set, xmlNode * node_state, node_t *this_node) { (snip) if(!crm_is_true(ccm_state) || safe_str_eq(ha_state, DEADSTATUS)){