Configuring SSH connection thresholds for LCM jobs
Adjust the default SSH connection thresholds for Lifecycle Manager jobs as necessary for your environment.
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 opscenterd.conf for editing.
-
Adjust the available SSH connection values 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. Default: 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. Default: 3.
- [lifecycle_manager] ssh_retry_delay_in_seconds
- The number of seconds to wait between SSH connection retries during an LCM job. Default: 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
- Restart OpsCenter.