PCLUSAPI_CREATE_CLUSTER_CNOLESS callback function

Creates a cluster without cluster name and IP Address resources. The allows you to create clusters that are domain joined but not managed by Active Directory, and clusters that are not members of a domain. PCLUSAPI_CREATE_CLUSTER_CNOLESS defines a pointer to this function.

Syntax

PCLUSAPI_CREATE_CLUSTER_CNOLESS PclusapiCreateClusterCnoless;

HCLUSTER PclusapiCreateClusterCnoless(
  PCREATE_CLUSTER_CONFIG pConfig,
  PCLUSTER_SETUP_PROGRESS_CALLBACK pfnProgressCallback,
  PVOID pvCallbackArg
)
{...}

Parameters

pConfig

A pointer to the CREATE_CLUSTER_CONFIG structure that contains the cluster configuration.

pfnProgressCallback

A pointer to the ClusterSetupProgressCallback callback function that receives the status of updates to the cluster.

pvCallbackArg

Callback function arguments for the pfnProgressCallback parameter.

Return Value

A handle to the new cluster or NULL. A non NULL value does not indicate success (even if all nodes are added to the cluster, the IP Address or Network Name resource creation can fail). After a failure, you should check the parameters passed through the pfnProgressCallback parameter.

Remarks

To create clusters that are not domain joined, an non-domain account must have permission to manage the cluster remotely.

Requirements

   
Windows version None supported Windows Server 2016
Target Platform Windows
Header clusapi.h

See Also

Failover Cluster Management Functions