Re: [Linux-HA] samba lsb script

2008-08-01 Thread Andrew Beekhof
On Thu, Jul 31, 2008 at 19:51, Serge Dubrouski [EMAIL PROTECTED] wrote: One more thing to learn about Pacemaker :-) It looks like it runs monitor/status action for all configured resources before trying to start any of those resources. Then modifying that init script is your the only option.

Re: [Linux-HA] samba lsb script

2008-08-01 Thread Andrew Beekhof
On Thu, Jul 31, 2008 at 15:41, Thibaut Perrin [EMAIL PROTECTED] wrote: Why don't you put the samba and drbd resources in a resource group, as the samba will always be launched AFTER the drbd resource and filesystem ? because we also check the status of resources _before_ we start anything

Re: [Linux-HA] resource keep restarting on standby node

2008-08-01 Thread Andrew Beekhof
On Fri, Aug 1, 2008 at 03:35, jijun gao [EMAIL PROTECTED] wrote: hi, Andreas very short interval and timeout *Jul 31 16:24:37 node2 last message repeated 9 times Jul 31 16:24:37 node2 setroubleshoot: SELinux is preventing ifconfig (ifconfig_t) read write to socket:[136168] (initrc_t).

Re: [Linux-HA] colocation constraint dependencies

2008-08-01 Thread Andrew Beekhof
On Wed, Jul 30, 2008 at 19:18, daniel peess [EMAIL PROTECTED] wrote: hello andreas, On Wed, Jul 30, 2008 at 11:04:10AM +0200, Andreas Kurz wrote: Ok .. I see. Try to set the 'default-resource-stickiness' to a positive value and give each of your groups a different 'priority'. That should do

Re: [Linux-HA] Resources starting twice

2008-08-01 Thread Lars Marowsky-Bree
On 2008-07-31T16:44:31, Angel Rengifo Cancino [EMAIL PROTECTED] wrote: Yep, it's because I'm first trying to understand very well heartbeat 1.x before learning 2.x style. Using haresources it seems easier for my simple requirements. That's not necessarily helpful, as v2 is very different, and

Re: [Linux-HA] Resources starting twice

2008-08-01 Thread Angel Rengifo Cancino
Thanks Lars and Michael: The squid script from Centos 5.2 it wasn't working correctly when trying to start twice. I edited /etc/init.d/squid a now start twice always returns me code 0. Now heartbeat doesn't give up when tries to start an already running service. I'll check every init script

Re: [Linux-HA] mgmtd not starting on opensuse 11i386(unresolvedsymbol)

2008-08-01 Thread Sebastian Reitenbach
Dejan Muhamedagic [EMAIL PROTECTED] wrote: Hi, On Wed, Jul 30, 2008 at 08:55:53AM +0200, Sebastian Reitenbach wrote: General Linux-HA mailing list linux-ha@lists.linux-ha.org wrote: On Mon, Jul 28, 2008 at 05:52:10PM -, root wrote: Hi, Dejan Muhamedagic [EMAIL PROTECTED]

Re: [Linux-HA] external/ipmi problems

2008-08-01 Thread Chun Tian (binghe)
Hi, Brock Palen Good, finally there's someone got the same things as me. I just don't know if there's any chance the stonith/external would parse return value 0 into 256, or ipmitool itself have bugs when doing reset. Brock, can I ask your machine type and model? I met some non-zero

Re: [Linux-HA] external/ipmi problems

2008-08-01 Thread Brock Palen
I did figure it out. Problem is some of the docs out there are not very clear. I will blog this at www.mlds-networks.com If you need this latter, or just look in the mailing list archives. The format is stonith_host HOST SENDING external/ipmi HOST TO CONTROL So what I really needed: