17.6.3 Editing the configuration files
Set various definition files of the Administration Agent, Management Server, and Cosminexus HTTP Server. This subsection describes the file settings that you must be careful about when integrating with the HA monitor.
- Organization of this subsection
(1) Setting the Administration Agent
Among the items to be set in adminagent.properties (Administration Agent property file), the settings that you must be careful about when integrating with the HA monitor are as follows. For adminagent.properties, see 8.2.1 adminagent.properties (Administration Agent property file) in the uCosminexus Application Server Definition Reference Guide.
-
adminagent.adapter.bind_host key
Specify the alias IP address with the adminagent.adapter.bind_host key. Only the alias IP address receives the requests for management. Specify as described in the following example:
adminagent.adapter.bind_host=172.16.12.30
-
adminagent.cluster.localaddress.check key
Specify the settings for stopping the logical server or Administration Agent of the standby node that did not stop due to a failure during node switching of Application Server.
adminagent.cluster.localaddress.check=true
(2) Setting Cosminexus HTTP Server (When integrating with Web server)
Among the items to be set in httpsd.conf (Cosminexus HTTP Server definition file), the settings that you must be careful about when integrating with the HA monitor are as follows. For details on each directive of the httpsd.conf file, see the uCosminexus Application Server HTTP Server User Guide.
-
Listen directive and BindAddress directive
Specify the alias IP address in the Listen directive and BindAddress directive. Only the alias IP address provides services to the client.
-
ProxyPass directive and ProxyPassReverse directive
For the forwarding-destination address, specify a cluster IP address, a host name that can resolve to a cluster IP address, or the constant localhost.
-
ServerName directive
Specify the alias IP address or a host name that you can resolve to the alias IP address in the ServerName directive.
(3) Setting the Smart Agent (When using CTM)
When you use CTM to integrate with Management Server, you must edit the following file:
-
Create localaddr and set the stationary IP address and alias IP address to enable the Smart Agent to use the IP addresses for communication. For details on the settings of localaddr, see Appendix B. Settings of Cosminexus TPBroker for Integrating Cluster Software (In UNIX).
(4) Setting the management command (mngsvrutil) of Management Server
In the home directory of the root of active and spare nodes, prepare the definition file at client side (.mngsvrutilrc) of the management command (mngsvrutil) of Management Server, and then set the user ID and password of the management user of Management Server. Also, set appropriate access privileges for the definition file at client side.
This file is the script for monitoring the processes of the Administration Agent and for starting and stopping the Administration Agent and logical servers. You can also use this file for executing the mngsvrutil command.
For the client-side definition file (.mngsvrutilrc) of the mngsvrutil command, see 8.2.14 .mngsvrutilrc (Client-side definition file of the mngsvrutil command) in the uCosminexus Application Server Definition Reference Guide.