Setting up a cluster using clustering CL commands for HTTP Server

 

This topic provides information about how to set up a cluster for HTTP Server for i5/OS using a 5250 session.

Information for this topic supports the latest PTF levels for HTTP Server for i5/OS . IBM recommends that you install the latest PTFs to upgrade to the latest level of the HTTP Server for i5/OS. Some of the topics documented here are not available prior to this update. See IBM Service for more information.

Set up your highly available HTTP Server instance using the clustering CL commands. Before using the following commands, see Clusters for more information.

The following is a subset of the Clustering CL commands that can be used to perform clustering operations. See CL commands for HTTP Server for more information.

To create a cluster, use the following CL command:

CRTCLU

Create Cluster creates a new cluster for one or more nodes.

To add nodes to an existing cluster, use the following CL command:

ADDCLUNODE

Add Cluster Node Entry adds a node to the membership list of an existing cluster.

To start a node in the cluster, use the following CL command:

STRCLUNOD

Start Cluster Node starts Clusters Resource Services on a node in the cluster.

It is suggested that you start a new cluster node from a node that is already active.

To determine the status of a node in a the cluster, use the following CL command:

DSPCLUINF

Display Cluster Information displays the status of a node in a cluster. All nodes should be in the Active state.

To perform a swtichover in the case of a Primary/Backup configuration, use the following CL command:

CHGCRGPRI

Change Cluster Resource Group Primary performs an administrative switchover of the cluster resource group by changing the current roles of nodes in the recovery domain.

To remove a node from a cluster, use the following CL command:

RMVCLUNODE

Remove Cluster Node Entry removes a node from a cluster.

For more information on Clusters, see Clustering troubleshooting.

For instructions on how to set up a highly available Web server, see Setting up and administration of a highly available Web server cluster on HTTP Server (powered by Apache).

 

Parent topic:

HTTP Server tasks