3.6 Testing the JBoss Application Server cluster

You can test the JBoss Application Server cluster to ensure that all members are active and that the cluster operates according to your design. You should ensure that the JBoss Application Server cluster functions correctly before you proceed with installing and configuring LiveCycle.

To test the JBoss Application Server cluster:

  1. Start all JBoss Application Server instances of the cluster by entering the appropriate command:

    (For Windows) run.bat -g <partition_name> -b <ipaddress or hostname> -c <server_profile>

    (For Unix based envirormnt) run.sh -g <partition_name> -b <ipaddress or hostname> -c <server_profile>

    Note: For IPv6, in the commands above, use the IPv6 address or a host name mapped to an IPv6 address in the host file of the system.
    Note: When you start JBoss Application Server 5.1.0 instances, to bind to all addresses on the computer (including the local host), you can specify -b 0.0.0.0 instead of the IP address or host name.

    For clusters, it is recommended that you bind to a particular IP address and not all IP addresses.

  2. View the server.log file located in [appserver root]/server/<server_profile>/log. Messages such as this one confirm the active members of the cluster:

        INFO  [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] 
        Number of cluster members: 2 
        INFO  [org.jboss.ha.framework.server.DistributedReplicantManagerImpl. 
        DefaultPartition] All Members : 2 
        ([<IPAddress1>:<Port1>],[<IPAddress2>:<Port2>])

// Ethnio survey code removed