Debian Codegraph @

ansible_collections/dellemc/powerflex/docs/modules/protection_domain.rst

raw
1 .. _protection_domain_module:
2
3
4 protection_domain -- Manage Protection Domain on Dell PowerFlex
5 ===============================================================
6
7 .. contents::
8 :local:
9 :depth: 1
10
11
12 Synopsis
13 --------
14
15 Managing Protection Domain on PowerFlex storage system includes creating, modifying attributes, deleting and getting details of Protection Domain.
16
17
18
19 Requirements
20 ------------
21 The below requirements are needed on the host that executes this module.
22
23 - A Dell PowerFlex storage system version 3.6 or later.
24 - PyPowerFlex 2.0.0.
25
26
27
28 Parameters
29 ----------
30
31 protection_domain_name (optional, str, None)
32 The name of the protection domain.
33
34 Mandatory for create operation.
35
36 It is unique across the PowerFlex array.
37
38 Mutually exclusive with \ :emphasis:`protection\_domain\_id`\ .
39
40
41 protection_domain_id (optional, str, None)
42 The ID of the protection domain.
43
44 Except for create operation, all other operations can be performed using protection\_domain\_id.
45
46 Mutually exclusive with \ :emphasis:`protection\_domain\_name`\ .
47
48
49 protection_domain_new_name (optional, str, None)
50 Used to rename the protection domain.
51
52
53 is_active (optional, bool, None)
54 Used to activate or deactivate the protection domain.
55
56
57 network_limits (optional, dict, None)
58 Network bandwidth limit used by all SDS in protection domain.
59
60
61 rebuild_limit (optional, int, None)
62 Limit the network bandwidth for rebuild.
63
64
65 rebalance_limit (optional, int, None)
66 Limit the network bandwidth for rebalance.
67
68
69 vtree_migration_limit (optional, int, None)
70 Limit the network bandwidth for vtree migration.
71
72
73 overall_limit (optional, int, None)
74 Limit the overall network bandwidth.
75
76
77 bandwidth_unit (optional, str, KBps)
78 Unit for network bandwidth limits.
79
80
81
82 rf_cache_limits (optional, dict, None)
83 Used to set the RFcache parameters of the protection domain.
84
85
86 is_enabled (optional, bool, None)
87 Used to enable or disable RFcache in the protection domain.
88
89
90 page_size (optional, int, None)
91 Used to set the cache page size in KB.
92
93
94 max_io_limit (optional, int, None)
95 Used to set cache maximum I/O limit in KB.
96
97
98 pass_through_mode (optional, str, None)
99 Used to set the cache mode.
100
101
102
103 state (True, str, None)
104 State of the protection domain.
105
106
107 hostname (True, str, None)
108 IP or FQDN of the PowerFlex host.
109
110
111 username (True, str, None)
112 The username of the PowerFlex host.
113
114
115 password (True, str, None)
116 The password of the PowerFlex host.
117
118
119 validate_certs (optional, bool, True)
120 Boolean variable to specify whether or not to validate SSL certificate.
121
122 \ :literal:`true`\ - Indicates that the SSL certificate should be verified.
123
124 \ :literal:`false`\ - Indicates that the SSL certificate should not be verified.
125
126
127 port (optional, int, 443)
128 Port number through which communication happens with PowerFlex host.
129
130
131 timeout (False, int, 120)
132 Time after which connection will get terminated.
133
134 It is to be mentioned in seconds.
135
136
137
138
139
140 Notes
141 -----
142
143 .. note::
144 - The protection domain can only be deleted if all its related objects have been dissociated from the protection domain.
145 - If the protection domain set to inactive, then no operation can be performed on protection domain.
146 - The \ :emphasis:`check\_mode`\ is not supported.
147 - The modules present in the collection named as 'dellemc.powerflex' are built to support the Dell PowerFlex storage platform.
148
149
150
151
152 Examples
153 --------
154
155 .. code-block:: yaml+jinja
156
157
158 - name: Create protection domain
159 dellemc.powerflex.protection_domain:
160 hostname: "{{hostname}}"
161 username: "{{username}}"
162 password: "{{password}}"
163 validate_certs: "{{validate_certs}}"
164 port: "{{port}}"
165 protection_domain_name: "domain1"
166 state: "present"
167
168 - name: Create protection domain with all parameters
169 dellemc.powerflex.protection_domain:
170 hostname: "{{hostname}}"
171 username: "{{username}}"
172 password: "{{password}}"
173 validate_certs: "{{validate_certs}}"
174 port: "{{port}}"
175 protection_domain_name: "domain1"
176 is_active: true
177 network_limits:
178 rebuild_limit: 10
179 rebalance_limit: 17
180 vtree_migration_limit: 14
181 overall_limit: 20
182 bandwidth_unit: "MBps"
183 rf_cache_limits:
184 is_enabled: true
185 page_size: 16
186 max_io_limit: 128
187 pass_through_mode: "Read"
188 state: "present"
189
190 - name: Get protection domain details using name
191 dellemc.powerflex.protection_domain:
192 hostname: "{{hostname}}"
193 username: "{{username}}"
194 password: "{{password}}"
195 validate_certs: "{{validate_certs}}"
196 port: "{{port}}"
197 protection_domain_name: "domain1"
198 state: "present"
199
200 - name: Get protection domain details using ID
201 dellemc.powerflex.protection_domain:
202 hostname: "{{hostname}}"
203 username: "{{username}}"
204 password: "{{password}}"
205 validate_certs: "{{validate_certs}}"
206 port: "{{port}}"
207 protection_domain_id: "5718253c00000004"
208 state: "present"
209
210 - name: Modify protection domain attributes
211 dellemc.powerflex.protection_domain:
212 hostname: "{{hostname}}"
213 username: "{{username}}"
214 password: "{{password}}"
215 validate_certs: "{{validate_certs}}"
216 port: "{{port}}"
217 protection_domain_name: "domain1"
218 protection_domain_new_name: "domain1_new"
219 network_limits:
220 rebuild_limit: 14
221 rebalance_limit: 20
222 overall_limit: 25
223 bandwidth_unit: "MBps"
224 rf_cache_limits:
225 page_size: 64
226 pass_through_mode: "WriteMiss"
227 state: "present"
228
229 - name: Delete protection domain using name
230 dellemc.powerflex.protection_domain:
231 hostname: "{{hostname}}"
232 username: "{{username}}"
233 password: "{{password}}"
234 validate_certs: "{{validate_certs}}"
235 port: "{{port}}"
236 protection_domain_name: "domain1_new"
237 state: "absent"
238
239
240
241 Return Values
242 -------------
243
244 changed (always, bool, false)
245 Whether or not the resource has changed.
246
247
248 protection_domain_details (When protection domain exists, dict, {'fglDefaultMetadataCacheSize': 0, 'fglDefaultNumConcurrentWrites': 1000, 'fglMetadataCacheEnabled': False, 'id': '7bd6457000000000', 'links': [{'href': '/api/instances/ProtectionDomain::7bd6457000000000', 'rel': 'self'}, {'href': '/api/instances/ProtectionDomain::7bd6457000000000/ relationships/Statistics', 'rel': '/api/ProtectionDomain/relationship/Statistics'}, {'href': '/api/instances/ProtectionDomain::7bd6457000000000/ relationships/Sdr', 'rel': '/api/ProtectionDomain/relationship/Sdr'}, {'href': '/api/instances/ProtectionDomain::7bd6457000000000/ relationships/AccelerationPool', 'rel': '/api/ProtectionDomain/relationship/AccelerationPool'}, {'href': '/api/instances/ProtectionDomain::7bd6457000000000/ relationships/StoragePool', 'rel': '/api/ProtectionDomain/relationship/StoragePool'}, {'href': '/api/instances/ProtectionDomain::7bd6457000000000/ relationships/Sds', 'rel': '/api/ProtectionDomain/relationship/Sds'}, {'href': '/api/instances/ProtectionDomain::7bd6457000000000/ relationships/ReplicationConsistencyGroup', 'rel': '/api/ProtectionDomain/relationship/ ReplicationConsistencyGroup'}, {'href': '/api/instances/ProtectionDomain::7bd6457000000000/ relationships/FaultSet', 'rel': '/api/ProtectionDomain/relationship/FaultSet'}, {'href': '/api/instances/System::0989ce79058f150f', 'rel': '/api/parent/relationship/systemId'}], 'mdmSdsNetworkDisconnectionsCounterParameters': {'longWindow': {'threshold': 700, 'windowSizeInSec': 86400}, 'mediumWindow': {'threshold': 500, 'windowSizeInSec': 3600}, 'shortWindow': {'threshold': 300, 'windowSizeInSec': 60}}, 'name': 'domain1', 'overallIoNetworkThrottlingEnabled': False, 'overallIoNetworkThrottlingInKbps': None, 'protectedMaintenanceModeNetworkThrottlingEnabled': False, 'protectedMaintenanceModeNetworkThrottlingInKbps': None, 'protectionDomainState': 'Active', 'rebalanceNetworkThrottlingEnabled': False, 'rebalanceNetworkThrottlingInKbps': None, 'rebuildNetworkThrottlingEnabled': False, 'rebuildNetworkThrottlingInKbps': None, 'rfcacheAccpId': None, 'rfcacheEnabled': True, 'rfcacheMaxIoSizeKb': 128, 'rfcacheOpertionalMode': 'WriteMiss', 'rfcachePageSizeKb': 64, 'sdrSdsConnectivityInfo': {'clientServerConnStatus': 'CLIENT_SERVER_CONN_STATUS_ALL _CONNECTED', 'disconnectedClientId': None, 'disconnectedClientName': None, 'disconnectedServerId': None, 'disconnectedServerIp': None, 'disconnectedServerName': None}, 'sdsConfigurationFailureCounterParameters': {'longWindow': {'threshold': 700, 'windowSizeInSec': 86400}, 'mediumWindow': {'threshold': 500, 'windowSizeInSec': 3600}, 'shortWindow': {'threshold': 300, 'windowSizeInSec': 60}}, 'sdsDecoupledCounterParameters': {'longWindow': {'threshold': 700, 'windowSizeInSec': 86400}, 'mediumWindow': {'threshold': 500, 'windowSizeInSec': 3600}, 'shortWindow': {'threshold': 300, 'windowSizeInSec': 60}}, 'sdsReceiveBufferAllocationFailuresCounterParameters': {'longWindow': {'threshold': 2000000, 'windowSizeInSec': 86400}, 'mediumWindow': {'threshold': 200000, 'windowSizeInSec': 3600}, 'shortWindow': {'threshold': 20000, 'windowSizeInSec': 60}}, 'sdsSdsNetworkDisconnectionsCounterParameters': {'longWindow': {'threshold': 700, 'windowSizeInSec': 86400}, 'mediumWindow': {'threshold': 500, 'windowSizeInSec': 3600}, 'shortWindow': {'threshold': 300, 'windowSizeInSec': 60}}, 'storagePool': [{'id': '8d1cba1700000000', 'name': 'pool1'}], 'systemId': '0989ce79058f150f', 'vtreeMigrationNetworkThrottlingEnabled': False, 'vtreeMigrationNetworkThrottlingInKbps': None})
249 Details of the protection domain.
250
251
252 fglDefaultMetadataCacheSize (, int, )
253 FGL metadata cache size.
254
255
256 fglDefaultNumConcurrentWrites (, str, )
257 FGL concurrent writes.
258
259
260 fglMetadataCacheEnabled (, bool, )
261 Whether FGL cache enabled.
262
263
264 id (, str, )
265 Protection domain ID.
266
267
268 links (, list, )
269 Protection domain links.
270
271
272 href (, str, )
273 Protection domain instance URL.
274
275
276 rel (, str, )
277 Protection domain's relationship with different entities.
278
279
280
281 mdmSdsNetworkDisconnectionsCounterParameters (, dict, )
282 MDM's SDS counter parameter.
283
284
285 longWindow (, int, )
286 Long window for Counter Parameters.
287
288
289 mediumWindow (, int, )
290 Medium window for Counter Parameters.
291
292
293 shortWindow (, int, )
294 Short window for Counter Parameters.
295
296
297
298 name (, str, )
299 Name of the protection domain.
300
301
302 overallIoNetworkThrottlingEnabled (, bool, )
303 Whether overall network throttling enabled.
304
305
306 overallIoNetworkThrottlingInKbps (, int, )
307 Overall network throttling in KBps.
308
309
310 protectedMaintenanceModeNetworkThrottlingEnabled (, bool, )
311 Whether protected maintenance mode network throttling enabled.
312
313
314 protectedMaintenanceModeNetworkThrottlingInKbps (, int, )
315 Protected maintenance mode network throttling in KBps.
316
317
318 protectionDomainState (, int, )
319 State of protection domain.
320
321
322 rebalanceNetworkThrottlingEnabled (, int, )
323 Whether rebalance network throttling enabled.
324
325
326 rebalanceNetworkThrottlingInKbps (, int, )
327 Rebalance network throttling in KBps.
328
329
330 rebuildNetworkThrottlingEnabled (, int, )
331 Whether rebuild network throttling enabled.
332
333
334 rebuildNetworkThrottlingInKbps (, int, )
335 Rebuild network throttling in KBps.
336
337
338 rfcacheAccpId (, str, )
339 Id of RF cache acceleration pool.
340
341
342 rfcacheEnabled (, bool, )
343 Whether RF cache is enabled or not.
344
345
346 rfcacheMaxIoSizeKb (, int, )
347 RF cache maximum I/O size in KB.
348
349
350 rfcacheOpertionalMode (, str, )
351 RF cache operational mode.
352
353
354 rfcachePageSizeKb (, bool, )
355 RF cache page size in KB.
356
357
358 sdrSdsConnectivityInfo (, dict, )
359 Connectivity info of SDR and SDS.
360
361
362 clientServerConnStatus (, str, )
363 Connectivity status of client and server.
364
365
366 disconnectedClientId (, str, )
367 Disconnected client ID.
368
369
370 disconnectedClientName (, str, )
371 Disconnected client name.
372
373
374 disconnectedServerId (, str, )
375 Disconnected server ID.
376
377
378 disconnectedServerIp (, str, )
379 Disconnected server IP.
380
381
382 disconnectedServerName (, str, )
383 Disconnected server name.
384
385
386
387 sdsSdsNetworkDisconnectionsCounterParameters (, dict, )
388 Counter parameter for SDS-SDS network.
389
390
391 longWindow (, int, )
392 Long window for Counter Parameters.
393
394
395 mediumWindow (, int, )
396 Medium window for Counter Parameters.
397
398
399 shortWindow (, int, )
400 Short window for Counter Parameters.
401
402
403
404 storagePool (, list, )
405 List of storage pools.
406
407
408 systemId (, str, )
409 ID of system.
410
411
412 vtreeMigrationNetworkThrottlingEnabled (, bool, )
413 Whether V-Tree migration network throttling enabled.
414
415
416 vtreeMigrationNetworkThrottlingInKbps (, int, )
417 V-Tree migration network throttling in KBps.
418
419
420
421
422
423
424 Status
425 ------
426
427
428
429
430
431 Authors
432 ~~~~~~~
433
434 - Bhavneet Sharma (@sharmb5) <[email protected]>
435