From 5111ae47c414431df80dbd185cb61f8be8d8e0d3 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Dec 2023 16:06:24 -0500 Subject: [PATCH] Lower default monitoring interval to 15s Faults are also reported on the monitoring interval, so 60s seems like too long. Lower this to 15 seconds by default instead. --- group_vars/default/pvc.yml | 2 +- roles/pvc/defaults/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/group_vars/default/pvc.yml b/group_vars/default/pvc.yml index f609ee8..c82009c 100644 --- a/group_vars/default/pvc.yml +++ b/group_vars/default/pvc.yml @@ -18,7 +18,7 @@ # control over the timings of various areas of the cluster, for instance if your hardware is slow or error-prone. #pvc_vm_shutdown_timeout: 180 # Number of seconds before a 'shutdown' VM is forced off #pvc_keepalive_interval: 5 # Number of seconds between keepalive ticks -#pvc_monitoring_interval: 60 # Number of seconds between monitoring plugin runs +#pvc_monitoring_interval: 15 # Number of seconds between monitoring plugin runs #pvc_fence_intervals: 6 # Number of keepalive ticks before a node is considered dead #pvc_suicide_intervals: 0 # Number of keepalive ticks before a node consideres itself dead (0 to disable) #pvc_fence_successful_action: migrate # What to do with VMs when a fence is successful (migrate, None) diff --git a/roles/pvc/defaults/main.yml b/roles/pvc/defaults/main.yml index 0942d8c..c9d5cc6 100644 --- a/roles/pvc/defaults/main.yml +++ b/roles/pvc/defaults/main.yml @@ -14,7 +14,7 @@ pvc_log_node_lines: 2000 # The number of node log lines to store # Timing and fencing configuration (uncomment to override defaults) pvc_vm_shutdown_timeout: 180 # Number of seconds before a 'shutdown' VM is forced off pvc_keepalive_interval: 5 # Number of seconds between keepalive ticks -pvc_monitoring_interval: 60 # Number of seconds between monitoring plugin runs +pvc_monitoring_interval: 15 # Number of seconds between monitoring plugin runs pvc_fence_intervals: 6 # Number of keepalive ticks before a node is considered dead pvc_suicide_intervals: 0 # Number of keepalive ticks before a node consideres itself dead (0 to disable) pvc_fence_successful_action: migrate # What to do with VMs when a fence is successful (migrate, None)