Debian Codegraph @

ansible_collections/dellemc/powerflex/roles/powerflex_sdr/README.md

raw symbols SCIP
1 # powerflex_sdr
2
3 Role to manage installation and uninstallation PowerFlex SDR.
4
5 ## Table of contents
6
7 * [Requirements](#requirements)
8 * [Ansible collections](#ansible-collections)
9 * [Role Variables](#role-variables)
10 * [Examples](#examples)
11 * [Usage instructions](#usage-instructions)
12 * [Author Information](#author-information)
13
14 ## Requirements
15
16 ```
17 ansible
18 python
19 ```
20
21 ## Ansible collections
22
23 Collections required to use the role.
24
25 ```
26 dellemc.powerflex
27 ```
28
29 ## Role Variables
30
31 <table>
32 <thead>
33 <tr>
34 <th>Name</th>
35 <th>Required</th>
36 <th>Description</th>
37 <th>Choices</th>
38 <th>Type</th>
39 <th>Default Value</th>
40 </tr>
41 </thead>
42 <tbody>
43 <tr>
44 <td>powerflex_common_file_install_location</td>
45 <td>false</td>
46 <td>Location of required, compatible installation software package based on the operating system of the node.
47 <br>The files can be downloaded from the Dell Product support page for PowerFlex software.</td>
48 <td></td>
49 <td>path</td>
50 <td>/var/tmp</td>
51 </tr>
52 <tr>
53 <td>powerflex_protection_domain_name</td>
54 <td>false</td>
55 <td>The name of the protection domain to which the SDR will be added.</td>
56 <td></td>
57 <td>str</td>
58 <td></td>
59 </tr>
60 <tr>
61 <td>powerflex_storage_pool_name</td>
62 <td>false</td>
63 <td>The name of the storage pool to which the device will be added.</td>
64 <td></td>
65 <td>str</td>
66 <td></td>
67 </tr>
68 <tr>
69 <td>powerflex_sdr_repl_journal_capacity_max_ratio</td>
70 <td>false</td>
71 <td>Maximum capacity percentage to be allocated for journal capacity. Range is 0 to 100.</td>
72 <td></td>
73 <td>int</td>
74 <td>10</td>
75 </tr>
76 <tr>
77 <td>powerflex_mdm_password</td>
78 <td>true</td>
79 <td>Password for primary MDM node.</td>
80 <td></td>
81 <td>str</td>
82 <td></td>
83 </tr>
84 <tr>
85 <td>powerflex_sdr_state</td>
86 <td>false</td>
87 <td>State of the SDR.</td>
88 <td>present, absent</td>
89 <td>str</td>
90 <td>present</td>
91 </tr>
92 </tbody>
93 </table>
94
95 ## Examples
96 ----
97 ```
98 - name: Install powerflex SDR
99 ansible.builtin.include_role:
100 name: powerflex_sdr
101 vars:
102 powerflex_protection_domain_name: domain1
103 powerflex_storage_pool_name: pool1
104 powerflex_sdr_repl_journal_capacity_max_ratio: 10
105 powerflex_sdr_state: present
106 powerflex_mdm_password: Password111
107
108 - name: Uninstall powerflex SDR
109 ansible.builtin.include_role:
110 name: powerflex_sdr
111 vars:
112 powerflex_mdm_password: Password111
113 powerflex_sdr_state: absent
114
115 ```
116
117 ## Usage instructions
118 ----
119 ### To install all dependency packages, including SDR, on node:
120 - PowerFlex 3.6:
121 ```
122 ansible-playbook -i inventory site.yml
123 ```
124 - PowerFlex 4.5:
125 ```
126 ansible-playbook -i inventory site_powerflex45.yml
127 ```
128
129 ### To uninstall SDR:
130 - PowerFlex 3.6:
131 ```
132 ansible-playbook -i inventory uninstall_powerflex.yml
133 ```
134 - PowerFlex 4.5:
135 ```
136 ansible-playbook -i inventory uninstall_powerflex45.yml
137 ```
138
139 Sample playbooks and inventory can be found in the playbooks directory.
140
141 ## Author Information
142 ------------------
143
144 Dell Technologies <br>
145 Abhishek Sinha ([email protected]) 2023