Re: [Linux-HA] Re: Active Ressources should be always on the same node

2008-12-03 Thread Dominik Klein
sorry, in this context - what does ordered refer to? That all primitives in a group are started in that order? Having resources defined like group primitive id=1 primitive id=2 primitive id=3 primitive id=4 primitive id=5 /group ordered=true, the default, would make a start in this order: 1 &

Re: [Linux-HA] Re: Active Ressources should be always on the same node

2008-12-03 Thread Harakiri
--- On Wed, 12/3/08, Andrew Beekhof <[EMAIL PROTECTED]> wrote: > From: Andrew Beekhof <[EMAIL PROTECTED]> > Subject: Re: [Linux-HA] Re: Active Ressources should be always on the same > node > To: "General Linux-HA mailing list" > Date: Wednesday, December 3, 2008, 3:40 PM > On Wed, Dec 3, 2008 a

Re: [Linux-HA] Backup of SVN repositories

2008-12-03 Thread Greg Woods
On Wed, 2008-12-03 at 21:23 +, Todd, Conor (PDX) wrote: > I can't do this using a crontab because one never knows which host > will be running the SVN service (and have the disks mounted for it). > Has anyone else tackled this issue yet? You may not know in advance whether a given host

[Linux-HA] Backup of SVN repositories

