Add vertical cluster members to a dynamic cluster
We can add vertical cluster members to the dynamic cluster. The members share the workload demands across multiple members that run on the same server.
- Open a browser and go to...
http://dmgr_host:9060/ibm/console
- Set the number of vertical cluster members allowed on each node. Go to..
Servers | Clusters | Dynamic clusters | dynamic cluster | Vertical stacking of instances on node | Allow more than one instance to start on the same node
...and enter a new value in the text box...
Number of instances
To view the list of new cluster members...
Servers | Clusters | Dynamic Clusters | clustername | Cluster Members view
To view the new cluster topology.
Servers | Clusters | Cluster Topology
- Update virtual host entries:
- Identify the port values for the new dynamic members.
- Review: Configure virtual hosts
- Log in to the WAS console and update the default_host virtual host.
Add an alias entry for the port number. Use an "*" wildcard character for the host name.
- Enable cache replication:
From the dmgr console, go to...
Servers | Server Types | WebSphere application servers | new_vertical_cluster_member | Container services | Dynamic cache service
...and set...
Cache size 3000 Enable cache replication Checked Replication type NOT_SHARED Click OK and 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:
cd WP_PROFILE/ConfigEngine ./ConfigEngine.sh cluster-node-config-vertical-cluster-setup \ -DServerName=unique_vertical_cluster_servername \ -DWasPassword=fooRestart the vertical cluster member referenced in the cluster-node-config-vertical-cluster-setup task.
- Save the changes and resynchronize the nodes.
System Administration > Nodes | node | Full Resynchronize
- If we transferred the databases after creating the cluster, on each vertical cluster member, log on to the dmgr console, go to...
Environment | WebSphere Variables | Scope menu | Node=nodename, Server=servername
...and set...
WCM_DATASOURCE = jdbc/jcr.DataSourceName
For example...
jdbc/wpdbds_jcr
Save all changes and synchronize the nodes then restart the server