Cicode Programming Reference > Cicode Function Categories > Cluster Functions Introduction > ClusterActivate

ClusterActivate

This function allows the user to activate an inactive cluster. When a cluster is made active, all data associated with that cluster is available to the client, and hardware alarms will occur if no connections can be made to the servers in the cluster.

Syntax

ClusterActivate(ClusterName)

ClusterName:

The name of the cluster to activate enclosed in quotation marks "".

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

ClusterDeactivate, ClusterFirst, ClusterGetName, ClusterIsActive, ClusterNext, ClusterServerTypes, ClusterSetName, ClusterStatus, ClusterSwapActive, TaskCluster

See Also

Cluster Functions

About cluster context