where:
•lan: It is the LAN that needs to be monitored
•ip: It is the target IP address of any target, such as the gateway which is common to all package nodes.
•guest_logfile: It is the complete path of the user specified guest log file.
•host_logfile: It is the complete path of the user specified host log file.
•log_level: It is the extent of logging on both guest and host. The default value is 0. The following table contains the associated log messages with each log level:
Log Level | Associated Log Messages |
log_level 0 | It is the default log message. It includes messages that |
| cause the script to exit, such as interface is down and |
| pings failed. |
log_level 1 | It includes messages, such as missed pings. This is useful |
| for situations, wherein, intermittently few pings might be |
| missed, but subsequently pings might start passing. In |
| such a case, a script does not exit with error but the |
| missed pings are logged. It helps in tracking the network |
| stability and reachability. |
log_level 2 | It is the highest configurable log level. It includes |
| messages for each ping that is executed. It is helpful for |
| diagnostic purposes. |
•probe_count: It is the number of pings checked to declare an interface down. The default value is 4
•polling_interval: It is the number of seconds between every poll. The default value is 2 seconds. The default logging for fatal messages is done in syslog.log on host and guest.
To monitor a single DIO LAN create a service for the specified LAN in the VM or vPar guest configuration file.
To monitor the DIO LAN in the guest, manually edit the package configuration file as described in the following table:
Attribute Name | Value |
service_name | <service_name> |
service_cmd | /usr/sbin/cmappmgr |
| |
| |
| <time_out_value> |
| opt/hp/cmappserver/ |
| cmapp_net_mon.pl |
| |
| |
| |
| <full_path_of file_on_guest> |
|
|
| path_of file_on_host> |
|
|
|
|
|
|
| <num_of_seconds>] |
Example
lan_mon
/usr/sbin/cmappmgr -node remo1 -cmappserver_timeout
240
Configuring DIO LAN and NPIV disks monitoring using cmappmgr/cmappserver 29