uCosminexus Application Server, Operation, Monitoring, and Linkage Guide

[Contents][Glossary][Index][Back][Next]

19.5.8 Setting Application Server

When setting Application Server, deploy Application Server in a cluster configuration using the management portal and commands of the HA monitor. Furthermore, set up the logical servers, distribute the configuration information, and then import J2EE applications and resource adapters. The following is the procedure to set Application Server:

  1. In the standby node, start the J2EE server for recovery.
    Using the cjstartsv command, start the J2EE server for recovery in the standby node (NodeR).
  2. In the J2EE for recovery in the standby node, set the resource adapter.
    In the standby node, import, deploy, and start a resource adapter with the same settings as all resource adapters that you are using in the executing nodes. However, you need not use the connection pooling functionality in the resource adapter to be defined in the J2EE server of the standby node. Specify 0 as the minimum and maximum value of the connection to be set with the server management commands.
    Use server management commands to import, deploy and start the resource adapter. For the operations of the server management commands, see 3. Basic Operations of Server Management Commands in the uCosminexus Application Server Application Setup Guide.
  3. When the setting of the resource adapter is complete, stop the J2EE server for recovery in the standby node.
    Using the cjstopsv command, stop the J2EE server for recovery in the standby node (NodeR).
  4. In the standby node, execute the monbegin command of the HA monitor, and set the spare-node Application Server to the standby state.
    • Command execution example in the standby node
      In the standby node (NodeR), execute # monbegin server-identification-name corresponding to the N number of executing nodes (Node1 to Node4), and set the standby node corresponding to the N number of executing nodes to the standby state.
  5. Start Management Server.
    Start the Management Server, and then start the Administration Agent, Management Server, and logical server (CORBA Naming Service for monitoring) on the Management Server. For details on how to start Management Server, see 4.1.1 Procedure for starting a system and 4.1.2 Methods of starting a system in the uCosminexus Application Server Management Portal User Guide.
  6. In the executing nodes (Node1 to Node4), execute the monbegin command of the HA monitor, and start the executing node Application Servers as the executing nodes.
    • Command execution example in executing nodes
      In Node1 to Node4, execute # monbegin server-identification-name, and start each of the executing nodes. In this example, you execute the shell script file (start.sh), and start the Administration Agent of each executing node from Node1 to Node4.
  7. With the management portal, set up the J2EE server of each executing node from Node1 to Node4.
    Set up the J2EE server with the Setup screen of 'Configuration definition of management domain'. For details on the operating procedures and screens when using the management portal, see the uCosminexus Application Server Management Portal User Guide.
  8. Using the management portal, distribute the information set in the J2EE servers to each executing node from Node1 to Node4.
    Distribute the information set in the J2EE servers to each executing node from Node1 to Node4 with the Distribution of Setup Information screen of 'Environment setup of a logical server'.
  9. With the management portal, start the logical server of each executing node.
    In this example, as you do not start the logical server of the executing nodes in the shell script file (start.sh), start the logical servers using the management portal.
  10. Use the server management commands to import the J2EE application and resource adapter in the J2EE server of each executing node from Node1 to Node4. Set and start the imported J2EE application and resource adapter.
    For the operations of the server management commands, see 3. Basic Operations of Server Management Commands in the uCosminexus Application Server Application Setup Guide.
    Execute the server management commands after starting the J2EE server and its prerequisite processes. Once you have completed the operations with server management commands, stop the server management commands.