A.3 addAccessHost

Adds an access host to an ISCSI server.

Syntax

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

Where instance is:

{ id=id | name=name }

Description

This command adds an access host to an ISCSI SAN server. 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=id | name=name }

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

Examples

Example A.3 Adding a SAN server access host

OVM> addAccessHost SanServer name=MyISCIServer accessHost=10.172.76.131

See Also