Msvm_ReplicationStatistics class

Provides replication statistics for a virtual machine. These statistics cover the duration specified by the MonitoringStartTime and MonitoringInterval properties of the Msvm_ReplicationServiceSettingData class.

The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.

Syntax

[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_ReplicationStatistics : CIM_ManagedElement
{
  string   InstanceID;
  string   Caption;
  string   Description;
  string   ElementName;
  datetime StartStatisticTime;
  datetime EndStatisticTime;
  uint32   ReplicationSuccessCount;
  uint64   ReplicationSize;
  uint64   MaxReplicationSize;
  uint32   ReplicationLatency;
  uint32   ReplicationMissCount;
  uint32   MaxReplicationLatency;
  uint32   NetworkFailureCount;
  uint32   ReplicationFailureCount;
  uint64   PendingReplicationSize;
  uint32   ApplicationConsistentSnapshotFailureCount;
  uint32   ReplicationHealth;
  datetime LastTestFailoverTime;
};

Members

The Msvm_ReplicationStatistics class has these types of members:

Properties

The Msvm_ReplicationStatistics class has these properties.

ApplicationConsistentSnapshotFailureCount

Data type: uint32

Access type: Read-only

The total number of VSS snapshot failures.

Caption

Data type: string

Access type: Read-only

A short description of the object. This property is inherited from CIM_ManagedElement, and it is always set to Null.

Description

Data type: string

Access type: Read-only

A description of the object. This property is inherited from CIM_ManagedElement, and it is always set to Null.

ElementName

Data type: string

Access type: Read-only

A display name for the object. This property is inherited from CIM_ManagedElement, and it is always set to Null.

EndStatisticTime

Data type: datetime

Access type: Read-only

The time, in UTC, when the Hyper-V Replica service stopped gathering replication statistics data. At this time, a new replication statistics cycle starts.

InstanceID

Data type: string

Access type: Read-only

Qualifiers: Key

Uniquely identifies an instance of this class. This property is inherited from CIM_ManagedElement, and it is always set to Null.

LastTestFailoverTime

Data type: datetime

Access type: Read-only

Indicates the last time a test replica system was created for a replication enabled virtual machine on the recovery server.

MaxReplicationLatency

Data type: uint32

Access type: Read-only

The maximum amount of time taken to complete a single replication cycle, in seconds.

MaxReplicationSize

Data type: uint64

Access type: Read-only

Maximum replication data transferred to the recovery host system, in bytes. This represents the maximum size of replication data sent over a single cycle for this interval.

NetworkFailureCount

Data type: uint32

Access type: Read-only

The total number of network errors encountered for the replication channel with recovery host system.

PendingReplicationSize

Data type: uint64

Access type: Read-only

The size of the data for a pending replication, in bytes.

ReplicationFailureCount

Data type: uint32

Access type: Read-only

The total number of replication failures. This includes errors for replication operation.

ReplicationHealth

Data type: uint32

Access type: Read-only

The replication health for the virtual machine. This will be one of the following values.

Not applicable (0)

Ok (1)

Warning (2)

Critical (3)

ReplicationLatency

Data type: uint32

Access type: Read-only

Total replication latency while transferring the data to the recovery host system, in seconds.

ReplicationMissCount

Data type: uint32

Access type: Read-only

The number of missed replication cycles. This can be because of heavy workload, network issues, or replication errors.

ReplicationSize

Data type: uint64

Access type: Read-only

The total amount of replication data transferred to the recovery host system, in bytes.

ReplicationSuccessCount

Data type: uint32

Access type: Read-only

The total number of successful replications for the virtual machine.

StartStatisticTime

Data type: datetime

Access type: Read-only

The time, in UTC, when the Hyper-V Replica service started gathering replication statistics data.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Namespace
Root\Virtualization\V2
MOF
WindowsVirtualization.V2.mof
DLL
Vmms.exe