Previous Topic: AddCluster Method—Adds an Empty Cluster to the Host Configuration

Next Topic: Description Method—Sets or Retrieves the Description of the Host Configuration Object

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

The AddServer method adds a non-clustered server to the host configuration.

Syntax

The AddServer method has the following format:

Netegrity::PolicyMgtHostConfig‑>AddServer(Host [, AcctPort] [, AuthPort] [, AzPort])

Parameters

The AddServer method accepts the following parameters:

Host (string)

Specifies the IP address of the Policy Server.

AcctPort (string)

(Optional) Specifies the IP port for the accounting server.

AuthPort (string)

(Optional) Specifies the IP port for the authentication server.

AzPort (string)

(Optional) Specifies the IP port for the authorization server.

Return Value

The AddServer method returns one of the following values:

Remarks

The single-process Policy Server introduced in SiteMinder v6.0 combines the previously separate Authentication, Authorization, and Accounting processes into one combined process whose requests go through one TCP port. As a result, the arguments AcctPort, AuthPort, and AzPort all reference the same port number. The three arguments are maintained for backward compatibility.

To add a server to a cluster, call the PolicyMgtCluster‑>AddServer method.


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