Performing Common Cluster Administration Tasks

After you've created your clusters and configured them with load balancing and high availability features, they'll likely run inconspicuously in your environment for quite some time. However, at some point you'll need to update software and content or perform general maintenance tasks that are beyond the typical cluster creation and configuration activities.

This section describes how to perform the following administration tasks:

Changing a server's state

All cluster members are added to a cluster in Active state by default. In Active state, ClusterCATS provides availability and failover services to your Web resources. From time to time, you may want to turn off these load balancing and failover services to help you troubleshoot problems or to add additional servers to the cluster. To do this, you can change the cluster's state from Active to Passive. In the Passive state, clusters do not actively manage load nor protect against resource failures. Any HTTP requests sent to a server that is in the Passive state are passed directly to that server without any ClusterCATS processing.

Note To change a cluster member's state from Active to Passive:
  1. Open the ClusterCATS Explorer, select a cluster member, and choose State from the Configure menu. Alternatively, you can right mouse click the cluster member and choose Configure>State.

    The Server Properties dialog box appears.

  2. Select the Passive Member option.
  3. Click OK.

    The color of the cluster member turns white, indicating that the cluster is passive.

  4. Repeat steps 1 through 3 to change other members in the cluster.
  5. To re-activate cluster members, select the Active Member option from this tab and click OK.

Restricting a server from participating in a cluster

ClusterCATS lets you stop an active cluster member from receiving any HTTP requests. You may want to restrict an active server when performing server maintenance or software updates, verifying load configurations, or as an alternative method to managing load.

Note To restrict a cluster member from participating in a cluster:
  1. Open the ClusterCATS Explorer, select a cluster member, and choose State from the Configure menu. Alternatively, you can right-click the cluster member and choose Configure>State.

    The Server Properties dialog box appears.

  2. Select the Active Member option if the server has been in passive state.
  3. Within the Server Access area of the dialog, select Restricted.

    This option ensures that HTTP requests sent explicitly to the specific cluster member are redirected to another server within the cluster.

  4. Click OK.

    The cluster member icon now looks like this in the ClusterCATS Explorer, indicating that the cluster is active but restricted.

  5. Repeat steps 1 through 4 for each cluster member you want to restrict.
  6. To unrestrict a cluster member, select the Unrestricted option and click OK.

Putting a cluster member in maintenance mode

The ClusterCATS maintenance mode lets you:

Note To put a cluster member in maintenance mode:
  1. Open the ClusterCATS Explorer and select a cluster member that you want to update.
  2. Right-click the cluster member and choose Configure>Load.

    The Properties dialog box appears for the selected cluster member with the Load tab active.

  3. Change the Peak load threshold to zero percent so that any additional HTTP requests will be redirected to other servers in the cluster.
  4. Click OK.
  5. Physically go to the server you selected in step 1 and open the ClusterCATS Server Administrator utility on this server by clicking Start>Programs>ColdFusion Server 4.5>ClusterCATS Server Administrator.

    The ClusterCATS Server Administrator appears.

  6. Click the BT Service Status button to display the Manage ClusterCATS Services dialog box.

  7. Stop the ClusterCATS service by selecting the Stopped option and enter 10 minutes in the Drain Down Period field to allow current users to conclude their sessions.
  8. Click OK.

    When the drain-down period expires, the server will fail over to another server in the cluster.

You can now update the server with new software or content or troubleshoot problems the server was experiencing. The next section describes how to perform a specific type of maintenance task once you've put the server in maintenance mode.

Updating software or content on an existing cluster

Periodically you'll need to update software or content that resides on your cluster members. Software updates might include new versions or patches to operating system software, Web server software, ClusterCATS software, or other third-party products.

This procedure explains how to restrict an active cluster member so that you can make necessary updates.

Note To update an existing cluster member with new software or content:
  1. Perform steps 1 through 8 in "Putting a cluster member in maintenance mode".
  2. Make your updates to the inactive server.
  3. Open a Web browser on the cluster member and enter the server name associated with the maintenance address defined for this server. For example, serv1.mycompany.com.

    If you configured the maintenance address correctly as described in "Configuring ClusterCATS offline maintenance support (NT only)", your site will appear in the browser. If it does not, see "Troubleshooting".

  4. Once you've verified your changes, exit the browser.
  5. Return to the ClusterCATS Server Administrator and restart the ClusterCATS service by selecting the Running option on the Manage ClusterCATS Services dialog box.

    This will add the cluster member back into the cluster.

  6. To initially limit the amount of HTTP traffic sent to the server, return to the ClusterCATS Explorer and reconfigure the cluster member's Peak Load threshold to a low value, like 10%.

  7. Click OK.
  8. Within the ClusterCATS Explorer, right-click the cluster member and choose Monitor>Load.

    The Server Load Monitor appears.

  9. Observe your cluster member at low usage levels until you are satisfied that your new changes are working properly.
  10. When you are certain that the updates you made have not adversely affected the server's operation, set the Peak and Gradual Redirection load thresholds back to their original values.

Resetting a server's configuration to its pre-clustered state

If you want to re-cluster servers that were clustered previously, you must first reset each server's configuration to its original, pre-clustered state. You can only do this by using the ClusterCATS Server Administrator that is installed on each cluster member. Using the ClusterCATS Explorer to delete cluster members from a cluster does not delete the server's ClusterCATS configuration, which is stored in the server's registry. Also, running the ClusterCATS uninstall program and reinstalling does not overwrite the server's ClusterCATS configuration.

Note To reset a server to its pre-clustered state:
  1. Go to the server you want to reset, open the ClusterCATS Server Administrator, and click Advanced.

    The Advanced Option dialog box appears.

  2. Click Reset ClusterCATS to remove the ClusterCATS configuration from this server.

    A message appears confirming that the server has been reset.

  3. Exit the ClusterCATS Server Administrator.
  4. Return to the computer from which you run the ClusterCATS Explorer.
  5. Use the ClusterCATS Explorer to recreate a cluster that includes this server or create a new cluster that contains this server as a cluster member.