Essentials of UserApp JBOSS Clustering -- Quick Details


Critical JBOSS Clustering Configuration Steps:

Novell's User Application Clustering documentation can be found here.

This note will not duplicate content found there, but highlight relevant details that fit into the procedures described in the Novell documents. These steps were taken in creating both the lab and production cluster environments.

You of course need to choose "All" and establish different engine ID's on each UA install.

Identical Master Keys: Clusters require identical master keys to function, and a key is requested during installation of the UA. During install of the first cluster node, the UA generates a key and places it in the install base folder, in a file called "master-key.txt" .During the second node installation, copy the master-key.txt file to the new server during UA Installation and paste its contents into the UserApp installation..

Add the following to the /opt/novell/idm/ script on each server, with the Engine ID being different:

This command should be inserted in the "exec" line, replacing the former part that begins with -c, and preserving the part that ends "-b"

-c IDM -Djboss.partition.udpGroup=
-c IDM -Djboss.partition.udpGroup=

PROD: (Note the different group multicast address)
-c IDM -Djboss.partition.udpGroup=
-c IDM -Djboss.partition.udpGroup=

Modify /opt/novell/idm/jboss/server//deploy/cluster-service.xml file:
" set the mcast_port attribute to 45580 in the lab; 45581 in production.**

**This is only relevant in an environment where you have both a lab and Production (i.e. more than one cluster on the same network)

Of course, all of this must be fronted with a load-balancer of some sort to distribute requests to the different nodes and maintain session/connection information.


How To-Best Practice
Comment List