How to check and change healthExamDelay

In previous versions of Swarm, the unpublished healthExamDelay parameter was set to 0, which does not create ideal performance.  Current versions of Swarm use 30 (as seen via snmp).

Setting this parameter in cluster.cfg does not override the current value because it is stored in the persisted Settings object (PSS).

To check what value your cluster is using, you can use SNMP (change the swarm-ip and PASSWORD to your values):

snmpget -m +CARINGO-CASTOR-MIB -v2c -M +/usr/share/snmp/mib2c-data -cPASSWORD -OQs {swarm-ip} ExamDelay

For example:

#snmpget -m +CARINGO-CASTOR-MIB -v2c -M +/usr/share/snmp/mib2c-data -cpublic -OQs 192.168.202.84 healthExamDelay
healthExamDelay = 0

You may also use the snmp-castor-tool.sh script on your CSN if you have it installed.

#snmp-castor-tool.sh -o healthExamDelay
Showing the results of the SNMP value specified on the command line:
Node 192.168.202.84 has SNMP variable "ExamDelay" of 0
Node 192.168.202.85 has SNMP variable "ExamDelay" of 0
Node 192.168.202.86 has SNMP variable "ExamDelay" of 0
Node 192.168.202.87 has SNMP variable "ExamDelay" of 0
Node 192.168.202.88 has SNMP variable "ExamDelay" of 0
Node 192.168.202.89 has SNMP variable "ExamDelay" of 0
Node 192.168.202.90 has SNMP variable "ExamDelay" of 0
Node 192.168.202.91 has SNMP variable "ExamDelay" of 0
Node 192.168.202.92 has SNMP variable "ExamDelay" of 0
Node 192.168.202.93 has SNMP variable "ExamDelay" of 0
Node 192.168.202.94 has SNMP variable "ExamDelay" of 0
Node 192.168.202.95 has SNMP variable "ExamDelay" of 0

If, as above, the value is 0, you may change the value using:

#snmpset -m +CARINGO-CASTOR-MIB -v2c -M +/usr/share/snmp/mib2c-data -courpwdofchoicehere -OQs 192.168.202.84 healthExamDelay i 30
 healthExamDelay = 30

NOTE: You must use a read/write password on an snmpset command.

Or:

># snmp-castor-tool.sh -C healthExamDelay -V 30
One node was configured with the SNMP variable "healthExamDelay" of 30

Only one node needs this settings change; all other nodes will pick up the change. You can verify that:

# snmp-castor-tool.sh -o ExamDelay
Showing the results of the SNMP value specified on the command line
Node 192.168.202.84 has SNMP variable "ExamDelay" of 30
Node 192.168.202.85 has SNMP variable "ExamDelay" of 30
Node 192.168.202.86 has SNMP variable "ExamDelay" of 30
Node 192.168.202.87 has SNMP variable "ExamDelay" of 30
Node 192.168.202.88 has SNMP variable "ExamDelay" of 30
Node 192.168.202.89 has SNMP variable "ExamDelay" of 30
Node 192.168.202.90 has SNMP variable "ExamDelay" of 30
Node 192.168.202.91 has SNMP variable "ExamDelay" of 30
Node 192.168.202.92 has SNMP variable "ExamDelay" of 30
Node 192.168.202.93 has SNMP variable "ExamDelay" of 30
Node 192.168.202.94 has SNMP variable "ExamDelay" of 30
Node 192.168.202.95 has SNMP variable "ExamDelay" of 30


© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.