[Pacemaker] [Question]About the recovery procedure from the state that a node was divided.

2010-11-03 Thread renayama19661014
Hi All, We tested it about the recovery procedure from the state that a node was divided. (As for four nodes, three nodes are active, and one node is constitution of the standby.) It is the restoration from a state divided by two nodes that we set in no-quorum-policy="freeze". The resource ke

[Pacemaker] colocation that doesn't

2010-11-03 Thread Alan Jones
I running with Pacemaker 1.0.9.1 and Corosync 1.2.7. I have a simple config below where colocation seems to have the opposite effect. Note that if you force myprim's location then mystateful's Master will colocate correctly. The command I use to force is: location myprim-loc myprim -inf: node-not-t

Re: [Pacemaker] problems with shutdown order of master/slave resources SOLVED

2010-11-03 Thread Nikola Ciprich
Well, the m/s shutdown ordering problem was of course caused by mistake in configuration.. my order constrains looked like this: order ord-drbd-sata0-dlm inf: ms-drbd-sata0:promote cl-dlm instead of correct: order ord-drbd-sata0-dlm inf: ms-drbd-sata0:promote cl-dlm:start so if anybody has simil

Re: [Pacemaker] simulate multiple nodes

2010-11-03 Thread Lars Ellenberg
On Wed, Nov 03, 2010 at 02:28:35PM +0100, Andrew Beekhof wrote: > You're wanting to run multiple instances of pacemaker on a single node? > That's unlikely to work. > > Why not use a vm instead? linux containers would probably be the most lightweight virtualization for that purpose, and works gre

Re: [Pacemaker] making resource managed

2010-11-03 Thread Michael Schwartzkopff
On Wednesday 03 November 2010 19:53:27 Vadim S. Khondar wrote: > Hello everyone. > > How can I take the resource back into managed state after it becomes > unmanaged due to error? > > For example, I have following situation: > > crm(live)# status > > Last updated: Wed Nov 3 20:23:5

[Pacemaker] making resource managed

2010-11-03 Thread Vadim S. Khondar
Hello everyone. How can I take the resource back into managed state after it becomes unmanaged due to error? For example, I have following situation: crm(live)# status Last updated: Wed Nov 3 20:23:58 2010 Stack: Heartbeat Current DC: ha-3 (a1ad8f56-7eb0-4aec-8d32-83e283903879) - p

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-03 Thread Dejan Muhamedagic
in instance gets killed by the ALRM signal. The signal > >> should've been caught, but there is something wrong with the > >> registration of the signal handler. > >> > >> Looks like this fails unexpectedly: > >> > >> #if !defined(HAVE_POSIX

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-03 Thread Eberhard Kuemmerle
plugin instance gets killed by the ALRM signal. The signal >> should've been caught, but there is something wrong with the >> registration of the signal handler. >> >> Looks like this fails unexpectedly: >> >> #if !defined(HAVE_POSIX_SIGNALS) >> >&g

Re: [Pacemaker] Shutting down resource to allow a more important one to run

2010-11-03 Thread Pavlos Parissis
On 3 November 2010 14:26, Ciro Iriarte wrote: > Hi, I'm planning to run a PDC/BDC Samba pair with HA file service > (active/passive with DRBD). Would it be possible to have the second > node running SAMBA as a BDC and once the primary node fails, stop the > BDC resource and start the PDC resource

Re: [Pacemaker] simulate multiple nodes

2010-11-03 Thread Andrew Beekhof
You're wanting to run multiple instances of pacemaker on a single node? That's unlikely to work. Why not use a vm instead? On 10/29/10, Alan Jones wrote: > Has anyone configured pacemaker to simulate multiple nodes with multiple > process instances? > Ideally, I'd like to bind corosync daemons t

[Pacemaker] Shutting down resource to allow a more important one to run

2010-11-03 Thread Ciro Iriarte
Hi, I'm planning to run a PDC/BDC Samba pair with HA file service (active/passive with DRBD). Would it be possible to have the second node running SAMBA as a BDC and once the primary node fails, stop the BDC resource and start the PDC resource on the remaining node? Regards, -- Ciro Iriarte http

Re: [Pacemaker] Stonith Device APC AP7900

2010-11-03 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 05:20:07PM -0600, Rick Cone wrote: > Dejan, > > I tested the AP7900 with the stonith command turning 2 outlets with the same > name on and off (about 20 times), and I can't get it to fail. I'm not sure > what to think, I guess. Perhaps I'll just use 1 outlet with the

Re: [Pacemaker] Ordering clones and primitives

2010-11-03 Thread Dejan Muhamedagic
Hi, On Tue, Nov 02, 2010 at 04:15:56PM -0400, Lars Kellogg-Stedman wrote: > > Right now, I don't have a solution for this problem using > > clones if you're running pacemaker v1.0.x. > > I went ahead and created two sets of Route resources. Each one has to > go into a separate routing table to p

Re: [Pacemaker] [DRBD-user] drbd on heartbeat links

2010-11-03 Thread Pavlos Parissis
On 2 November 2010 22:57, Lars Ellenberg wrote: > On Tue, Nov 02, 2010 at 10:07:17PM +0100, Pavlos Parissis wrote: >> On 2 November 2010 16:15, Dan Frincu wrote: >> > Hi, >> > >> > Pavlos Parissis wrote: >> >> >> >> Hi, >> >> >> >> I am trying to figure out how I can resolve the following scenari

Re: [Pacemaker] Problem with configuring stonith rcd_serial

2010-11-03 Thread Dejan Muhamedagic
On Tue, Nov 02, 2010 at 06:45:08PM +0100, Dejan Muhamedagic wrote: > On Tue, Nov 02, 2010 at 04:26:40PM +0100, Eberhard Kuemmerle wrote: > > On 2 Nov 2010 16:15 02.11.2010 16:18, Eberhard Kuemmerle wrote: > > > Hi, > > > here is what you requested: > > > > > > TEST 1: > > > stonith -t rcd_serial -p