Forum Discussion
karthic_n_12765
Nimbostratus
Apr 30, 2004Redundant pair management
Hello,
From the iControl SDK, I am unable to figure out which iControl methods I need to call to get the following simple pieces of information related to redudant pair configuration:
1....
Apr 30, 2004
What you are looking for is in the ITCMLocalLB::Failover and ITCMManagement::Bigdb interfaces.
1. Is the device part of a redundant pair?
There is no "official" methods to determine this. But, that doesn't mean it can't be done. All of these values are stored in our internal config database which you can query with the ITCMManagement::Bigdb interface. Look for the following key (using the default db_name of "").
"Local.Bigip.StateMirror.PeerIPAddr"
If that key exists then the device is in a HA pair and the value is the address of the peer box.
String ITCMManagement::Bigdb::get_key(
in String db_name,
in String key_name
);
This is something that slipped through the cracks and I'll look into getting it added to the interfaces in a future release.
2. Is it active-standby or active-active?
enum FailoverState {
FAILOVER_STATE_STANDBY = 0, // Fail-over is in standby mode.
FAILOVER_STATE_ACTIVE = 1
};
FailoverState ITCMLocalLB::Failover::get_failover_state();
3. What is the fail-over partner IP address?
See 1.
4. How to get/set preferred active unit information?
I'm not sure exactly what you mean by preferred active unit information. If you could elaborate on exactly what you want to get/set I can help out.
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
