Configuring the NodeSync refresh data interval
About this task
Tune the configuration option if necessary to adjust the frequency of refreshing NodeSync status data in OpsCenter Monitoring.
Configuration option for NodeSync
The refresh period configuration option represents the period of time (in seconds) between each NodeSync service refresh of status data from the NodeSync metrics table. The default is 300 seconds (5 minutes). If a status refresh takes 2 minutes to complete, the refresh period timer starts again and refreshes the NodeSync Status view after another 5 minutes.
-
[nodesync] refresh_period
The period of time in seconds between each NodeSync Service refresh of status data from the NodeSync metrics table. Default: 300 (5 mn).
Procedure
-
Locate the opscenterd.conf file. The location of this file depends on the type of installation:
-
Package installations: /etc/opscenter/opscenterd.conf
-
Tarball installations: install_location/conf/opscenterd.conf
-
-
Locate the cluster_name.conf file. The location of this file depends on the type of installation:
-
Package installations: /etc/opscenter/clusters/cluster_name.conf
-
Tarball installations: install_location/conf/clusters/cluster_name.conf
-
-
Open opscenterd.conf for all clusters, or cluster_name.conf for a specific cluster.
If necessitated by your environment, open address.yaml for editing and configure at the node level. The location of this file depends on the type of installation:
-
Package installations: /var/lib/datastax-agent/conf/address.yaml
-
Tarball installations: install_location/conf/address.yaml Do so for every node that requires a specific configuration override.
-
-
Set the following option for your environment requirements in the
[nodesync]
section:The following configuration example triples the refresh interval from 5 minutes (300 seconds) to 15 minutes (900 seconds):
[nodesync] refresh_period=900
-
If you made changes to address.yaml, restart the DataStax agents.