Forum Discussion
kwkyiu_53019
Nov 08, 2011Nimbostratus
Query system status in TMSH
Just a short and stupid question.
How can I query the system status (Active/Standby) in TMSH script?
Mark_Crosland_2
Nov 09, 2011Historic F5 Account
One way would be to look at the failover.state DB variable. The "value" property will contain one of "active forced_offline offline standby"
tmsh list sys db failover.state
sys db failover.state {
value "active"
}
tmsh list sys db failover.state all-properties
sys db failover.state {
default-value "offline"
scf-config "false"
value "active"
value-range "active forced_offline offline standby"
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects