[Linux-cluster] rgmanager: time interval to check Status of Service

Martin Waite Martin.Waite at datacash.com
Thu Mar 25 14:08:21 UTC 2010


Hi,

 

In some cases, the resource monitoring interval is defined in the resource agents in /usr/share/cluster.

 

Eg.  

 

/usr/share/cluster/ip.sh:

 

    <actions>

        <action name="start" timeout="20"/>

        <action name="stop" timeout="20"/>

        <!-- No recover action.  If the IP address is not useable, then

             resources may or may not depend on it.  If it's been

             deconfigured, resources using it are in a bad state. -->

 

        <!-- Checks to see if the IP is up and (optionally) the link is

             working -->

        <action name="status" interval="20" timeout="10"/>

        <action name="monitor" interval="20" timeout="10"/>

 

        <!-- Checks to see if we can ping the IP address locally -->

        <action name="status" depth="10" interval="60" timeout="20"/>

        <action name="monitor" depth="10" interval="60" timeout="20"/>

 

        <action name="meta-data" timeout="20"/>

        <action name="verify-all" timeout="20"/>

    </actions>

 

 

I haven't found out how to alter these through the cluster.conf file, but worst case, you could edit the resource agents directly.

 

regards,

Martin

 

 

From: linux-cluster-bounces at redhat.com [mailto:linux-cluster-bounces at redhat.com] On Behalf Of Hoang, Alain
Sent: 25 March 2010 13:28
To: linux-cluster at redhat.com
Subject: [Linux-cluster] rgmanager: time interval to check Status of Service

 

Hello,

 

After I enabled my RHCS service, I noticed that rgmanager is checking the status of its HA resources every 10 seconds.

Could I change this timer ?

Parameter of “rm”? of “service”?

 

 

Best Regards,

Kiến Lâm Alain Hoang, 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20100325/a004107f/attachment.htm>


More information about the Linux-cluster mailing list