NAME
Set-DcsvCenterMultipathPolicy
SYNOPSIS
Sets the VMware multipathing policy (path selection policy) for a virtual disk that is served to a VMware host or virtual machine.
SYNTAX
Set-DcsvCenterMultipathPolicy -VimClient <Object> -VirtualDisk <Object> [ -MultipathPolicy <VimMultipathPolicy> ] [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Sets the VMware multipathing policy (path selection policy) for a virtual disk that is served to a VMware host or virtual machine. If the policy is not specifically set, the default policy of Round Robin will be used.
PARAMETERS
- -VimClient<Object>
- VimHostData object, name, or ID that identifies the ESXi host or virtual machine. (The VimHostData object can be retrieved from invoking Get-DcsClient.)
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -VirtualDisk<Object>
- VirtualDiskData object, name, or ID that identifies the virtual disk.
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: true (ByValue)
- Accept wildcard characters: false
-
- -MultipathPolicy<VimMultipathPolicy>
- The VMware path selection policy to use. Valid values include "MostRecentlyUsed", "RoundRobin", "Fixed", and "FixedAP".
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Connection<String>
- Alias of the connection to the server group. If not specified, the default connection will be used.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -PipelineVariable<String>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
INPUTS
VirtualDiskData : Object that identifies and describes the virtual disk.
OUTPUTS
NOTES
Also see Get-DcsVirtualDisk, Get-DcsClient and Set-DcsClientProperties to set multipathing and ALUA properties for a virtual machine.
EXAMPLES
Set-DcsvCenterMultipathPolicy -VimClient "audi.datacoresoftware.com" -VirtualDisk "Virtual disk 1" -MultipathPolicy Fixed
The path selection policy for the virtual disk named "Virtual disk 1" that is served to the VMware host named "audi.datacoresoftware.com" is set to "Fixed".