Adjust the default timeout values for Lifecycle Manager jobs as necessary for your
environment.
Adjust
the default timeout values for SSH connection attempts and idle status during
Lifecycle Manager 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
opscenterd.conf
The location of the opscenterd.conf file
depends on the type of installation:
- Package installations: /etc/opscenter/opscenterd.conf
- Tarball installations:
install_location/conf/opscenterd.conf
Procedure
-
Open for editing.
-
Adjust the available SSH connection values shown below
in the
[lifecycle_manager]
section:
- [lifecycle_manager] ssh_connect_timeout_in_seconds
- The number of seconds to wait for the SSH server on a target node to respond to a connection attempt during an LCM job. The default value is 30 seconds.
- [lifecycle_manager] ssh_max_attempts
- The maximum number of times to attempt an SSH connection to a given target during an LCM job. The default value is 3.
- [lifecycle_manager] ssh_retry_delay_in_seconds
- The number of seconds to wait between SSH connection retries during an LCM job. The default value is 10 seconds.
The following example doubles the default values for SSH connection attempts
by
LCM:
[lifecycle_manager]
ssh_connect_timeout_in_seconds = 60
ssh_max_attempts = 6
ssh_retry_delay_in_seconds = 20
-
Adjust the available default idle timeout values shown below 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: 120 seconds.
- [lifecycle_manager] node_configure_idle_timeout
- Duration of inactivity in seconds before marking a node configuration job as idle. Default 120 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 = 240
node_configure_idle_timeout = 240
node_cluster_import_idle_timeout = 240
node_install_agent_idle_timeout = 240
-
Restart OpsCenter.