Поделиться через


MSCluster_EventClusterCallback class

TBD

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[Dynamic, Provider("MS_CLUSTER_PROVIDER"), UUID("{5F9229F6-DF68-4115-818A-315A8AF93AA7}"), AMENDMENT]
class MSCluster_EventClusterCallback : MSCluster_Event
{
  uint8  SECURITY_DESCRIPTOR[];
  uint64 TIME_CREATED;
  uint32 EventTypeMajor;
  uint32 EventTypeMinor;
  string EventObjectName;
  uint32 EventObjectType;
  string EventObjectPath;
  sint32 SetupPhase;
  sint32 PhaseType;
  sint32 PhaseSeverity;
  sint32 PercentComplete;
  string ObjectName;
  sint32 Status;
};

Members

The MSCluster_EventClusterCallback class has these types of members:

Properties

The MSCluster_EventClusterCallback class has these properties.

EventObjectName

Data type: string

Access type: Read-only

Provides the name of the object to which this event applies.

This property is inherited from MSCluster_Event.

EventObjectPath

Data type: string

Access type: Read-only

Provides the WMI path of the object to which this event applies.

This property is inherited from MSCluster_Event.

EventObjectType

Data type: uint32

Access type: Read-only

0

Handle

1

Cluster

2

Node

3

Group

4

Resources

5

Resource type

6

Network

7

Network interface

8

Registry

9

Quorum

Provides the type of object to which this event applies.

This property is inherited from MSCluster_Event.

EventTypeMajor

Data type: uint32

Access type: Read-only

Provides the major event category. A value of 0 indicates an event returned by GetClusterNotify.

This property is inherited from MSCluster_Event.

EventTypeMinor

Data type: uint32

Access type: Read-only

Provides the subtype within the major category. When the EventTypeMajor property is 0, this subtype contains the cluster event value that GetClusterNotify returns.

This property is inherited from MSCluster_Event.

ObjectName

Data type: string

Access type: Read-only

Provides the name of the object.

PercentComplete

Data type: sint32

Access type: Read-only

Provides the amount as a percent complete.

Range: 0 100

PhaseSeverity

Data type: sint32

Access type: Read-only

Provides the current phase severity using a value from the CLUSTER_SETUP_PHASE_SEVERITY enumeration.

1

Indicates that this phase of the cluster setup can complete successfully.

2

Indicates that this phase of the cluster setup can complete, with a warning.

3

Indicates that this phase of the cluster setup process cannot complete successfully.

PhaseType

Data type: sint32

Access type: Read-only

Provides the current phase type using a value from the CLUSTER_SETUP_PHASE_TYPE enumeration.

1

Indicates the start of a new setup phase as provided by the SetupPhase property.

2

Indicates the continuation of a setup phase as provided by the SetupPhase property.

3

Called once at the end of every setup phase as provided by the SetupPhase property.

SECURITY_DESCRIPTOR

Data type: uint8 array

Access type: Read-only

Descriptor used by the event provider to determine which users can receive the event. This property is inherited from __Event. For more information about constants used to set this security descriptor, see WMI Security Constants.

SetupPhase

Data type: sint32

Access type: Read-only

Provides the current setup phase using a value enumerated from the CLUSTER_SETUP_PHASE enumeration.

1

Initialize cluster setup.

100

Validate cluster nodes.

102

Validate cluster networks.

103

Validate cluster disks.

104

Configure cluster service.

105

Start cluster service.

106

Query cluster name.

107

Validate cluster name.

108

Create cluster account.

109

Configure cluster account.

200

Form the cluster.

201

Add properties to cluster.

202

Create resource types.

203

Create resource groups.

204

Create IP address resources.

205

Create network name.

206

Bring cluster groups online.

300

Get current cluster membership.

301

Add node to cluster membership.

302

Start node.

400

Move group to another node.

401

Delete group from cluster.

402

Clean up offline group.

403

Move group offline.

404

Remove a node from the cluster.

405

Return node to pre-clustered state.

406

Return core resource group to pre-clustered state.

999

Return failed resource to pre-clustered state.

Status

Data type: sint32

Access type: Read-only

Provides the status.

TIME_CREATED

Data type: uint64

Access type: Read-only

Unique value that indicates the time at which the event was generated. This is a 64-bit value that represents the number of 100-nanosecond intervals after January 1, 1601. The information is in the Coordinated Universal Times (UTC) format. This property is inherited from __Event.

For more information about using uint64 values in scripts, see Scripting in WMI.

Remarks

The MSCluster_EventClusterCallback class is derived from the MSCluster_Event class.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\MSCluster
MOF
ClusWmi.mof
DLL
ClusWMI.dll

See also

Failover Cluster Provider Reference

MSCluster_Event

CLUSTER_SETUP_PHASE

CLUSTER_SETUP_PHASE_TYPE

CLUSTER_SETUP_PHASE_SEVERITY

ClusterSetupProgressCallback