Modifying a tiebreaker definition

A tiebreaker (IBM®.TieBreaker resource) has a number of persistent resource attributes that you can set to configure the behavior of the tiebreaker.

To view or set these persistent class attributes, use the standard RMC management commands lsrsrc and chrsrc.

For example, to list the current persistent attribute values for all defined tiebreakers, use the lsrsrc command.

# lsrsrc IBM.TieBreaker
Resource Persistent Attributes for: IBM.TieBreaker
resource 1:
        Name                = "Operator"
        Type                = "Operator"
        DeviceInfo          = ""
        ReprobeData         = ""
        ReleaseRetryPeriod  = 0
        HeartbeatPeriod     = 0
        PreReserveWaitTime  = 0
        PostReserveWaitTime = 0
        NodeInfo            = {}
resource 2:
        Name                = "Fail"
        Type                = "Fail"
        DeviceInfo          = ""
        ReprobeData         = ""
        ReleaseRetryPeriod  = 0
        HeartbeatPeriod     = 0
        PreReserveWaitTime  = 0
        PostReserveWaitTime = 0
        NodeInfo            = {}
resource 3:
        Name                = "Success"
        Type                = "Success"
        DeviceInfo          = ""
        ReprobeData         = ""
        ReleaseRetryPeriod  = 0
        HeartbeatPeriod     = 0
        PreReserveWaitTime  = 0
        PostReserveWaitTime = 0
        NodeInfo            = {}

To limit the output of the lsrsrc command to display the persistent attribute values for only a particular tiebreaker resource, use the -s flag and a selection string that identifies the particular tiebreaker resource.

# lsrsrc -s"Name=='Operator'" IBM.TieBreaker

Resource Persistent Attributes for: IBM.TieBreaker
resource 1:
        Name                = "Operator"
        Type                = "Operator"
        DeviceInfo          = ""
        ReprobeData         = ""
        ReleaseRetryPeriod  = 0
        HeartbeatPeriod     = 0
        PreReserveWaitTime  = 0
        PostReserveWaitTime = 0
        NodeInfo            = {}
To obtain more information about any of these persistent attributes, use the lsrsrcdef command. To change the persistent attributes of a tiebreaker, the tiebreaker must not be the active tiebreaker. The OpQuorumTieBreaker persistent class attribute of the IBM.PeerNode class identifies the active tiebreaker. If you are not sure whether the tiebreaker that you want to modify is the active tiebreaker or not, check the value of the OpQuorumTieBreaker persistent class attribute.
# lsrsrc -c IBM.PeerNode OpQuorumTieBreaker
Resource Class Persistent and Dynamic Attributes for: IBM.PeerNode
resource 1:
        OpQuorumTieBreaker = "Fail"
Until the tiebreaker is not the active tiebreaker, you can modify its persistent resource attributes by using the chrsrc command. To identify a particular tiebreaker, use the chrsrc command with the -s flag followed by a selection string that identifies the tiebreaker resource. For example:
chrsrc -s"Name=='Operator'" IBM.TieBreaker ReleaseRetryPeriod=30

For complete syntax information about the lsrsrc and chrsrc commands, see their man pages in Technical Reference: RSCT for AIX and Technical Reference: RSCT for Multiplatforms guides