Managed Object - VimClusterVsanVcDiskManagementSystem(vim.cluster.VsanVcDiskManagementSystem)

See also
ClusterComputeResource, HostMaintenanceSpec, HostSystem, Task, VimVsanDataEfficiencyCapacityState, VimVsanHostDiskMapInfoEx, VimVsanHostDiskMappingCreationSpec, VimVsanHostVsanHostCapability, VsanHostDiskMapping
Since
vSphere API 6.0


Managed Object Description

VimClusterVsanVcDiskManagementSystem enhances vSAN disk management part, provides vSAN all flash disk group support, exposes more detailed information of vSAN disk group, helps on configure and manage vSAN disk group.
It deprecates APIs AddDisks_Task and InitializeDisks_Task, exposes VimVsanHostDiskMapInfoEx through API QueryDiskMappings, to present whether a disk group is all flash, and whether deduplication and compression is enabled on this disk group, and deprecates diskMapping exposed by Config.
The ManagedEntity can be accessed through MOID of vsan-disk-management-system, through vSAN service at vCenter server side.

Properties

Name Type Description
None

Methods

Methods defined in this Managed Object
InitializeDiskMappings, QueryClusterDataEfficiencyCapacityState, QueryDiskMappings, RebuildDiskMapping, RetrieveAllFlashCapabilities

InitializeDiskMappings(initializeDiskMappings)

This API is used to create new vSAN disk groups or attach more disks into existing vSAN disk group on specified host. It deprecates APIs AddDisks_Task and InitializeDisks_Task, to support creating both hybrid and all flash disk group. Scsi disks eligible for vSAN service, could be retrieved through API QueryDisksForVsan.
Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VimClusterVsanVcDiskManagementSystem used to make the method call.
spec PVimVsanHostDiskMappingCreationSpec

The specification to create vSAN disk group. Please reference to VimVsanHostDiskMappingCreationSpec;

Since vSphere API 6.0
P Required privilege: spec

Return Value

Type Description
ManagedObjectReference
to a Task

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
VsanFaultThrown if below issues exist:
  1. Specified host doesn't exist;
  2. User doesn't have Host.Config.Storage privilege on specified host;
  3. Specified host is not connected to vCenter server;
  4. If requests to create all flash disk group but host's ESX software doesn't support this feature;
  5. If requests to create all flash disk group but host is not licensed to support this feature;
  6. If requests to append disks to existing disk group, but specified more than one disks for cache tier;
  7. If none of specified disks for capacity tier is eligible for vSAN;

Events

Type
None

Show WSDL type definition



QueryClusterDataEfficiencyCapacityState(queryClusterDataEfficiencyCapacityState)

Retrieve logical capacity, logical capacity used, physical capacity, physical capacity used and data efficiency metadata of a data efficiency enabled cluster.
Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VimClusterVsanVcDiskManagementSystem used to make the method call.
cluster PManagedObjectReference
to a ClusterComputeResource

The target cluster.

Since vSphere API 6.0
P Required privilege: cluster

Return Value

Type Description
VimVsanDataEfficiencyCapacityState

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
VsanFault

Events

Type
None

Show WSDL type definition



QueryDiskMappings(queryDiskMappings)

Get detailed information of vSAN disk groups managed by specified host, for each disk group, includes: Disk structure, presents as disk for cache tier, and disks for capacity tier; Whether is in-use for vSAN I/O by this host; Whether is all flash disk group; Whether vSAN deduplication and compression are enabled on this disk group.
Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VimClusterVsanVcDiskManagementSystem used to make the method call.
host PManagedObjectReference
to a HostSystem

Target host to query.

Since vSphere API 6.0
P Required privilege: host

Return Value

Type Description
VimVsanHostDiskMapInfoEx[]List of DiskMapInfoEx, please reference to VimVsanHostDiskMapInfoEx.

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
VsanFaultThrown if below issues exist:
  1. Specified host doesn't exist;
  2. Specified host is not connected to vCenter server;
  3. Any unexpected runtime error;

Events

Type
None

Show WSDL type definition



RebuildDiskMapping(rebuildDiskMapping)

This API is used to rebuild an existing vSAN disk mapping on the specified host. Rebuild disk mapping is done in two steps: 1. remove the existing disk mapping with user specified data evacuation mode; 2. re-create a new disk mapping with the same set of disks. Removal of a disk mapping may cause data movement so a disk data evacuation resource check vim.vsan.VsanResourceCheckSystem#PerformResourceCheck will be done before removing the disk mapping.
Required Privileges
None
Since
vSAN API vSAN 6.7U1

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VimClusterVsanVcDiskManagementSystem used to make the method call.
host PManagedObjectReference
to a HostSystem

Target host to rebuild.

Since vSAN API vSAN 6.7U1
mapping PVsanHostDiskMapping

The disk mapping to be rebuilt from VSAN usage.

Since vSAN API vSAN 6.7U1
maintenanceSpec PHostMaintenanceSpec

Specifies the data evacuation mode.

Since vSAN API vSAN 6.7U1
PRequired privilege - see tooltip for details

Return Value

Type Description
ManagedObjectReference
to a Task

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
VsanFaultThrown if below issues exist:
  1. Specified host doesn't exist;
  2. User doesn't have Host.Config.Storage privilege on specified host;
  3. Specified host is not connected to vCenter server;
  4. Resource check completes with "red" status;

Events

Type
None

Show WSDL type definition



RetrieveAllFlashCapabilities(retrieveAllFlashCapabilities)

Retrieve capabilities for hosts reside in specified cluster, to figure out whether all flash disk group is supported by hosts' ESXi softwares, and whether they are licensed.
Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VimClusterVsanVcDiskManagementSystem used to make the method call.
cluster PManagedObjectReference
to a ClusterComputeResource

Target cluster, of which hosts' capabilities will be queried;

Since vSphere API 6.0
P Required privilege: cluster

Return Value

Type Description
VimVsanHostVsanHostCapability[]vim.vsan.host.VsanHostCapability[]

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
VsanFault

Events

Type
None

Show WSDL type definition