Previous Topic: EnableFailover Method—Sets or Retrieves the Enable Failover Flag

Next Topic: GetAllClusters Method—Retrieves an Array of Policy Management Cluster Objects

FailoverThreshold Method—Sets or Retrieves the Failover Threshold Percentage

The FailoverThreshold method sets or retrieves the failover threshold percentage for the clusters in the host configuration.

Syntax

The FailoverThreshold method has the following format:

Netegrity::PolicyMgtHostConfig‑>FailoverThreshold([FailoverThreshold])

Parameters

The FailoverThreshold method accepts the following parameter:

FailoverThreshold (int)

(Optional) Specifies the failover threshold percentage to set.

Return Value

The FailoverThreshold method returns one of the following values:

Remarks

The threshold percentage represents the minimum number of servers in a cluster that must be available for requests. If the number of available servers falls below the threshold, failover to the next cluster occurs. To determine the number of servers represented by the percentage, multiply the threshold percentage by the number of servers in a cluster, rounding up to the next highest integer. For example:


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