A.3 addAccessHost

Adds an access host to an ISCSI server.

Syntax

addAccessHost StorageArray instance accessHost=value [ accessPort=value ] [ accessUsername=value accessPassword=value ]

Where instance is:

{ id=value | name=value }

Description

This command adds an access host to an ISCSI storage array. Adding more than one access host provides multiple network paths to the storage. Create an access host for each path when using multipathing. At least one access host must be set. This is not applicable to fibre channel storage. To remove an access host, use the removeAccessHost command.

Options

The following table shows the available options for this command.

Option

Description

accessHost=value

The hostname or IP address for the access host.

accessPort=value

The port on which to connect to the access host. The default port of 3260 is used if no value is provided.

accessUsername=value

The username to use when using CHAP authentication.

accessPassword=value

The password for the accessUsername user.

{ id=value | name=value }

The instance of the object using either the id or name option, for example name=MyISCSIServer.

Examples

Example A.3 Adding a storage array access host

OVM> addAccessHost StorageArray name=MyISCSIServer accessHost=10.172.76.131

See Also