Operation: delete-storage-pool

Home  Previous  Next

The delete-storage-pool operation sends a request to the EMC SMI-S Provider to remove an existing storage pool.

warningUse cautiously because all LUNs that belong to the storage pool and their corresponding data will be destroyed.

Adapter Request Elements for 'delete-storage-pool' Operation

 

Definition

Required

operation-name

Specifies the name of the operation you want to perform.

Valid value: delete-storage-pool.

Yes

arguments

Parent element for <argument> element.

Yes

argument

Specifies a list of arguments that is required for this operation

Yes

target

Specifies the connection information for an EMC SMI-S Provider.

Valid value: The value specified for <target> element must be the same as the value that has been specified for the name attribute of <config> element in the adapter configuration. You can skip this element. In this case the request will be executed on the first defined adapter configuration. You can leave this element empty. In this case the request will be executed on the first defined adapter configuration.
Default value: The first defined adapter configuration.

No

timeout-secs

Specifies the time in seconds after which the attempt to connect to the EMC SMI-S Provider times out. The "timeout-secs" specified in adapter request overrides the value specified in adapter configuration.

Valid value: A numeric value which specifies the time in seconds.
Default Value: 180, if no "timeout-secs" is provided in adapter configuration.

No

You can specify one or more of the following elements to retrieve specific information. If none of the elements is specified, then all the details are fetched.

storage-system-name

Specifies the user defined storage system name.

Valid value: Please refer to the get-storage-system operation to list the valid values of this field.
Default value: None.

No

raid-group

or

thin-pool

Specifies the RAID group name or thin-pool name to be deleted.

Valid value: None
Default value: None

No

synchronous

Wait until the job completes.

Valid value: yes | no
Default value: yes

No

job-completion-timeout-secs

Specifies the time in seconds after which the attempt to complete the job times out.

Valid value: A numeric value which specifies the time in seconds.
Default Value: 180 seconds

No

Sample Adapter Request for 'delete-storage-pool' Operation

<emc-storage-request>

  <operation-name>delete-storage-pool</operation-name>

  <arguments>

    <argument>

      <storage-system-name>CLARiiON+CKM00083900053</storage-system-name>

      <raid-group>0003</raid-group>     

      <synchronous>yes</synchronous>

      <job-completion-timeout-secs>180</job-completion-timeout-secs>

    </argument>

  </arguments>

</emc-storage-request>

Adapter Response Elements for 'delete-storage-pool' Operation

 

Description

storage-system-name

Name of the storage system.

raid-group

Name of the RAID group.

job-id

Number identifying the job.

job-status

Status of the job.

job-status-description

Detailed information about the job status.

Sample Adapter Response for 'delete-storage-pool' Operation

<emc-storage-response>

  <metadata>

    <status>success</status>

    <response-count>1</response-count>

  </metadata>

  <responses>

    <response>

      <metadata>

        <status>success</status>

        <execution-milliseconds>25422</execution-milliseconds>

        <line-count>7</line-count>

        <target>pythagoras-p27p</target>

        <config-name>pythagoras-p27p</config-name>

      </metadata>

      <output>

        <storage-pools>

          <storage-pool>

            <storage-system-name>CLARiiON+CKM00083900053</storage-system-name>

            <raid-group>0003</raid-group>

            <job-id>260920567</job-id>

            <job-status>Completed</job-status>

            <job-status-description>Completed – Storage pool Delete</job-status-description>

          </storage-pool>

        </storage-pools>

      </output>

    </response>

  </responses>

</emc-storage-response>