OVN HA: Set the OVN Resource Agent parameter 'inactive_probe_interval'

This parameter is required to configure the inactive probe interval. If not
specified, this param defaults to 5 seconds which is not enough. This patch sets
the value of this param to 180 seconds.

Change-Id: Ifbfb2a1ced308e4e4c89f0db31808df17cb43e7e
This commit is contained in:
Numan Siddique 2018-01-05 21:47:58 +05:30
parent 39c147c71d
commit d6f5bf9539
2 changed files with 4 additions and 2 deletions

View File

@ -143,7 +143,8 @@ class tripleo::profile::pacemaker::ovn_dbs_bundle (
ocf_agent_name => "${ovndb_servers_ocf_name}",
master_params => '',
op_params => 'start timeout=200s stop timeout=200s',
resource_params => "master_ip=${ovn_dbs_vip} nb_master_port=${nb_db_port} sb_master_port=${sb_db_port} manage_northd=yes",
resource_params => "master_ip=${ovn_dbs_vip} nb_master_port=${nb_db_port} \
sb_master_port=${sb_db_port} manage_northd=yes inactive_probe_interval=180000",
tries => $pcs_tries,
location_rule => $ovn_dbs_location_rule,
meta_params => 'notify=true container-attribute-target=host',

View File

@ -81,7 +81,8 @@ class tripleo::profile::pacemaker::ovn_northd (
ocf_agent_name => "${ovndb_servers_ocf_name}",
master_params => '',
op_params => 'start timeout=200s stop timeout=200s',
resource_params => "master_ip=${ovn_dbs_vip} nb_master_port=${nb_db_port} sb_master_port=${sb_db_port} manage_northd=yes",
resource_params => "master_ip=${ovn_dbs_vip} nb_master_port=${nb_db_port} \
sb_master_port=${sb_db_port} manage_northd=yes inactive_probe_interval=180000",
tries => $pcs_tries,
location_rule => {
resource_discovery => 'exclusive',