Re: [Linux-HA] Problem with .../pacemaker/ping OCF script

2010-04-09 Thread Lars Ellenberg
On Fri, Apr 09, 2010 at 04:27:13PM +0200, Scheffler Heinz wrote: > Hello > > We have a corosync-pacemaker Cluster with two nodes (mutual takeover). > All resource locations on one node depending on the nodes network > connectivitiy. pingd-depending rules for the ip interfaces in a base - > group

[Linux-HA] Problem with .../pacemaker/ping OCF script

2010-04-09 Thread Scheffler Heinz
Hello We have a corosync-pacemaker Cluster with two nodes (mutual takeover). All resource locations on one node depending on the nodes network connectivitiy. pingd-depending rules for the ip interfaces in a base - group and then colocations for all other groups. System: Pacemaker 1.0.5-4.1 with h

Re: [Linux-HA] mysql monitor giving up after some time

2010-04-09 Thread Dejan Muhamedagic
Hi, On Fri, Apr 09, 2010 at 09:18:09AM +0200, Zausel wrote: > Hi, > > I updated my pacemaker on my SLES 11 system. after that my op > monitor for the ocf:heartbeat:mysql resource works only at the > first time. after some minutes the monitor dosen't check the > daemon anymore. for example you can

Re: [Linux-HA] Clarify Apache failover please?

2010-04-09 Thread Andrew Beekhof
On Thu, Apr 8, 2010 at 9:43 PM, Simpson, John R wrote: > I believe what you're looking for is migration-threshold. > > In the following Pacemaker snippet if Apache is stopped, if the website > http://localhost/index.html doesn't respond, or if the HTML body doesn't > contain "node", WebSite's fa

Re: [Linux-HA] mysql monitor giving up after some time

2010-04-09 Thread Andrew Beekhof
Hmm. Well you configured a monitor operation, so it should work. Do the logs not show the mysql monitor operation being called every 5s? On Fri, Apr 9, 2010 at 10:35 AM, Zausel wrote: > oh, sorry > > node mysqlhost1 \ >        attributes standby="off" > node mysqlhost2 \ >        attributes stand

Re: [Linux-HA] How to get all defects values

2010-04-09 Thread Andrew Beekhof
pengine metadata crmd metadata or in 1.1, man pengine man crmd On Fri, Apr 9, 2010 at 11:26 AM, Alain.Moulle wrote: > Hi, > > I can't find it but I wonder if there is a command to get all defects values > for attributes, properties etc.  because I think that with crm or > crm_attribute etc. , we

[Linux-HA] How to get all defects values

2010-04-09 Thread Alain.Moulle
Hi, I can't find it but I wonder if there is a command to get all defects values for attributes, properties etc. because I think that with crm or crm_attribute etc. , we can't get the value if it has not been modified yet ... _for example :_ crm_attribute --get-value -n dc-deadtime scope=crm_con

Re: [Linux-HA] mysql monitor giving up after some time

2010-04-09 Thread Zausel
oh, sorry node mysqlhost1 \ attributes standby="off" node mysqlhost2 \ attributes standby="off" primitive drbd_mysql ocf:heartbeat:drbd \ params drbd_resource="mysql" \ op monitor interval="59s" role="Master" timeout="30s" \ op monitor interval="60s" role="S

Re: [Linux-HA] mysql monitor giving up after some time

2010-04-09 Thread Andrew Beekhof
Configuration? On Fri, Apr 9, 2010 at 9:18 AM, Zausel wrote: > Hi, > > I updated my pacemaker on my SLES 11 system. after that my op monitor for the > ocf:heartbeat:mysql resource works only at the first time. after some minutes > the monitor dosen't check the daemon anymore. for example you ca

[Linux-HA] mysql monitor giving up after some time

2010-04-09 Thread Zausel
Hi, I updated my pacemaker on my SLES 11 system. after that my op monitor for the ocf:heartbeat:mysql resource works only at the first time. after some minutes the monitor dosen't check the daemon anymore. for example you can kill the process and the crm_mon shows that the RA is started. Any so