Hitachi

For Linux(R) (x86) Systems HA Monitor Cluster Software


9.15 monpath (displays the status of monitoring paths)

Format

monpath [-i] [check-interval]

Users who can execute the command

Superuser

Description

The monpath command checks the status of all monitoring paths and displays the results. You use the monpath command when a failure on a monitoring path has occurred and when the failure has been recovered.

The command displays the following information:

A monitoring path that is currently in use is indicated by an asterisk (*) following the status of communication with each remote host. If there is an error in a monitoring path, the monitoring path's status is displayed in the status column corresponding to the host name.

The following table lists and describes the items that are displayed.

Table 9‒6: Items that are displayed by the monpath command

Displayed item

Meaning

device name

host name

status

Monitoring path's TCP/IP host name

Host name of a remote host

OK

Normal

NO RESPONSE

There was no response for one of the following reasons:

  • Slowdown of the host

  • There is no HA Monitor on the remote host.

  • Failure or disconnection of the monitoring path

**not connect**

Connection has not been established with the HA Monitor on this remote host.

**open err**

Open error

**LAN err**

Transmission error

Options

Return codes

Value

Meaning

0

Normal termination (status of monitoring paths has been displayed)

Other than 0

Abnormal termination

Notes

Examples

This example executes the monpath command on host 1 (host1) in the hot-standby configuration shown below:

Figure 9‒1: Example of hot-standby configuration in which the monpath command is used

[Figure]

In this example, the -i option is omitted and a failure has occurred on monitoring path path32 on host 3 (host name: host3):
> monpath
KAMN390-I Path status Display
device name  host name  status
path11       host2      OK  *
             host3      OK  *
path12       host2      OK
             host3      NO RESPONSE

Legend: >: Indicates a user operation.

In this example, the -i option is specified and monitoring path path32 on host 3 (host name: host3) has not been specified in the /etc/hosts file:
> monpath -i
KAMN390-I Path status Display
device name  host name  host   (IP_address)  status
path11       host2      path21 (100.2.1.132) OK  *
             host3      path31 (100.2.1.133) OK  *
path12       host2      path22 (100.2.2.132) OK
             host3      ----   (100.2.2.133) OK

Legend >: Indicates a user operation.