Hitachi

uCosminexus Application Server Operation, Monitoring, and Linkage Guide


17.6.6 Setting the server-compliant environment

When setting the server-compliant environment with the HA monitor, define the environment of the executing server and the standby server to be operated on the nodes.

In the definition file called servers, define the server-compliant environment for 1-to-1 node switching of Application Server. The following table describes the settings for the server-compliant environment:

Table 17‒2:  Settings for the server-compliant environment (in 1-to-1 node switching of Application Server)

Operand

Setting contents

name

This operand specifies the shell script file for starting the Administration Agent and logical servers.

Specification example: /home/manager/hamon/bin/manager_adminagent_start.sh

alias

This operand specifies the identification name of the server. You can specify the same name in the active node and spare node.

Specification example: CAP

acttype

This operand specifies the startup method of the server. Here, specify monitor because you start the server with the HA monitor command.

termcommand

This operand specifies the shell script file for stopping the Administration Agent and logical servers.

Specification example: /home/manager/hamon/bin/manager_adminagent_stop.sh

initial

This operand specifies the status when you start the server.

  • In the active node

    Specify online.

  • In the spare node

    Specify standby.

disk

This operand specifies the character-type special file name of the shared disk device.

Specification example: /dev/vg00

lan_updown

This operand specifies whether or not to use the status setup file of LAN. Here, specify use because you are using the status setup file of LAN.

fs_name

This operand specifies the absolute path name of the logical volume corresponding to the file system to be switched. Note that you require this setting only when using $TPFS in a UNIX file.

Specification example: /dev/rdisk0

fs_mount_dir

This operand specifies the absolute path name of the mount-destination directory of the file system to be switched. Note that you require this setting only when using $TPFS in a UNIX file.

Specification example: /hamon

patrolcommand

This operand specifies the shell script file for monitoring the processes of the Administration Agent.

Specification example: /home/manager/hamon/bin/manager_adminagent_monitor.sh

servexec_retry

This operand specifies the restart frequency when the system detects a failure. Here, specify 0 because you switch the node without restarting when the system detects a failure.

waitserv_exec

This operand specifies whether to wait for completion of the execution command when you execute the startup completion process of the Administration Agent and logical servers. Here, specify yes because the server waits for completion of execution.

For details on setting the server-compliant environment, see the manual High-reliability System Monitoring Functionality HA Monitor.