Debian Codegraph @

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

raw symbols SCIP
1 # powerflex_sdc
2
3 Role to manage the installation and uninstallation of Powerflex SDC.
4
5 ## Table of contents
6
7 * [Requirements](#requirements)
8 * [Ansible collections](#ansible-collections)
9 * [Role Variables](#role-variables)
10 * [Examples](#examples)
11 * [Notes](#notes)
12 * [Usage instructions](#usage-instructions)
13 * [Author Information](#author-information)
14
15 ## Requirements
16
17 ```
18 ansible
19 python
20 pywinrm==0.4.3
21 ```
22
23 ## Ansible collections
24
25 Collections required to use the role.
26
27 ```
28 dellemc.powerflex
29 ansible.windows
30 ```
31
32 ## Role Variables
33
34 <table>
35 <thead>
36 <tr>
37 <th>Name</th>
38 <th>Required</th>
39 <th>Description</th>
40 <th>Choices</th>
41 <th>Type</th>
42 <th>Default Value</th>
43 </tr>
44 </thead>
45 <tbody>
46 <tr>
47 <td>hostname</td>
48 <td>true</td>
49 <td>IP or FQDN of the PowerFlex gateway</td>
50 <td></td>
51 <td>str</td>
52 <td>10.1.1.1</td>
53 </tr>
54 <tr>
55 <td>username</td>
56 <td>true</td>
57 <td>The username of the PowerFlex gateway</td>
58 <td></td>
59 <td>str</td>
60 <td>admin</td>
61 </tr>
62 <tr>
63 <td>password</td>
64 <td>true</td>
65 <td>The password of the PowerFlex gateway</td>
66 <td></td>
67 <td>str</td>
68 <td>password</td>
69 </tr>
70 <tr>
71 <td>port</td>
72 <td>false</td>
73 <td>Port</td>
74 <td></td>
75 <td>int</td>
76 <td>443</td>
77 </tr>
78 <tr>
79 <td>validate_certs</td>
80 <td>false</td>
81 <td>If C(false), the SSL certificates will not be validated.<br>Configure C(false) only on personally controlled sites where self-signed certificates are used</td>
82 <td></td>
83 <td>bool</td>
84 <td>false</td>
85 </tr>
86 <tr>
87 <td>timeout</td>
88 <td>false</td>
89 <td>Timeout</td>
90 <td></td>
91 <td>int</td>
92 <td>120</td>
93 </tr>
94 <tr>
95 <td>powerflex_common_file_install_location</td>
96 <td>true</td>
97 <td>Location of installation and rpm gpg files to be installed.
98 <br>The required, compatible installation software package based on the operating system of the node.
99 <br>The files can be downloaded from the Dell Product support page for PowerFlex software.</td>
100 <td></td>
101 <td>str</td>
102 <td>/var/tmp</td>
103 </tr>
104 <tr>
105 <td>powerflex_common_win_package_location</td>
106 <td>false</td>
107 <td>Location of SDC windows package on the node.
108 <br>SDC windows package will be copied to this location on installation.</td>
109 <td></td>
110 <td>str</td>
111 <td>C:\\Windows\\Temp</td>
112 </tr>
113 <tr>
114 <td>powerflex_sdc_driver_sync_repo_address</td>
115 <td>false</td>
116 <td>Repository address for the kernel modules</td>
117 <td></td>
118 <td>str</td>
119 <td>ftp://ftp.emc.com/</td>
120 </tr>
121 <tr>
122 <td>powerflex_sdc_driver_sync_repo_user</td>
123 <td>false</td>
124 <td>Username for the repository</td>
125 <td></td>
126 <td>str</td>
127 <td>QNzgdxXix</td>
128 </tr>
129 <tr>
130 <td>powerflex_sdc_driver_sync_repo_password</td>
131 <td>false</td>
132 <td>Password for the repository</td>
133 <td></td>
134 <td>str</td>
135 <td>Aw3wFAwAq3</td>
136 </tr>
137 <tr>
138 <td>powerflex_sdc_driver_sync_repo_local_dir</td>
139 <td>false</td>
140 <td>Local cache of the repository</td>
141 <td></td>
142 <td>str</td>
143 <td>/bin/emc/scaleio/scini_sync/driver_cache/</td>
144 </tr>
145 <tr>
146 <td>powerflex_sdc_driver_sync_user_private_rsa_key_src</td>
147 <td>false</td>
148 <td>Private ssh RSA key source (if using sftp protocol)</td>
149 <td></td>
150 <td>str</td>
151 <td></td>
152 </tr>
153 <tr>
154 <td>powerflex_sdc_driver_sync_user_private_rsa_key_dest</td>
155 <td>false</td>
156 <td>Private ssh RSA key destination</td>
157 <td></td>
158 <td>str</td>
159 <td>/bin/emc/scaleio/scini_sync/scini_key</td>
160 </tr>
161 <tr>
162 <td>powerflex_sdc_driver_sync_repo_public_rsa_key_src</td>
163 <td>false</td>
164 <td>Public ssh USA key source (if using sftp protocol)</td>
165 <td></td>
166 <td>str</td>
167 <td></td>
168 </tr>
169 <tr>
170 <td>powerflex_sdc_driver_sync_repo_public_rsa_key_dest</td>
171 <td>false</td>
172 <td>Private ssh RSA key destination</td>
173 <td></td>
174 <td>str</td>
175 <td>/bin/emc/scaleio/scini_sync/scini_repo_key.pub</td>
176 </tr>
177 <tr>
178 <td>powerflex_sdc_driver_sync_module_sigcheck</td>
179 <td>false</td>
180 <td>If signature check is required</td>
181 <td></td>
182 <td>str</td>
183 <td>1</td>
184 </tr>
185 <tr>
186 <td>powerflex_sdc_driver_sync_emc_public_gpg_key_src</td>
187 <td>false</td>
188 <td>Location of the signature file</td>
189 <td></td>
190 <td>str</td>
191 <td>{{ powerflex_common_file_install_location }}/files/RPM-GPG-KEY-ScaleIO_2.0.*.0</td>
192 </tr>
193 <tr>
194 <td>powerflex_sdc_driver_sync_emc_public_gpg_key_dest</td>
195 <td>false</td>
196 <td>Destination of the signature file</td>
197 <td></td>
198 <td>str</td>
199 <td>/bin/emc/scaleio/scini_sync/emc_key.pub</td>
200 </tr>
201 <tr>
202 <td>powerflex_sdc_driver_sync_sync_pattern</td>
203 <td>false</td>
204 <td>Repo sync pattern</td>
205 <td></td>
206 <td>str</td>
207 <td>.*</td>
208 </tr>
209 <tr>
210 <td>powerflex_sdc_name</td>
211 <td>false</td>
212 <td>Name of SDC to rename to<br></td>
213 <td></td>
214 <td>str</td>
215 <td>sdc_test</td>
216 </tr>
217 <tr>
218 <td>powerflex_sdc_performance_profile</td>
219 <td>false</td>
220 <td>Performance profile of SDC<br></td>
221 <td></td>
222 <td>str</td>
223 <td>Compact</td>
224 </tr>
225 <tr>
226 <td>powerflex_sdc_esxi_guid</td>
227 <td>false</td>
228 <td>Specifies the unique GUID for the ESXi SDC node.
229 <br>It is required only with ESXi node.
230 <br>To configure ESXi node as SDC, generate one GUID per server.
231 <br>Tools that are freely available online can generate these strings.
232 <br>If the value is different, then update in main.yml of defaults.</td>
233 <td></td>
234 <td>str</td>
235 <td>d422ecab-af6f-4e0c-a059-333ac89cfb42</td>
236 </tr>
237 <tr>
238 <td>powerflex_sdc_state</td>
239 <td>false</td>
240 <td>Specify state of SDC<br></td>
241 <td>absent, present</td>
242 <td>str</td>
243 <td>present</td>
244 </tr>
245 </tbody>
246 </table>
247
248 ## Examples
249 ----
250 ```
251 - name: Install and configure powerflex SDC
252 ansible.builtin.import_role:
253 name: powerflex_sdc
254 vars:
255 hostname: "{{ hostname }}"
256 username: "{{ username }}"
257 password: "{{ password }}"
258 validate_certs: "{{ validate_certs }}"
259 port: "{{ port }}"
260 powerflex_common_file_install_location: "/opt/scaleio/rpm"
261 powerflex_sdc_name: sdc_test
262 powerflex_sdc_performance_profile: Compact
263 powerflex_sdc_state: present
264
265 - name: Uninstall powerflex SDC
266 ansible.builtin.import_role:
267 name: powerflex_sdc
268 vars:
269 hostname: "{{ hostname }}"
270 username: "{{ username }}"
271 password: "{{ password }}"
272 validate_certs: "{{ validate_certs }}"
273 port: "{{ port }}"
274 powerflex_sdc_state: absent
275
276 ```
277
278 ## Notes
279 - Generate GUID using https://www.guidgenerator.com/online-guid-generator.aspx. Use the default GUID settings.
280 - While adding ESXi server as SDC, this procedure requires two server reboots.
281
282 ## Usage instructions
283 ----
284 ### To install all dependency packages, including SDC, on node:
285 - PowerFlex 3.6:
286 ```
287 ansible-playbook -i inventory site.yml
288 ```
289 - PowerFlex 4.5:
290 ```
291 ansible-playbook -i inventory site_powerflex45.yml
292 ```
293
294 ### To uninstall SDC:
295 - PowerFlex 3.6:
296 ```
297 ansible-playbook -i inventory uninstall_powerflex.yml
298 ```
299 - PowerFlex 4.5:
300 ```
301 ansible-playbook -i inventory uninstall_powerflex45.yml
302 ```
303
304 Sample playbooks and inventory can be found in the playbooks directory.
305
306 ## Author Information
307 ------------------
308
309 Dell Technologies <br>
310 Jennifer John ([email protected]) 2023 <br>
311 Bhavneet Sharma ([email protected]) 2023