Defines a host configuration object.
Syntax
typedef struct Sm_PolicyApi_HostConfig_s { int iStructId; char pszOid[BFSIZE]; char pszName[BFSIZE]; /* Required */ char pszDesc[BFSIZE]; char pszIPAdress[BFSIZE]; bool bEnableFailOver; int iMaxSocketsPerPort; int iMinSocketsPerPort; int iNewSocketStep; int iRequestTimeout; struct Sm_PolicyApi_HostConfig_s* next; Sm_PolicyApi_Server_t* pServer; Sm_PolicyApi_Server_t* pCluster; long nFailoverThreshold; } Sm_PolicyApi_HostConfig_t;
Field |
Description |
---|---|
iStructId |
Data structure ID, defined in Sm_PolicyApi_Structs_t. |
pszOid |
The object identifier of the host configuration object. |
pszName |
The name of the host configuration. |
pszDesc |
Brief description of the host configuration. |
pszIPAddr |
The IP address of the host configuration object. |
bEnableFailOver |
Specifies whether an agent and the Policy Server should communicate through failover or round-robin. The parameter is applicable to non-cluster servers specified in the pServer parameter. |
iMaxSocketsPerPort |
The maximum number of TCP/IP sockets that can be opened between an agent and a particular Policy Server process. |
iMinSocketsPerPort |
The minimum number of TCP/IP sockets that should be opened between an agent and a particular Policy Server process. |
iNewSocketStep |
The incremental number of TCP/IP sockets that should be opened between an agent and a particular Policy Server process when demand increases. |
iRequestTimeout |
The length of time in seconds that an agent will wait for a response from the Policy Server. |
next |
Pointer to the next host configuration structure. |
pServer |
A linked list of Sm_PolicyApi_Server_t structures that describe TCP/IP connectivity information for a particular Policy Server installation. |
pCluster |
Pointer to an array of Sm_PolicyApi_Server_t structures. The array specifies cluster servers. |
nFailoverThreshold |
Specifies the failover threshold percent. The parameter is applicable to the cluster servers specified in pCluster. |
Copyright © 2014 CA.
All rights reserved.
|
|