Re: [Pacemaker] Fixed! - Re: Problem with dual-PDU fencing node with redundant PSUs

2013-07-04 Thread Digimer
On 04/07/13 10:06, Dejan Muhamedagic wrote: On Tue, Jul 02, 2013 at 10:53:50AM -0400, Digimer wrote: On 07/02/2013 04:02 AM, Dejan Muhamedagic wrote: On Mon, Jul 01, 2013 at 11:53:29AM -0400, Digimer wrote: On 07/01/2013 04:52 AM, Dejan Muhamedagic wrote: Right. It is often missed that actual

Re: [Pacemaker] Fixed! - Re: Problem with dual-PDU fencing node with redundant PSUs

2013-07-04 Thread Dejan Muhamedagic
On Tue, Jul 02, 2013 at 10:53:50AM -0400, Digimer wrote: > On 07/02/2013 04:02 AM, Dejan Muhamedagic wrote: > > On Mon, Jul 01, 2013 at 11:53:29AM -0400, Digimer wrote: > >> On 07/01/2013 04:52 AM, Dejan Muhamedagic wrote: > >>> Right. It is often missed that actually more than one failure is > >>>

Re: [Pacemaker] Full API description for Fence Agent

2013-07-04 Thread Digimer
On 04/07/13 05:24, Andreas Mock wrote: Hi digimer, I would like to take your offer and asking the following: The API documents says nothing about the correct way of giving messages back to the stonith daemon. So, what is the right way to write error/warn/info messages. Looking at the scripted

Re: [Pacemaker] Full API description for Fence Agent

2013-07-04 Thread Digimer
On 04/07/13 08:31, Andreas Mock wrote: Hi Digimer, hi all, there is a little thing in the API doc which is also unclear to me. It says: "[...] status - this is not implemented by most agents nor used by fenced at this time. Return values: 0 if the fence device is reachable and the port is

Re: [Pacemaker] Full API description for Fence Agent

2013-07-04 Thread Andreas Mock
Hi Digimer, hi all, there is a little thing in the API doc which is also unclear to me. It says: "[...] status - this is not implemented by most agents nor used by fenced at this time. Return values: 0 if the fence device is reachable and the port is in the on state 1 if the fence device

Re: [Pacemaker] changing cluster-ip

2013-07-04 Thread Michael Schwartzkopff
Am Donnerstag, 4. Juli 2013, 13:47:47 schrieb andreas graeper: > pcs resource update p_clusterip ip=a.b.c.d > > OR > > crm resource edit p_clusterip > ( vi .. :wq ) > > should work ?! Yes. Also see: http://www.caliburn.nl/topposting.html > 2013/7/4 Andrew Beekhof > > > On 04/07/2013, at 8:

Re: [Pacemaker] Node addition policy

2013-07-04 Thread Vladislav Bogdanov
04.07.2013 14:50, Andrew Beekhof wrote: > > On 04/07/2013, at 7:24 PM, Vladislav Bogdanov wrote: > >> Hi, >> >> I think about safest way to expanding the cluster, and my observations >> show that new nodes are always added in the "online" state >> (standby="off"). I would like nodes to appear in

Re: [Pacemaker] Full API description for Fence Agent

2013-07-04 Thread Andreas Mock
Hi Andrew, is there some kind of agreement how to tag a message? Like (DEBUG/TRACE/ERROR/WARN)? Is there a way message level filtering is done? Best regards Andreas -Ursprüngliche Nachricht- Von: Andrew Beekhof [mailto:and...@beekhof.net] Gesendet: Donnerstag, 4. Juli 2013 13:41 An: Th

Re: [Pacemaker] Node addition policy

2013-07-04 Thread Andrew Beekhof
On 04/07/2013, at 7:24 PM, Vladislav Bogdanov wrote: > Hi, > > I think about safest way to expanding the cluster, and my observations > show that new nodes are always added in the "online" state > (standby="off"). I would like nodes to appear in standby="on" state > unless they can be fenced im

