ICluster::ApproveNode method

Approves the addition of the specified node to the cluster.

Syntax

HRESULT ApproveNode(
  [in] BSTR NodeName
);

Parameters

  • NodeName [in]
    The name of the node. Do not use the fully qualified domain name. The node has to be in the same domain as the head node that you connected to.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, call the ICluster::get_ErrorMessage method.

Remarks

You call this method to approve nodes whose status is NodeStatus_Pending. To get a list of compute nodes, call the ICluster::get_ComputeNodes method. To determine a node's status, call the INode::get_Status method.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

ICluster

ICluster::PauseNode

ICluster::ResumeNode

NodeStatus