Hi Aaron,
This is still related to the ProxyPass implementation i've described in my previous posts.
I need a global variable - an array containing internal and external hosts, to be loaded in memory. I put initialization of the array (loop, which goes through a datagroup and fills the array) in iRule. I also created a bash script, which handles modifying of the datagroup (adding and removing hosts). This script connects to the VIP, where the iRule is configured and fires the initialization.
We also need to be sure, that the array will be loaded, when the LB is rebooted, so I added the same piece of code in RULE_INIT.
The problem is, that the array is only loaded on active host. I need some mechanism, which fires initialization on the standby host. When synchronizing both units (this is run from the same bash script automatically) the array is not loaded on the standby unit. I've a workaround - i can restart the tmm process remotely, but this is not very elegant.
So my question is, whether some another option, how to fire the RULE_INIT exists. Or is it somehow possible to initialize the variable using bash/perl script?