uCosminexus Application Server, Operation, Monitoring, and Linkage Guide
This section describes the settings for using the ORB functionality.
You specify these settings on the host where Windows Server Failover Cluster will run when you execute the following processes:
To set up Smart Agent as a failover target, register the Smart Agent as a 'General-purpose application' in Windows Server Failover Cluster.
For starting the Smart Agent on cluster software, you set up the localaddr file and htc.clienthandleraddr file of each node. Note that the settings are different for the multi-homed host environment and for the non multi-homed host environment.
The following table describes the settings for the localaddr file of the Smart Agent when a cluster environment is built on a multi-homed host environment or a multi-homed host environment.
Table A-1 Settings for the localaddr file of the Smart Agent
| Host environment on which the cluster service and Smart Agent are running | Settings for the localaddr file of the Smart Agent | |
|---|---|---|
| When Smart Agent is set as failover target | When Smart Agent is not set as failover target | |
| Multi-homed host environment |
|
|
| Non multi-homed host environment |
|
|
The following points describe the detailed settings for each environment. The details on the htc.clienthandleraddr file are also described.
For communication between Smart Agents exist on different network domains or for communication between the Smart Agent and the processes connected to the Smart Agent present on different network domains, you must specify the settings for the Smart Agents or for the processes connected to the Smart Agents. Specify the settings in the agentaddr file, vbroker.agent.addr property, and the environment variable OSAGENT_ADDR of each node.
For communications between the Smart Agents exist on different network domains and for setting up the Smart Agent as a failover target, you make sure to specify the cluster IP address in the agentaddr file of the Smart Agent that communicates with the target Smart Agent.
For starting a Smart Agent and the processes connected to the Smart Agent on different network domains and for setting a Smart Agent as a failover target, you make sure to specify the cluster IP address of the Smart Agent that becomes the failover target in either of the agentaddr file of the processes connected to the Smart Agent, vbroker.agent.addr property, or the environment variable OSAGENT_ADDR.
For setting the CORBA Naming Service as the failover target, you specify the start property of the CORBA Naming Service.
You set up the following start property in the nameserv command, and start the CORBA Naming Service:
-J-Dvbroker.se.iiop_tp.host=cluster-IP-address-or-cluster-network-name
Also, you apply the cluster IP address or cluster network specified in this property in the following key settings of the usrconf.properties (user property file for J2EE server) file:
For details on the usrconf.properties file, see 2.4 usrconf.properties (User property file for J2EE servers) in the uCosminexus Application Server Definition Reference Guide. For starting the CORBA Naming Service using the nameserv command, see Appendix D.2 How to start the system in the uCosminexus Application Server Command Reference Guide.
To set up the J2EE server as the failover target, specify the cluster IP address in the vbroker.se.iiop_tp.host key, and start the J2EE server. Furthermore, use and manage the vbroker.se.iiop_tp.scm.iiop_tp.listener.port key of the usrconf.properties file in such a manner so that the same port number can be used for the port number that the J2EE server uses in all the nodes.
To start the Smart Agent in the cluster environment, the following environment variable and option settings must be specified in the Smart Agent.
Specify the options only when you want to set the Smart Agent as a failover target.
The following figure shows an example of the IP address settings:
Figure A-1 Example of the IP address settings when the Smart Agent is set as a target for failover
Figure A-2 Example of the IP address settings when smart agent is not set as a target for failover
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.