This chapter covers the HotStandby class in WMI.

The HotStandby Class

The HotStandby class provides information about a hot standby instance. All properties are read only. For each configured hot standby, one class instance exists. The property ‘Name’ has the key qualifier and uniquely identifies a hot standby instance

HotStandby Class Properties

The table below lists the properties of the HotStandby class in alphabetical order. All properties except the Description are read write.

Some WMI queries are only available starting from anynode version 4.14.(Check out available WMI queries with the PowerShell command below).

To display all contents of the HotStandby class locally without credentials, you can use the following command:

Get-WmiObject -Namespace "root\TESYSTEMS\anynode" -Class "HotStandby"

-Namespace "root\TESYSTEMS\anynode" : Specifies the WMI namespace for anynode.

-Class "HotStandby" : Selects the "HotStandby" class to retrieve its contents.


Property: LinkStatus

Type: uint32

Description: Provides information about the connection to the other system. The data type is integer, possible values are:

  • 1: unknown

  • 2: disabled

  • 3: establishing

  • 4: active

  • 5: inactive

  • 6: error


Property: MainSystemStatus

Type: uint32

Description: Provides information about the status of the main system. This could be the local or remote system depending on the ‘Mode’. The data type is integer, possible values are:

  • 1: unknown

  • 2: active

  • 3: inactive

  • 4: outOfService


Property: Mode

Type: uint32

Description: Provides the information if anynode is running in a high availability mode. The data type is integer, possible values are:

  • 1: unknown

  • 2: none

  • 3: mainSystem

  • 4: standbySystem


Property: Name

Type: String

Description: The property provides the symbolic name of the hot standby instance. The name is the key attribute and identifies a hot standby instance.


Property: ObjectRecordName

Type: String

Description: The property provides the unique internal name of the hot standby instance.


Property: StandbySystemStatus

Type: uint32

Description: Provides information about the status of the standby system. This could be the local or remote system depending on the ‘Mode’. The data type is integer, possible values are:

  • 1: unknown

  • 2: active

  • 3: inactive

  • 4: outOfService

Screenshot: WMI HotStandby class query with SimpleWMIView showing active link status from two hot standby objects in the anynode frontend. Screenshot: WMI HotStandby class query with SimpleWMIView showing active link status from two hot standby objects in the anynode frontend.
WMI HotStandby class query with SimpleWMIView showing active link status from two hot standby objects in the anynode frontend