Click or drag to resize

ISolidFireElementRemoveNodesAsync Method (CancellationToken, Int64, NullableBoolean)

RemoveNodes can be used to remove one or more nodes from the cluster. Before removing a node, you must remove all drives from the node using the RemoveDrives method. You cannot remove a node until the RemoveDrives process has completed and all data has been migrated off of the node's drives. After removing a node, the removed node registers itself as a pending node. You can add the pending node again or shut it down (shutting the node down removes it from the Pending Node list). RemoveNodes can fail with xEnsembleInvalidSize if removing the nodes would violate ensemble size restrictions. RemoveNodes can fail with xEnsembleQuorumLoss if removing the nodes would cause a loss of quorum. RemoveNodes can fail with xEnsembleToleranceChange if there are enabled data protection schemes that can tolerate multiple node failures and removing the nodes would decrease the ensemble's node failure tolerance. The optional ignoreEnsembleToleranceChange parameter can be set true to disable the ensemble tolerance check.

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
Task<RemoveNodesResult> RemoveNodesAsync(
	CancellationToken cancellationToken,
	long[] Nodes,
	Nullable<bool> IgnoreEnsembleToleranceChange = null
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
Nodes
Type: SystemInt64
IgnoreEnsembleToleranceChange (Optional)
Type: SystemNullableBoolean

Return Value

Type: TaskRemoveNodesResult
See Also