18.5.6 Server-compliant environment settings
In the server-compliant environment settings of the HA monitor, you define the environment for the executing server and the standby server to be operated on the node.
Define the server-compliant environment for mutual node switching system in the definition file called servers. The following table lists the contents to be set up in the server-compliant environment settings:
The examples of the servers file are described below:
- Example of servers file (in the active node 1 (spare node 2) of Node 1)
-
An example of the servers file for the active node 1 (spare node 2) of Node 1 is as follows:
server name /home/manager/hamon/bin/manager_apserver1_start.sh, alias AP1, acttype monitor, termcommand /home/manager/hamon/bin/manager_apserver1_stop.sh, initial online, disk /dev/vg00, lan_updown use, fs_name /dev/rdisk0, fs_mount_dir /hamon, patrolcommand /home/manager/hamon/bin/manager_adminagent_monitor.sh, servexec_retry 0, waitserv_exec yes; server name /home/manager/hamon/bin/manager_apserver2_start.sh, alias AP2, acttype monitor, termcommand /home/manager/hamon/bin/manager_apserver2_stop.sh, initial standby, disk /dev/vg01, lan_updown use, fs_name /dev/rdisk1, fs_mount_dir /hamon1, patrolcommand /home/manager/hamon/bin/manager_adminagent_monitor.sh, servexec_retry 0, waitserv_exec yes;
- Example of servers file (in spare node 1 (active node 2) of Node 2)
-
An example of the servers file for the spare node 1 (active node 2) of Node 2 is as follows:
server name /home/manager/hamon/bin/manager_apserver1_start.sh, alias AP1, acttype monitor, termcommand /home/manager/hamon/bin/manager_apserver1_stop.sh, initial standby, disk /dev/vg00, lan_updown use, fs_name /dev/rdisk0, fs_mount_dir /hamon, patrolcommand /home/manager/hamon/bin/manager_adminagent_monitor.sh, servexec_retry 0, waitserv_exec yes; server name /home/manager/hamon/bin/manager_apserver2_start.sh, alias AP2, acttype monitor, termcommand /home/manager/hamon/bin/manager_apserver2_stop.sh, initial online, disk /dev/vg01, lan_updown use, fs_name /dev/rdisk1, fs_mount_dir /hamon1, patrolcommand /home/manager/hamon/bin/manager_adminagent_monitor.sh, servexec_retry 0, waitserv_exec yes;
In this example, a directory on the shared disk is specified as the location for storing the status file of the in-process transaction service. Specify the location for storing the status file of the in-process transaction service in the ejbserver.distributedtx.ots.status.directory1 parameter of the <configuration> tag. The <configuration> tag exists in the logical J2EE server (j2ee-server) of the Easy Setup definition file that is used for the Smart Composer functionality of the Management Server.