Debian Codegraph @

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

raw symbols SCIP
1 # powerflex_tb
2
3 Role to manage the installation and uninstallation of Powerflex TB.
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 ```
21
22 ## Ansible collections
23
24 Collections required to use the role.
25
26 ```
27 dellemc.powerflex
28 ```
29
30 ## Role Variables
31
32 <table>
33 <thead>
34 <tr>
35 <th>Name</th>
36 <th>Required</th>
37 <th>Description</th>
38 <th>Choices</th>
39 <th>Type</th>
40 <th>Default Value</th>
41 </tr>
42 </thead>
43 <tbody>
44 <tr>
45 <td>hostname</td>
46 <td>true</td>
47 <td>IP or FQDN of the PowerFlex gateway.</td>
48 <td></td>
49 <td>str</td>
50 <td></td>
51 </tr>
52 <tr>
53 <td>username</td>
54 <td>true</td>
55 <td>The username of the PowerFlex gateway.</td>
56 <td></td>
57 <td>str</td>
58 <td></td>
59 </tr>
60 <tr>
61 <td>password</td>
62 <td>true</td>
63 <td>The password of the PowerFlex gateway.</td>
64 <td></td>
65 <td>str</td>
66 <td></td>
67 </tr>
68 <tr>
69 <td>port</td>
70 <td>false</td>
71 <td>Port of the PowerFlex gateway.</td>
72 <td></td>
73 <td>int</td>
74 <td>443</td>
75 </tr>
76 <tr>
77 <td>validate_certs</td>
78 <td>false</td>
79 <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>
80 <td></td>
81 <td>bool</td>
82 <td>false</td>
83 </tr>
84 <tr>
85 <td>timeout</td>
86 <td>false</td>
87 <td>Timeout.</td>
88 <td></td>
89 <td>int</td>
90 <td>120</td>
91 </tr>
92 <tr>
93 <td>powerflex_common_file_install_location</td>
94 <td>false</td>
95 <td>Location of installation and rpm gpg files to be installed.
96 <br>The required, compatible installation software package based on the operating system of the node.
97 <br> The files can be downloaded from the Dell Product support page for PowerFlex software.</td>
98 <td></td>
99 <td>str</td>
100 <td>/var/tmp</td>
101 </tr>
102 <tr>
103 <td>powerflex_tb_state</td>
104 <td>false</td>
105 <td>Specify state of TB.<br></td>
106 <td>absent, present</td>
107 <td>str</td>
108 <td>present</td>
109 </tr>
110 <tr>
111 <td>powerflex_tb_primary_name</td>
112 <td>false</td>
113 <td>Name of the primary TB.<br></td>
114 <td></td>
115 <td>str</td>
116 <td>primary_tb</td>
117 </tr>
118 <tr>
119 <td>powerflex_tb_secondary_name</td>
120 <td>false</td>
121 <td>Name of the secondary TB.<br></td>
122 <td></td>
123 <td>str</td>
124 <td>secondary_tb</td>
125 </tr>
126 <tr>
127 <td>powerflex_tb_cluster_mode</td>
128 <td>false</td>
129 <td>Mode of the cluster.<br></td>
130 <td>ThreeNodes, FiveNodes</td>
131 <td>str</td>
132 <td>ThreeNodes</td>
133 </tr>
134 <tr>
135 <td>powerflex_tb_cert_password</td>
136 <td>false</td>
137 <td>The CLI certificate password for login to the primary MDM.<br></td>
138 <td></td>
139 <td>str</td>
140 <td></td>
141 </tr>
142 </tbody>
143 </table>
144
145 ## Examples
146 ----
147 ```
148 - name: Install and configure PowerFlex TB
149 ansible.builtin.import_role:
150 name: "powerflex_tb"
151 vars:
152 hostname: "{{ hostname }}"
153 username: "{{ username }}"
154 password: "{{ password }}"
155 validate_certs: "{{ validate_certs }}"
156 port: "{{ port }}"
157 powerflex_tb_primary_name: "primary_tb"
158 powerflex_tb_secondary_name: "secondary_tb"
159 powerflex_tb_cluster_mode: "ThreeNodes"
160 powerflex_common_file_install_location: "/var/tmp"
161 powerflex_tb_state: present
162
163 - name: Uninstall powerflex TB
164 ansible.builtin.import_role:
165 name: "powerflex_tb"
166 vars:
167 hostname: "{{ hostname }}"
168 username: "{{ username }}"
169 password: "{{ password }}"
170 validate_certs: "{{ validate_certs }}"
171 port: "{{ port }}"
172 powerflex_tb_state: 'absent'
173
174 ```
175
176 ## Notes
177 ----
178
179 - As a pre-requisite for PowerFlex 3.6, the Gateway must be installed.
180 - For PowerFlex 4.x, after installing the TB perform initial configuration steps on PowerFlex Manager GUI. These steps can be found in Install and Update of Dell PowerFlex 4.x from Dell Support page.
181
182 ## Usage instructions
183 ----
184 ### To install all dependency packages, including TB, on node:
185 - PowerFlex 3.6:
186 ```
187 ansible-playbook -i inventory site.yml
188 ```
189 - PowerFlex 4.5:
190 ```
191 ansible-playbook -i inventory site_powerflex45.yml
192 ```
193
194 ### To uninstall TB:
195 - PowerFlex 3.6:
196 ```
197 ansible-playbook -i inventory uninstall_powerflex.yml
198 ```
199 - PowerFlex 4.5:
200 ```
201 ansible-playbook -i inventory uninstall_powerflex45.yml
202 ```
203
204 Sample playbooks and inventory can be found in the playbooks directory.
205
206 ## Author Information
207 ------------------
208
209 Dell Technologies <br>
210 Ananthu S Kuttattu ([email protected]) 2023