Forum Discussion
Jun 05, 2006
Which version of BIG-IP software are you running? Since you posted to the v4 to v9 migration forum, I'm assuming you are running v9.
This post addresses how to determine a peers address for v9.x.
http://devcentral.f5.com/Default.aspx?tabid=28&view=topic&forumid=1&postid=6866
Click here
As for determining what the current state of the device is, for 9.x use the System::Failover::get_failover_state() method. It will return either FAILOVER_STATE_ACTIVE or FAILOVER_STATE_STANDBY.
-Joe