Adjust variable used for migrate selector
This commit is contained in:
parent
7d329708bc
commit
85cb7e3f6a
|
@ -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_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_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_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
|
# Memory tuning
|
||||||
pvc_osd_memory_limit: 4294967296
|
pvc_osd_memory_limit: 4294967296
|
||||||
|
|
|
@ -62,7 +62,7 @@ pvc:
|
||||||
pass: {% for node in pvc_nodes if node.hostname == this_node %}{{ node.ipmi_password }}{% endfor %}
|
pass: {% for node in pvc_nodes if node.hostname == this_node %}{{ node.ipmi_password }}{% endfor %}
|
||||||
|
|
||||||
migration:
|
migration:
|
||||||
target_selector: {{ pvc_fence_migrate_target_selector }}
|
target_selector: {{ pvc_migrate_target_selector }}
|
||||||
configuration:
|
configuration:
|
||||||
directories:
|
directories:
|
||||||
dynamic_directory: "/run/pvc"
|
dynamic_directory: "/run/pvc"
|
||||||
|
|
Loading…
Reference in New Issue