Re: [Pacemaker] DMC: Pacemaker cluster in 10 minutes

2010-11-17 Thread Pavlos Parissis
On 17 November 2010 09:28, Rasto Levrinc rasto.levr...@linbit.com wrote: Hi, this is my first screencast about DMC and my first screencast in general and it's purpose is give you quick glance what is DMC about. It is about installing, configuring, administrating and operating a Pacemaker +

Re: [Pacemaker] Balancing of clone resources (globally-unique=true)

2010-11-17 Thread Chris Picton
On Tue, 16 Nov 2010 10:52:44 +0100, Andrew Beekhof wrote: On Mon, Nov 15, 2010 at 2:38 PM, Chris Picton ch...@ecntelecoms.com wrote: On Mon, 15 Nov 2010 08:37:52 +0100, Andrew Beekhof wrote: On Fri, Nov 12, 2010 at 7:41 AM, Chris Picton ch...@ecntelecoms.com wrote: I have attached the

[Pacemaker] Problems setting up clone resource syslog-ng - I need help

2010-11-17 Thread Senftleben, Stefan, ITSC
Hello everybody, I need help in configuring a cluster resource for syslog-ng. Could anybody give me a hint, what is wrong in the configuration? After crm resource start syslog-ng the output of crm_mon -f -1 shows: Last updated: Wed Nov 17 10:50:41 2010 Stack: openais Current DC:

Re: [Pacemaker] Problems setting up clone resource syslog-ng - I need help

2010-11-17 Thread Dejan Muhamedagic
Hi, On Wed, Nov 17, 2010 at 11:22:19AM +0100, Senftleben, Stefan, ITSC wrote: Hello everybody, I need help in configuring a cluster resource for syslog-ng. Could anybody give me a hint, what is wrong in the configuration? After crm resource start syslog-ng the output of crm_mon -f -1

Re: [Pacemaker] AP9606 fencing device

2010-11-17 Thread Dejan Muhamedagic
Hi, On Tue, Nov 16, 2010 at 08:15:10PM -0700, Devin Reade wrote: --On Wednesday, October 27, 2010 09:47:14 AM +0200 Pavlos Parissis pavlos.paris...@gmail.com wrote: I have a APC AP9606 PDU and I am trying to find a stonith agent which works with that PDU. I know that this is an old

Re: [Pacemaker] Problems setting up clone resource syslog-ng - I need help

2010-11-17 Thread Senftleben, Stefan, ITSC
Hi, okay, these infos I found in syslog. But no lrmd-log entries canbe found. r...@lxds05:~# cat /var/log/syslog|grep pengi|grep syslog Nov 17 12:47:22 lxds05 pengine: [1089]: ERROR: unpack_rsc_op: Hard error - syslog-ng:0_monitor_0 failed with rc=6: Preventing syslog-ng-clone from

Re: [Pacemaker] Problems setting up clone resource syslog-ng - I need help

2010-11-17 Thread Dan Frincu
Hi, Senftleben, Stefan, ITSC wrote: Hi, okay, these infos I found in syslog. But no lrmd-log entries canbe found. r...@lxds05:~# cat /var/log/syslog|grep pengi|grep syslog Nov 17 12:47:22 lxds05 pengine: [1089]: ERROR: unpack_rsc_op: Hard error - syslog-ng:0_monitor_0 failed with rc=6:

Re: [Pacemaker] Problems setting up clone resource syslog-ng - I need help

2010-11-17 Thread Pavlos Parissis
On 17 November 2010 13:22, Michael Schwartzkopff mi...@clusterbau.com wrote: On Wednesday 17 November 2010 13:09:01 Senftleben, Stefan, ITSC wrote: Hi, okay, these infos I found in syslog. But no lrmd-log entries canbe found. r...@lxds05:~# cat /var/log/syslog|grep pengi|grep syslog Nov 17

[Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Dan Frincu
Hi, r...@cluster1:/# pgrep mysql 961 1127 r...@cluster1:/# crm resource restart mysqld r...@cluster1:/# pgrep -fl mysql 961 1127 The restart command doesn't actually restart the process, I have tried this with another custom built OCF compliant RA and have the same issue. # rpm -qa

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Vadym Chepkov
On Nov 17, 2010, at 7:26 AM, Dan Frincu wrote: Hi, r...@cluster1:/# pgrep mysql 961 1127 r...@cluster1:/# crm resource restart mysqld r...@cluster1:/# pgrep -fl mysql 961 1127 The restart command doesn't actually restart the process, I have tried this with another custom built OCF

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Pavlos Parissis
On 17 November 2010 13:26, Dan Frincu dfri...@streamwide.ro wrote: Hi, r...@cluster1:/# pgrep mysql 961 1127 r...@cluster1:/# crm resource restart mysqld r...@cluster1:/# pgrep -fl mysql 961 1127 The restart command doesn't actually restart the process, I have tried this with another

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Pavlos Parissis
On 17 November 2010 13:35, Vadym Chepkov vchep...@gmail.com wrote: On Nov 17, 2010, at 7:26 AM, Dan Frincu wrote: Hi, r...@cluster1:/# pgrep mysql 961 1127 r...@cluster1:/# crm resource restart mysqld r...@cluster1:/# pgrep -fl mysql 961 1127 The restart command doesn't actually

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Dejan Muhamedagic
Hi, On Wed, Nov 17, 2010 at 07:35:46AM -0500, Vadym Chepkov wrote: On Nov 17, 2010, at 7:26 AM, Dan Frincu wrote: Hi, r...@cluster1:/# pgrep mysql 961 1127 r...@cluster1:/# crm resource restart mysqld r...@cluster1:/# pgrep -fl mysql 961 1127 The restart command

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Vadym Chepkov
On Wed, Nov 17, 2010 at 8:01 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: RA doesn't support restart action? Most luckily you get OCF_ERR_UNIMPLEMENTED in the log It's actually a resource stop followed by start. It says so in the help too. Perhaps the start precludes the stop action.

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Dejan Muhamedagic
Hi, On Wed, Nov 17, 2010 at 08:30:36AM -0500, Vadym Chepkov wrote: On Wed, Nov 17, 2010 at 8:01 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: RA doesn't support restart action? Most luckily you get OCF_ERR_UNIMPLEMENTED in the log It's actually a resource stop followed by start.

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Dejan Muhamedagic
On Wed, Nov 17, 2010 at 08:30:36AM -0500, Vadym Chepkov wrote: On Wed, Nov 17, 2010 at 8:01 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: RA doesn't support restart action? Most luckily you get OCF_ERR_UNIMPLEMENTED in the log It's actually a resource stop followed by start. It

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Vadym Chepkov
On Nov 17, 2010, at 9:46 AM, Dejan Muhamedagic wrote: On Wed, Nov 17, 2010 at 08:30:36AM -0500, Vadym Chepkov wrote: On Wed, Nov 17, 2010 at 8:01 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: RA doesn't support restart action? Most luckily you get OCF_ERR_UNIMPLEMENTED in the log

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Dan Frincu
Hi, Vadym Chepkov wrote: On Wed, Nov 17, 2010 at 8:01 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: RA doesn't support restart action? Most luckily you get OCF_ERR_UNIMPLEMENTED in the log It's actually a resource stop followed by start. It says so in the help too. Perhaps the

Re: [Pacemaker] Problems setting up clone resource syslog-ng - Ineed help

2010-11-17 Thread Senftleben, Stefan, ITSC
Great - that worked, I executed following commands, to use the RA of syslog-ng: export OCF_ROOT=/usr/lib/ocf export OCF_RESKESY_configfile=/etc/syslog-ng/syslog-ng.conf export OCF_RESKEY_syslog_ng_binary=/usr/sbin/syslog-ng Additionally I added the syslog_ng_binary parameter within crm

Re: [Pacemaker] crm resource restart fails to restart the service

2010-11-17 Thread Dejan Muhamedagic
On Wed, Nov 17, 2010 at 09:56:25AM -0500, Vadym Chepkov wrote: On Nov 17, 2010, at 9:46 AM, Dejan Muhamedagic wrote: On Wed, Nov 17, 2010 at 08:30:36AM -0500, Vadym Chepkov wrote: On Wed, Nov 17, 2010 at 8:01 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: RA doesn't support

Re: [Pacemaker] Stonith Device APC AP7900

2010-11-17 Thread Andrew Daugherity
Message: 3 Date: Tue, 16 Nov 2010 11:24:26 +0100 From: Dejan Muhamedagic deja...@fastmail.fm To: The Pacemaker cluster resource manager pacemaker@oss.clusterlabs.org Subject: Re: [Pacemaker] Stonith Device APC AP7900 Message-ID: 20101116102426.ga22...@rondo.homenet Content-Type:

[Pacemaker] probe operations always use cluster default operation timeout

2010-11-17 Thread Ron Kerry
I have noted a problem that exists in both SLE11-HAE and SLE11-HAE-SP1 distributions with the probe operation that takes place when openais is first started on a node to determine whether a resource is actively running or not. Nov 17 17:47:07 gto2 lrmd: [13475]: debug: on_msg_perform_op: add

[Pacemaker] target-role changing from Master to Started

2010-11-17 Thread Rick Kint
Hello -- We've experienced a weird problem 3 times in the last month on different clusters. Environment: - Pacemaker 1.0.9.1-1 - Corosync 1.2.5-1 - RHEL5.4 - 2 nodes We run a simple configuration with a master/slave resource, appended below. Three times we have found different clusters in a

Re: [Pacemaker] Stonith Device APC AP7900

2010-11-17 Thread Chris Picton
On 2010/11/18 1:01 AM, Andrew Daugherity wrote: In production I am planning to have 2 separate AP7900 units each plugged into 2 different APC UPS units to achieve that. I would then have the single node name on each, for each of the 2 PS's on the individual systems. ... Right, there's