6.2.12.15 mkvolumeHAVIP

Create a block store virtual IP.

Purpose

The mkvolumeHAVIP command creates a block store high-availability (HA) virtual IP (VIP).

Syntax

mkvolumeHAVIP --attributes networkIPaddress=ip-address[,attribute=value] ...

Command Options

The options for the mkvolumeHAVIP command are:

  • --attributes: Specifies attribute settings for the block store VIP:

    • networkIPaddress: Specifies the IP address for the block store VIP. This attribute must be specified.

    • networkSubnet: Optionally specifies the network subnet mask.

    • networkGateway: Optionally specifies the network gateway.

    • networkBroadcast: Optionally specifies the network broadcast address.

    • name: Optionally specifies a name that you can use to identify the block store VIP.

    • networkType: Optionally specifies the network type. Valid values are client and storage.

Examples

Example 6-172 Create a Block Store VIP

The following example shows creating a block store VIP with just an IP address.

@> mkvolumeHAVIP --attributes networkIPaddress=192.0.2.21

Example 6-173 Create a Block Store VIP

The following example shows creating a block store VIP with an IP address and optional attributes.

@> mkvolumeHAVIP --attributes networkIPaddress=192.0.2.21,networkSubnet=24,networkBroadcast=192.0.2.255,networkGateway=192.0.2.0