addPool

Creates an eDirectory pool object for an already existing NSS storage pool.

Request

<addPool>
   <name/>
   <context/>
   <poolName/>
   <shared/>
   <linkVolumes/>
</addPool>

Reply

<addPool>
   <result value=" ">
      <description/>
   </result>
</addPool>

Elements

name

(Required) Specifies the name of the eDirectory pool object that will be created to represent the pool. If NULL is specified, the name of the eDirectory pool object is generated by prepending the server name and an underscore to the poolName element and adding “_POOL” to the end of the name.

context

(Required) Specifies the eDirectory context in which the eDirectory pool object is created. If NULL is specified, the eDirectory pool object is created in the same context where the server object resides.

poolName

(Require) Specifies the name of the pool on the server.

shared

(Optional) Specifies that a flag is set in the eDirectory pool object that indicates the pool is on a shareable-for-clustering partition. This element does not contain any content.

linkVolumes

Specifies that the eDirectory context is searched for volume objects. Each object associated with the pool is then linked to the pool object. This element does not contain any content.

result

Specifies an error value or 0 (for no error).

description

Specifies a text description of the result.

Example

The following example uses the default name and context for the eDirectory pool object:

<ndsRequest>
   <ndsPool>
      <addPool>
         <poolName>MYPOOL</poolName>
         <name>
         <context>
         <linkVolumes>
      </addPool>
   </ndsPool>
</ndsRequest>

A nssReply packet to the add pool command follows:

<nssReply>
   <ndsPool>
      <addPool>
         <result value="0">
            <description/>success</description>
         </result>
      </addPool>
   </ndsPool>

   <result value="0">
      <description/>zOK</description>
   </result>
</nssReply>