|
The remove-host-from-storage-group operation prevents a host (or a WWN) to access a set of LUNs (as defined in an existing Storage Group). This operation is typically used when removing (or replacing) an HBA card in a server.
Adapter Request Elements for 'remove-host-from-storage-group' Operation
|
|
|
|
operation-name
|
Specifies the name of the operation you want to perform.
| • | Valid value: remove-host-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. |
|
Yes
|
wwn or iqn
|
Specifies the name of the host(s) that must be un-associated from the storage group.
| • | Valid value: Any valid string. |
|
Yes
|
storage-group-name
|
Specifies the storage group name to which the host must be removed.
| • | Valid value: Any valid string. |
|
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.
|
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-host-from-storage-group' Operation
<emc-storage-request>
<operation-name>remove-host-from-storage-group</operation-name>
<arguments>
<argument>
<storage-system-name>CLARiiON+CKM00083900053</storage-system-name>
<storage-group-name>PC02 Group 3</storage-group-name>
<wwn>10000000C96EB8DA</wwn>
<disconnect-host-from-other-group>no</disconnect-host-from-other-group>
</argument>
</arguments>
</emc-storage-request>
Adapter Response Elements for 'remove-host-from-storage-group' Operation
|
|
|
storage-system-name
|
Name of the storage system.
|
wwn
|
WWN removed from the storage group.
|
remove-host-status
|
Status of the operation.
|
Sample Adapter Response for 'remove-host-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>15266</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>
<wwn>10000000C96EB8DA</wwn>
<remove-host-status>0 (Success)</remove-host-status>
</storage-group>
</storage-groups>
</output>
</response>
</responses>
</emc-storage-response>
|