Operation: remove-lun-from-storage-group

Home  Previous  Next

The remove-lun-from-storage-group operation prevents hosts from accessing a specific volume (as defined in an existing Storage Group).

Adapter Request Elements for 'remove-lun-from-storage-group' Operation

 

Definition

Required

operation-name

Specifies the name of the operation you want to perform.

Valid value: remove-lun-from-storage-group.

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.

Yes

lun-name

Specifies the user defined LUN name.

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

Yes

storage-group-name

Specifies the storage group name from which LUN lun must be removed.

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

Yes

synchronous

Specifies whether to wait until the job completes. Any action performed by EMC SMI-S provider results in creating a job. If the 'synchronous' element is set to yes, the adapter will wait until the job completes. Otherwise the job will be queued.

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 'remove-lun-from-storage-group' Operation

<emc-storage-request>

    <operation-name>remove-lun-from-storage-group</operation-name>

    <arguments>

      <argument>

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

        <lun-name>00013</lun-name>

        <storage-group-name>PC02 Group 3</storage-group-name>

      </argument>

    </arguments>

  </emc-storage-request>

Adapter Response Elements for 'remove-lun-from-storage-group' Operation

 

Description

storage-system-name

Name of the storage system.

lun-name

Name of the LUN

remove-lun-status

Status of the operation.

Sample Adapter Response for 'remove-lun-from-storage-group' Operation

<emc-storage-response>

  <metadata>

    <status>success</status>

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

  </metadata>

  <responses>

    <response>

      <metadata>

        <status>success</status>

        <execution-milliseconds>26719</execution-milliseconds>

        <line-count>4</line-count>

        <target>pythagoras-p27p</target>

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

      </metadata>

      <output>

        <storage-groups>

          <storage-group>

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

            <storage-system-name>PC02 Group 3</storage-system-name>

            <lun-name>00013</lun-name>

            <remove-lun-status>0 (Success)</remove-lun-status>

          </storage-group>

        </storage-groups>

      </output>

    </response>

  </responses>

</emc-storage-response>