delay time before to put in fault a resource
Hi, I have e resource that is a NFS client that has like target 2 NFS server (one active, one standby).
If the NFS server active goes in fault I don't want the my resource on NFS client goes in fault immediately, but I want that it stays up and wait the the NSF server standby is active.
Actually My NFS client resource take 80 seconds to go in the fault after I stop the NFS active server.
I have modified the FaultOnMonitorTimeout, but nothing is changed the resource has faulted after the same time.
I need to delay this time because the switch between the NFS server is greater than 80 seconds.
Is this the attribute to change to delay the time to declare the resource in fault?
Or the are are attibutes to consider?
thanks for your help
epi
epi,
If you only want to modify some resource/s of that type, you can override the attribute for that particular resource.
See VCS User's Guide -> Administering the cluster from the command line -> Administering resource types -> Overriding resource type static attributes
==========
You can override some resource type static attributes and assign them resource-specific values. When a static attribute is overriden and the configuration is saved, the main.cf file includes a line in the resource definition for the static attribute and its overriden value.
To override a type’s static attribute
# hares -override resource static_attribute
To restore default settings to a type’s static attribute
# hares -undo_override resource static_attribute
==========eg: say you have 3 local mounts (mountA, mountB, mountC), and 1 mount that relies on NFS (mountD). You want ToleranceLimit to be the default (0) for the local mounts, but you want to set ToleranceLimit=4 for mountD only
Set ToleranceLimit back to default for the Mount resource type:
# hatype -modify Mount ToleranceLimit 0
Override ToleranceLimit for mountD resource:
# hares -override mountD ToleranceLimit
Set ToleranceLimit to 4 for mountD only:
# hares -modify mountD ToleranceLimit 4
Hope that helps,
Grace