10-May-2023 09:55
We are currently using the BIQ-IQ not as single source of truth, meaning all configurations will still be done directly on the BIG-IPs. The BIG-IQ will only be used for management and monitoring purposes.
But to still have the latest configuration from all managed BIG-IPs on the BIG-IQ, I'm wondering if there is any possibility to perform the Configuration-Discovery and -Import task automatically, e.g. via a script or cronjob? Is there any documentation available for this? And what about potential import conflicts? Can I force the known options in this script?
Thank you!
Regards Stefan 🙂
10-May-2023 17:33
@Stefan_Klotz I have looked around for something similar but I have not found anything promising. It is important to note that when you are in CLI, where you would create a cronjob, is actually the BIG-IP OS rather than the BIG-IQ and the BIG-IQ GUI runs as a seperate GUI only interface. Some things do carry over from CLI to BIG-IQ GUI but not much really. If I had to venture a guess you might have to find a custom script that will run this process on a regular interval.
17-May-2023 06:29
As noted, BIG-IQ is an API based app, and the TMOS shell you see is there as a control plane only, with no BIG-IQ CLI to speak of.
That being said, all the discovery/rediscovery actions done via the GUI can be automated via REST. This example may help get you started as you basically want to run rediscover/reimport actions.
I don't have any personal examples of rediscovery as my use of BIG-IQ is with it as the source of truth and any re-discovery is done via the GUI, but plenty of other tasks have been done via Python or if you are um, seasoned, like me, Perl using the REST api 🙂