Share via


PersistentState

Specifies whether a group should be automatically brought online when the cluster forms. The following table summarizes the attributes of the PersistentState property.

Attribute Value
Data type DWORD
Access Read/write
Structure CLUSPROP_DWORD
Minimum FALSE (0)
Maximum TRUE (1)
Default FALSE

Remarks

Set PersistentState to TRUE (1) for any group that should be automatically brought online when the cluster forms (for information on the form/join process, see Nodes). The default value is FALSE (0) which means that the group is left offline when the cluster forms.

Resources use their group's PersistentState property when they lack a value for their own PersistentState property.

Examples

The property value portion of a property list entry for PersistentState can be set with the following example code.

DWORD PersistentStateData = FALSE;
CLUSPROP_DWORD PersistentStateValue;

PersistentStateValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
PersistentStateValue.cbLength = sizeof(DWORD);
PersistentStateValue.dw = PersistentStateData;

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter

See also

CLUSPROP_DWORD

PersistentState