3.7 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 AEM forms.

To test the JBoss Application Server cluster:

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

    • On master node:

      (For Windows) /domain.bat -b <ipaddress> -c <config_file_name>

      (For Unix based envirormnt) /domain.sh -b <ipaddress> -c <config_file_name>

    • On slave node:

      (For Windows) /domain.bat -b <ipaddress>

      (For Unix based envirormnt) ./domain.sh -b <ipaddress>

    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 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] \domain\servers\server-<No>\log. Messages such as this one confirm the active members of the cluster:

    [Host Controller] 21:30:52,042 INFO  [org.jboss.as.domain] (management-handler-threads - 1) JBAS010918: Registered remote slave host slave

    The message assures that all the configurations are correct and the two hosts are running in domain mode as expected.

// Ethnio survey code removed