Forum Discussion
This is a little clunky but you can create a partition which is not part of the sync or failover group. (system -> users -> partitions) (Device group: None, traffic group: local only non floating).
Create a virtual which sits only on the device with the custom partition. This would be your management portal.
Create an iRule which uses HA::status to tell you if the unit you're hitting is active. If it is active then redirect to the management url of that unit. If it is not active then redirect to the management url of the other unit.
Only problem is if the device you are hitting is completely down, then the management portal is down, however, how often does that happen? There may be some way to circumvent it, but i'm not thinking of it right off the top of my head.
I was trying to find an iRule variable that would tell you the machine name or hostname of the bigip unit you are on but I'm just not finding it. It may not exist. If this were a thing you could use it in combination with HA::status to redirect with a virtual server that is on the HA traffic group and sync group.