From cba276e24872639e33de6837db9c69a96b11ef04 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:24 -0400 Subject: [PATCH] Add default values --- group_vars/default/pvc.yml | 4 ++-- roles/pvc/defaults/main.yml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/group_vars/default/pvc.yml b/group_vars/default/pvc.yml index c752350..4144843 100644 --- a/group_vars/default/pvc.yml +++ b/group_vars/default/pvc.yml @@ -78,9 +78,9 @@ pvc_routers: # > This option is *only* applied at cluster bootstrap and cannot be changed later # here, only by editing the `files/ceph//ceph.conf` file directly. #pvc_osd_memory_limit: 939524096 -# Zookeeper heap memory limit, sets Xms and Xmx values to the Java process. +# Zookeeper heap memory limit, sets Xms and Xmx values to the Java process; default is 256M. #pvc_zookeeper_heap_limit: 32M -# Zookeeper stack memory limit, sets Xss value to the Java process. +# Zookeeper stack memory limit, sets Xss value to the Java process; default is 512M. #pvc_zookeeper_stack_limit: 32M # Node list diff --git a/roles/pvc/defaults/main.yml b/roles/pvc/defaults/main.yml index 1f23c27..b3a3503 100644 --- a/roles/pvc/defaults/main.yml +++ b/roles/pvc/defaults/main.yml @@ -18,6 +18,11 @@ pvc_fence_successful_action: migrate # What to do with VMs when a fence is su 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 +# Memory tuning +pvc_osd_memory_limit: 4294967296 +pvc_zookeeper_heap_limit: 256M +pvc_zookeeper_stack_limit: 512M + # Ceph storage ceph_storage_secret_key: "" ceph_storage_secret_uuid: ""