Previous Topic: Host Configuration Methods

Next Topic: AddServer Method—Adds a Non-clustered Server to the Host Configuration

AddCluster Method—Adds an Empty Cluster to the Host Configuration

The AddCluster method adds an empty cluster to the host configuration. Call the AddServer method to populate the cluster with servers.

Syntax

The AddCluster method has the following format:

Netegrity::PolicyMgtHostConfig‑>AddCluster( )

Parameters

The AddCluster method accepts no parameters.

Return Value

The AddCluster method returns one of the following values:

Remarks

The clusters in a host configuration are referenced in a cluster array. When you add a cluster, the cluster is added to the end of the cluster array. The order in which you add clusters to a host configuration object determines the failover sequence. The first cluster you add (that is, the first cluster in the cluster array) is the primary cluster. This is the first cluster in the failover sequence that SiteMinder sends requests to. If there are not enough available servers in the primary cluster (that is, if the number of available servers in the cluster falls below the failover threshold), failover to the next cluster occurs (the second cluster that was added to the host configuration object). If that cluster also fails, failover to the third cluster added to the host configuration object occurs, and so on.


Copyright © 2010 CA. All rights reserved. Email CA about this topic