Adjust variable used for migrate selector

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:29 -04:00
parent 1d35fec8a8
commit fa4f1cff0f
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ pvc_fence_intervals: 6 # Number of keepalive ticks before a nod
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)
pvc_fence_failed_action: None # What to do with VMs when a fence is failed (migrate, None) - migrate is DANGEROUS without pvc_suicide_intervals set to < pvc_fence_intervals
pvc_fence_migrate_target_selector: mem # The selector to use for migrating VMs after a fence
pvc_migrate_target_selector: mem # The selector to use for migrating VMs
# Memory tuning
pvc_osd_memory_limit: 4294967296

View File

@ -62,7 +62,7 @@ pvc:
pass: {% for node in pvc_nodes if node.hostname == this_node %}{{ node.ipmi_password }}{% endfor %}
migration:
target_selector: {{ pvc_fence_migrate_target_selector }}
target_selector: {{ pvc_migrate_target_selector }}
configuration:
directories:
dynamic_directory: "/run/pvc"