Forum Discussion
deltapez_21676
Nimbostratus
Mar 03, 2010Updating Data Group
All,
To retrieve status of pools, this script runs the "b load" which saves everything. Is this the only method or will any write to the /var/class file update the data group?
My concern is that this is too much overhead for frequent reporting and a simpler method is needed to update just the external file.
Thanks,
D
!/bin/bash
The command below is included because it was required when patched to 9.3.1 HF6
b db bigpipe.displayservicenames false
b pool all member all | grep pool_ | awk '{print "\""$3"\""}'> | sort >/var/class/pool_member_status_list.class
Only performs a b load when it's on the active unit.
if [ "`/bin/ps1`" == "Active" ]; then
b load
fi
exit 0
- The_Bhattman
Nimbostratus
Hi D,
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