After a successful Upgrade to NetOps Portal we get errors in /var/log/messages
consul: ==> Failed to check for updates: Get xxxx timeout
This message is correct because the NetOps Portal is not connected to the internet.
But how can we disable auto update of consul service?
Release : 22.2.x
Component : IM Reporting / Admin / Configuration
Edit the following files
Portal
/opt/CA/PerformanceCenter/consul/conf/config.json
DA's
/opt/IMDataAggregator/consul/conf/config.json
Proxy
/opt/CA/daproxy/conf/config.json
Add the following line
"disable_update_check": true
Example
{
"datacenter": "capm",
"data_dir": "/opt/IMDataAggregator/consul/data",
"server" : true,
"ui" : true,
"bootstrap_expect" : 3,
"client_addr" : "0.0.0.0",
"retry_join" : ["test_123456"],
"ports": { "http": 8500 },
"disable_update_check": true
}