Re: [Linux-HA] make heartbeat startup when node boots up

2008-12-17 Thread Nick
john youkhana ha scritto: I installed it by yum. Thanks John _ Messenger's gift to you! Download free emoticons today! http://livelife.ninemsn.com.au/article.aspx?id=669758 ___ Linux-HA

RE: [Linux-HA] make heartbeat startup when node boots up

2008-12-17 Thread john youkhana
I installed it by yum. Thanks John _ Messenger's gift to you! Download free emoticons today! http://livelife.ninemsn.com.au/article.aspx?id=669758 ___ Linux-HA mailing list Linux-HA@lists

Re: [Linux-HA] Firewall restart script/resource?

2008-12-17 Thread Michael Schwartzkopff
> Robert L. Harris wrote: >> Anyone have either docs/link on creating my own resource/script to >> restart my >> firewall when heartbeat fails over, or a config I can look at? >> >> Robert Hi, last week I gave a talk about integration of heartbeat, conntrackd and fwbuilder. During that talk I als

Re: [Linux-HA] Firewall restart script/resource?

2008-12-17 Thread Dominik Klein
I don't know of any "firewall" resource agent, but you can always write your own one (and contribute it later :) ). Here's how to: http://wiki.linux-ha.org/OCFResourceAgent I'd recommend looking at the Dummy RA (/usr/lib/ocf/resource.d/heartbeat/Dummy) and start from there. Although that's just o

RE: [Linux-HA] make heartbeat startup when node boots up

2008-12-17 Thread Alex Strachan
Did you install rpm or from source? If from source you may need to make the links yourself. e.g [r...@dtbaims ~]# find /etc -type f -name "*heartbeat*" /etc/rc.d/init.d/heartbeat /etc/logrotate.d/heartbeat [r...@dtbaims ~]# find /etc -type l -name "*heartbeat*" /etc/rc.d/rc5.d/S75heartbeat /etc/r

RE: [Linux-HA] make heartbeat startup when node boots up

2008-12-17 Thread john youkhana
Yeah i tried that but i doesn't list the process. I'm on CentOS 5. > From: astrac...@inter-systems.com.au > To: linux-ha@lists.linux-ha.org > Subject: RE: [Linux-HA] make heartbeat startup when node boots up > Date: Thu, 18 Dec 2008 14:57:13 +1000 > > Normally done by the OS start/stop scripts.

RE: [Linux-HA] make heartbeat startup when node boots up

2008-12-17 Thread Alex Strachan
Normally done by the OS start/stop scripts. e.g. in RedHat Linux [r...@dtbaims ~]# ls -l /etc/init.d/heartbeat -rwxr-xr-x 1 root root 9528 Nov 15 04:50 /etc/init.d/heartbeat [r...@dtbaims ~]# chkconfig --list | grep heartbeat heartbeat 0:off 1:off 2:on3:on4:on5:on6:off

[Linux-HA] make heartbeat startup when node boots up

2008-12-17 Thread john youkhana
Hi, How do we get heartbeat to startup when the node boots up. This is so when i restart a node it will also start heartbeat instead of doing it manually. Thanks, John _ Messenger's gift to you! Download free emoticons today! http

Re: [Linux-HA] A problem about Heartbeast restart

2008-12-17 Thread jason_dong
Hi Dejan && jyoukhana Than you for your reply , till now , we don't find the method to solved it . please help me to diagnose . the following is the cib.xml

[Linux-HA] Firewall restart script/resource?

2008-12-17 Thread Robert L. Harris
Anyone have either docs/link on creating my own resource/script to restart my firewall when heartbeat fails over, or a config I can look at? Robert -- :wq! Robert L. Harris | GPG Key ID: E344DA3B

Re: [Linux-HA] New primitive/service not playing nicely with heartbeat

2008-12-17 Thread Noah Miller
Hi Ryan - > Check the compliance of your LSB script. It likely returns an incorrect > value for when the stop procedure occurs correctly. > > http://www.linux-ha.org/LSBResourceAgent Thanks for that direction. As it turned out, the init script was not lsb compliant.So, I wrote an lsb complia

Re: [Linux-HA] Re: New primitive/service not playing nicely with heartbeat

2008-12-17 Thread Noah Miller
Hi Andrew - >> > > lsb resources dont have providers either Ah. Good to know. Heartbeat actually seems to ignore this, so I guess it's no big deal, but the haresources2cib.py script automatically puts in those provider statements. Thanks! Noah ___

Re: [Linux-HA] Re: Problem with riloe stonith plugin on SLES 10 SP2

2008-12-17 Thread Jo De Troy
Hello, thanks for the clarification. I seem to be having another configuration issue, do I need to setup another constraint to allow the stonith resource to run on a node that's running any other resources? I've setup a resource group (ip,fs, apache) and 2 seperate stonith resources, 1 for each iL

Re: [Linux-HA] resource not being started

2008-12-17 Thread Dejan Muhamedagic
On Wed, Dec 17, 2008 at 04:21:15PM +1100, Amos Shapira wrote: > Hello, > > We've been using linux-ha heartbeat for over a year now and it > generally delivers well. > > Today I found that in the last fail-over it just didn't start one of > the configured resources. > > Here are our configuration

Re: [Linux-HA] Re: Problem with riloe stonith plugin on SLES 10 SP2

2008-12-17 Thread Gary Stansbury
The only way i've gotten this to work reliably is to NOT use clones at all. You need one primitive stonith resource per node, configured with the appropriate parameters for that host (including ilo hostname and username and password) and set a constraint to not allow it to run on the host with its

Re: [Linux-HA] Resource restart after switching to stand-by mode

2008-12-17 Thread Dejan Muhamedagic
Hi, On Wed, Dec 17, 2008 at 03:08:58AM +0100, Jakub Ku??niar wrote: > > Andrew, I can still create a bugzilla entry and submit hb_report data if > score="0" is only a workaround for my issue. Should I create it ? Please do. Thanks, Dejan > Thank you > > > > On Tuesday 16 of December 2008

[Linux-HA] Re: Problem with riloe stonith plugin on SLES 10 SP2

2008-12-17 Thread Jo De Troy
Hello, I'm also trying to use the riloe stonith plugin on SLES10 SP2. I have a question wrt the cloning on the stonith resource, I'm pretty new to stonith so forgive me my ignorance. The riloe plugin has several parameters, 1 is the ilo_hostname. I would expect that every physical machine has it's

Re: [Linux-HA] OCF Script for LDAP and Postfix

2008-12-17 Thread Michael Schwartzkopff
Am Mittwoch, 17. Dezember 2008 13:17 schrieb Stephane Neveu: > Hi all, > > I'd like to know if I may find somewhere OCF scripts for LDAP and for > postfix ? > If not, I'll try to write it by myself... > > Thank you by advance, > > Regards, Hi, openldap and postfix OCF Scripts are not available, a

[Linux-HA] OCF Script for LDAP and Postfix

2008-12-17 Thread Stephane Neveu
Hi all, I'd like to know if I may find somewhere OCF scripts for LDAP and for postfix ? If not, I'll try to write it by myself... Thank you by advance, Regards, ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailma