Clustering Maximo 7 and WebSphere
Clustering Maximo 7 and WebSphere
1
Multiple Application Servers can be created to cluster like functionality in Maximo. For
example a group of Maximo Servers for the UI, a group for cron task, a group for
integration, etc. A Maximo EAR file is deployed to the cluster and each cluster member
runs that application. Each Application Server points to the same Maximo database.
These Application Servers can be created on the same physical server as well as different
physical servers.
There are a number of hardware and software solutions for load balancing. This guide
does not cover load balancing it goes through the process of creating a cluster. With the
installation of WebSphere a web server is also installed and you can use that to round
robin the Maximo user sessions.
Paths and file names used in the document are defaults from the WebSphere install using
the Maximo middleware installer and Maximo installation released February 2010 or
later. This guide assumes the Maximo installation has occurred by following the Maximo
installation guide.
Configuration
This configuration will include three Maximo Application Servers configured on the
same physical server. The example cluster created will be a UI cluster. Maximo
properties will be set differently for clusters for other functions (i.e. cron, integration,
etc.)
1. Modify the maximo.properties and add the property to not run the cron tasks
a. Rename the
ibm\smp\maximo\applications\maximo\properties\maximo.properties file
b. Copy the ibm\smp\etc\maximo.properties_orig file to
ibm\smp\maximo\applications\maximo\properties\maximo.properties
c. Edit the maximo.properties file and add the following line
mxe.crontask.donotrun=ALL
d. Verify the other properties values are correct
e. Encrypt the properties file
i. From a command prompt change to the
ibm\smp\maximo\tools\maximo folder
ii. Run encryptproperties
2. Build the Maximo EAR file
a. From a command prompt change to the ibm\smp\maximo\deployment
folder
b. Create the EAR file, run buildmaximoear
3. Log into the WebSphere Integrated Solutions Console
a. http://<servername>:9060/admin
b. login with administrative user
b. Select Clusters
e. Enter the name of the first member of the cluster, click Create the member
using and existing application server as a template and select the
MXServer application server that was created during the Maximo
installation, and click Next
f. Enter the name of the second member and click Add Member
g. Enter the name of the third member, click Add Member, and click Next
h. Click Finish
i. Click Save
All settings on the MXServer application server used as the template have
been applied to these cluster member application servers. You can verify the settings.
You will now see the cluster members listed at application servers.
j. Click Application Servers. Click each application server to review
settings.
iv. Note the Port for the WC_defaulthost Port Name (in this example
908)
v. Repeat the same for the other cluster member application servers
b. Expand Environment
c. Click Virtual Hosts
d. Click New
i. Click new
j. Enter the web server port (default 80) and leave host name as * and click
OK
k. Click new and enter the port of the first cluster member (i.e. 9081) and
leave host name as * and click OK
l. Repeat for each cluster member. When finished click Save
The cluster is now created. The Maximo and Maximo help EAR files can be
deployed to the cluster.
6. Deploy EAR files to the cluster
a. Expand Applications and click Enterprise Applications
b. Click Install
d. Accept the defaults and click Next (If you have the Maximo application
deployed to the MXServer application server you will need to name this
Maximo application something else. In the Application name field change
Maximo to something else)
e. Select all the modules and select the Cluster and if you have a web server
select that and click Apply. Then click Next.
f. Select all the modules and select the cluster virtual host for all the modules
and click Next.
g. Click Finish
Notes