Validate Provisioning Request operation


The Validate Provisioning Request operation verifies if a provisioning request will be successful or not. This section illustrates the adapter request and response for the validate provisioning request operation and describes the elements used in the request.

The following table describes the elements for this request.


 Adapter request elements for the Validate Provisioning Request operation

A sample adapter request for this operation is given in the following figure.

Sample adapter request for Validate Provisioning Request operation

<netapp-storage-request>
   <operation-name>dataset-provision-member</operation-name>
   <arguments>
     <targets>
       <target>
         <host>Server87</host>
         <user-name>username</user-name>
         <password encryption-type = "Base64">cGFzc3dvcmQ=</password>
         <protocol>http</protocol>
         <port>8088</port>
       </target>
     </targets>
     <target />
     <dataset-name-or-id>QA-DS2</dataset-name-or-id>
     <size>33554432</size>
     <name>QA-FC-SAN-Member1</name>
     <dry-run>true</dry-run>
     <include-dry-run-reason-details>true</include-dry-run-reason-details>
     <comments>
       <provision-member-comment>
         <comment-field-name-or-id />
         <comment-value />
       </provision-member-comment>
     </comments>
     <description>QA-FC-SAN-Member1-description</description>
     <resource-name-or-id>f6070-184-101:Janak_aggr2_101</resource-name-or-id>
     <maximum-snapshot-space>300000</maximum-snapshot-space>
     <maximum-data-size>400000</maximum-data-size>
     <dataset-export-info>
       <dataset-export-protocol>fcp</dataset-export-protocol>
       <dataset-lun-mapping-info>
         <igroup-os-type>vmware</igroup-os-type>
         <lun-mapping-initiators>
           <lun-mapping-initiator>
             <hostname>esx-248-222.sdsmqa.lab.eng.btc.netapp.in</hostname>
             <initiator-id>10:00:00:00:c9:7b:ec:28</initiator-id>
           </lun-mapping-initiator>
         </lun-mapping-initiators>
       </dataset-lun-mapping-info>
     </dataset-export-info>
   </arguments>
 </netapp-storage-request>


A sample adapter response for this operation is given in the following figure.

Sample adapter response for Validate Provisioning Request operation

<netapp-storage-response>
 <metadata>
   <status>success</status>
   <response-count>1</response-count>
 </metadata>
 <responses>
   <response>
     <metadata>
       <target>Server87</target>
       <status>success</status>
       <count>3</count>
     </metadata>
     <output>
       <dry-run-results>
         <dry-run-result>
           <dry-run-action>Select aggregate for provisioning
a new volume based on the provisioning policy and
dataset configuration.</dry-run-action>
           <dry-run-effect>Attention: Could not reuse existing
volume(s) in dataset node or select a new aggregate for
provisioning a volume.</dry-run-effect>
           <dry-run-severity>error</dry-run-severity>
           <dry-run-reason>Encountered following error
condition(s) when selecting aggregate for provisioning.

- There are no volumes provisioned by Provisioning Manager in
the dataset node to satisfy the provisioning request

Storage system : 'f6070-184-101.lab.eng.btc.netapp.in'(736):
    - FCP service is not started on storage
system f6070-184-101.lab.eng.btc.netapp.in (736).

</dry-run-reason>
           <dry-run-suggestion>

- Add a new resource pool to the dataset node
or add aggregates to the storage systems in the existing
resource pool(s) or add new storage systems with
aggregates to the existing resource pool(s)

Suggestions related to storage system
'f6070-184-101.lab.eng.btc.netapp.in'(736):
    - Start FCP service on storage system
f6070-184-101.lab.eng.btc.netapp.in (736) and refresh host information
either by executing 'dfm host discover'
CLI or navigate to 'Hosts > Storage Systems' page in
Management Console and press 'Refresh' button.

</dry-run-suggestion>
         </dry-run-result>
       </dry-run-results>
       <conformance-alerts />
       <is-provisioning-failure>true</is-provisioning-failure>
     </output>
   </response>
 </responses>
</netapp-storage-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Orchestration Content 23.1