|
The add-host-to-storage-group operation allows additional hosts to access LUNs member of an existing Storage Group. The operation is typically used when adding an HBA card to an existing server.
Adapter Request Elements for 'add-host-to-storage-group' Operation
|
|
|
|
operation-name
|
Specifies the name of the operation you want to perform.
| • | Valid value: add-host-to-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 associated to the storage group.
| • | Valid value: Any valid string. |
|
Yes
|
storage-group-name
|
Specifies the storage group name to which the host must be added.
| • | Valid value: Please refer to the get-storage-goup operation to list the valid values of this field. |
|
Yes
|
disconnect-host-from-other-group
|
If the specified host is associated with any other storage group, then this key value is set to ‘yes’ to disconnect the host from other storage group. This element is applicable only on CLARiiON disk arrays.
|
No
|
host-name
|
Specifies the host name of the wwn to be added.
| • | Valid value: Any valid string. |
|
No
|
host-ipaddress
|
Specifies the IP address of the of the wwn to be added.
| • | Valid value: any valid IP address |
|
No
|
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 'add-host-to-storage-group' Operation
<emc-storage-request>
<operation-name>add-host-to-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 'add-host-to-storage-group' Operation
|
|
|
storage-system-name
|
Name of the storage system.
|
wwn
|
WWN that belongs to the storage group.
|
add-host-status
|
Status of the operation.
|
Sample Adapter Response for 'add-host-to-storage-group' Operation
<emc-storage-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<status>success</status>
<execution-milliseconds>17749</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>
<add-host-status>0 (Success)</add-host-status>
</storage-group>
</storage-groups>
</output>
</response>
</responses>
</emc-storage-response>
|