2008-12-03 Thread Todd, Conor (PDX)
Hi everyone. I've got a 2.x Heartbeat cluster which hosts some databases and some SVN repositories, among other things. I need to implement a backup scheme for the SVN repositories, but I can't do this using a crontab because one never knows which host will be running the SVN service (and have

Re: [Linux-HA] routing issue on cluster node

2008-12-03 Thread Gabriel Bermudez
Hi Nick, I followed your advise but it didn't work out. This are the content of the files where I try to set the default gateway: /etc/rc.local ip route add default via xxx.xxx.xxx.xxx dev eth2 touch /var/lock/subsys/local /etc/sysconfig/network-scripts/route-eth2 default via xxx.xxx.xxx.x

Re: [Linux-HA] send_arp not working for a routed subnet

2008-12-03 Thread Rodney McKee
Dejan, On Wed, Dec 3, 2008 at 7:37 PM, Dejan Muhamedagic <[EMAIL PROTECTED]>wrote: > Hi, > > On Wed, Dec 03, 2008 at 07:42:50AM +0400, Rodney McKee wrote: > > Hello, > > > > I have been trying to fail over 9 addresses between 2 firewalls using the > > following send_arp syntax: > > > > send_arp

Re: [Linux-HA] Problem with LSB init script when monitoring

2008-12-03 Thread Andrew Beekhof
Check out the "Is This init Script LSB Compatible?" appendix in http://clusterlabs.org/mw/Image:Configuration_Explained.pdf Until those tests pass, there is no point using it in the cluster - it will only blow up. On Wed, Dec 3, 2008 at 18:09, Darren Mansell <[EMAIL PROTECTED]> wrote: > Hello eve

Re: [Linux-HA] Re: Active Ressources should be always on the same node

2008-12-03 Thread Andrew Beekhof
On Wed, Dec 3, 2008 at 18:47, Thomas Mueller <[EMAIL PROTECTED]> wrote: > >>> >>> >> provider="heartbeat"> >>> >>> >>> >>> >>> >>> >>> >> type="myscript-haswitch" provider="heartbeat"/> >>> >>> >>> so when i j

[Linux-HA] New Kernel - Can Not Compile DRBD

2008-12-03 Thread ha
I am running drbd-8.0.8 and was forced to install a new kernel on a fedora 8 machine (local security policy). Before I booted off the new kernel, I am trying to compile and install the new drbd.ko module. The following kernel packages are installed: kernel-devel-2.6.26.6-49.fc8 kernel-2.6.23.8-

Re: [Linux-HA] Problem with mailman

2008-12-03 Thread Syn, Joonho
Here is the output when I try a re-probe of services. Dec 3 12:10:09 mail1 crm_resource: [23866]: info: Invoked: crm_resource -P -H mail1 Dec 3 12:10:09 mail1 crmd: [4914]: ERROR: verify_stopped: Resource masterHttpd was active at shutdown. You may ignore this error if it is unmanaged. Dec 3

[Linux-HA] Re: Active Ressources should be always on the same node

2008-12-03 Thread Thomas Mueller
>> >> > provider="heartbeat"> >> >> >> >> >> >> >> > type="myscript-haswitch" provider="heartbeat"/> >> >> >> so when i just put around these primitives, it >> should work out of the box? Both ressources wi

[Linux-HA] Problem with LSB init script when monitoring

2008-12-03 Thread Darren Mansell
Hello everyone. I am trying to run a 2 node cluster with 1 shared IP for Tomcat. This works fine until I set the monitor operation inside the Tomcat resource where the CRM keeps trying to restart Tomcat over and over infinitely. Without the monitor operation in the CIB it won't keep trying to res

Re: [Linux-HA] Restart a resource

2008-12-03 Thread Serge Dubrouski
On Tue, Dec 2, 2008 at 10:59 PM, Adrian Overbury <[EMAIL PROTECTED]> wrote: > I have a pgsql resource set up on my 2-node heartbeat 2.1.3 cluster in CRM. > I'd like to be able to restart Postgres when I made configuration changes, > but I've found that if the database is busy (thus making the Post

Re: [Linux-HA] send_arp not working for a routed subnet

2008-12-03 Thread Dejan Muhamedagic
Hi, On Wed, Dec 03, 2008 at 07:42:50AM +0400, Rodney McKee wrote: > Hello, > > I have been trying to fail over 9 addresses between 2 firewalls using the > following send_arp syntax: > > send_arp xxx.xxx.29.185 xxx.xxx.27.249 > > and > send_arp xxx.xxx.29.185 xxx.xxx.29.191 > fff

Re: [Linux-HA] problem with resource script - possibly a timeout?

2008-12-03 Thread James Little
Thanks Dejan, I have it working now. I realised that the binaries were in a custom path and that it had been added to user shell profiles, including root (hence the reason the script worked when ran manually). So I added the path manually in this script and then exported. -- Regards J

[Linux-HA] lvm + dm-crypt + drbd...

2008-12-03 Thread Pasquale Cingolani
Hello, I'm building a two node cluster with heartbeat R1 . I would like to locate my filesystem on top of a stack formed by (top) lvm + dm-crypt + drbd + lvm + raid (bottom). So when I switch as primary from node1 to node2 I have to switch the drbd resource and to migrate the lvm + dm-crypt stack

Re: [Linux-HA] Two Apaches with two IP in a active active configuration

2008-12-03 Thread Dejan Muhamedagic
Hi, On Wed, Dec 03, 2008 at 10:48:34AM +0100, Michele Codutti wrote: > Hello, maybe i was not clear about why i wrote here: > i don't want to notify a bug, i only want to have some suggestions to > resolve my configuration problems. > The version of heartbeat is only a reference for the readers to

[Linux-HA] monitor

2008-12-03 Thread lakshmipadmaja maddali
Hi all, ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems

Re: [Linux-HA] Bug in MailTo in heartbeat-resources-2.99.2-6.1 and long failover duration with pingd

2008-12-03 Thread Dejan Muhamedagic
Hi, On Wed, Dec 03, 2008 at 08:40:46AM +0100, Dominik Klein wrote: > There was a thread about this in November. Search the archives for thread > "E-Mail Notification Problem by takeover". Iirc, it was a problem with the > package which should be manually fixable by editing an included file. Rig

Re: [Linux-HA] problem with resource script - possibly a timeout?

2008-12-03 Thread Dejan Muhamedagic
Hi, On Tue, Dec 02, 2008 at 04:33:21PM +0800, James Little wrote: > Thanks for the reply Dejan. I've added code for the status action but still > no luck. So my script is now: > > ### > usage() { >

Re: [Linux-HA] stonith - ibmrsa-telnet TIMEOUT, how to enablepython debug

2008-12-03 Thread Dejan Muhamedagic
Hi, On Wed, Dec 03, 2008 at 08:22:28AM +1000, Alex Strachan wrote: > Heartbeat is not sending the reset command when 'Executing reboot fencing > operation' > > How do I going about raising a bug? Please point me to "How to raise a > bug', so that I can collect the necessary logs. http://linux-h

Re: [Linux-HA] Active Ressources should be always on the same node

2008-12-03 Thread Dominik Klein
As suggested in another reply, look into colocation constraints. If you only use primitive resources (no clones or master/slave resources), you could also use a group instead of single resources. In fact, groups are just a syntax shortcut for colocation constraints between all resources within tha

Re: [Linux-HA] Active Ressources should be always on the same node

2008-12-03 Thread Harakiri
--- On Wed, 12/3/08, Dominik Klein <[EMAIL PROTECTED]> wrote: > From: Dominik Klein <[EMAIL PROTECTED]> > As suggested in another reply, look into colocation > constraints. If you only use primitive resources (no clones > or master/slave resources), you could also use a group > instead of single

Re: [Linux-HA] Active Ressources should be always on the same node

2008-12-03 Thread Harakiri
--- On Tue, 12/2/08, Brian Horan <[EMAIL PROTECTED]> wrote: > From: Brian Horan <[EMAIL PROTECTED]> > preferred-node isn't working for you? That is v1 configuration isnt it? Im using cib xml. ___ Linux-HA mailing list Linux-HA@lists.linux-h

[Linux-HA] Re: Re: MACaddr take over.

2008-12-03 Thread Eric Janz
> Alex Balashov wrote: > > Why would you want to do this versus sending a gratuitous ARP? > > Nagaraja, Madhukar (Madhukar) wrote: > > > Hello, > > Is there any script just like IPaddr for the MAC address takeover ?? > > If not, any other options. > > > > Please let me know. > > > > Thanks.

Re: [Linux-HA] Two Apaches with two IP in a active active configuration

2008-12-03 Thread Michele Codutti
Hello, maybe i was not clear about why i wrote here: i don't want to notify a bug, i only want to have some suggestions to resolve my configuration problems. The version of heartbeat is only a reference for the readers to know what possible features are available. Maybe someone use the same version

Re: [Linux-HA] routing issue on cluster node

2008-12-03 Thread Nick
Gabriel Bermudez ha scritto: Hi, I'm trying to configure a high availability router for my internal network. I'm able to set both private and public ips on eth0:0 and eth2:0 respectively with heartbeat. The gateway is configured using the /etc/sysconfig/network file (using centos 5.2) NET