Debian Codegraph @

ansible_collections/netapp_eseries/santricity/roles/nar_santricity_host/README.md

raw symbols SCIP
1 nar_santricity_host
2 =========
3 Configures storage pools, volumes, hosts, host groups, and port interfaces for NetApp E-Series storage arrays
4 using iSCSI, FC, SAS, IB, NVMe protocols.
5
6 Requirements
7 ------------
8 - NetApp E-Series E2800 platform or newer or NetApp E-Series SANtricity Web Services Proxy configured for older E-Series Storage arrays.
9
10 Example Playbook
11 ----------------
12 - hosts: eseries_storage_systems
13 gather_facts: false
14 collection:
15 - netapp_eseries.santricity
16 tasks:
17 - name: Ensure NetApp E-Series storage system is properly configured
18 import_role:
19 name: nar_santricity_host
20
21 Example Storage System Inventory File (Discover storage system with proxy)
22 -------------------------------------
23 eseries_system_serial: "012345678901" # Be sure to quote if the serial is all numbers and begins with zero.
24 eseries_system_password: admin_password
25 eseries_proxy_api_url: https://192.168.1.100:8443/devmgr/v2/
26 eseries_proxy_api_password: admin_password
27 eseries_subnet: 192.168.1.0/24
28 eseries_prefer_embedded: true
29 eseries_validate_certs: false
30
31 eseries_initiator_protocol: iscsi
32
33 # Controller port definitions
34 eseries_controller_iscsi_port_config_method: static
35 eseries_controller_iscsi_port_subnet_mask: 255.255.255.0
36 eseries_controller_iscsi_port:
37 controller_a:
38 - address: 192.168.2.100
39 - address: 192.168.2.110
40 controller_b:
41 - address: 192.168.3.100
42 - address: 192.168.3.110
43
44 # Storage pool and volume configuration
45 eseries_storage_pool_configuration:
46 - name: pool[1-2]
47 raid_level: raid6
48 criteria_drive_count: 10
49 volumes:
50 - name: "[pool]_volume[A-C]"
51 host: server_group
52 size: 4096
53
54 Example Storage System Inventory File (Without storage system discovery)
55 -------------------------------------
56 eseries_system_api_url: https://192.168.1.200:8443/devmgr/v2/
57 eseries_system_password: admin_password
58 eseries_validate_certs: false
59
60 (...) # Same as the previous example
61
62 Yet Another Example System Inventory File
63 -----------------------------------------
64 eseries_system_api_url: https://192.168.1.200:8443/devmgr/v2/
65 eseries_system_password: admin_password
66 eseries_validate_certs: false
67
68 eseries_initiator_protocol: nvme_ib
69 eseries_controller_nvme_ib_port:
70 controller_a:
71 - 192.168.1.100
72 - 192.168.1.110
73 controller_b:
74 - 192.168.2.100
75 - 192.168.2.110
76
77 eseries_storage_pool_configuration:
78 - name: vg[1-2]
79 raid_level: raid6
80 criteria_drive_count: 12
81 criteria_volume_count: 4
82 criteria_reserve_free_capacity_pct: 7
83 common_volume_host: server_group
84
85 Role Variables
86 --------------
87 **Note that when values are specified below, they indicate the default value.**
88
89 # Web Services Embedded information
90 eseries_subnet: # Network subnet to search for the storage system specified in CIDR form. Example: 192.168.1.0/24
91 eseries_system_serial: # Storage system serial number. Be sure to quote if the serial is all numbers and begins with zero. (This is located
92 # on a label at the top-left towards the front on the device)
93 eseries_system_addresses: # Storage system management IP addresses. Only required when eseries_system_serial or eseries_system_api_url are not
94 # defined. When not specified, addresses will be populated with eseries_management_interfaces controller addresses.
95 eseries_system_api_url: # Url for the storage system's for embedded web services rest api. Example: https://192.168.10.100/devmgr/v2
96 eseries_system_username: admin # Username for the storage system's for embedded web services rest api
97 eseries_system_password: # Password for the storage system's for embedded web services rest api and when the admin password has not been set
98 # eseries_system_password will be used to set it.
99 eseries_proxy_ssid: # Arbitrary string for the proxy to represent the storage system. eseries_system_serial will be used when not defined.
100 eseries_template_api_url: # Template for the web services api url. Default: https://0.0.0.0:8443/devmgr/v2/
101 eseries_prefer_embedded: false # Overrides the default behavior of using Web Services Proxy when eseries_proxy_api_url is defined. This will only effect storage systems that have Embedded Web Services.
102 eseries_validate_certs: true # Indicates Whether SSL certificates should be verified. Used for both embedded and proxy. Choices: true, false
103
104 # Web Services Proxy information
105 Note: eseries_proxy_* variables are required to discover storage systems prior to SANtricity OS version 11.60.2.
106 eseries_proxy_api_url: # Url for the storage system's for proxy web services rest api. Example: https://192.168.10.100/devmgr/v2
107 eseries_proxy_api_username: # Username for the storage system's for proxy web services rest api.
108 eseries_proxy_api_password: # Password for the storage system's for proxy web services rest api and when the admin password has not been set
109 # eseries_proxy_api_password will be used to set it.
110
111 # Controller iSCSI Interface Port Default Policy Specifications
112 eseries_controller_iscsi_port_state: enabled # Generally specifies whether a controller port definition should be applied Choices: enabled, disabled
113 eseries_controller_iscsi_port_config_method: dhcp # General port configuration method definition for both controllers. Choices: static, dhcp
114 eseries_controller_iscsi_port_gateway: # General port IPv4 gateway for both controllers.
115 eseries_controller_iscsi_port_subnet_mask: # General port IPv4 subnet mask for both controllers.
116 eseries_controller_iscsi_port_mtu: 9000 # General port maximum transfer units (MTU) for both controllers. Any value greater than 1500 (bytes).
117 eseries_controller_iscsi_port_speed: # General port speed for both controllers.
118 eseries_controller_iscsi_port:
119 controller_a: # Ordered list of controller A channel definition.
120 - state: # Whether the port should be enabled. Choices: enabled, disabled
121 config_method: # Port configuration method Choices: static, dhcp
122 address: # Port IPv4 address
123 gateway: # Port IPv4 gateway
124 subnet_mask: # Port IPv4 subnet_mask
125 mtu: # Port IPv4 mtu
126 speed: # Port speed
127 controller_b: # Ordered list of controller B channel definition.
128 - (...) # Same as controller A but for controller B
129
130 # Controller InfiniBand iSER Interface Channel
131 eseries_controller_ib_iser_port:
132 controller_a: # Ordered list of controller A channel address definition.
133 - # Port IPv4 address for channel 1
134 - (...) # So on and so forth
135 controller_b: # Ordered list of controller B channel address definition.
136
137 # Controller NVMe over InfiniBand Interface Channel
138 eseries_controller_nvme_ib_port:
139 controller_a: # Ordered list of controller A channel address definition.
140 - # Port IPv4 address for channel 1
141 - (...) # So on and so forth
142 controller_b: # Ordered list of controller B channel address definition.
143
144 # Controller NVMe RoCE Interface Port Default Policy Specifications
145 eseries_controller_nvme_roce_port_state: enabled # Generally specifies whether a controller port definition should be applied Choices: enabled, disabled
146 eseries_controller_nvme_roce_port_config_method: dhcp # General port configuration method definition for both controllers. Choices: static, dhcp
147 eseries_controller_nvme_roce_port_gateway: # General port IPv4 gateway for both controllers.
148 eseries_controller_nvme_roce_port_subnet_mask: # General port IPv4 subnet mask for both controllers.
149 eseries_controller_nvme_roce_port_mtu: 4200 # General port maximum transfer units (MTU). Any value greater than 1500 (bytes).
150 eseries_controller_nvme_roce_port_speed: auto # General interface speed. Value must be a supported speed or auto for automatically negotiating the speed with the port.
151 eseries_controller_nvme_roce_port:
152 controller_a: # Ordered list of controller A channel definition.
153 - state: # Whether the port should be enabled.
154 config_method: # Port configuration method Choices: static, dhcp
155 address: # Port IPv4 address
156 subnet_mask: # Port IPv4 subnet_mask
157 gateway: # Port IPv4 gateway
158 mtu: # Port IPv4 mtu
159 speed: # Port IPv4 speed
160 controller_b: # Ordered list of controller B channel definition.
161 - (...) # Same as controller A but for controller B
162
163 # Target discovery specifications
164 Note: add the following to ansible-playbook command to update the chap secret: --extra-vars "eseries_target_chap_secret_update=True
165 eseries_target_name: # iSCSI target name that will be seen by the initiator
166 eseries_target_ping: True # Enables ICMP ping response from the configured iSCSI ports (boolean)
167 eseries_target_unnamed_discovery: True # Whether the iSCSI target iqn should be returned when an initiator performs a discovery session.
168 eseries_target_chap_secret: # iSCSI chap secret. When left blank, the chap secret will be removed from the storage system.
169 eseries_target_chap_secret_update: False # DO NOT REMOVE! Since na_santricity_iscsi_target cannot compare the chap secret with the current and chooses to always
170 # return changed=True, this flag is used to force the module to update the chap secret. It is preferable to
171 # leave this value False and to add the --extra-vars "eseries_target_chap_secret_update=True".
172
173 # Storage Pool Default Policy Specifications
174 eseries_storage_pool_state: present # Default storage pool state. Choices: present, absent
175 eseries_storage_pool_raid_level: raidDiskPool # Default volume raid level. Choices: raid0, raid1, raid5, raid6, raidDiskPool
176 eseries_storage_pool_secure_pool: false # Default for storage pool drive security. This flag will enable the security at rest feature. There
177 # must be sufficient FDE or FIPS security capable drives. Choices: true, false
178 eseries_storage_pool_criteria_drive_count: # Default storage pool drive count.
179 eseries_storage_pool_reserve_drive_count: # Default reserve drive count for drive reconstruction for storage pools using dynamic disk pool and
180 # the raid level must be set for raidDiskPool.
181 eseries_storage_pool_criteria_min_usable_capacity: # Default minimum required capacity for storage pools.
182 eseries_storage_pool_criteria_drive_type: # Default drive type for storage pools. Choices: hdd, ssd
183 eseries_storage_pool_criteria_drive_interface_type: # Default interface type to use when selecting drives for the storage pool.
184 # Choices: scsi, fibre, sata, pata, fibre520b, sas, sas4k, nvme4k
185 eseries_storage_pool_criteria_size_unit: gb # Default unit size for all storage pool related sizing.
186 # Choices: bytes, b, kb, mb, gb, tb, pb, eb, zb, yb
187 eseries_storage_pool_criteria_drive_min_size: # Default minimum drive size for storage pools.
188 eseries_storage_pool_criteria_drive_max_size: # Default maximum drive size for storage pools.
189 eseries_storage_pool_criteria_drive_require_da: # Default for whether storage pools are required to have data assurance (DA) compatible drives.
190 # Choices: true, false
191 eseries_storage_pool_criteria_drive_require_fde: # Default for whether storage pools are required to have drive security compatible drives.
192 # Choices: true, false
193 eseries_storage_pool_remove_volumes: # Default policy for deleting volumes prior to removing storage pools.
194 eseries_storage_pool_erase_secured_drives: # Default policy for erasing the content drives during create and delete storage pool operations.
195 # Choices: true, false
196 eseries_storage_pool_ddp_critical_threshold_pct: # Default policy for dynamic disk pool alert critical threshold.
197 eseries_storage_pool_ddp_warning_threshold_pct: # Default policy for dynamic disk pool alert warning threshold.
198
199 # Volume Default Policy Specifications
200 eseries_volume_state: present # Default volume state. Choices: present, absent
201 eseries_volume_size_unit: gb # Default unit size for all volume sizing options.
202 # Choices: bytes, b, kb, mb, gb, tb, pb, eb, zb, yb, pct
203 eseries_volume_size: # Default volume size or the presented size for thinly provisioned volumes.
204 eseries_volume_data_assurance_enabled: # Default for whether data assurance(DA) is required to be enabled.
205 eseries_volume_segment_size_kb: # Default segment size measured in kib.
206 eseries_volume_read_cache_enable: # Default for read caching which will cache all read requests.
207 eseries_volume_read_ahead_enable: # Default for read ahead caching; this is good for sequential workloads to cache subsequent blocks.
208 eseries_volume_write_cache_enable: # Default for write caching which will cache all writes.
209 eseries_volume_write_cache_mirror_enable: # Default for write cache mirroring which mirrors writes to both controller's cache.
210 eseries_volume_cache_without_batteries: # Default for allowing caching when batteries are not present.
211 eseries_volume_thin_provision: # Default for whether volumes should be thinly provisioned.
212 eseries_volume_thin_volume_repo_size: # Default for actually allocated space for thinly provisioned volumes.
213 eseries_volume_thin_volume_max_repo_size: # Default for the maximum allocated space allowed for thinly provisioned volumes.
214 eseries_volume_thin_volume_expansion_policy: # Default thin volume expansion policy. Choices: automatic, manual
215 eseries_volume_thin_volume_growth_alert_threshold: # Default thin volume growth alert threshold; this is the threshold for when the thin volume expansion
216 # policy will be enacted. Allowable values are between and including 10% and 99%
217 eseries_volume_ssd_cache_enabled: # Default for ssd cache which will enable the volume to use an existing SSD cache on the storage array.
218 eseries_volume_host: # Default host for all volumes; the value can be any host from the Ansible inventory. Any initiator may be
219 # used whether connected or not since the storage array does not require connectivity in order to create
220 # host objects.
221 eseries_volume_workload_name: # Default workload tag name
222 eseries_volume_workload_metadata: # Default workload metadata
223 eseries_volume_volume_metadata: # Default volume_metadata
224 eseries_volume_owning_controller # Default preferred owning controller
225 eseries_volume_allow_expansion: false # Default for whether volume expansions are permitted
226 eseries_volume_wait_for_initialization: false # Default for whether volume creation with wait for initialization to complete
227
228 # Storage Pool-Volume Mapping Default Policy Specifications
229 eseries_lun_mapping_state: present # Generally specifies whether a LUN mapping should be present. This is useful when adding a default host for all
230 # volumes. Choices: present, absent
231 eseries_lun_mapping_host: # Default host for all volumes not specifically give a host either in common_volume_configuration or in
232 # eseries_storage_pool_configuration.
233
234 # Storage Pool-Volume Default Policy Specifications
235 Name schemes: Storage pool and volume names can be used to specify a naming scheme to produce a list of storage pools and volumes. The scheme are defined by
236 brackets and can be used to specify a range of lowercase letters, uppercase letters, range of single digit numbers, any top-level inventory
237 variables, and the current defined storage pool (volume only).
238 eseries_storage_pool_configuration:
239 - name: # Name or name scheme (see above) for the storage pool.
240 state: # Specifies whether the storage pool should exist (present, absent). When removing an existing storage array all of the
241 # volumes must be defined with state=absent.
242 raid_level # Volume group raid level. Choices: raid0, raid1, raid5, raid6, raidDiskPool (Default: raidDiskPool)
243 secure_pool: # Default for storage pool drive security. This flag will enable the security at rest feature. There must be sufficient FDE
244 # or FIPS security capable drives. Choices: true, false
245 criteria_drive_count: # Default storage pool drive count.
246 criteria_volume_count: # Number of equally sized volumes to create. All available storage pool space will be used. The option will be ignored
247 # if volumes is defined.
248 criteria_reserve_free_capacity_pct # Percent of reserve free space capacity to leave when creating the criteria_volume_count volumes.
249 common_volume_host # Host or host group for the criteria_volume_count volumes should be mapped.
250 reserve_drive_count: # Default reserve drive count for drive reconstruction for storage pools using dynamic disk pool and the raid level must be
251 # set for raidDiskPool.
252 criteria_size_unit: # Unit size for all storage pool related sizing. Choices: bytes, b, kb, mb, gb, tb, pb, eb, zb, yb, pct
253 criteria_min_usable_capacity: # Minimum required capacity for storage pools.
254 criteria_drive_type: # Drive type for storage pools. Choices: hdd, ssd
255 criteria_drive_interface_type # Interface type to use when selecting drives for the storage pool. Choices: scsi, fibre, sata, pata, fibre520b, sas, sas4k, nvme4k
256 criteria_drive_min_size: # Minimum drive size for storage pools.
257 criteria_drive_max_size: # Maximum drive size for storage pools.
258 criteria_drive_require_da: # Whether storage pools are required to have data assurance (DA) compatible drives. Choices: true, false
259 criteria_drive_require_fde: # Whether storage pools are required to have drive security compatible drives. Choices: true, false
260 remove_volumes: # Policy for deleting volumes prior to removing storage pools.
261 erase_secured_drives: # Policy for erasing the content drives during create and delete storage pool operations. Choices: true, false
262 common_volume_configuration: # Any option that can be specified at the volume level can be generalized here at the storage pool level. This is useful when
263 # all volumes share common configuration definitions.
264 volumes: # List of volumes associated the storage pool.
265 - state: # Specifies whether the volume should exist (present, absent)
266 name: # (required) Name or name scheme (see above) for the volume(s) to be created in the storage pool(s)
267 host: # host or host group for the volume should be mapped to.
268 host_type: # Only required when using something other than Linux kernel 3.10 or later with DM-MP (Linux DM-MP),
269 # non-clustered Windows (Windows), or the storage system default host type is incorrect. Common definitions below:
270 # - AIX MPIO: The Advanced Interactive Executive (AIX) OS and the native MPIO driver
271 # - AVT 4M: Silicon Graphics, Inc. (SGI) proprietary multipath driver; refer to the SGI installation documentation for more information
272 # - HP-UX: The HP-UX OS with native multipath driver
273 # - Linux ATTO: The Linux OS and the ATTO Technology, Inc. driver (must use ATTO FC HBAs)
274 # - Linux DM-MP: The Linux OS and the native DM-MP driver
275 # - Linux Pathmanager: The Linux OS and the SGI proprietary multipath driver; refer to the SGI installation documentation for more information
276 # - Mac: The Mac OS and the ATTO Technology, Inc. driver
277 # - ONTAP: FlexArray
278 # - Solaris 11 or later: The Solaris 11 or later OS and the native MPxIO driver
279 # - Solaris 10 or earlier: The Solaris 10 or earlier OS and the native MPxIO driver
280 # - SVC: IBM SAN Volume Controller
281 # - VMware: ESXi OS
282 # - Windows: Windows Server OS and Windows MPIO with a DSM driver
283 # - Windows Clustered: Clustered Windows Server OS and Windows MPIO with a DSM driver
284 # - Windows ATTO: Windows OS and the ATTO Technology, Inc. driver
285 size: # Size of the volume or presented size of the thinly provisioned volume.
286 size_unit: # Unit size for the size, thin_volume_repo_size, and thin_volume_max_repo_size
287 # Choices: bytes, b, kb, mb, gb, tb, pb, eb, zb, yb, pct
288 segment_size_kb: # Indicates the amount of data stored on a drive before moving on to the next drive in the volume group. Does not apply to pool volumes.
289 raid_level: # Sets the RAID level for the volume in a raidDiskPool. Choices: raid1, raid6
290 thin_provision: # Whether volumes should be thinly provisioned.
291 thin_volume_repo_size: # Actually allocated space for thinly provisioned volumes.
292 thin_volume_max_repo_size: # Maximum allocated space allowed for thinly provisioned volumes.
293 thin_volume_expansion_policy: # Thin volume expansion policy. Choices: automatic, manual
294 thin_volume_growth_alert_threshold: # Thin volume growth alert threshold; this is the threshold for when the thin volume expansion
295 # policy will be enacted. Allowable values are between and including 10% and 99%
296 ssd_cache_enabled: # Enables ssd cache which will enable the volume to use an existing SSD cache on the storage array.
297 data_assurance_enabled: # Enables whether data assurance(DA) is required to be enabled.
298 read_cache_enable: # Enables read caching which will cache all read requests.
299 read_ahead_enable: # Enables read ahead caching; this is good for sequential workloads to cache subsequent blocks.
300 write_cache_enable: # Enables write caching which will cache all writes.
301 write_cache_mirror_enable: # Enables write cache mirroring which mirrors writes to both controller's cache.
302 workload_name: # Name of the volume's workload. This can be defined using the metadata option or, if already defined, specify one already
303 # created on the storage array.
304 workload_metadata: # Dictionary containing arbitrary entries normally used for defining the volume(s) workload.
305 volume_metadata # Dictionary containing arbitrary entries used to define information about the volume itself.
306 # Note: format_type, format_options[0-9]?, mount_directory, mount_options[0-9]? are used by netapp_eseries.host.mount role to format and mount volumes.
307 allow_expansion: # Whether volume expansions are permitted
308 wait_for_initialization: # Whether volume creation with wait for initialization to complete
309
310 # Snapshot Consistency Group Default Policy Specifications
311 eseries_snapshot_remove_unspecified: # Whether to remove any snapshot group or view that is not specified (Default: false).
312 eseries_snapshot_groups_maximum_snapshots: # Default maximum point-in-time snapshot images (Default: 32).
313 eseries_snapshot_groups_reserve_capacity_pct: # Default reserve capacity percentage (Default: 40)
314 eseries_snapshot_groups_preferred_reserve_storage_pool: # Preferred storage pool or volume group for the reserve capacity volume.
315 eseries_snapshot_groups_reserve_capacity_full_policy: # Default full reserve capacity policy (Default: purge). Choices: [purge, reject]
316 eseries_snapshot_groups_alert_threshold_pct: # Default reserve capacity percentage full to alert administrators (Default 75).
317 eseries_snapshot_groups:
318 - name: # Name of snapshot consistency group.
319 maximum_snapshots: # Maximum allowed snapshot point-in-time images for consistency group (Default: 32).
320 reserve_capacity_pct: # Reserve capacity measured as a percentage of the base volume (Default: 40). Reserve capacity can be expanded
321 # and trimmed; however, the trim operation requires there be no base volume snapshots images in the group.
322 reserve_capacity_full_policy: # Policy to implement when reserve capacity is full (Default: purge). Choices [purge, reject]
323 alert_threshold_pct: # Reserve capacity full alert threshold for storage system administrators (Default: 75).
324 rollback_priority: # Storage system priority for base volume rollback (Default: medium). Choices [lowest, low, medium, high, highest]
325 volumes: # Information for each volume in the consistency group.
326 - volume: # Base volume name
327 reserve_capacity_pct: # Reserve capacity measured as a percentage of the base volume (Default: 40). Reserve capacity can be expanded
328 # and trimmed; however, the trim operation requires there be no base volume snapshots images in the group.
329 preferred_reserve_storage_pool: # Preferred reserve capacity storage pool or volume group. This will default to the base volume's
330 # storage pool or volume group. The reserve capacity volume cannot be changed once created.
331 - (...)
332
333 # Snapshot Consistency Group View Default Policy Specifications
334 eseries_snapshot_views_host: # Default host or host group to map all snapshot volumes.
335 eseries_snapshot_views_reserve_capacity_pct: # Default reserve capacity percentage (Default: 40)
336 eseries_snapshot_views_preferred_reserve_storage_pool: # Preferred storage pool or volume group for the reserve capacity volume.
337 eseries_snapshot_views_alert_threshold_pct: # Default reserve capacity percentage full to alert administrators (Default 75).
338 eseries_snapshot_views_writable: # Default for whether to make snapshot volumes writable.
339 eseries_snapshot_views_validate: # Default for whether to validate snapshot volumes after creation.
340 eseries_snapshot_views:
341 - volume: # Consistency group's snapshot view's name.
342 group_name: # Snapshot consistency group's name.
343 pit_name: # Point-in-time snapshot images group name. (Only available when specified using Ansible na_santricity_module (via direct or role)
344 pit_timestamp: # Point-in-time snapshot images group timestamp. Snapshot image timestamp in the YYYY-MM-DD HH:MM:SS (AM|PM) (hours, minutes, seconds, and day-period are optional)
345 host: # Host or host group to map snapshot volumes.
346 writable: # Whether snapshot volume of base volume images should be writable.
347 validate: # Whether snapshot volume should be validated which includes both a media scan and parity validation.
348 reserve_capacity_pct: # Percentage of base volume capacity to reserve for snapshot copy-on-writes (COW). Only used when snapshot volume is writable.
349 preferred_reserve_storage_pool: # Preferred storage pool or volume group for the reserve capacity volume.
350 alert_threshold: # Reserve capacity percentage full to alert administrators
351 volumes: # (Optional) Select subset of volumes within the snapshot consistency group.
352 - name: # Name of volume within consistency group.
353 host: # Host or host group to map snapshot volumes.
354 lun: # Logical unit number (LUN) mapping for the host or host group.
355 writable: # Whether snapshot volume of base volume images should be writable.
356 validate: # Whether snapshot volume should be validated which includes both a media scan and parity validation.
357 reserve_capacity_pct: # Percentage of base volume capacity to reserve for snapshot copy-on-writes (COW). Only used when snapshot volume is writable.
358 preferred_reserve_storage_pool: # Preferred storage pool or volume group for the reserve capacity volume.
359
360 # Snapshot Consistency Group Rollback Default Policy Specifications
361 eseries_snapshot_rollback_priority: medium # Default point-in-time rollback priority (Default: medium). Choices [lowest, low, medium, high, highest]
362 eseries_snapshot_rollback_backup: true # Default whether snapshot should be taken prior to rolling back base volumes (Default: true).
363 eseries_snapshot_rollbacks:
364 - group_name: # Snapshot consistency group's name.
365 pit_name: # Point-in-time snapshot images group name (Only available when specified using Ansible na_santricity_module (via direct or role)
366 pit_timestamp: # Point-in-time snapshot images group timestamp. Snapshot image timestamp in the YYYY-MM-DD HH:MM:SS (AM|PM) (hours, minutes, seconds, and day-period are optional)
367 rollback_priority: # Storage system priority for base volume rollback (Default: medium). Choices [lowest, low, medium, high, highest]
368 rollback_backup: # Whether to create point-in-time snapshot images of the consistency group prior to rollback.
369 volumes:
370
371 # Initiator-Target Protocol Variable Defaults
372 Note that the following commands need to produce a unique list of IQNs or WWNs of the interfaces used, line separated. Overwrite as necessary.
373 eseries_initiator_protocol: fc # This variable defines which protocol the storage array will use. Choices: fc, iscsi, sas, ib_iser, ib_srp, nvme_ib, nvme_fc, nvme_roce
374 eseries_initiator_command:
375 fc:
376 linux: "cat /sys/class/fc_host/host*/port_name | sort | uniq"
377 windows: "(Get-InitiatorPort | Where-Object -P ConnectionType -EQ 'Fibre Channel' | Select-Object -Property PortAddress |
378 Format-Table -AutoSize -HideTableHeaders | Out-String).trim()"
379 iscsi:
380 linux: "grep -o iqn.* /etc/iscsi/initiatorname.iscsi"
381 windows: "(get-initiatorPort | select-object -property nodeaddress | sort-object | get-unique | ft -autoSize | out-string -stream |
382 select-string iqn | out-string).trim()"
383 sas:
384 # NetApp IMT for SAS attached E-Series SAN hosts recommends adding all possible SAS addresses with the base address
385 # starting at 0, and the last address ending in 3 for single port HBAs, or 7 for dual port HBAs. Since determining
386 # single vs . dual port HBAs adds complexity, we always add all 8 possible permutations of the SAS address.
387 linux: "cat /sys/class/sas_host/host*/device/scsi_host/*/host_sas_address | sort | uniq"
388 windows: "(Get-InitiatorPort | Where-Object -P ConnectionType -EQ 'SAS' | Select-Object -Property PortAddress | Format-Table -AutoSize -HideTableHeaders | Out-String).trim()"
389 ib_iser:
390 linux: "grep -o iqn.* /etc/iscsi/initiatorname.iscsi"
391 windows: "" # add windows command for determining host iqn address(es)
392 ib_srp:
393 linux: "for fp in /sys/class/infiniband/*/ports/*/gids/*; do out=`cat $fp | tr -d :`; port=`expr substr $out 17 32`; if [ $port != 0000000000000000 ]; then echo 0x$port; fi; done | sort | uniq"
394 windows: "" # add windows command for determining host guid
395 nvme_ib:
396 linux: "grep -o nqn.* /etc/nvme/hostnqn"
397 windows: "" # add windows command for determining host nqn address(es)
398 nvme_fc:
399 linux: "grep -o nqn.* /etc/nvme/hostnqn"
400 windows: "" # add windows command for determining host nqn address(es)
401 nvme_roce:
402 linux: "grep -o nqn.* /etc/nvme/hostnqn"
403 windows: "" # add windows command for determining host nqn address(es)
404
405 # Manual host definitions, Linux and Windows systems can be automatically populated based on host mappings found in eseries_storage_pool_configuration
406 eseries_host_force_port: true # Default for whether ports are to be allowed to be re-assigned (boolean)
407 eseries_host_remove_unused_hostgroup: true # Forces any unused groups to be removed
408 eseries_host_object:
409 - name: # Host label as referenced by the storage array.
410 state: # Specifies whether host definition should be exist. Choices: present, absent
411 ports: # List of port definitions
412 - type: # Port protocol definition (iscsi, fc, sas, ib, nvme). Note that you should use 'iscsi' prior to Santricity version 11.60 for IB iSER.
413 label: # Arbitrary port label
414 port: # Port initiator (iqn, wwn, etc)
415 group: # Host's host group
416 host_type: # Only required when using something other than Linux kernel 3.10 or later with DM-MP (Linux DM-MP),
417 # non-clustered Windows (Windows), or the storage system default host type is incorrect. Common definitions below:
418 # - AIX MPIO: The Advanced Interactive Executive (AIX) OS and the native MPIO driver
419 # - AVT 4M: Silicon Graphics, Inc. (SGI) proprietary multipath driver; refer to the SGI installation documentation for more information
420 # - HP-UX: The HP-UX OS with native multipath driver
421 # - Linux ATTO: The Linux OS and the ATTO Technology, Inc. driver (must use ATTO FC HBAs)
422 # - Linux DM-MP: The Linux OS and the native DM-MP driver
423 # - Linux Pathmanager: The Linux OS and the SGI proprietary multipath driver; refer to the SGI installation documentation for more information
424 # - Mac: The Mac OS and the ATTO Technology, Inc. driver
425 # - ONTAP: FlexArray
426 # - Solaris 11 or later: The Solaris 11 or later OS and the native MPxIO driver
427 # - Solaris 10 or earlier: The Solaris 10 or earlier OS and the native MPxIO driver
428 # - SVC: IBM SAN Volume Controller
429 # - VMware: ESXi OS
430 # - Windows: Windows Server OS and Windows MPIO with a DSM driver
431 # - Windows Clustered: Clustered Windows Server OS and Windows MPIO with a DSM driver
432 # - Windows ATTO: Windows OS and the ATTO Technology, Inc. driver
433
434 License
435 -------
436 BSD-3-Clause
437
438 Author Information
439 ------------------
440 Nathan Swartz (@ndswartz)