Adjusting idle timeout values for LCM jobs

About this task

Adjust the default values for idle timeouts during Lifecycle Manager (LCM) jobs as necessary for your environment. If jobs are timing out prematurely, increase the idle thresholds as appropriate for the job type:

  • Installation job

  • Restarting a node during a job

  • Configuration job on a node

  • Importing a cluster job

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. Open opscenterd.conf for editing.

  3. Adjust the available default idle timeout values in the [lifecycle_manager] section:

    • [lifecycle_manager] node_install_idle_timeout

      Duration of inactivity in seconds before marking an install job as idle. Default: 900 seconds.

    • [lifecycle_manager] node_restart_idle_timeout

      Duration of inactivity in seconds before marking a node restart job as idle. Default: 300 seconds.

    • [lifecycle_manager] node_configure_idle_timeout

      Duration of inactivity in seconds before marking a node configuration job as idle. Default: 300 seconds.

    • [lifecycle_manager] node_cluster_import_idle_timeout

      Duration of inactivity in seconds before marking a cluster import job as idle. Default: 120 seconds.

    • [lifecycle_manager] node_install_agent_idle_timeout

      Duration of inactivity in seconds before marking an agent install job as idle. Default: 120 seconds.

      The following example doubles the default timeout values for LCM jobs:

        [lifecycle_manager]
        node_install_idle_timeout = 1800
        node_restart_idle_timeout = 600
        node_configure_idle_timeout = 600
        node_cluster_import_idle_timeout = 240
        node_install_agent_idle_timeout = 240
  4. Restart OpsCenter.

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