MSFT_ReplicationGroup class

Represents a consistency grouping of storage replicas.

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

Syntax

class MSFT_ReplicationGroup : MSFT_StorageObject
{
  String FriendlyName;
  String Description;
  UInt16 HealthStatus;
  UInt16 OperationalStatus[];
};

Members

The MSFT_ReplicationGroup class has these types of members:

Methods

The MSFT_ReplicationGroup class has these methods.

Method Description
AddMember Adds members to this replication group.
CreateReplica Creates a replication relationship between replication groups.
DeleteObject Deletes an empty replication group.
GetReplicationSettings Returns the replication settings for this replication group.
RemoveMember Remove members from this replication group.
SetFriendlyName Sets the friendly name for the replication group.
SetReplicationRelationship Modifies the relationship between replication groups.
SetReplicationSettings Specifies the replication settings for this replication group.

Properties

The MSFT_ReplicationGroup class has these properties.

Description

Data type: String

Access type: Read-only

A user-friendly string representing the description of the replication group.

FriendlyName

Data type: String

Access type: Read-only

Qualifiers: Required

A user-friendly string representing the name of the replication group.

HealthStatus

Data type: UInt16

Access type: Read-only

Qualifiers: Required

Denotes the current health status of the replication group. The health of a group is derived from the health of the backing storage replicas.

Value Meaning
Healthy 0 All replicas are in a healthy state.
Warning 1 The majority of replicas are healthy, but one or more may be not fully synchronized.
Unhealthy 2 The majority of replicas are unhealthy or in a failed state.
Unknown 5

OperationalStatus

Data type: UInt16 array

Access type: Read-only

Indicates the current operating conditions of the group. Unlike HealthStatus, this field indicates the status of hardware, software, and infrastructure issues related to this group, and can contain multiple values.

Unknown (0)

Other (1)

OK (2)

Degraded (3)

Stressed (4)

Predictive Failure (5)

Error (6)

Non-Recoverable Error (7)

Starting (8)

Stopping (9)

Stopped (10)

In Service (11)

No Contact (12)

Lost Communication (13)

Aborted (14)

Dormant (15)

Supporting Entity in Error (16)

Completed (17)

Power Mode (18)

Relocating (19)

Microsoft Reserved (..)

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Namespace Root\Microsoft\Windows\Storage
MOF Storagewmi.mof

See also

MSFT_StorageObject