NCS_POOL_INFO

Contains information about a pool.

Syntax

 #include <ncssdk.h> 
  
 typedef struct NCS_POOL_INFO 
 {  UINT16            ResFDN[ MAX_DN_CHARS+2]; 
    UINT16            PoolFDN[ MAX_DN_CHARS+2]; 
    UINT16            VirtServFDN[ MAX_DN_CHARS+2]; 
    UINT8             ResName[ 128];
    UINT8             PoolName[ 128]; 
    UINT32            numVols; 
    UINT32            WhichNode; 
    UINT32            ResourceIP;
    void             *otherHooks;
    NCS_VOLUME_INFO  *volArray; 
 } NCS_POOL_INFO;
 

Fields

ResFDN

Contains the cluster resource FDN (Unicode).

PoolFDN

Contains the pool FDN (Unicode).

VirtServFDN

Contains the Virtual Server FDN (Unicode).

ResName

Contains the ASCII resource name used by NCS_ResourceControl.

PoolName

Contains the physical pool name for NSS (ASCII).

numVols

Contains the number of volumes used to allocate NCS_VOLUME_INFO for NCS_WhatVolumes.

WhichNode

This field is 0 based; –1 if not running on any node.

ResourceIP

Contains the IP address of the virtual server.

otherHooks

Contains third party hooks (use as desired).

volArray

Points to an array of volumes in the pool. The array is allocated by the caller when calling NCS_WhatVolumes.

NOTE:NCS_WhatVolumes assumes that volArray points to an array that you previously allocated for storing volume information.

Remarks

Used for NCS_WherePools call to fill in with the resource information Fully Distinguished Name (FDN) for Directory Services lookup.