Hitachi

uCosminexus Application Server Operation, Monitoring, and Linkage Guide


18.4.5 Setting Application Server

In the Application Server settings, you use Management Server and Cluster Administrator to deploy Application Server in the cluster configuration. Also, you import and start the J2EE applications and resource adapters in the J2EE server. To set Application Server:

  1. Start the Administration Agent and Management Server in Node 1 and Node 2 respectively.

    For details on how to start the Administration Agent and Management Server, see 2.6 Settings for starting and stopping the system.

  2. Start the cluster service and set the resource groups GroupA and GroupB to online.

    The operating status becomes normal wherein Application Server of the active node (active node 1 of Node 1 and active node 2 of Node 2) is started, and Application Server of the spare node (spare node 1 of Node 2 and spare node 2 of Node 1) is in the standby state.

    [Figure]

  3. For Application Server of the active node (active node 1 of Node 1 and active node 2 of Node 2), you use the Smart Composer functionality commands of the Management Server for setting up and starting the Web system based on the already set up Easy Setup definition file. Also, use the server management commands to import the J2EE applications and resource adapters and to start the imported J2EE applications and resource adapters.

    For the settings of the J2EE applications, see 4.1.29 Setting and starting the business application (when using CUI) in the uCosminexus Application Server System Setup and Operation Guide and for the settings of the resource adapters, see the following subsections of the uCosminexus Application Server System Setup and Operation Guide:

    • 4.1.26 Setting up DB Connector (when using CUI)

    • 4.1.27 Setting up resource adapters other than DB Connector (when using CUI)

    • 4.1.28 Starting the resource adapters (when using CUI)

    For operations of the server management commands, see 3. Basic Operations of Server Management Commands in the uCosminexus Application Server Application Setup Guide.

  4. Execute 'Migrate Group' for the resource group GroupB in the Cluster Administrator, switch the nodes, and start Application Server of the spare node 2 in Node 1.

    [Figure]

  5. For Application Server of the spare node 2 in Node 1, you use the Smart Composer functionality commands of the Management Server for setting up and starting the Web system based on an already set up Easy Setup definition file. Also, use the server management commands to import the J2EE applications and resource adapters, and to start the imported J2EE applications and resource adapters.

    Import the same J2EE applications and resource adapters as the active node 2 of Node 2 in the spare node 2 of Node 1.

  6. Execute 'Migrate Group' for the resource group GroupB in the Cluster Administrator, switch the nodes, start Application Server of the active node 2 in Node 2, and return to the normal operating state.

    [Figure]

  7. Execute 'Migrate Group' for the resource group GroupA, switch the nodes, and start Application Server of the spare node 1 in Node 2.

    [Figure]

  8. For Application Server of the spare node 1 in Node 2, you use the Smart Composer functionality commands of the Management Server for setting up and starting the Web system based on the already set up Easy Setup definition file. Also, use the server management commands to import the J2EE applications and resource adapters, and to start the imported J2EE applications and resource adapters.

    Import the same J2EE applications and resource adapters as the active node 1 of Node 1 in the spare node 1 of Node 2.

  9. Execute 'Migrate Group' for the resource group GroupA, switch the nodes, start Application Server of the active node 1 in Node 1, and return to the normal operating state.

    [Figure]