setResourceInfo

Sets the cluster resource information. See Section A.3.1, Cluster Configuration Commands.

Request

 <ncsRequest>
   <clusterConfig>
     <setResourceInfo>
       <name>
       <scriptInfo>
         <unloadScript>
           <script>
           <timeout>
         </unloadScript>
         <loadScript>
           <script>
           <timeout>
         </loadScript>
       </scriptInfo>
       <policyInfo>
         <followMaster state=""/>
         <ignoreQuorum state=""/> 
         <startMode> 
           <auto/>
         </startMode>
         <failoverMode>
           <manual/>
           <auto/>
         </failoverMode>
         <failbackMode>
           <manual/>
           <auto/>
           <disable/>
         </failbackMode>
       </policyInfo>
       <preferredNodeInfo>
         <preferredNodes>
           <node>
         </preferredNodes>
       </preferredNodeInfo>
       <protocolInfo>
         <ipAddress>
         <afp/>
         <ncp/>
         <cifs/>
         <cifsServerName>
       </protocolInfo>
     </setResourceInfo>
   </clusterConfig>
 </ncsRequest>  
 

Reply

 <ncsReply>
   <clusterConfig>
     <setResourceInfo>
       <result value=>
         <description>
       </result>
     </setResourceInfo>
   </clusterConfig>
 </ncsReply>  
 

Elements

name

Name of the resource.

scriptInfo

(Optional) Provides resource unload and load script content.

Values

Description

unloadScript

  • script
  • timeout

Provides the resource unload script information, including script contents and unload timeout amount.

loadScript

  • script
  • timeout

Provides the resource load script information, including script contents and load timeout amount.

policyInfo

(Optional) Provides the policy information governing how the resource is managed.

Values

Description

followMaster

If present, resource always runs on cluster master node.

ignoreQuorum

If present, resource ignores quorum on cluster startup.

startMode

  • manual
  • auto

(Optional) Resource starts manually or automatically on cluster startup.

failoverMode

  • manual
  • auto

(Optional) The value of the resource failover mode is manual or automatic.

failbackMode

  • manual
  • auto
  • disable

(Optional) The value of the resource failback mode is manual, automatic, or disabled.

preferredNodeInfo

(Optional) List of assigned node names, from most preferred to least preferred:

Value

Description

preferredNodes

  • node

Node names.

protocolInfo

Optional server protocol information:

Values

Description

ipAddress

IP address of virtual server.

afp

(Optional) If present, AFP advertizing is enabled.

ncp

If present, CIFS advertizing is enabled.

cifs

If present, CIFS advertizing is enabled.

cifsServerName

If CIFS is enabled, NetBios name of CIFS virtual server.

result value

An error value and resulting text description or zero for no error:

Values

Description

description

A text description for the result.