OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

namalivechk (Verify OpenTP1 startup and clear cache)

Format

namalivechk {-l|-c}
       [-t length-of-time-to-wait-until-connection-is-established]

Function

The namalivechk command checks whether OpenTP1 is active in the OpenTP1 nodes specified in the all_node operand or all_node_ex operand in the system common definition, as output by the -l option.

The name of the OpenTP1 node whose start was not detected is output to the error log file, the standard error output, and the syslog file. In addition, all the service information of the OpenTP1 node whose start was not detected is deleted from the cache and the connection with the node is ended.

This command can be executed only when OpenTP1 is active.

Options

-l

Outputs to the standard error output the service information for every OpenTP1 node to be checked. OpenTP1 nodes to be checked for startup are the nodes specified in the all_node operand in the system common definition, which OpenTP1 has not detected to be inactive, and the nodes specified in the all_node_ex operand in the system common definition.

This option cannot coexist with the -c option.

-c

Checks whether or not the OpenTP1 nodes output by the -l option are active. Information on the OpenTP1 nodes that are not determined to be active is output to the error log file and to the standard error output. Among the OpenTP1 nodes specified in the all_node operand in the system common definition, OpenTP1 nodes that were not detected to be active are registered in an RPC suppression list. The service information for these OpenTP1 nodes and the OpenTP1 nodes specified in the all_node_ex operand in the system common definition is deleted from the cache. An RPC suppression list is a list of information maintained by the OpenTP1 system about inactive OpenTP1 nodes.

This option cannot coexist with the -l option.

-t length-of-time-to-wait-until-connection-is-established~<unsigned integer> ((1-65535))<<8>> (unit: seconds)

OpenTP1 nodes whose activation cannot be confirmed within the length of time specified in this option are determined to be inactive. If you specify a value outside the allowed range, 8 seconds is assumed.

Output format

(1) When namalivechk -l is executed

No.|             Node to be checked         | Port number
aaa |             bb....bb                     | ccccc

aaa
OpenTP1 node item name (1- to 3-digit integer)

bb...bb
Name of OpenTP1 node subjected to activation check (1 to 32 alphanumeric characters)

ccccc
Port number of the OpenTP1 node subjected to activation check (1 to 5 integer)

(2) When namalivechk -c is executed

No.|      Node not determined to be active   | Port number
aaa |      bb....bb                             | ccccc

aaa
OpenTP1 node item name (1 to 3 integer)

bb...bb
Name of OpenTP1 node not determined to be active (1 to 32 alphanumeric characters)

ccccc
Port number of the OpenTP1 node not determined to be active (1 to 5 integer)

Note

If you have specified nodes that have the same IP address in the all_node operand or the all_node_ex operand in the system common definition, do not execute the namalivechk command.