uCosminexus Application Server, Operation, Monitoring, and Linkage Guide
When setting the server-compliant environment with the HA monitor, define the environment of the executing server and standby server to be operated on the nodes.
In the servers definition file, define the server-compliant environment for N-to-1 recovery system. The following table describes the settings for the server-compliant environment:
Table 19-5 Settings for the server-compliant environment (In the N-to-1 recovery system)
Operand | Settings |
---|---|
name |
|
alias |
|
acttype | This operand specifies the startup method of the server. Here, you specify monitor because you start the server with the HA monitor command. |
termcommand |
|
initial | This operand specifies the status when you start the server.
|
disk | This operand specifies the character-type special file name of the shared disk device.
|
lan_updown | This operand specifies whether or not to use the status setup file of LAN. 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 to.
|
fs_mount_dir | This operand specifies the absolute path name of the mount-destination directory of the file system to be switched to.
|
patrolcommand |
|
servexec_retry | This operand specifies the restart frequency when the system detects a failure in an executing node. Specify the same value in the executing nodes and the standby node. |
waitserv_exec | Specify yes to wait for completion of execution of the startup command when the startup completion process is executed. |
actcommand |
|
A sample of the servers file is described as follows. N and N + 1 in the sample indicate the Nth value and N + 1th value, respectively.
server name $name_N, alias $alias_N, acttype monitor, initial online, termcommand /home/manager/hamon/bin/stop.sh, disk $disk_N, lan_updown use, fs_name $fs_name_N, fs_mount_dir /hamon, patrolcommand /home/manager/hamon/bin/monitor.sh, servexec_retry 3, waitserv_exec yes, actcommand /home/manager/hamon/bin/start.sh; |
server name $name_N, alias $alias_N, acttype monitor, initial standby, termcommand /home/manager/hamon/bin/stop.sh, disk $disk_N, lan_updown use, fs_name $fs_name_N, fs_mount_dir $mnt_N, patrolcommand "/opt/hitachi/HAmon/bin/monend $alias_N", servexec_retry 3, waitserv_exec yes, actcommand "/home/manager/hamon/bin/recover.sh $alias_N $ip_N $mnt_N"; server name $name_N+1, alias $alias_N+1, acttype monitor, initial standby, termcommand /home/manager/hamon/bin/stop.sh, lan_updown use, disk $disk_N+1, fs_name $fs_name_N+1, fs_mount_dir $mnt_N+1, patrolcommand "/opt/hitachi/HAmon/bin/monend $alias_N+1", servexec_retry 3, waitserv_exec yes, actcommand "/home/manager/hamon/bin/recover.sh $alias_N+1 $ip_N+1 $mnt_N+1"; |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.