[Synopsis]
/opt/FJSVhanet/usr/sbin/dbghanet enable|disable|trace|stat
[Feature description]
Specifies whether the debug information for the HUB monitoring function is collected and outputs the log information. The following are the debug information to be collected:
Execution log of the ping command
If a line failure is detected due to no response from the ping monitoring, execute the ping command to collect the result and packets sent and received. These logs are useful for determining the point where an error occurred or identifying the cause of the failure when a network failure occurs. The execution logs of the ping command are collected only when collecting the debug information is enabled.
Statistical information of the ping command
Statistical information of the execution time of the ping command for the monitoring target is logged periodically. The maximum value, the minimum value, the average value, and the distribution of the execution time of the ping command are logged in the statistical information. These logs are useful for determining the load condition of the system. Statistical information is collected regardless of whether collecting the debug information is enabled or not.
This information is output to the log information of the Redundant Line Control function, and also included in the information collected by the "hanet_snap" command.
[Options]
It is possible to specify following options and parameters.
Enables collecting the debug information. When enabled collecting the debug information, the execution logs of the ping command are collected.
Disables collecting the debug information of the HUB monitoring function.
Outputs the log information of the Redundant Line Control function where the execution logs of the ping command are recorded.
Outputs the log information of the Redundant Line Control function where the statistical information of the ping command is recorded.
[Notes]
When collecting the debug information is enabled, it takes about three to five seconds longer to switch NICs or clusters for collecting logs, comparing to the case when collecting the debug information is not enabled. Switching will be continued regardless of whether the ping command, which is executed to collect logs, fails or not.
[Examples]
To enable collecting the execution logs of the ping command
# /opt/FJSVhanet/usr/sbin/dbghanet enable |
To disable collecting the execution logs of the ping command
# /opt/FJSVhanet/usr/sbin/dbghanet disable |
To output the execution logs of the ping command
# /opt/FJSVhanet/usr/sbin/dbghanet trace |
To output the statistical information of the ping command
# /opt/FJSVhanet/usr/sbin/dbghanet stat |