SANtricity 11.8 Commands ( CA08871-194 ~ 196 )
Set host
The set host
command assigns a host to a host group or moves a host to a different host group.
Supported Series
This command applies to any individual storage system, including the HB2100/HB2200/HB2300, HB5100/HB5200, AB6100 and AB3100 series, as long as all SMcli packages are installed.
Roles
To execute this command on an HB2100/HB2200/HB2300, HB5100/HB5200, AB6100, or AB3100 storage system, you must have the Storage Admin role.
Context
You can also create a new host group and assign the host to the new host group with this command. The actions performed by this command depend on whether the host has individual mappings or does not have individual mappings.
Syntax
set host [hostName] hostGroup=("hostGroupName" | none | defaultGroup) userLabel="newHostName" hostType=(hostTypeIndexLabel | hostTypeIndexNumber)
Parameters
Parameter | Description |
---|---|
|
The name of the host that you want to assign to a host group. Enclose the host name in square brackets ([ ]). If the host name has special characters or numbers, you must enclose the host name in double quotation marks (" ") inside square brackets. |
|
The name of the host group to which you want to assign the host. (The following table defines how the command runs if the host does or does not have individual mappings.) Enclose the host group name in double quotation marks (" "). The |
|
The new host name. Enclose the host name in double quotation marks (" "). |
|
The index label or number of the host type for the host port. Use the |
Host Group Parameter | Host Has Individual Mappings | Host Does Not Have Individual Mappings |
---|---|---|
|
The host is removed from the present host group and is placed under the new host group defined by |
The host is removed from the present host group and is placed under the new host group defined by |
|
The host is removed from the host group as an independent partition and is placed under the root node. |
The host is removed from the present host group and is placed under the default group. |
|
The command fails. |
The host is removed from the present host group and is placed under the default group. |
Notes
When you use this command, you can specify one or more of the optional parameters.
For the names, you can use any combination of alphanumeric characters, hyphens, and underscores. Names can have a maximum of 30 characters.