Set migration-threshold to 3 for collectors
Related-bug: #1593137 Change-Id: I7b3808afdfb43d0dcc74debb0333ae1d1942029f
This commit is contained in:
parent
9ce5ea8581
commit
9ae5de5e43
|
@ -112,7 +112,8 @@ if $is_controller or $is_rabbitmq or $is_mysql_server {
|
|||
metadata => {
|
||||
# Make sure that Pacemaker tries to restart the resource if it fails
|
||||
# too many times
|
||||
'failure-timeout' => '120'
|
||||
'failure-timeout' => '120s',
|
||||
'migration-threshold' => '3',
|
||||
},
|
||||
parameters => {
|
||||
'service_name' => 'log_collector',
|
||||
|
@ -174,7 +175,8 @@ if $is_controller or $is_rabbitmq or $is_mysql_server {
|
|||
metadata => {
|
||||
# Make sure that Pacemaker tries to restart the resource if it fails
|
||||
# too many times
|
||||
'failure-timeout' => '120'
|
||||
'failure-timeout' => '120s',
|
||||
'migration-threshold' => '3',
|
||||
},
|
||||
parameters => {
|
||||
'service_name' => 'metric_collector',
|
||||
|
@ -212,7 +214,8 @@ if $is_controller or $is_rabbitmq or $is_mysql_server {
|
|||
metadata => {
|
||||
# Make sure that Pacemaker tries to restart the resource if it fails
|
||||
# too many times
|
||||
'failure-timeout' => '120'
|
||||
'failure-timeout' => '120s',
|
||||
'migration-threshold' => '3',
|
||||
},
|
||||
parameters => {
|
||||
'service_name' => 'log_collector',
|
||||
|
@ -261,7 +264,8 @@ if $is_controller or $is_rabbitmq or $is_mysql_server {
|
|||
metadata => {
|
||||
# Make sure that Pacemaker tries to restart the resource if it fails
|
||||
# too many times
|
||||
'failure-timeout' => '120'
|
||||
'failure-timeout' => '120s',
|
||||
'migration-threshold' => '3',
|
||||
},
|
||||
parameters => {
|
||||
'service_name' => 'metric_collector',
|
||||
|
|
Loading…
Reference in New Issue