Operation: decommission-server

Home  Previous  Next

Adapter Request Elements for 'decommission-server' Operation

 

Definition

Required

storage-system-name

Specifies the storage system name from which the information has to be collected.

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

Yes

wwn or iqn

Specifies the name of the host(s) that must be unassociated from the storage group. If no other host is associated to this storage group then the storage group itself will be deleted. Also, if the lun is not associated to any storage group then the lun will be deleted.

Valid value: Any valid string of 16 hexadecimal digits
Default value: None.

Yes

Sample Adapter Request for 'decommission-server' Operation

<emc-storage-request>

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

    <arguments>

      <argument>

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

        <wwn>2100001B321E5A95</wwn>

        <wwn>2100001B321E1B98</wwn>

        <synchronous>yes</synchronous>

      </argument>

    </arguments>

  </emc-storage-request>

Sample Adapter Response for 'decommission-server' Operation

Response 1: delete-storage-group

<emc-storage-response>

  <metadata>

    <status>success</status>

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

  </metadata>

  <responses>

    <response>

      <metadata>

        <status>success</status>

        <execution-milliseconds>16860</execution-milliseconds>

        <line-count>6</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-group-name>EMC_SMI_1301327018861</storage-group-name>

            <wwns>

              <wwn>2100001B321E5A95</wwn>

              <wwn>2100001B321E1B98</wwn>

            </wwns>

            <luns>

              <lun>00013</lun>

              <lun>00014</lun>

            </luns>

            <delete-storage-group-status>0 (Success)</delete-storage-group-status>

          </storage-group>

        </storage-groups>

      </output>

    </response>

  </responses>

</emc-storage-response>] 

Response 2: create-storage-group

<emc-storage-response>

  <metadata>

    <status>success</status>

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

  </metadata>

  <responses>

    <response>

      <metadata>

        <status>success</status>

        <execution-milliseconds>18187</execution-milliseconds>

        <line-count>5</line-count>

        <target>pythagoras-p27p</target>

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

      </metadata>

      <output>

        <luns>

          <lun>

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

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

            <lun-name>00014</lun-name>

            <job-id>260920597</job-id>

            <job-status-description>Completed - Volume Delete</job-status-description>

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

          </lun>

        </luns>

      </output>

    </response>

  </responses>

</emc-storage-response>