SYS.DataCheck.Configuration
Class SYS.DataCheck.Configuration Extends %Persistent
Static configuration elements for the destination system. An instance of this class is referenced by each Destination object. The Configuration object cannot be changed while the system is running. The configuration elements in this are primary concerned with defining the source system to connect to. The RunParameters defines the performance characteristics and what should be checked, and Workflow defines the strategy for performing the check.
Properties
SystemName
Property SystemName As SystemName [ Required ];
Name of the DataCheck Destination system that uses this object. Set upon creating the destination object and should not be changed.
Host
Property Host As %String(MAXLEN = 250);
Hostname or IP address of source system. Not used when DataCheck is configured to check a mirror
Port
Property Port As %Integer [ InitialExpression = 1972 ];
Port of source system. Not used when DataCheck is configured to check a mirror
DBXMap
Property DBXMap As array Of LocalDatabase;
Mapping from source database paths to destination database paths. Keyed by source database path; value is destination database path. Not used when DataCheck is configured to check a mirror.
SSLConfig
Property SSLConfig As %String;
Optional name of SSL configuration to use for secure connection. Not used when DataCheck is configured to check a mirror
Debug
Property Debug As %Integer [ InitialExpression = 0, Internal ];
If true, detailed messages will by logged
SourceMirrorMember
Property SourceMirrorMember As %String;
Mirror member to connect to. This property is not intended to be changed once created.
PauseCheckingBackupWhenNotActive
Property PauseCheckingBackupWhenNotActive As %Boolean [ InitialExpression = 1 ];
For DataCheck configured to check a mirror, pause DataCheck if either the source or the destination system is the backup failover member and the backup is not marked as active.
PrimarySourceRequirement
Property PrimarySourceRequirement As %Integer [ InitialExpression = 0 ];
For DataCheck configured to check a mirror, sets requirements about the state of the SourceMirrorMember
- -1 - Wait until SourceMirrorMember is no longer primary
- 0 - No Requirement
- 1 - Wait until SourceMirrorMember is primary
Methods
ImportFromShadowDestination
Method ImportFromShadowDestination(shadowname As %String) As %Status
Resets this configuration based on the shadow configuration specified by 'shadowname'.
%OnValidateObject
Method %OnValidateObject() As %Status [ Internal, Private, ProcedureBlock = 1, ServerOnly = 1 ]
This callback method is invoked by the %ValidateObject method to provide notification that the current object is being validated.
If this method returns an error then %ValidateObject will fail.