Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

storcfg host -add

&pagelevel(5)&pagelevel

Adds a new host to the StorMan repository.

Syntax

storcfg host –add { –name hostname | –ip ip[,...] } [ –wwpn wwpn[,...] ] [ –iqn iqn[,...] ] connectparam ...

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

STORMAN_OK

Function successful

3

STORMAN_VER_NOT_SUPP

Version not supported

7

STORMAN_INV_PARAMETERS

Specified parameters invalid

13

STORMAN_COMMUNIC_ERROR

Error in StorMan communication between client and server

16

STORMAN_FAULT

Unexpected error in function

20

STORMAN_ALREADY_EXISTS

Object already exists in repository

36

STORMAN_AUTH_FAILED

User / password for StorMan not valid