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.

Combined Privileges Required (on vSphere ManagedEntity):
Privileges Required on
Host.Config.Storage ClusterComputeResource
* The RootFolder entity in above table refers to the vCenter server itself in the vCenter UI
* The ClusterComputeResource entity in above table refers to the cluster which is being operated on

* The Required Privileges section below is not used, please ignore.
Required Privileges
System.Read

Parameters

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

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

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.

Combined Privileges Required (on vSphere ManagedEntity):
Privileges Required on
System.Read ClusterComputeResource
* The RootFolder entity in above table refers to the vCenter server itself in the vCenter UI
* The ClusterComputeResource entity in above table refers to the cluster which is being operated on

* The Required Privileges section below is not used, please ignore.
Required Privileges
System.Read

Parameters

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

The target 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.

Combined Privileges Required (on vSphere ManagedEntity):
Privileges Required on
System.Read ClusterComputeResource
* The RootFolder entity in above table refers to the vCenter server itself in the vCenter UI
* The ClusterComputeResource entity in above table refers to the cluster which is being operated on

* The Required Privileges section below is not used, please ignore.
Required Privileges
System.Read

Parameters

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

Target host to query.

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 existing vSAN disk mapping on specified host. It will firstly remove the existing disk mapping with user specified data evacuation mode, and then create new disk mapping on same disks.

Combined Privileges Required (on vSphere ManagedEntity):
Privileges Required on
Host.Config.Storage ClusterComputeResource
* The RootFolder entity in above table refers to the vCenter server itself in the vCenter UI
* The ClusterComputeResource entity in above table refers to the cluster which is being operated on

* The Required Privileges section below is not used, please ignore.
Required Privileges
System.Read
Since
vSAN API vSAN 6.7U1

Parameters

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

Target host to rebuild.
mappingVsanHostDiskMapping

The disk mapping to be rebuilt from VSAN usage.
maintenanceSpecHostMaintenanceSpec



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;

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.

Combined Privileges Required (on vSphere ManagedEntity):
Privileges Required on
System.Read ClusterComputeResource
* The RootFolder entity in above table refers to the vCenter server itself in the vCenter UI
* The ClusterComputeResource entity in above table refers to the cluster which is being operated on

* The Required Privileges section below is not used, please ignore.
Required Privileges
System.Read

Parameters

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

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

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