Forum Discussion
When sync status change show in log
- Nov 30, 2022
Hi Michael,
I'm uncertain if a more agressive MCPD log level may include some log messages for sync-status-changes? You may give it a try...
If everything fails you could simply produce your own log lines as needed via custom iCall scripts. The quickly coded iCall script executes every 120 seconds a "tmsh show cm sync-status" and then checks if the resulting text output contains the string "Color green", if the string is not present, it will simply create a log entry for you...
sys icall handler periodic check_config_sync { interval 120 script check_config_sync } sys icall script check_config_sync { app-service none definition { tmsh::log_dest file tmsh::log_level debug if { [tmsh::show /cm sync-status] contains "Color green" } then { # Everything is fine... } else { tmsh::log debug "Check Config Sync: [info hostname] displays a non-green sync-state." } } description none events none }
Cheers, Kai
Hello Kai_Wilke ,
I wonder if configsync.autodetect still supported.
I think if he modified " db configsync.autodetect" value to be enabled , I think he will get an informative log message within /var/log/ltm.
I tried to test it on my lab but i do not find this option.
Hi Mohamed,
beginning with TMOS v11 the cluster management has completely changed.
I highly doubt that any of those cluster related KB information written for previous TMOS versions still apply. It was a completely different world back then...
Cheers, Kai
- Nov 30, 2022
ahh , Thanks Kai_Wilke 🙂
Recent Discussions
Related Content
* 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