JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Configuring Oracle Java CAPS JBI Components for GlassFish Clustering     Java CAPS Documentation
search filter icon
search icon

Document Information

Configuring Oracle Java CAPS JBI Components for Clustering

JBI Component Clustering Overview

Clustering Overview

Component Support for Clustering

Load Balancing and Failover

Clustering Setup Summary

Creating a GlassFish Cluster

To Create a GlassFish Cluster

Adding a Java CAPS JBI Component to a Cluster

To Add a Shared Library to a Cluster

To Add a Java CAPS JBI Component to a Cluster

Modifying Server Properties for Java CAPS JBI Components in a Cluster

To Modify Runtime Properties for a Component in a Cluster

To Create Application Configurations and Variables for a Component in a Cluster

To View the Descriptor for a Component in a Cluster

To Set Logging Properties for a Component in a Cluster

To Monitor a Component in a Cluster

Configuring the BPEL Service Engine for Clustering

Setting Up the BPEL Database

To Set Up the BPEL Database

Adding the BPEL Service Engine to the Cluster

To Add the BPEL Service Engine to the Cluster

Debugging a Business Process Deployed in a Cluster

To Debug a Business Process Deployed in a Cluster

Configuring the IEP Service Engine for Clustering

Setting Up the IEP Database

To Set Up the IEP Database

Adding the IEP Service Engine to the Cluster

To Add the IEP Service Engine to the Cluster

Configuring the XSLT Service Engine for Clustering

To Add the XSLT Service Engine to the Cluster

Configuring the Java EE Service Engine for Clustering

To Enable the Java EE Service Engine on the Cluster

Configuring the Data Mashup Service Engine for Clustering

To Add the Data Mashup Service Engine to the Cluster

Configuring the Database Binding Component for Clustering

Creating the Clustering Database for the Database Binding Component

To Create the Clustering Database for the Database Binding Component

Adding the Database Binding Component to the Cluster

To Add the Database Binding Component to the Cluster

Configuring the File Binding Component for Clustering

Adding the File Binding Component to the Cluster

To Add the File Binding Component to the Cluster

Configuring the File BC WSDL File for Clustering

To Configure the File BC WSDL File for Clustering

Configuring the FTP Binding Component for Clustering

Adding the FTP Binding Component to the Cluster

To Add the FTP Binding Component to the Cluster

Configuring the FTP BC WSDL for Clustering

To Configure the FTP BC WSDL for Clustering

Configuring the HTTP Binding Component for Clustering

Enabling the HTTP Binding Component on the Cluster

To Enable the HTTP Binding Component on the Cluster

Configuring the HTTP BC Port Numbers for Clustering

To Configure the HTTP BC Port Numbers for Clustering

Configuring the JMS Binding Component for Clustering

To Add the JMS Binding Component to the Cluster

Configuring the LDAP Binding Component for Clustering

To Add the LDAP Binding Component to the Cluster

Configuring the Scheduler Binding Component for Clustering

To Add the Scheduler Binding Component to the Cluster

Deploying a Service Assembly to a Cluster

To Deploy a Service Assembly to a Cluster

Configuring Components for Standalone High Availability and Failover

Configuring the BPEL Service Engine for Multiple Standalone Instances

To Configure the BPEL Service Engine for Multiple Standalone Instances

Configuring the IEP Service Engine for Multiple Standalone Instances

To Configure the IEP Service Engine for Multiple Standalone Instances

Creating a GlassFish Cluster

This topic provides general instructions for creating a cluster with GlassFish using asadmin commands and the GlassFish Admin Console. This procedure creates a node agent to manage the cluster, a cluster, and the cluster instances.

For complete instructions on creating and configuring GlassFish clusters, see the Sun GlassFish Enterprise Server v2.1.1 High Availability Administration Guide.

To Create a GlassFish Cluster

  1. If it is not already running, start the GlassFish server you want to configure for clustering.

    You can start the server from the command line or from the Services tab in NetBeans.

  2. Once the server is started, launch the Admin Console by doing one of the following:
    • On the Services tab in NetBeans, right-click the server and select View Admin Console.
    • Launch a web browser and enter the following URL:

      http://hostname:port

      • hostname is the name of the machine where the server is located, and can be localhost.

      • port is the administrative port number, which is 4848 by default.

  3. On the main Admin Console page, click Add Cluster Support.
    image:Figure shows the clustering option on the GlassFish Admin Console.
  4. Review the information on the Add Cluster Support page, and then click OK.
  5. On the Restart Required page, click Stop Instance to stop the GlassFish server.
  6. Follow the instructions on the Admin Console to restart the server.
  7. Run the following command to create the node agent, using a unique value for the node agent name:

    GlassFish_Home/bin/asadmin create-node-agent NodeAgent_Name

  8. Run the following command to start the node agent:

    GlassFish_Home/bin/asadmin start-node-agent NodeAgent_Name

  9. When the node agent is started, log back in to the GlassFish Admin Console and create the cluster:
    1. In the navigation bar on the left, click Clusters.
    2. On the Clusters page, click New.
    3. Enter a name for the cluster, and then click OK.
      image:Figure shows the New Cluster page on the Admin Console.
  10. Add instances to the cluster:
    1. In the navigation bar on the left, expand Clusters and then select the cluster you just created.
    2. Click the Instances tab.
    3. Under Server Instances, click New.
    4. Enter a name for the instance, select the node agent you just created, and then click OK.
      image:Figure shows the New Clustered Server Instance page of the Admin Console.
    5. Repeat the above steps to add each instance to the cluster.
  11. To start the cluster, select Clusters in the left navigation bar, select the check box next the cluster you just created, and then click Start Cluster.
  12. Click OK on the dialog box that appears.

    Tip - Log files for the cluster are located at GlassFish_Home/nodeagents/cluster-nodeagent/agent/logs.