Re: Action status doesn't works on Rhel5.4??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.
 
I think that if you want to overwrite the shells interval you need to add "depth":
 

Customizing Actions with Multiple Depths

Some agents implement multiple monitoring or status depths with different timeouts in order to perform different levels of checking. For example, a '0' depth for the status check of an IP address may be a simple existence check, a '10' depth might include ethernet link checking, and a '20' depth may include pinging an upstream router.

If you wish, you may override all depths of a given action by using an asterisk as the depth in cluster.conf. For example:

<ip ... >
  <action name="status" depth="*" interval="30" />
</ip> 

Note that doing this causes only the highest or most invasive checks to be performed.

On Mon, Mar 29, 2010 at 11:20 AM, carlopmart <carlopmart@xxxxxxxxx> wrote:
Ok, I have tried it. I have changed this:


<action name="status" interval="1800"/>

by:

<action name="status" interval="1800s"/>

But my script is checked every 30 seconds ...

Any ideas?



carlopmart wrote:
oops. Maybe the problem is that I need to put seconds like this: interval="1s" ... i will try it.

 wrote:
Hi.
 look at /usr/share/cluster/script.sh
 each resource got his own status interval check.
 Shalom.

On Sun, Mar 28, 2010 at 11:07 PM, carlopmart <carlopmart@xxxxxxxxx <mailto:carlopmart@xxxxxxxxx>> wrote:

   Hi all,

    I have configured some cluster resources assigning a custom time
   for action status, but doesn't works. For example:

   <service autostart="0" domain="PriCluster2" name="securesync-svc"
   recovery="relocate">
     <fs ref="backupdata">
         <ip ref="172.25.50.24">
             <script ref="sshd-cluster">
                  <action name="status" interval="1800"/>
             </script>
         </ip>
     </fs>
   </service>

    But this service is checked every 30 seconds ... Do I need to
   configure something more??

   Thanks.

   --     CL Martinez
   carlopmart {at} gmail {d0t} com

   --
   Linux-cluster mailing list
   Linux-cluster@xxxxxxxxxx <mailto:Linux-cluster@xxxxxxxxxx>
   https://www.redhat.com/mailman/listinfo/linux-cluster



------------------------------------------------------------------------

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster




--
CL Martinez
carlopmart {at} gmail {d0t} com

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux