Add vertical cluster members to a static cluster on IBM i
We can add vertical cluster members to share the workload demands of the cluster across multiple members running on the same physical machine.
- Prerequisites
- Install WebSphere Portal on IBM i for the horizontal cluster nodes
- Add horizontal nodes to the cluster on IBM i
Add a vertical cluster member to the clustered environment
- Log into the dmgr console.
- Click...
Servers > Clusters > WebSphere appserver clusters > cluster_name > Cluster members
- Click New to create the cluster member.
- Define the name of cluster member.
Do not use spaces in the cluster member name.
- Select an existing node where IBM WebSphere Portal is installed.
- Check the box...
Generate Unique HTTP Ports
- Click Apply and then click Next to view the summary.
If we are not using an external web server in the clustered environment, update the virtual host entries for the new port created when adding a cluster member. We can do this by updating the default_host virtual host in the WAS admin console and adding a new alias entry for the port number (use an "*" wildcard character for the host name). See Configure virtual hosts for information.
- Click Finish, and save the changes.
- The new cluster topology can be viewed from the Servers > Clusters > Cluster Topology view.
- The Servers > Server Types > WebSphere appservers view lists the new server cluster members.
- To enable cache replication:
- From the dmgr console, go to Servers > Server Types > WebSphere appservers and then click the new vertical cluster member(s).
- Click Dynamic cache service under Container services.
- Change Cache size to 3000 entries.
- Check the Enable cache replication check box.
- Select NOT_SHARED from the Replication type drop-down menu.
- Click OK.
- Click Save to save the changes to the master configuration.
- Complete the following steps on each vertical cluster member to clean up the server-scoped resources, caches, and resource providers:
- Run the ConfigEngine.sh cluster-node-config-vertical-cluster-setup -DServerName=unique vertical cluster servername -DWasPassword=foo task, from the WP_PROFILE/ConfigEngine on the node where you created the vertical cluster. unique vertical cluster servername is the name you specified when you created the cluster member.
- Restart the vertical cluster member referenced in the cluster-node-config-vertical-cluster-setup task.
- To access the WCM content through an external web server:
- Log on to the dmgr console.
- Select Environment > WebSphere Variables.
- From the Scope drop-down menu, select the option...
Node=nodename, Server=servername
...where Node=nodename is the node containing the portal application server.
- Update the WCM_HOST variable with the fully qualified host name used to access the portal server through the web server or On Demand Router.
- Update the WCM_PORT variable with the port number used to access the portal server through the web server or On Demand Router.
- Update the WCM_HOST and WCM_PORT variable for each additional portal server that already exists in the cluster.
- Synchronize the node with the dmgr:
- Select System Administration > Nodes.
- Select the node to synchronize from the list.
- Click Full Resynchronize.
- Log off of the dmgr console.
- Save the changes and resynchronize the nodes.
- In the dmgr console, click Save on the task bar, and save the administrative configuration.
- Select System Administration > Nodes, select the node from the list, and click Full Resynchronize.
- Regenerate the web server plug-in.
- Regenerate the web server plug-in using the dmgr console.
- If we are using a remote web server, copy the updated plug-in configuration file (plugin-cfg.xml) to the web server's plug-in configuration directory.
- Stop and start the web server.
Parent: Prepare additional cluster members on IBM i
Previous: Add horizontal nodes to the cluster on IBM i