Debian Codegraph @

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

raw symbols SCIP
1 # powerflex_sdt
2
3 Role to manage the installation and uninstallation of Powerflex SDT.
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>hostname</td>
45 <td>true</td>
46 <td>IP or FQDN of the PowerFlex gateway.</td>
47 <td></td>
48 <td>str</td>
49 <td>10.1.1.1</td>
50 </tr>
51 <tr>
52 <td>username</td>
53 <td>true</td>
54 <td>The username of the PowerFlex gateway.</td>
55 <td></td>
56 <td>str</td>
57 <td>admin</td>
58 </tr>
59 <tr>
60 <td>password</td>
61 <td>true</td>
62 <td>The password of the PowerFlex gateway.</td>
63 <td></td>
64 <td>str</td>
65 <td>password</td>
66 </tr>
67 <tr>
68 <td>port</td>
69 <td>false</td>
70 <td>Port</td>
71 <td></td>
72 <td>int</td>
73 <td>443</td>
74 </tr>
75 <tr>
76 <td>validate_certs</td>
77 <td>false</td>
78 <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>
79 <td></td>
80 <td>bool</td>
81 <td>false</td>
82 </tr>
83 <tr>
84 <td>timeout</td>
85 <td>false</td>
86 <td>Timeout</td>
87 <td></td>
88 <td>int</td>
89 <td>120</td>
90 </tr>
91 <tr>
92 <td>powerflex_common_file_install_location</td>
93 <td>true</td>
94 <td>Location of installation and rpm gpg files to be installed.
95 <br>The required, compatible installation software package based on the operating system of the node.
96 <br>The files can be downloaded from the Dell Product support page for PowerFlex software.</td>
97 <td></td>
98 <td>str</td>
99 <td>/var/tmp</td>
100 </tr>
101 <tr>
102 <td>powerflex_sdt_discovery_port</td>
103 <td>false</td>
104 <td>Port used by the NVMe hosts for discovery. Set to 1 in order to indicate no use of discovery port.</td>
105 <td></td>
106 <td>int</td>
107 <td>8009</td>
108 </tr>
109 <tr>
110 <td>powerflex_sdt_ip_list</td>
111 <td>true</td>
112 <td>Target IP list of SDT. Comma separated.</td>
113 <td></td>
114 <td>str</td>
115 <td></td>
116 </tr>
117 <tr>
118 <td>powerflex_sdt_nvme_port</td>
119 <td>false</td>
120 <td>Port used by the NVMe hosts</td>
121 <td></td>
122 <td>int</td>
123 <td>4420</td>
124 </tr>
125 <tr>
126 <td>powerflex_sdt_protection_domain</td>
127 <td>true</td>
128 <td>The name of the protection domain to which the SDT will be added.
129 </td>
130 <td></td>
131 <td>str</td>
132 <td></td>
133 </tr>
134 <tr>
135 <td>powerflex_sdt_role_list</td>
136 <td>true</td>
137 <td>Role list of SDT target IP. Comma separated.</td>
138 <td>storage_only, host_only, storage_and_host</td>
139 <td>str</td>
140 <td></td>
141 </tr>
142 <tr>
143 <td>powerflex_sdt_state</td>
144 <td>false</td>
145 <td>State of the SDT.</td>
146 <td>present, absent</td>
147 <td>str</td>
148 <td>present</td>
149 </tr>
150 <tr>
151 <td>powerflex_sdt_storage_port</td>
152 <td>false</td>
153 <td>Port assigned to the SDT.</td>
154 <td></td>
155 <td>int</td>
156 <td>12200</td>
157 </tr>
158 </tbody>
159 </table>
160
161 ## Examples
162 ----
163 ```
164 - name: "Install and configure powerflex SDT"
165 ansible.builtin.import_role:
166 name: "powerflex_sdt"
167 vars:
168 hostname: "{{ hostname }}"
169 username: "{{ username }}"
170 password: "{{ password }}"
171 validate_certs: "{{ validate_certs }}"
172 port: "{{ port }}"
173 powerflex_sdt_protection_domain: PD1
174 powerflex_sdt_storage_port: 12200
175 powerflex_sdt_nvme_port: 4420
176 powerflex_sdt_discovery_port: 8009
177 powerflex_sdt_state: present
178
179 - name: "Uninstall powerflex SDT"
180 ansible.builtin.import_role:
181 name: "powerflex_sdt"
182 vars:
183 hostname: "{{ hostname }}"
184 username: "{{ username }}"
185 password: "{{ password }}"
186 validate_certs: "{{ validate_certs }}"
187 port: "{{ port }}"
188 powerflex_sdt_state: 'absent'
189
190 ```
191
192 ## Usage instructions
193 ----
194 ### To install all dependency packages, including SDT, on node:
195 - PowerFlex 4.5:
196 ```
197 ansible-playbook -i inventory site_powerflex45.yml
198 ```
199
200 ### To uninstall SDT:
201 - PowerFlex 4.5:
202 ```
203 ansible-playbook -i inventory uninstall_powerflex45.yml
204 ```
205
206 Sample playbooks and inventory can be found in the playbooks directory.
207
208 ## Author Information
209 ------------------
210
211 Dell Technologies
212 Yuhao Liu ([email protected]) 2024