Managed Object - VimHostVsanStretchedClusterSystem(vim.host.VsanStretchedClusterSystem)

See also
VimHostVSANCmmdsPreferredFaultDomainInfo, VimHostVSANStretchedClusterHostCapability, VimHostVSANStretchedClusterHostInfo
Since
vSphere API 6.0


Managed Object Description

Properties

Name Type Description
None

Methods

Methods defined in this Managed Object
VSANClusterGetPreferredFaultDomain, VSANHostAddUnicastAgent, VSANHostGetStretchedClusterCapability, VSANHostGetStretchedClusterInfoFromCmmds, VSANHostListUnicastAgent, VSANHostRemoveUnicastAgent, VSANWitnessJoinVsanCluster, VSANWitnessLeaveVsanCluster, VSANWitnessSetPreferredFaultDomain

VSANClusterGetPreferredFaultDomain(clusterGetPreferredFaultDomain)

ClusterGetPreferredFaultDomain - Get preferred fault domain info for a stretched cluster.
Required Privileges
System.Read

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VimHostVsanStretchedClusterSystem used to make the method call.

Return Value

Type Description
VimHostVSANCmmdsPreferredFaultDomainInfoVSANCmmdsPreferredFaultDomainInfo

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



VSANHostAddUnicastAgent(addUnicastAgent)

AddUnicastAgent - Add unicast agent address(witness host address) to HostSystem. When overwrite is set to true, it will simply overwrite existing unicast agent address if any. If not set, "overwrite" will take default value false.
Required Privileges
System.Read

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VimHostVsanStretchedClusterSystem used to make the method call.
witnessAddressxsd:string


witnessPort*xsd:int

Since vSphere API 6.0
overwrite*xsd:boolean

Since vSphere API 6.0
*Need not be set

Return Value

Type Description
None

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



VSANHostGetStretchedClusterCapability(getStretchedClusterCapability)

GetStretchedClusterCapability - Get the capability of stretched cluster installed on the host. Currently only version "1.0" is returned. It might be changed when finalizing the versioning method.
Required Privileges
System.Read

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VimHostVsanStretchedClusterSystem used to make the method call.

Return Value

Type Description
VimHostVSANStretchedClusterHostCapabilityvim.host.VSANStretchedClusterHostCapability

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



VSANHostGetStretchedClusterInfoFromCmmds(getStretchedClusterInfoFromCmmds)

GetStretchedClusterInfoFromCmmds - Get stretched cluster information by querying CMMDS on a host
Required Privileges
System.Read

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VimHostVsanStretchedClusterSystem used to make the method call.

Return Value

Type Description
VimHostVSANStretchedClusterHostInfo[]Array of collected stretched cluster info from CMMDS

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



VSANHostListUnicastAgent(listUnicastAgent)

ListUnicastAgent - List existing unicast agent configured on non-witness host
Required Privileges
System.Read

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VimHostVsanStretchedClusterSystem used to make the method call.

Return Value

Type Description
xsd:stringstring representation of unicast agent

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



VSANHostRemoveUnicastAgent(removeUnicastAgent)

RemoveUnicastAgent - Remove unicast agent address(witness host address) from the host. If ignoreExistence is set to true, it will not throw any error when there is no such unicast agent address. If not set, it will take the default value false.
Required Privileges
System.Read

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VimHostVsanStretchedClusterSystem used to make the method call.
witnessAddressxsd:string


ignoreExistence*xsd:boolean

Since vSphere API 6.0
*Need not be set

Return Value

Type Description
None

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



VSANWitnessJoinVsanCluster(witnessJoinVsanCluster)

WitnessJoinVsanCluster - Add a host as witness node to Virtual SAN cluster. The new node must be connected and managed by current vCenter Server, and not part of current vc cluster. When disableVsanAllowed is true, and when witness host is current have Virtual SAN enabled, it will first disable the Vsan on the cluster. Otherwise it will throw exceptions. If the disableVsanAllowed is not set, it will take its default value False.
Required Privileges
System.Read

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VimHostVsanStretchedClusterSystem used to make the method call.
clusterUuidxsd:string


preferredFdxsd:string


disableVsanAllowed*xsd:boolean

Since vSphere API 6.0
*Need not be set

Return Value

Type Description
None

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



VSANWitnessLeaveVsanCluster(witnessLeaveVsanCluster)

WitnessLeaveVsanCluster - Remove a host from Virtual SAN cluster.
Required Privileges
System.Read

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VimHostVsanStretchedClusterSystem used to make the method call.

Return Value

Type Description
None

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



VSANWitnessSetPreferredFaultDomain(witnessSetPreferredFaultDomain)

WitnessSetPreferredFaultDomain - Set preferred fault domain for a stretched cluster.
Required Privileges
System.Read

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VimHostVsanStretchedClusterSystem used to make the method call.
preferredFdxsd:string



Return Value

Type Description
None

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