18.5.3 Editing the setup file
You edit the setup file. This subsection describes the setup files for which you need to be careful when the system is linked with the HA monitor.
- Organization of this subsection
(1) Setting the administration agent
Of the items set up in the adminagent.properties (Administration Agent property file), this point describes the settings that you must note for integrating the system with the HA monitor. For adminagent.properties, see 8.2.1 adminagent.properties (Administration Agent property file) in the uCosminexus Application Server Definition Reference Guide.
(2) Settings for the management command (mngsvrutil) in the Management Server
Under the /opt/Cosminexus/manager/config directory, provide the common definition file at client side (mngsvrutilcl.properties) for the management command (mngsvrutil) for the Management Server and specify the user ID and password of the management user of the Management Server. Also, set appropriate access privileges for the common definition file at the client.
You use this file to execute the mngsvrutil command in the script for monitoring the Administration Agent process, and in the script for starting and stopping the logical server.
For the client-side common definition file (mngsvrutilcl.properties) of the mngsvrutil command, see 8.2.16 mngsvrutilcl.properties (Client-side shared definition file of the mngsvrutil command) in the uCosminexus Application Server Definition Reference Guide.
(3) Setting Management Server
Among the items to be set in mserver.properties (Management Server environment settings file), the settings that you must be careful about when integrating with the HA monitor are described as follows. For the mserver.properties file, see 8.2.6 mserver.properties (Management Server environment settings file) in the uCosminexus Application Server Definition Reference Guide.
-
com.cosminexus.mngsvr.logical_server_abnormal_stop.exit
Specify the settings for switching the nodes when the operating status of the logical servers is 'abnormal termination' (when the system has exceeded the automatic restart frequency, or when the system detects a failure at automatic restart frequency 0).
A setup example is as follows:
com.cosminexus.mngsvr.logical_server_abnormal_stop.exit=true
- Important note
-
If automatic restart is specified for Management Server, node switching is not executed during this time. For executing the node switching during this time, do not set up automatic restart for Management Server.
Set the following items as and when required:
-
webserver.connector.http.bind_host
Specify the real IP address in the webserver.connector.http.bind_host key.
-
mngsvr.myhost.name
Specify the real IP address in the mngsvr.myhost.name key.
-
com.cosminexus.mngsvr.management.host
Specify the virtual IP address in the com.cosminexus.mngsvr.management.host key.