Name: SyncReplStateInfo

Represents Synchronous Replication state information from one VMstore.

Data Structure
{
   "typeId": "com.tintri.api.rest.v310.dto.domain.beans.syncrepl.SyncReplStateInfo",
   "host": <String>,
   "isConnectedToPeer": <Boolean>,
   "isPrimary": <Boolean>,
   "lastUpdatedTime": DateTime,
   "replicationIp": <String>,
   "state": 'IN_SYNC' | 'PAUSED' | 'RESYNCING' | 'ERROR' | 'INITIALIZING' | 'DELETION_IN_PROGRESS' | 'DELETED' | 'UNKNOWN' | 'OUT_OF_SERVICE',
   "status": 'OK' | 'INFO' | 'WARNING' | 'MAJOR' | 'CRITICAL',
   "error": SyncReplError,
   "inSyncTimePercent": <Number>,
   "primaryInfo": SyncReplVmstoreInfo,
   "quorumServerStateInfo": QuorumServerStateInfo,
   "resyncStats": SyncReplResyncStats,
   "secondaryInfo": SyncReplVmstoreInfo,
}

Elements
NameTypeDescription
errorSyncReplErrorThe detail error information of this synchronous replication configuration.
inSyncTimePercentxsd:doubleTgcOnly Percentage of time a service group is in sync using synchronous replication
primaryInfoSyncReplVmstoreInfoTgcOnly Information about the primary VMstore participant of the Synchronous Replication configuration. TGC will use this information to identify which VMstore among all the participants, is the primary of the Synchronous Replication relationship.
quorumServerStateInfoQuorumServerStateInfoIf synchronous replication witness is configured, this represents the state of the witness.
resyncStatsSyncReplResyncStatsResynchronize statistics. It returns null either there is no resynchronization operation or the operation has completed.
secondaryInfoSyncReplVmstoreInfoTgcOnly Information about the secondary VMstore participant of the Synchronous Replication configuration. TGC will use this information to identify which VMstore among all the participants, is the secondary of the Synchronous Replication relationship.

Attributes
NameTypeDescription
hostxsd:stringVMstoreOnly The host name of the current VMstore appliance.
isConnectedToPeerxsd:booleanVMstoreOnly Whether this VMstore is connected to the peer in synchronous replication cluster.
isPrimaryxsd:booleanVMstore: True if Synchronous Replication is the primary, false otherwise. TGC: True if Primary VMstore is known, false otherwise.
lastUpdatedTimeDateTimeTime stamp when the object is last updated.
replicationIpxsd:stringVMstoreOnly Replication IP address for the Synchronous Replication.
stateIN_SYNC | PAUSED | RESYNCING | ERROR | INITIALIZING | DELETION_IN_PROGRESS | DELETED | UNKNOWN | OUT_OF_SERVICEThe current state of the synchronous replication configuration.
IN_SYNCSynchronous Replication configuration is up and running well.
PAUSEDSynchronous Replication configuration has been paused by the user.
RESYNCINGSynchronous Replication configuration is set up and both primary and secondary are connected, and they are in the process of syncing.
ERRORSynchronous Replication configuration is in error, which means primary and secondary lost connection to each other.
INITIALIZINGTGC is in the process of pushing the Configuration to participating VMstores.
DELETION_IN_PROGRESSSet to this state when TGC is processing a request to delete the ServiceGroup on all the participating VMstores. When the status is set to this value, Synchronous Replication may still be active on participating VMstore(s).
DELETEDTGC has already deleted the Synchronous Replication configuration and has only the metadata information from the participating VMstores, for showing historical performance information. This metadata and performance information will be retained in TGC for 30 days from the date of deletion.
UNKNOWNRepresents transition states such as 'FormerPrimary', 'SecondaryFailingOver'. In this state, the VMstore is not certain of its role, and the value of boolean 'isPrimary' in SyncReplGetStateInfo should not be trusted. Note: If automatic failover is not configured, that is, if a quorum server has not been configured, the status can never be 'Unknown'.
OUT_OF_SERVICEThe cluster IP (datastore) defined by the Service Group is not serving data! Both VMstores are isolated from their peer and the Quorum Server witness. Consequently, neither VMstore will take the primary role.
statusOK | INFO | WARNING | MAJOR | CRITICALTgcOnly The severity status of the synchronous replication.
OKSituation is normal.
INFOQualifies normal operating state changes or progress information.
WARNINGA condition has appeared which may become a problem. Only user awareness is required.
MAJORA problem exists. A user may need to take action.
CRITICALRequires immediate user action.