%SYS.ClusterInfo

class %SYS.ClusterInfo extends %RegisteredObject

Cluster-specific Information

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
6 1

Summary

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
IsMaster IsMember MasterNodeName NodeListClose
NodeListExecute NodeListFetch

Methods

classmethod IsMaster() as %Boolean
True when this system is the cluster master
classmethod IsMember() as %Boolean
Is the system part of a cluster or not
classmethod MasterNodeName() as %String
Return node name of the current master in the cluster.
Returned null string if this system is not a cluster member.
classmethod NodeListClose(ByRef qHandle As %Binary) as %Status
classmethod NodeListExecute(ByRef qHandle As %Binary, SkipSelf As %Boolean = 0) as %Status
classmethod NodeListFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status

Queries

query NodeList(SkipSelf As %Boolean = 0)
Selects CSN As %Integer, IP As %String, Port As %Integer, MGR Dir As %String, Journal Offset As %Integer, Journal File As %String, Journal File Count As %Integer, Transaction Offset As %Integer, Transaction File As %String, Transaction File Count As %Integer, Host Name As %String, Prev Journal Offset As %Integer, Prev Journal File Count As %Integer, Prev Journal File As %String, Journal WDPass As %Integer
Returns information about member nodes of the cluster using DNS resolution of the members' hostnames. If SkipSelf = 1, skip the node where the query is run
Copyright © 1997-2020 InterSystems Corporation, Cambridge, MA