Adds a new host to the StorMan repository.
Syntax
|
Parameters
–name hostname
Specifies the name of the host.
Refer to the common description of ”hostname” in chapter "Common supported value ranges".
–ip ip[,...]
Specifies a list of IP addresses delimited by comma. If no hostname is specified, one of the IP addresses is used as unique identifier.
–wwpn wwpn[,...]
Specifies a list of WWPNs delimited by comma.
–iqn iqn[,...]
Specifies a list of IQNs for iSCSI connected storage delimited by comma.
–connectparam
Refer to the description of the "Connection parameters".
At least one of the parameters –name
or –ip
must be specified and have a non-empty value.
Return codes
Error Code | Name | Error Type |
0 |
| Function successful |
3 |
| Version not supported |
7 |
| Specified parameters invalid |
13 |
| Error in StorMan communication between client and server |
16 |
| Unexpected error in function |
20 |
| Object already exists in repository |
36 |
| User / password for StorMan not valid |