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

  1. 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

  2. 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

  3. 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.

  4. 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
  5. Restart opscenterd.

  6. If you made changes to address.yaml, restart the DataStax agents.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com