Before you can deploy IBM® Product Master, you
must configure your application server, create a cluster, configure
your host, sync the application servers, and restart the cluster and Product Master.
Before you begin
Ensure you meet the following prerequisites:
- Start the WebSphere® Application
Server Deployment Manager before you install Product Master and
creating the cluster.
Important: Ensure that you do not
use the install_war.sh
script on an existing cluster
or cluster member. If you run this script on an existing cluster or
cluster member, a failed error message is displayed.
Important: Before the deployment, ensure that only server1
exists.
If any other servers exist, delete it.
- Ensure that you set up WebSphere Application Server. For more information about setting up the
server, see Configuring WebSphere Application Server.
- If you are using IBM® MQ, ensure that you install IBM MQ
Client on all instances of Product Master on every cluster.
About this task
Deploy Product Master using WebSphere Application Server
Deployment Manager:
Procedure
- Deploy the application on the application server. For more information, see Configuring the WebSphere Application Server.
- Ensure
server1
is used in the env_settings.ini
file.
For example:
[appserver.websphere]
application_server_profile=mdmpim
cell_name=mdmpimNode01Cell
node_name=mdmpimNode01
# set security to true if administrative security is enabled.
Defaults to false if not set
admin_security=false
[appserver.appsvr]
port=9080
# for websphere, add appserver_name and vhost_name
appserver_name=server1
vhost_name=mdmvhost
- Install Product Master to the
application server
server1
.
- Log in to Product Master:
http://<hostname>:<port>/utils/enterLogin.jsp
-
Create the cluster with one existing application server. For more information about creating a
cluster, see: WebSphere Application Server
product documentation.
A new cluster is created with one member that is converted from the application server
server1
.
-
Create more application servers. For more information about creating an application server,
see: WebSphere Application Server
product documentation.
Create more members, for example, server2
at port 9081 and
server3
at port 9082, in the cluster.
-
Configure the virtual host. For more information about configuring a virtual host, see: WebSphere Application Server
product documentation.
Configure the virtual host
mdmvhost
with host aliases for all cluster
members (hostnames/ports) on the WebSphere Application
Server admin console, for example:
- *:9080 - for server1
- *:9081 - for server2
- *:9082 - for server3
-
Sync all of the application servers. Before you restart all of the cluster members, do a full
synchronization and populate the application on
server1
to all other servers, that
is, server2
and server3
. For more information about syncing, see:
WebSphere Application Server
product documentation.
Select the node that is used for this application, for example,
mdmpimNode01
,
and click
Full Resynchronize. For more information about Full Resynchronize,
see
WebSphere Application Server
product documentation.
- Restart the cluster.
-
Stop the cluster. For more information about stopping the cluster, see: WebSphere Application Server
product documentation.
For example, select the cluster MDMPIM
and click
Stop. All servers (members) are stopped.
-
Start the cluster. For more information about starting the cluster, see: WebSphere Application Server
product documentation.
For example, select the cluster MDMPIM
and click
Start. All servers (members) are started.
- Stop and start servers
server1
, server2
,
and server3
.
- Stop all of the servers. For more information, see the "Stopping the product" section
in the Accessing the
product.
- Start all of the servers. For more information, see the "Starting the product" section
in the Accessing the
product.