Creating clusters in WebSphere Application Server

In the Integrated Solutions Console, you can create as many clusters as your deployment requires. Each cluster can consist of two or more Java™ virtual machine (JVM) cluster members.

Procedure

  1. Log in as the administrative user to the Integrated Solutions Console by using the address http://servername:9060/admin
  2. In the navigation pane, select Servers > Clusters > WebSphere application server clusters
  3. Click New and enter a name for the cluster, such as uicluster.
  4. Specify the name of the first JVM cluster member, such as maximoui1.
  5. Select MXServer to create the JVM cluster member based on an existing JVM.
  6. Repeat steps 4-5 to create as many JVM cluster members as your environment requires.
  7. Save your changes. The JVM cluster members are created as application servers, based on the settings in the MXServer application server.
  8. Define the JVM parameter -Dmxe.name with the jvmname for each JVM cluster member.
    1. In the navigation pane, select Servers > Server Types > WebSphere application servers and select the application server as the JVM cluster member.
    2. Under Service Infrastructure, click Java and Process Management > Process definition > Java Virtual Machine.
    3. For 32-bit platforms, scroll down and type 1536 for Initial Heap Size and Maximum Heap Size. For 64-bit platforms, set these values to 4096.
    4. In the Generic JVM arguments field, specify the JVM parameter Dmxe.name to name each server, for example:

      -Dmxe.name=maximoui1

      -Dmxe.name is the property name passed to the JVM at startup time and maximoui1 is the name that you identify as the JVM cluster member.
    5. In the Generic JVM arguments field, specify the following JVM parameters to optimize system performance:

      -Dsun.rmi.dgc.ackTimeout=10000--Djava.net.preferIPv4Stack=true

    6. Repeat steps a-e for each JVM cluster member.
  9. In the navigation pane, select Servers > Server Types > WebSphere application servers and obtain the port numbers of each member:
    1. Open the configuration of the JVM cluster member.
    2. In the Communications section, click Ports.
    3. Record the port number for the WC_defaulthost Port Name.
    4. Repeat steps a-c for each JVM cluster member.
  10. For each JVM cluster member, register the port number on a virtual host.
    1. In the navigation pane, select Environment > Virtual hosts.
    2. To create a virtual host, click New and specify the virtual host name.
    3. Save your changes.
    4. To create a host alias, select the virtual host and click New.
    5. Enter the web server port number. Leave * as the host name.
    6. Click New and enter the port of the cluster member. Repeat this step for each cluster member. Leave * as the host name.
    7. Save your changes.
  11. Repeat steps 2-10 for each cluster in your deployment.


Feedback