How to create a WebSphere Application Server Cluster:
Step 1: Open Websphere Application Server Profile Manager -> Create -> Deployment Manager
Step 2: Select Deployment Manager
Step 3: Select Default Ports to be used for WAS Cluster
How to create a Websphere MQ Cluster:
Step 1: Open Websphere MQ Explorer and create two Queue Managers that will be part of the cluster.
Step 2: Right click on Queue Manager Cluster and Select New->Queue Manager Cluster
Step 3: Specify the following information:
Active Full Repository Cluster:
Step 4: Create a new Queue and add it the Cluster (Specify the Cluster Name)
Step 5: Test Clustered Queue Manager by putting a message on both Queue Managers using a shared Queue (QIn)
amqsput QCluster1 QIn
amqsput QCluster2 QIn
Testing an Active/Passive Datapower Cluster is very easy. Just create exactly the same XML Firewall service on both Datapower A and Datapower B appliances. Specify the front End-Handler IP address as the VIP address created.
Execute the curl command to run the policy where the VIP is the Front Side Handler. Enable the probes on both devices to make sure that the request and response is successful. Switch the active appliance (Datapower A) off or reboot and continue to execute the command. You will see that the passive appliance will take over from Datapower A. When Datapower A is rebooted or switched on again it will take over again.
Setup a Active/Passive Datapower cluster.
Install the two Datapower appliances with two different IP addresses. Create a VIP (Virtual IP address) that is in the same subnet as the two datapower appliances.
Log into the WebGUI of Datapower appliance A. Navigate to Network ->Ethernet Interface, click on the ethernet where Datapower A is installed. Navigate to the tab called: “Standby Control”
Configure Standby Control to look like to following, just replace your own VIP and Priority can be set to anything beteen 0-255 (it must just be bigger than Datapower B’s priority to be the active appliance)
Do the same for Datapower B, but change the priority to lower than Datapower A.
Now that your Active/Passive Cluster is up we will look at how to test an Active Passive Cluster.