summaryrefslogtreecommitdiffstats
path: root/ansible_collections/dellemc/powerflex/playbooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:22:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:22:20 +0000
commit18bd2207b6c1977e99a93673a7be099e23f0f547 (patch)
tree40fd9e5913462a88be6ba24be6953383c5b39874 /ansible_collections/dellemc/powerflex/playbooks
parentReleasing progress-linux version 10.0.1+dfsg-1~progress7.99u1. (diff)
downloadansible-18bd2207b6c1977e99a93673a7be099e23f0f547.tar.xz
ansible-18bd2207b6c1977e99a93673a7be099e23f0f547.zip
Merging upstream version 10.1.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/dellemc/powerflex/playbooks')
-rw-r--r--ansible_collections/dellemc/powerflex/playbooks/modules/storagepool.yml53
1 files changed, 50 insertions, 3 deletions
diff --git a/ansible_collections/dellemc/powerflex/playbooks/modules/storagepool.yml b/ansible_collections/dellemc/powerflex/playbooks/modules/storagepool.yml
index 7e7860a0a..7d407b610 100644
--- a/ansible_collections/dellemc/powerflex/playbooks/modules/storagepool.yml
+++ b/ansible_collections/dellemc/powerflex/playbooks/modules/storagepool.yml
@@ -20,7 +20,29 @@
validate_certs: "{{ validate_certs }}"
storage_pool_name: "{{ pool_name }}"
protection_domain_name: "{{ protection_domain_name }}"
- media_type: "HDD"
+ cap_alert_thresholds:
+ high_threshold: 30
+ critical_threshold: 50
+ media_type: "TRANSITIONAL"
+ enable_zero_padding: true
+ rep_cap_max_ratio: 40
+ rmcache_write_handling_mode: "Passthrough"
+ spare_percentage: 80
+ enable_rebalance: false
+ enable_fragmentation: false
+ enable_rebuild: false
+ use_rmcache: true
+ use_rfcache: true
+ parallel_rebuild_rebalance_limit: 3
+ protected_maintenance_mode_io_priority_policy:
+ policy: "unlimited"
+ rebalance_io_priority_policy:
+ policy: "unlimited"
+ vtree_migration_io_priority_policy:
+ policy: "limitNumOfConcurrentIos"
+ concurrent_ios_per_device: 10
+ persistent_checksum:
+ enable: false
state: "present"
- name: Set pool id
@@ -47,15 +69,40 @@
storage_pool_new_name: "{{ pool_name }}"
state: "present"
-
- name: Modify a Storage pool by name
dellemc.powerflex.storagepool:
hostname: "{{ hostname }}"
username: "{{ username }}"
password: "{{ password }}"
validate_certs: "{{ validate_certs }}"
- storage_pool_name: "ansible_test_pool"
+ storage_pool_name: "{{ pool_name }}"
protection_domain_name: "{{ protection_domain_name }}"
+ storage_pool_new_name: "pool_name_new"
+ cap_alert_thresholds:
+ high_threshold: 50
+ critical_threshold: 70
+ enable_zero_padding: false
+ rep_cap_max_ratio: 60
+ rmcache_write_handling_mode: "Passthrough"
+ spare_percentage: 90
+ enable_rebalance: true
+ enable_fragmentation: true
+ enable_rebuild: true
use_rmcache: true
use_rfcache: true
+ parallel_rebuild_rebalance_limit: 6
+ protected_maintenance_mode_io_priority_policy:
+ policy: "limitNumOfConcurrentIos"
+ concurrent_ios_per_device: 4
+ rebalance_io_priority_policy:
+ policy: "favorAppIos"
+ concurrent_ios_per_device: 10
+ bw_limit_per_device: 4096
+ vtree_migration_io_priority_policy:
+ policy: "limitNumOfConcurrentIos"
+ concurrent_ios_per_device: 10
+ persistent_checksum:
+ enable: true
+ validate_on_read: true
+ builder_limit: 1024
state: "present"