Re: [Pacemaker] changing cluster-ip

2013-07-04 Thread andreas graeper
pcs resource update p_clusterip ip=a.b.c.d OR crm resource edit p_clusterip ( vi .. :wq ) should work ?! 2013/7/4 Andrew Beekhof > > On 04/07/2013, at 8:37 PM, Leon Fauster > wrote: > > > Am 04.07.2013 um 12:02 schrieb andreas graeper >: > >> > >> i tried to change the IPaddr2 parameter ip

Re: [Pacemaker] changing cluster-ip

2013-07-04 Thread Andrew Beekhof
On 04/07/2013, at 8:37 PM, Leon Fauster wrote: > Am 04.07.2013 um 12:02 schrieb andreas graeper : >> >> i tried to change the IPaddr2 parameter ip >> >> 1) crm resource edit >> >> 2) pcs resource update = >> >> in both cases the cib is modified (`crm configure show` shows) >> but old

Re: [Pacemaker] Full API description for Fence Agent

2013-07-04 Thread Andrew Beekhof
On 04/07/2013, at 7:24 PM, Andreas Mock wrote: > Hi digimer, > > I would like to take your offer and asking the following: > > The API documents says nothing about the correct way > of giving messages back to the stonith daemon. > So, what is the right way to write error/warn/info messages. >

Re: [Pacemaker] changing cluster-ip

2013-07-04 Thread andreas graeper
hi and thanks, works great! what i was wondering about: when i stop IPaddr2 the crm_mon tells it is started ( cib .. target-role=stopped ) and `ip addr show` tells that the old secondary ip is still active. .. maybe i have to wait more patiently for ipaddr2 to be stopped ?! thanks andreas 2013/7

Re: [Pacemaker] monitoring problem

2013-07-04 Thread Michael Schwartzkopff
Am Donnerstag, 4. Juli 2013, 13:03:34 schrieb u.schmel...@online.de: > Hi , > > have setup a new resource respecting the > http://www.linux-ha.org/doc/dev-guides/ra-dev-guide.html. The resource is > starting as expected, however the monitoring doesn't seem to work. I wonder > what the meaning of

[Pacemaker] monitoring problem

2013-07-04 Thread u . schmeling
Hi , have setup a new resource respecting the http://www.linux-ha.org/doc/dev-guides/ra-dev-guide.html . The resource is starting as expected, however the monitoring doesn't seem to work. I wonder what the meaning of confirmed=false is: LRM operation mmm-monitor_monitor_1 (call=66, rc=0, c

Re: [Pacemaker] changing cluster-ip

2013-07-04 Thread Leon Fauster
Am 04.07.2013 um 12:02 schrieb andreas graeper : > > i tried to change the IPaddr2 parameter ip > > 1) crm resource edit > > 2) pcs resource update = > > in both cases the cib is modified (`crm configure show` shows) > but old ip only is pingable and all depending resources are stopped

[Pacemaker] changing cluster-ip

2013-07-04 Thread andreas graeper
hi i tried to change the IPaddr2 parameter ip 1) crm resource edit (vi .. ) 2) pcs resource update = in both cases the cib is modified (`crm configure show` shows) but old ip only is pingable and all depending resources are stopped crm resource stop p_clusterip # does not stop that resourc

Re: [Pacemaker] Full API description for Fence Agent

2013-07-04 Thread Andreas Mock
Hi digimer, I would like to take your offer and asking the following: The API documents says nothing about the correct way of giving messages back to the stonith daemon. So, what is the right way to write error/warn/info messages. Looking at the scripted agents available I can find a nice mixtur

[Pacemaker] Node addition policy

2013-07-04 Thread Vladislav Bogdanov
Hi, I think about safest way to expanding the cluster, and my observations show that new nodes are always added in the "online" state (standby="off"). I would like nodes to appear in standby="on" state unless they can be fenced immediately after addition (fencing is configured for them). Other opt