New-VsanIscsiVipConfig
This cmdlet creates a vSAN iSCSI virtual IP configuration object locally. This cmdlet is used to set an iSCSI virtual IP configuration in Set-VsanClusterConfiguration.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
IscsiVipEnabled | Boolean | named |
|
Specifies whether the vSAN iSCSI virtual IP configuration is enabled. |
optional | DVSwitchConfigPortGroup | String | named |
|
Specifies the distributed vSwitch configuration for Virtual IP vmkernel adapter,that is the port group MoRef for distributed vSwitch where the virtual IP vmkernel adapter is created This parameter is required to enable the virtual IP. |
optional | DVSwitchUuid | String | named |
|
Specifies the UUID of the distributed virtual switch on which the virtual IP vmkernel adapter is created. Either VSwitchConfigVSwitchName or DVSwitchUuid must be provided. |
optional | IPv4Address | String | named |
|
Specifies IPv4 address for virtual IP. IPv4Address and IPv4Subnet are both mandatory if IPv4 is to configure. |
optional | IPv4Gateway | String | named |
|
Specifies the gateway IP address for virtual IPv4. If you do not specify a value for this parameter, the default gateway is used. |
optional | IPv4Subnet | String | named |
|
Specifies the subnet information, namely the network mask, for the virtual IPv4. IPv4Address and IPv4Subnet are both mandatory if IPv4 is to configure. |
optional | IPv6Address | String | named |
|
Specifies IPv6 address for virtual IP. IPv6Address and IPv6Subnet are both mandatory if IPv6 is to configure. |
optional | IPv6Gateway | String | named |
|
Specifies the gateway IP address for virtual IPv6. If you do not specify a value for this parameter, the default gateway is used. |
optional | IPv6Subnet | String | named |
|
Specifies the subnet information, namely the prefix length, for the virtual IPv6. IPv6Address and IPv6Subnet are both mandatory if IPv6 is to configure. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | VSwitchConfigVSwitchName | String | named |
|
Specifies the standard vSwitch on which the Virtual IP vmkernel adapter is created. Either VSwitchConfigVSwitchName or DVSwitchUuid must be provided. |
optional | VSwitchConfigVlanId | Int32 | named |
|
Specifies the standard vSwitch configuration for Virtual IP vmkernel adapter, namely the VLAN ID for the Virtual IP vmkernel adapter. If no value is specified, the default value is used. The default value is "0". |
Output
VMware.VimAutomation.Storage.Types.V1.Vsan.VsanIscsiVipConfigurationExamples
Example 1
New-VsanIscsiVipConfig -IscsiVipEnabled 0
Creates a vSAN iSCSI virtual IP configuration object locally with disabled virtual IP configuration.
Example 2
New-VsanIscsiVipConfig -IscsiVipEnabled 1 -IPv4address "10.161.105.39" -IPv4Subnet "255.255.255.0" -VSwitchConfigSwitchName "vSwitch0"
Creates a vSAN iSCSI virtual IP configuration object locally with enabled virtual IP configuration and IPv4 configured.
Related Commands
VsanIscsiInitiatorGroup
This cmdlet retrieves vSAN iSCSI initiator groups.
This cmdlet adds a new vSAN iSCSI initiator group to a cluster.
This cmdlet removes the specified vSAN iSCSI initiator groups from their clusters.
This cmdlet modifies the specified vSAN iSCSI initiator groups.
VsanIscsiInitiatorGroupTargetAssociation
This cmdlet retrieves all pairs of associations between vSAN iSCSI targets and initiator groups, which have access to the corresponding targets.
This cmdlet associates the specified vSAN iSCSI initiator group with specified vSAN iSCSI target to provide access to the target.
This cmdlet removes the specified association of vSAN iSCSI initiator group and target.
VsanIscsiLun
This cmdlet retrieves the vSAN iSCSI LUNs from a cluster or target.
This cmdlet adds a new vSAN iSCSI LUN to a target.
This cmdlet removes vSAN iSCSI LUNs from their iSCSI targets.
This cmdlet modifies the specified vSAN iSCSI LUNs.
VsanIscsiTarget
This cmdlet retrieves vSAN iSCSI targets from clusters.
This cmdlet adds a new vSAN iSCSI target to a cluster.
This cmdlet removes vSAN iSCSI targets form their clusters.
This cmdlet modifies the settings of the specified vSAN iSCSI targets.
VsanIscsiVipConfig
This cmdlet creates a vSAN iSCSI virtual IP configuration object locally. This cmdlet is used to set an iSCSI virtual IP configuration in Set-VsanClusterConfiguration.