Debian Codegraph @

ansible_collections/netapp_eseries/santricity/README.md

raw
1 NetApp E-Series SANtricity Collection
2 =========
3 The SANtricity collection consist of the latest available versions of the NetApp E-Series SANtricity modules and roles.
4
5 This collection provides NetApp E-Series customers with a wide range of configuration options through the collection's modules. However, the real
6 benefit of using the SANtricity collection is found in the host and management roles. These roles provide ready-made, policy-based orchestration for
7 E-Series platforms based on predefined role variables.
8
9 Once the physical hardware has been installed, the SANtricity roles are capable of discovering the DHCP-assigned addresses, setting initial passwords
10 and management interfaces so your automation can do full deployments for you without logging directly into the devices. Yet that's just the beginning,
11 the management role will also ensure alerts, ASUP, logging, LDAP, and firmware are configured as expected; and the host role will setup host interfaces,
12 provision and map storage, and if your servers are defined in the inventory, correctly populate E-Series hosts and host groups automatically.
13
14
15 Roles:
16 - nar_santricity_common: Discover NetApp E-Series storage systems and configures SANtricity Web Services Proxy.
17 - nar_santricity_host: Configure storage pools, volumes, hosts, host groups, port interfaces and snapshots.
18 - nar_santricity_management: Manage storage system's name, management interfaces, alerts, syslog, auditlog, asup, ldap, certificates, drive firmware and controller firmware.
19
20 Modules:
21 - na_santricity_alerts: Manage email alert notification settings
22 - na_santricity_alerts_syslog: Manage syslog servers receiving storage system alerts
23 - na_santricity_asup: Manage auto-support settings
24 - na_santricity_auditlog: Manage audit-log configuration
25 - na_santricity_auth: Set or update the password for a storage array
26 - na_santricity_client_certificate: Manage remote server certificates
27 - na_santricity_server_certificate: Manage storage system certificates
28 - na_santricity_discover: Discover E-Series storage systems on a subnet
29 - na_santricity_drive_firmware: Manage drive firmware
30 - na_santricity_facts: Retrieve facts about NetApp E-Series storage arrays
31 - na_santricity_firmware: Manage firmware
32 - na_santricity_global: Manage global settings configuration
33 - na_santricity_host: Manage eseries hosts
34 - na_santricity_hostgroup: Manage array host groups
35 - na_santricity_ib_iser_interface: Manage InfiniBand iSER interfaces.
36 - na_santricity_iscsi_interface: Manage iSCSI interface configuration
37 - na_santricity_iscsi_target: Manage iSCSI target configuration
38 - na_santricity_ldap: Manage LDAP integration to use for authentication
39 - na_santricity_lun_mapping: Manage lun mappings
40 - na_santricity_mgmt_interface: Manage management interface configuration
41 - na_santricity_nvme_interface: Manage NVMe interfaces
42 - na_santricity_proxy_drive_firmware_upload: Manage proxy drive firmware cache.
43 - na_santricity_proxy_firmware_upload: Manage proxy storage system firmware cache.
44 - na_santricity_proxy_systems: Manage proxy storage systems.
45 - na_santricity_snapshot: Manage Snapshot groups, volumes, and rollbacks.
46 - na_santricity_storage_system: Manage SANtricity web services proxy storage arrays
47 - na_santricity_storagepool: Manage volume groups and disk pools
48 - na_santricity_syslog: Manage syslog settings
49 - na_santricity_volume: Manage storage volumes
50
51 *** Note that the following deprecated modules will be removed in a future release.
52 Deprecated Modules:
53 - netapp_e_alerts: Manage email notification settings
54 - netapp_e_amg: Create, remove, and update asynchronous mirror groups
55 - netapp_e_amg_role: Update the role of a storage array within an Asynchronous Mirror Group (AMG)
56 - netapp_e_amg_sync: Conduct synchronization actions on asynchronous mirror groups
57 - netapp_e_asup: Manage auto-support settings
58 - netapp_e_auditlog: Manage audit-log configuration
59 - netapp_e_auth: Set or update the password for a storage array
60 - netapp_e_drive_firmware: Manage drive firmware
61 - netapp_e_facts: Retrieve facts about NetApp E-Series storage arrays
62 - netapp_e_firmware: Manage firmware
63 - netapp_e_flashcache: Manage SSD caches
64 - netapp_e_global: Manage global settings configuration
65 - netapp_e_hostgroup: Manage eseries hosts
66 - netapp_e_host: Manage array host groups
67 - netapp_e_iscsi_interface: Manage iSCSI interface configuration
68 - netapp_e_iscsi_target: Manage iSCSI target configuration
69 - netapp_e_ldap: Manage LDAP integration to use for authentication
70 - netapp_e_lun_mapping: Create, delete, or modify lun mappings
71 - netapp_e_mgmt_interface: Manage management interface configuration
72 - netapp_e_snapshot_group: Manage snapshot groups
73 - netapp_e_snapshot_images: Create and delete snapshot images
74 - netapp_e_snapshot_volume: Manage snapshot volumes
75 - netapp_e_storagepool: Manage volume groups and disk pools
76 - netapp_e_storage_system: Manage Web Services Proxy manage storage arrays
77 - netapp_e_syslog: Manage syslog settings
78 - netapp_e_volume_copy: Create volume copy pairs
79 - netapp_e_volume: Manage storage volumes (standard and thin)
80
81 Requirements
82 ------------
83 - NetApp E-Series E2800 platform or newer or NetApp E-Series SANtricity Web Services Proxy configured for older E-Series Storage arrays.
84 - Python cryptography >= 2.5 package is required for na_santricity_server_certificate and nar_santricity_management role.
85 - Python ipaddress and netaddr packages are required for na_santricity_discover, na_santricity_ and nar_santricity_common role.
86
87 Tested Ansible Versions
88 -----------------------
89 - Ansible 12 (ansible-core 2.19)
90
91 Example Playbook
92 ----------------
93 - hosts: eseries_storage_systems
94 gather_facts: false
95 collections:
96 - netapp_eseries.santricity
97 tasks:
98 - name: Ensure all management related policies are enforced.
99 import_role:
100 name: nar_santricity_management
101 - name: Ensure all host related policies are enforced.
102 import_role:
103 name: nar_santricity_host
104
105 Example Storage System Inventory File (Simple example without storage system discovery)
106 -------------------------------------
107 eseries_system_api_url: https://192.168.1.200:8443/devmgr/v2/
108 eseries_system_password: admin_password
109 eseries_validate_certs: false
110
111 eseries_system_name: my_eseries_array
112
113 eseries_management_interfaces:
114 config_method: static
115 subnet_mask: 255.255.255.0
116 gateway: 192.168.1.1
117 dns_config_method: static
118 dns_address: 192.168.1.253
119 ntp_config_method: static
120 ntp_address: 192.168.1.200
121 controller_a:
122 - address: 192.168.1.100
123 - address: 192.168.1.101
124 controller_b:
125 - address: 192.168.1.102
126 - address: 192.168.1.103
127
128 eseries_initiator_protocol: fc
129
130 # Storage pool and volume configuration
131 eseries_storage_pool_configuration:
132 - name: vg_01
133 raid_level: raid6
134 criteria_drive_count: 10
135 volumes:
136 - name: metadata
137 host: servers
138 size: 4096
139 - name: vg_02
140 raid_level: raid5
141 criteria_drive_count: 10
142 volumes:
143 - name: storage_[1-3]
144 host: servers
145 size: 2
146 size_unit: tb
147 volume_metadata: # Used by netapp_eseries.host.mount role to format and mount volumes
148 format_type: xfs
149 mount_opt: "noatime,nodiratime,logbufs=8,logbsize=256k,largeio,inode64,swalloc,allocsize=131072k,nobarrier,_netdev"
150 mount_dir: "/data/beegfs/"
151
152 Example Storage System Inventory File (Discover storage system)
153 -------------------------------------
154 **Note that this discovery method works for SANtricity versions 11.62 or later, otherwise it will only discover the systems with unset passwords.**
155
156 eseries_system_serial: 012345678901
157 eseries_system_password: admin_password
158 eseries_subnet: 192.168.1.0/24
159
160 eseries_management_interfaces: # (Optional) Specifying static management interfaces can be used not only to discover the storage system but also to contact when valid.
161 config_method: static
162 controller_a:
163 - address: 192.168.1.100
164 controller_b:
165 - address: 192.168.1.101
166
167 (...) # Same as the previous examples starting with the eseries_validate_certs line
168
169 Example Storage System Inventory File (Discover storage system with proxy)
170 -------------------------------------
171 eseries_system_serial: 012345678901
172 eseries_system_password: admin_password
173
174 eseries_proxy_api_url: https://192.168.1.100:8443/devmgr/v2/
175 eseries_proxy_api_password: admin_password
176 eseries_subnet: 192.168.1.0/24
177 eseries_prefer_embedded: false # Overrides the default behavior of using Web Services Proxy when eseries_proxy_api_url is defined. This will only effect
178 # storage systems that have Embedded Web Services.
179
180 (...) # Same as the previous examples starting with the eseries_validate_certs line
181
182 Example Storage System Inventory File
183 -------------------------------------
184 eseries_system_api_url: https://192.168.1.200:8443/devmgr/v2/
185 eseries_system_password: admin_password
186 eseries_validate_certs: false
187
188 eseries_system_name: my_eseries_array
189 eseries_system_cache_block_size: 128
190 eseries_system_cache_flush_threshold: 90
191 eseries_system_autoload_balance: enabled
192 eseries_system_host_connectivity_reporting: enabled
193 eseries_system_default_host_type: Linux DM-MP
194
195 eseries_management_interfaces:
196 config_method: static
197 subnet_mask: 255.255.255.0
198 gateway: 192.168.1.1
199 dns_config_method: static
200 dns_address: 192.168.1.253
201 dns_address_backup: 192.168.1.254
202 ssh: true
203 ntp_config_method: static
204 ntp_address: 192.168.1.200
205 ntp_address_backup: 192.168.1.201
206 controller_a:
207 - address: 192.168.1.100
208 - address: 192.168.1.101
209 controller_b:
210 - address: 192.168.1.102
211 - address: 192.168.1.103
212
213 eseries_ldap_state: present
214 eseries_ldap_bind_username:
215 eseries_ldap_bind_password:
216 eseries_ldap_server:
217 eseries_ldap_search_base:
218 eseries_ldap_role_mappings:
219 ".*":
220 - storage.admin
221 - storage.monitor
222 - support.admin
223 - security.admin
224
225 eseries_client_certificate_certificates:
226 - /path/to/client_certificate.pem
227 eseries_server_certificate:
228 controller_a:
229 certificate:
230 - "/path/to/controller_a_server_certificate_bundle.pem"
231 controller_b:
232 passphrase: keypass
233 certificate:
234 - "/path/to/controller_b_server_certificate_bundle.pem"
235
236 eseries_firmware_firmware: "/path/to/firmware.dlp"
237 eseries_firmware_nvsram: "/path/to/nvsram.dlp"
238 eseries_drive_firmware_firmware_list:
239 - "/path/to/drive_firmware.dlp"
240
241 eseries_asup_state: enabled
242 eseries_asup_active: true
243 eseries_asup_days: [sunday, saturday]
244 eseries_asup_start: 17
245 eseries_asup_end: 24
246 eseries_asup_validate: false
247 eseries_asup_method: email
248 eseries_asup_email:
249 server: smtp.example.com
250 sender: [email protected]
251
252 eseries_syslog_state: present
253 eseries_syslog_address: 192.168.1.150
254 eseries_syslog_protocol: udp
255 eseries_syslog_port: 514
256 eseries_alert_syslog_servers:
257 - "address": 192.168.1.150
258 "port": 514
259 eseries_initiator_protocol: iscsi
260
261 # Controller port definitions
262 eseries_controller_iscsi_port_config_method: static
263 eseries_controller_iscsi_port_subnet_mask: 255.255.255.0
264 eseries_controller_iscsi_port:
265 controller_a:
266 - address: 192.168.2.100
267 - address: 192.168.2.110
268 controller_b:
269 - address: 192.168.3.100
270 - address: 192.168.3.110
271
272 # Storage pool and volume configuration
273 eseries_storage_pool_configuration:
274 - name: pool[1-2]
275 raid_level: raid6
276 criteria_drive_count: 10
277 volumes:
278 - name: "[pool]_volume[A-C]"
279 host: server_group
280 size: 10
281 size_unit: tb
282
283 Storage System Credentials
284 --------------------------
285 Proxy:
286 - The proxy's credentials should be defined at the group inventory level (eseries_proxy_api_url, eseries_proxy_api_password, eseries_subnet) and each storage system host inventory file should include its password (eseries_system_password) and the system's serial number (eseries_system_serial).
287 - You can substitute a unique proxy storage system identifier (eseries_proxy_ssid) for the system's serial number if the system has already been added to the proxy. However, using the storage system serial number is the preferred method since it will never change and is always known to the system. If you would like to be able to reference the system from the proxy using a unique identifier of your choice then add it in addition to the system's serial number.
288 - If your storage system has never been added to the Web Service Proxy, utilizing your system's serial number (eseries_system_serial) ensures that the SANtricity collection can discover it and set its initial admin password if not previously done.
289
290 Direct:
291 - Provide the storage system's serial number, password and the network subnet (eseries_system_serial, eseries_system_password, and eseries_subnet) to ensure that it will be discoverable; this information will also ensure the admin password has been set. The discovery process can be lengthy depending on the size and speed of the subnet. This can be mitigated by configuring static management interfaces (eseries_management_interfaces) otherwise each playbook execution will search for the DHCP assigned address.
292 - If the storage system's Web Service Embedded API url (eseries_system_api_url) is known then it can be used in place of the system's serial number.
293
294 Snapshots
295 ---------
296 - Automate snapshot consistency groups with one or more base volumes. Consistency groups allow snapshot images to be taken consistently across multiple base volumes at a single point in time. Then use these images to either create snapshot volumes or rollback the base volumes to previous states. Snapshot volumes allow you to interact with the volumes as they were in either a read-only or read-write mode.
297 - Since E-Series storage systems are block storage and are unaware of both file system and application, it important to prepare volumes for snapshots. This requires applications to complete anything necessary to place the data in a valid state and file systems to complete and sync data to storage. To help facilitate these actions, checkout the snapshot role in the netapp_eseries.host collection (https://galaxy.ansible.com/netapp_eseries/host). This snapshot role ensures mounted E-Series volumes across multiple hosts have files closed, synced cache, and are temporarily unmounted prior to taking snapshots. Want to take a point-in-time snapshot of a parallel file system? The snapshot role also ensures that volumes are also ready across multiple storage systems.
298
299 General Notes
300 -------------
301 - The EF600/300 platforms currently do not distribute drives across their PCI bridges which can result in lower than expected performance when drives become saturated so be sure to use either eseries_storage_pool_usable_drives to specify the order the drives should be selected or the eseries_storage_pool_configuration usable_drives argument to specify which drives should be used. See details in the `Collection Variables` section. The example below will ensure the drive candidate selections for EF600/300 storage pools or volume groups are selected by alternating between the first and last twelve drives. You can also specify the tray drawers in the form <tray>:<drawer>:<slot>.
302 `eseries_storage_pool_usable_drives: "99:0,99:23,99:1,99:22,99:2,99:21,99:3,99:20,99:4,99:19,99:5,99:18,99:6,99:17,99:7,99:16,99:8,99:15,99:9,99:14,99:10,99:13,99:11,99:12"`
303
304 Collection Variables
305 --------------------
306 **Note that when values are specified below, they indicate the default value.**
307
308 eseries_subnet: # Network subnet to search for the storage system specified in CIDR form. Example: 192.168.1.0/24
309 eseries_template_api_url: # Template for the web services api url. Default: https://0.0.0.0:8443/devmgr/v2/
310 eseries_prefer_embedded: false # Overrides the default behavior of using Web Services Proxy when eseries_proxy_api_url is defined. This will only effect
311 # storage systems that have Embedded Web Services.
312 eseries_validate_certs: true # Indicates Whether SSL certificates should be verified. Used for both embedded and proxy. Choices: true, false
313
314 # Storage system specific variables
315 eseries_proxy_ssid: # Arbitrary string for the proxy to represent the storage system. eseries_system_serial will be used when not defined.
316 eseries_system_serial: # Storage system serial number. (This is located on a label at the top-left towards the front on the device)
317 eseries_system_addresses: # Storage system management IP addresses. Only required when eseries_system_serial or eseries_system_api_url are not
318 # defined. When not specified, addresses will be populated with eseries_management_interfaces controller addresses.
319 eseries_system_api_url: # Url for the storage system's for embedded web services rest api. Example: https://192.168.10.100/devmgr/v2
320 eseries_system_username: admin # Username for the storage system's for embedded web services rest api
321 eseries_system_password: # Password for the storage system's for embedded web services rest api and when the admin password has not been set
322 # eseries_system_password will be used to set it.
323 eseries_system_old_password: # Previous admin password. This is used to change the current admin password by setting this variable to the current
324 # password and eseries_system_password to the new password.
325 eseries_system_tags: # Meta tags to associate with storage system when added to the proxy.
326
327 # Web Services Proxy specific variable
328 Note: eseries_proxy_* variables are required to discover storage systems prior to SANtricity OS version 11.60.2.
329 eseries_proxy_api_url: # Url for the storage system's for proxy web services rest api. Example: https://192.168.10.100/devmgr/v2
330 eseries_proxy_api_username: admin # Username for the storage system's for proxy web services rest api.
331 eseries_proxy_api_password: # Password for the storage system's for proxy web services rest api and when the admin password has
332 # not been set eseries_proxy_api_password will be used to set it.
333 eseries_proxy_api_old_password: # Previous proxy admin password. This is used to change the current admin password by setting this
334 # variable to the current proxy password and eseries_proxy_api_password to the new password.
335 eseries_proxy_monitor_password: # Proxy password for the monitor username
336 eseries_proxy_security_password: # Proxy password for the security username
337 eseries_proxy_storage_password: # Proxy password for the monitor username
338 eseries_proxy_support_password: # Proxy password for the support username
339 eseries_proxy_accept_certifications: # Force automatic acceptance of all storage system's certificate
340 eseries_proxy_default_system_tags: # Default meta tags to associate with all storage systems
341 eseries_proxy_default_password: # Default password to associate with all storage systems. This is overridden by eseries_system_password.
342 eseries_proxy_client_certificate_common_certificates: # List of common proxy client certificate file paths. These files will be appended to each client certificate list.
343 eseries_proxy_client_certificate_certificates: # List of proxy client certificate file paths
344 eseries_proxy_server_certificate_common_certificates: # List of common proxy server certificates. These files will be appended to each controller's server certificate list.
345 eseries_proxy_server_certificate_common_passphrase: # Common passphrase for decrypting PEM (PKCS8) private key.
346 eseries_proxy_server_certificate_certificates: # List of proxy server certificates. Leave blank to use self-signed certificate.
347 eseries_proxy_server_certificate_passphrase: # Passphrase for decrypting PEM (PKCS8) private key.
348
349 # LDAP configuration defaults
350 eseries_proxy_ldap_state: # Whether LDAP should be configured for the proxy`
351 eseries_proxy_ldap_identifier: # The user attributes that should be considered for the group to role mapping
352 eseries_proxy_ldap_user_attribute: # Attribute used to the provided username during authentication.
353 eseries_proxy_ldap_bind_username: # User account that will be used for querying the LDAP server.
354 eseries_proxy_ldap_bind_password: # Password for the bind user account
355 eseries_proxy_ldap_server: # LDAP server URL.
356 eseries_proxy_ldap_search_base: # Search base used for find user's group membership
357 eseries_proxy_ldap_role_mappings: # Dictionary of user groups, each containing the list of access roles.
358 # Role choices: storage.admin - allows users full read/writes access to storage objects and operations.
359 # storage.monitor - allows users read-only access to storage objects and operations.
360 # storage.admin - allows users access to hardware, diagnostic information, major event logs,
361 # and other critical support-related functionality, but not the sorage configuration.
362 # security.admin - allows users access to authentication/authorization configuration, as
363 # well as the audit log configuration, adn certification management.
364
365 # Global storage system information
366 eseries_system_name: # Name of the storage system.
367 eseries_system_cache_block_size: # Cache block size
368 eseries_system_cache_flush_threshold: # Unwritten data will be flushed when exceeds this threshold
369 eseries_system_autoload_balance: # Whether automatic load balancing should be enabled. Choices: enabled, disabled
370 eseries_system_host_connectivity_reporting: # Whether host connectivity reporting should be enabled. Choices: enabled, disabled
371 eseries_system_login_banner_message: # Message that appears prior to the login.
372 eseries_system_default_host_type: # Only required when using something other than Linux kernel 3.10 or later with DM-MP (Linux DM-MP),
373 # non-clustered Windows (Windows), or the storage system default host type is incorrect.
374 # Common host type definitions:
375 # - AIX MPIO: The Advanced Interactive Executive (AIX) OS and the native MPIO driver
376 # - AVT 4M: Silicon Graphics, Inc. (SGI) proprietary multipath driver
377 # - HP-UX: The HP-UX OS with native multipath driver
378 # - Linux ATTO: The Linux OS and the ATTO Technology, Inc. driver (must use ATTO FC HBAs)
379 # - Linux DM-MP: The Linux OS and the native DM-MP driver
380 # - Linux Pathmanager: The Linux OS and the SGI proprietary multipath drive
381 # - Mac: The Mac OS and the ATTO Technology, Inc. driver
382 # - ONTAP: FlexArray
383 # - Solaris 11 or later: The Solaris 11 or later OS and the native MPxIO driver
384 # - Solaris 10 or earlier: The Solaris 10 or earlier OS and the native MPxIO driver
385 # - SVC: IBM SAN Volume Controller
386 # - VMware: ESXi OS
387 # - Windows: Windows Server OS and Windows MPIO with a DSM driver
388 # - Windows Clustered: Clustered Windows Server OS and Windows MPIO with a DSM driver
389 # - Windows ATTO: Windows OS and the ATTO Technology, Inc. driver
390
391 # Role-based username passwords
392 eseries_system_monitor_password: # Storage system monitor username password
393 eseries_system_security_password: # Storage system security username password
394 eseries_system_storage_password: # Storage system storage username password
395 eseries_system_support_password: # Storage system support username password
396
397 # Storage management interface defaults
398 Note: eseries_management_* variables have the lowest priority and will be overwritten by those found in eseries_management_interfaces
399 eseries_management_config_method: # Default config method for all management interfaces. Choices: static, dhcp
400 eseries_management_subnet_mask: # Default subnet mask for all management interfaces
401 eseries_management_gateway: # Default gateway for all management interfaces
402 eseries_management_dns_config_method: # Default DNS config method for all management interfaces
403 eseries_management_dns_address: # Default primary DNS address for all management interfaces
404 eseries_management_dns_address_backup: # Default backup DNS address for all management interfaces
405 eseries_management_ntp_config_method: # Default NTP config method for all management interfaces
406 eseries_management_ntp_address: # Default primary NTP address for all management interfaces
407 eseries_management_ntp_address_backup: # Default backup NTP address for all management interfaces
408 eseries_management_ssh: # Default SSH access for all management interfaces. Choices: true, false
409 eseries_management_interfaces:
410 config_method: # Config method for all management interfaces. Choices: static, dhcp
411 subnet_mask: # Subnet mask for all management interfaces
412 gateway_mask: # Gateway for all management interfaces
413 dns_config_method: # DNS config method for all management interfaces
414 dns_address: # Primary DNS address for all management interfaces
415 dns_address_backup: # Backup DNS address for all management interfaces
416 ntp_config_method: # NTP config method for all management interfaces
417 ntp_address: # Primary NTP address for all management interfaces
418 ntp_address_backup: # Backup NTP address for all management interfaces
419 ssh: # SSH access for all management interfaces. Choices: true, false
420 controller_a: # List of controller A ports
421 - address: # IPv4 address for controller A
422 config_method: # Config method for controller A. Choices: static, dhcp
423 subnet_mask: # Subnet mask for controller A
424 gateway: # Gateway for controller A
425 dns_config_method: # DNS config method for controller A (Note this will apply to every interface of the
426 # controller. To be idempotent, only define for one interface on this controller).
427 dns_address: # Primary DNS address for controller A (Note this will apply to every interface of the
428 # controller. To be idempotent, only define for one interface on this controller).
429 dns_address_backup: # Backup DNS address for controller A (Note this will apply to every interface of the
430 # controller. To be idempotent, only define for one interface on this controller).
431 ntp_config_method: # NTP config method for controller A (Note this will apply to every interface of the
432 # controller. To be idempotent, only define for one interface on this controller).
433 ntp_address: # Primary NTP address for controller A (Note this will apply to every interface of the
434 # controller. To be idempotent, only define for one interface on this controller).
435 ntp_address_backup: # Backup NTP address for controller A (Note this will apply to every interface of the
436 # controller. To be idempotent, only define for one interface on this controller).
437 ssh: # SSH access for controller A (Note this will apply to every interface of the
438 # controller. To be idempotent, only define for one interface on this controller).
439 # Choices: true, false
440 controller_b: # List of controller B ports
441 - (...) # Same as for controller A but for controller B.
442
443 # Alerts configuration defaults
444 eseries_alerts_state: # Whether to enable storage system alerts. Choices: enabled, disabled
445 eseries_alerts_contact: # This allows owner to specify free-form contact information such as email or phone number.
446 eseries_alerts_recipients: # List containing e-mails that should be sent notifications when alerts are issued.
447 eseries_alerts_sender: # Sender email. This does not necessarily need to be a valid e-mail.
448 eseries_alerts_server: # Fully qualified domain name, IPv4 address, or IPv6 address of the mail server.
449 eseries_alerts_test: false # When changes are made to the storage system alert configuration a test e-mail will be sent. Choices: true, false
450 eseries_alert_syslog_servers: # List of dictionaries where each dictionary contains a syslog server entry. [{"address": <address>, "port": <port>}]
451 eseries_alert_syslog_test: false # Whether alerts syslog servers configuration test message should be sent. Choices: true, false
452
453 # LDAP configuration defaults
454 eseries_ldap_state: # Whether LDAP should be configured
455 eseries_ldap_identifier: # The user attributes that should be considered for the group to role mapping
456 eseries_ldap_user_attribute: # Attribute used to the provided username during authentication.
457 eseries_ldap_bind_username: # User account that will be used for querying the LDAP server.
458 eseries_ldap_bind_password: # Password for the bind user account
459 eseries_ldap_server: # LDAP server URL.
460 eseries_ldap_search_base: # Search base used for find user's group membership
461 eseries_ldap_role_mappings: # Dictionary of user groups, each containing the list of access roles.
462 # Role choices: storage.admin - allows users full read/writes access to storage objects and operations.
463 # storage.monitor - allows users read-only access to storage objects and operations.
464 # storage.admin - allows users access to hardware, diagnostic information, major event logs,
465 # and other critical support-related functionality, but not the sorage configuration.
466 # security.admin - allows users access to authentication/authorization configuration, as
467 # well as the audit log configuration, adn certification management.
468
469 # SSL/TLS certificate configurations - Note that both individual certificates or wildcard certificates are accepted.
470 eseries_client_certificate_remove_unspecified_user_certificates: # Whether existing user certificates should be automatically removed. (Default: True)
471 eseries_client_certificate_common_certificates: # List of common client certificate file paths. These files will be appended to each client certificate list.
472 eseries_client_certificate_certificates: # List of client certificate file paths
473 eseries_server_certificate_common_certificates: # List of common server certificates. These files will be appended to each controller's server certificate list.
474 eseries_server_certificate_common_passphrase: # Common passphrase for decrypting PEM (PKCS8) private key.
475 eseries_server_certificate:
476 controller_a:
477 certificates: # List of server certificates for the storage systems controller A. Leave blank to use self-signed certificate.
478 passphrase: # Passphrase for decrypting PEM (PKCS8) private key.
479 controller_b:
480 certificates: # List of server certificates for the storage systems controller B. Leave blank to use self-signed certificate.
481 passphrase: # Passphrase for decrypting PEM (PKCS8) private key.
482
483 # Drive firmware defaults
484 eseries_drive_firmware_firmware_list: # Local path list for drive firmware.
485 eseries_drive_firmware_wait_for_completion: # Forces drive firmware upgrades to wait for all associated tasks to complete. Choices: true, false
486 eseries_drive_firmware_ignore_inaccessible_drives: # Forces drive firmware upgrades to ignore any inaccessible drives. Choices: true, false
487 eseries_drive_firmware_upgrade_drives_online: # Forces drive firmware upgrades to be performed while I/Os are accepted. Choices: true, false
488
489 # Controller firmware defaults
490 eseries_firmware_nvsram: # Local path for NVSRAM file.
491 eseries_firmware_firmware: # Local path for controller firmware file.
492 eseries_firmware_wait_for_completion: # Forces controller firmware upgrade to wait until upgrade has completed before continuing. Choices: true, false
493 eseries_firmware_clear_mel_events: # Forces firmware upgrade to be attempted regardless of the health check results. Choices: true, false
494
495 # Auto-Support configuration defaults
496 eseries_asup_state: # Whether auto support (ASUP) should be enabled. Choices: enabled, disabled
497 eseries_asup_active: # Allows NetApp support personnel to request support data to resolve issues. Choices: true, false
498 eseries_asup_days: # List of days of the week. Choices: monday, tuesday, wednesday, thursday, friday, saturday, sunday
499 eseries_asup_start: # Hour of the day(s) to start ASUP bundle transmissions. Start time must be less than end time. Choices: 0-23
500 eseries_asup_end: # Hour of the day(s) to end ASUP bundle transmissions. Start time must be less than end time. Choices: 1-24
501 eseries_asup_method: # ASUP delivery method. Choices https, http, email (default: https)
502 eseries_asup_routing_type: # ASUP delivery routing type for https or http. Choices: direct, proxy, script (default: direct)
503 eseries_asup_proxy: # ASUP proxy delivery method information.
504 host: # ASUP proxy host IP address or FQDN. When eseries_asup_routing_type==proxy this must be specified.
505 port: # ASUP proxy host port. When eseries_asup_routing_type==proxy this must be specified.
506 username: # ASUP proxy username.
507 password: # ASUP proxy password.
508 script: # ASUP proxy host script.
509 eseries_asup_email: # ASUP email delivery configuration information
510 server: # ASUP email server
511 sender: # ASUP email sender
512 test_recipient: # ASUP configuration mail test recipient
513 eseries_maintenance_duration: # Duration in hours (1-72) the ASUP maintenance mode will be active
514 eseries_maintenance_emails: # List of email addresses for maintenance notifications
515 eseries_asup_validate: # Verify ASUP configuration prior to applying changes
516
517 # Audit-log configuration defaults
518 eseries_auditlog_enforce_policy: # Whether to make audit-log policy changes. Choices: true, false
519 eseries_auditlog_force: # Forces audit-log to delete log messages when fullness threshold has been exceeded. Choices: true, false
520 eseries_auditlog_full_policy: # Policy for what to do when record limit has been reached. Choices: overWrite, preventSystemAccess
521 eseries_auditlog_log_level: # Filters logs based on the specified level. Choices: all, writeOnly
522 eseries_auditlog_max_records: # Maximum number of audit-log messages retained. Choices: 100-50000.
523 eseries_auditlog_threshold: # Memory full percentage threshold that audit-log will start issuing warning messages. Choices: 60-90
524
525 # Syslog configuration defaults
526 eseries_syslog_state: # Whether syslog servers should be added or removed from storage system. Choices: present, absent
527 eseries_syslog_address: # Syslog server IPv4 address or fully qualified hostname.
528 eseries_syslog_test: # Whether a test messages should be sent to syslog server when added to the storage system. Choices: true, false
529 eseries_syslog_protocol: # Protocol to be used when transmitting log messages to syslog server. Choices: udp, tc, tls
530 eseries_syslog_port: # Port to be used when transmitting log messages to syslog server.
531 eseries_syslog_components: # List of components log to syslog server. Choices: auditLog, (others may become available)
532
533 # iSCSI target discovery specifications
534 Note: add the following to ansible-playbook command to update the chap secret: --extra-vars "eseries_target_chap_secret_update=True
535 eseries_iscsi_target_name: # iSCSI target name that will be seen by the initiator
536 eseries_iscsi_target_ping: True # Enables ICMP ping response from the configured iSCSI ports (boolean)
537 eseries_iscsi_target_unnamed_discovery: True # Whether the iSCSI target iqn should be returned when an initiator performs a discovery session.
538 eseries_iscsi_target_chap_secret: # iSCSI chap secret. When left blank, the chap secret will be removed from the storage system.
539 eseries_iscsi_target_chap_secret_update: False # DO NOT REMOVE! Since na_santricity_iscsi_target cannot compare the chap secret with the current and
540 # will always return changed=True, this flag is used to force the module to update the chap secret.
541 # Leave this value False and to add the --extra-vars "eseries_target_chap_secret_update=True".
542
543 # Controller iSCSI Interface Port Default Policy Specifications
544 eseries_controller_iscsi_port_state: enabled # Generally specifies whether a controller port definition should be applied Choices: enabled, disabled
545 eseries_controller_iscsi_port_config_method: dhcp # General port configuration method definition for both controllers. Choices: static, dhcp
546 eseries_controller_iscsi_port_gateway: # General port IPv4 gateway for both controllers.
547 eseries_controller_iscsi_port_subnet_mask: # General port IPv4 subnet mask for both controllers.
548 eseries_controller_iscsi_port_mtu: 9000 # General port maximum transfer units (MTU) for both controllers. Any value greater than 1500 (bytes).
549 eseries_controller_iscsi_port:
550 controller_a: # Controller A port definition. Ordered list of port definitions reading iSCSI ports left to right
551 - state: # Whether the port should be enabled. Choices: enabled, disabled
552 config_method: # Port configuration method Choices: static, dhcp
553 address: # Port IPv4 address
554 gateway: # Port IPv4 gateway
555 subnet_mask: # Port IPv4 subnet_mask
556 mtu: # Port IPv4 mtu
557 controller_b: # Controller B port definition.
558 - (...) # Same as controller A but for controller B
559
560 # Controller InfiniBand iSER Interface Channel
561 eseries_controller_ib_iser_port:
562 controller_a: # Ordered list of controller A channel address definition.
563 - # Port IPv4 address for channel 1
564 controller_b: # Ordered list of controller B channel address definition.
565 - (...) # Same as controller A but for controller B
566
567 # Controller NVMe over InfiniBand Interface Channel
568 eseries_controller_nvme_ib_port:
569 controller_a: # Ordered list of controller A channel address definition.
570 - # Port IPv4 address for channel 1
571 controller_b: # Ordered list of controller B channel address definition.
572 - (...) # Same as controller A but for controller B
573
574 # Controller NVMe RoCE Interface Port Default Policy Specifications
575 eseries_controller_nvme_roce_port_state: enabled # Specifies whether a controller port definition should be applied. Choices: enabled, disabled
576 eseries_controller_nvme_roce_port_config_method: dhcp # Port configuration method definition for both controllers. Choices: static, dhcp
577 eseries_controller_nvme_roce_port_gateway: # Port IPv4 gateway for both controllers.
578 eseries_controller_nvme_roce_port_subnet_mask: # Port IPv4 subnet mask for both controllers.
579 eseries_controller_nvme_roce_port_mtu: 4200 # Port maximum transfer units (MTU). Any value greater than 1500 (bytes).
580 eseries_controller_nvme_roce_port_speed: auto # Interface speed. Value must be a supported speed or auto to negotiate the speed with the port.
581 eseries_controller_nvme_roce_port:
582 controller_a: # Controller A port definition. List containing ports definitions.
583 - channel: # Channel of the port to modify. This will be a numerical value that represents the port; typically read
584 # left to right on the HIC.
585 state: # Whether the port should be enabled.
586 config_method: # Port configuration method Choices: static, dhcp
587 address: # Port IPv4 address
588 gateway: # Port IPv4 gateway
589 subnet_mask: # Port IPv4 subnet_mask
590 mtu: # Port IPv4 mtu
591 speed: # Port IPv4 speed
592 controller_b: # Controller B port definition.
593 - (...) # Same as controller A but for controller B
594
595 # Storage Pool Default Policy Specifications
596 eseries_storage_pool_state: present # Default storage pool state. Choices: present, absent
597 eseries_storage_pool_raid_level: raidDiskPool # Default volume raid level. Choices: raid0, raid1, raid5, raid6, raidDiskPool
598 eseries_storage_pool_secure_pool: false # Default for storage pool drive security. This flag will enable the security at rest feature. There
599 # must be sufficient FDE or FIPS security capable drives. Choices: true, false
600 eseries_storage_pool_criteria_drive_count: # Default storage pool drive count.
601 eseries_storage_pool_reserve_drive_count: # Default reserve drive count for drive reconstruction for storage pools using dynamic disk pool and
602 # the raid level must be set for raidDiskPool.
603 eseries_storage_pool_criteria_min_usable_capacity: # Default minimum required capacity for storage pools.
604 eseries_storage_pool_criteria_drive_type: # Default drive type for storage pools. Choices: hdd, ssd
605 eseries_storage_pool_criteria_drive_interface_type: # Default interface type to use when selecting drives for the storage pool.
606 eseries_storage_pool_criteria_size_unit: gb # Default unit size for all storage pool related sizing.
607 # Choices: bytes, b, kb, mb, gb, tb, pb, eb, zb, yb
608 eseries_storage_pool_criteria_drive_min_size: # Default minimum drive size for storage pools.
609 eseries_storage_pool_criteria_drive_max_size: # Default maximum drive size for storage pools.
610 eseries_storage_pool_criteria_drive_require_da: # Default for whether storage pools are required to have data assurance (DA) compatible drives.
611 # Choices: true, false
612 eseries_storage_pool_criteria_drive_require_fde: # Default for whether storage pools are required to have drive security compatible drives.
613 # Choices: true, false
614 eseries_storage_pool_remove_volumes: # Default policy for deleting volumes prior to removing storage pools.
615 eseries_storage_pool_erase_secured_drives: # Default policy for erasing the content drives during create and delete storage pool operations.
616 # Choices: true, false
617 eseries_storage_pool_ddp_critical_threshold_pct: # Default policy for dynamic disk pool alert critical threshold.
618 eseries_storage_pool_ddp_warning_threshold_pct: # Default policy for dynamic disk pool alert warning threshold.
619
620 # Volume Default Policy Specifications
621 eseries_volume_state: present # Default volume state. Choices: present, absent
622 eseries_volume_size_unit: gb # Default unit size for all volume sizing options.
623 # Choices: bytes, b, kb, mb, gb, tb, pb, eb, zb, yb, pct
624 eseries_volume_size: # Default volume size or the presented size for thinly provisioned volumes.
625 eseries_volume_data_assurance_enabled: # Default for whether data assurance(DA) is required to be enabled.
626 eseries_volume_segment_size_kb: # Default segment size measured in kib.
627 eseries_volume_read_cache_enable: # Default for read caching which will cache all read requests.
628 eseries_volume_read_ahead_enable: # Default for read ahead caching; this is good for sequential workloads to cache subsequent blocks.
629 eseries_volume_write_cache_enable: # Default for write caching which will cache all writes.
630 eseries_volume_write_cache_mirror_enable: # Default for write cache mirroring which mirrors writes to both controller's cache.
631 eseries_volume_cache_without_batteries: # Default for allowing caching when batteries are not present.
632 eseries_volume_thin_provision: # Default for whether volumes should be thinly provisioned.
633 eseries_volume_thin_volume_repo_size: # Default for actually allocated space for thinly provisioned volumes.
634 eseries_volume_thin_volume_max_repo_size: # Default for the maximum allocated space allowed for thinly provisioned volumes.
635 eseries_volume_thin_volume_expansion_policy: # Default thin volume expansion policy. Choices: automatic, manual
636 eseries_volume_thin_volume_growth_alert_threshold: # Default thin volume growth alert threshold; this is the threshold for when the thin volume expansion
637 # policy will be enacted. Allowable values are between and including 10% and 99%
638 eseries_volume_ssd_cache_enabled: # Default for ssd cache which will enable the volume to use an existing SSD cache on the storage array
639 eseries_volume_host: # Default host for all volumes; the value can be any host from the Ansible inventory.
640 eseries_volume_workload_name: # Default workload tag name
641 eseries_volume_workload_metadata: # Default workload metadata
642 eseries_volume_volume_metadata: # Default volume_metadata
643 eseries_volume_owning_controller # Default preferred owning controller
644 eseries_volume_wait_for_initialization: false # Default for whether volume creation with wait for initialization to complete
645
646 # Storage Pool-Volume Mapping Default Policy Specifications
647 eseries_lun_mapping_state: present # Generally specifies whether a LUN mapping should be present. This is useful when adding a default host for all
648 # volumes. Choices: present, absent
649 eseries_lun_mapping_host: # Default host for all volumes not specifically give a host either in common_volume_configuration or in
650 # eseries_storage_pool_configuration.
651
652 # Storage Pool-Volume Default Policy Specifications
653 Name schemes: Storage pool and volume names can be used to specify a naming scheme to produce a list of storage pools and volumes. Schemes are defined by
654 brackets and can be used to specify a range of lowercase letters, uppercase letters, range of single digit numbers, any top-level inventory
655 variables, and [pool] to use the current defined storage pool (volume only).
656 eseries_storage_pool_configuration:
657 - name: # Name or name scheme (see above) for the storage pool.
658 state: # Specifies whether the storage pool should exist. Choices: present, absent
659 raid_level # Volume group raid level. Choices: raid0, raid1, raid5, raid6, raidDiskPool (Default: raidDiskPool)
660 secure_pool: # Default for storage pool drive security. This flag will enable the security at rest feature. There must be
661 # sufficient FDE or FIPS security capable drives. Choices: true, false
662 criteria_drive_count: # Default storage pool drive count.
663 criteria_volume_count: # Number of equally sized volumes to create. All available storage pool space will be used. The option will
664 # be ignored if volumes is defined.
665 criteria_reserve_free_capacity_pct # Percent of reserve free space capacity to leave when creating the criteria_volume_count volumes.
666 common_volume_host # Host or host group for the criteria_volume_count volumes should be mapped.
667 reserve_drive_count: # Default reserve drive count for drive reconstruction for storage pools using dynamic disk pool and the raid
668 # level must be set for raidDiskPool.
669 criteria_size_unit: # Default unit size for all storage pool related sizing. Choices: bytes, b, kb, mb, gb, tb, pb, eb, zb, yb
670 criteria_min_usable_capacity: # Default minimum required capacity for storage pools.
671 criteria_drive_type: # Default drive type for storage pools. Choices: hdd, ssd
672 criteria_drive_interface_type # Interface type to use when selecting drives for the storage pool.
673 # Choices: scsi, fibre, sata, pata, fibre520b, sas, sas4k, nvme4k
674 criteria_drive_min_size: # Default minimum drive size for storage pools.
675 criteria_drive_max_size: # Default maximum drive size for storage pools.
676 criteria_drive_require_da: # Ensures storage pools have data assurance (DA) compatible drives. Choices: true, false
677 criteria_drive_require_fde: # Ensures storage pools have drive security compatible drives. Choices: true, false
678 remove_volumes: # Ensures volumes are deleted prior to removing storage pools.
679 erase_secured_drives: # Ensures data is erased during create and delete storage pool operations. Choices: true, false
680 common_volume_configuration: # Any option that can be specified at the volume level can be generalized here at the storage pool level.
681 volumes: # List of volumes associated the storage pool.
682 - state: # Specifies whether the volume should exist (present, absent)
683 name: # (required) Name or name scheme (see above) for the volume(s) to be created in the storage pool(s)
684 host: # host or host group for the volume should be mapped to.
685 host_type: # Only required when using something other than Linux kernel 3.10 or later with DM-MP (Linux DM-MP),
686 # non-clustered Windows (Windows), or the storage system default host type is incorrect.
687 # Common host type definitions:
688 # - AIX MPIO: The Advanced Interactive Executive (AIX) OS and the native MPIO driver
689 # - AVT 4M: Silicon Graphics, Inc. (SGI) proprietary multipath driver
690 # - HP-UX: The HP-UX OS with native multipath driver
691 # - Linux ATTO: The Linux OS and the ATTO Technology, Inc. driver (must use ATTO FC HBAs)
692 # - Linux DM-MP: The Linux OS and the native DM-MP driver
693 # - Linux Pathmanager: The Linux OS and the SGI proprietary multipath driver
694 # - Mac: The Mac OS and the ATTO Technology, Inc. driver
695 # - ONTAP: FlexArray
696 # - Solaris 11 or later: The Solaris 11 or later OS and the native MPxIO driver
697 # - Solaris 10 or earlier: The Solaris 10 or earlier OS and the native MPxIO driver
698 # - SVC: IBM SAN Volume Controller
699 # - VMware: ESXi OS
700 # - Windows: Windows Server OS and Windows MPIO with a DSM driver
701 # - Windows Clustered: Clustered Windows Server OS and Windows MPIO with a DSM driver
702 # - Windows ATTO: Windows OS and the ATTO Technology, Inc. driver
703 owning_controller: # Specifies which controller will be the primary owner of the volume. Not specifying will allow the
704 # controller to choose ownership. (Choices: A, B)
705 size: # Size of the volume or presented size of the thinly provisioned volume.
706 size_unit: # Unit size for the size, thin_volume_repo_size, and thin_volume_max_repo_size
707 # Choices: bytes, b, kb, mb, gb, tb, pb, eb, zb, yb, pct
708 segment_size_kb: # Indicates the amount of data stored on a drive before moving on to the next drive in the volume group.
709 thin_provision: # Whether volumes should be thinly provisioned.
710 thin_volume_repo_size: # Actually allocated space for thinly provisioned volumes.
711 thin_volume_max_repo_size: # Maximum allocated space allowed for thinly provisioned volumes.
712 thin_volume_expansion_policy: # Thin volume expansion policy. Choices: automatic, manual
713 thin_volume_growth_alert_threshold: # Thin volume growth alert threshold; this is the threshold for when the thin volume expansion
714 # policy will be enacted. Allowable values are between and including 10% and 99%
715 ssd_cache_enabled: # Enables ssd cache which will enable the volume to use an existing SSD cache on the storage array.
716 data_assurance_enabled: # Enables whether data assurance(DA) is required to be enabled.
717 read_cache_enable: # Enables read caching which will cache all read requests.
718 read_ahead_enable: # Enables read ahead caching; this is good for sequential workloads to cache subsequent blocks.
719 write_cache_enable: # Enables write caching which will cache all writes.
720 write_cache_mirror_enable: # Enables write cache mirroring which mirrors writes to both controller's cache.
721 cache_without_batteries: # Enable caching even without batteries.
722
723 wait_for_initialization: # Whether volume creation with wait for initialization to complete
724 workload_name: # Name of the volume's workload
725 workload_metadata: # Dictionary containing arbitrary entries normally used for defining the volume(s) workload.
726 volume_metadata # Dictionary containing arbitrary entries used to define information about the volume itself.
727 # Note: format_type, format_options, mount_dir, mount_options are used by netapp_eseries.host.mount role
728 # to format and mount volumes.
729
730
731 # Snapshot Consistency Group Default Policy Specifications
732 eseries_snapshot_remove_unspecified: # Whether to remove any snapshot group or view that is not specified (Default: false).
733 eseries_snapshot_groups_maximum_snapshots: # Default maximum point-in-time snapshot images (Default: 32).
734 eseries_snapshot_groups_reserve_capacity_pct: # Default reserve capacity percentage (Default: 40)
735 eseries_snapshot_groups_preferred_reserve_storage_pool: # Preferred storage pool or volume group for the reserve capacity volume.
736 eseries_snapshot_groups_reserve_capacity_full_policy: # Default full reserve capacity policy (Default: purge). Choices: [purge, reject]
737 eseries_snapshot_groups_alert_threshold_pct: # Default reserve capacity percentage full to alert administrators (Default 75).
738 eseries_snapshot_groups:
739 - name: # Name of snapshot consistency group.
740 maximum_snapshots: # Maximum allowed snapshot point-in-time images for consistency group (Default: 32).
741 reserve_capacity_pct: # Reserve capacity measured as a percentage of the base volume (Default: 40). Reserve capacity can be expanded
742 # and trimmed; however, the trim operation requires there be no base volume snapshots images in the group.
743 reserve_capacity_full_policy: # Policy to implement when reserve capacity is full (Default: purge). Choices [purge, reject]
744 alert_threshold_pct: # Reserve capacity full alert threshold for storage system administrators (Default: 75).
745 rollback_priority: # Storage system priority for base volume rollback (Default: medium). Choices [lowest, low, medium, high, highest]
746 volumes: # Information for each volume in the consistency group.
747 - volume: # Base volume name
748 reserve_capacity_pct: # Reserve capacity measured as a percentage of the base volume (Default: 40). Reserve capacity can be expanded
749 # and trimmed; however, the trim operation requires there be no base volume snapshots images in the group.
750 preferred_reserve_storage_pool: # Preferred reserve capacity storage pool or volume group. This will default to the base volume's
751 # storage pool or volume group. The reserve capacity volume cannot be changed once created.
752 - (...)
753
754 # Snapshot Consistency Group View Default Policy Specifications
755 eseries_snapshot_views_host: # Default host or host group to map all snapshot volumes.
756 eseries_snapshot_views_reserve_capacity_pct: # Default reserve capacity percentage (Default: 40)
757 eseries_snapshot_views_preferred_reserve_storage_pool: # Preferred storage pool or volume group for the reserve capacity volume.
758 eseries_snapshot_views_alert_threshold_pct: # Default reserve capacity percentage full to alert administrators (Default 75).
759 eseries_snapshot_views_writable: # Default for whether to make snapshot volumes writable.
760 eseries_snapshot_views_validate: # Default for whether to validate snapshot volumes after creation.
761 eseries_snapshot_views:
762 - volume: # Consistency group's snapshot view's name.
763 group_name: # Snapshot consistency group's name.
764 pit_name: # Point-in-time snapshot images group name. (Only available when specified using Ansible na_santricity_module (via direct or role)
765 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)
766 host: # Host or host group to map snapshot volumes.
767 writable: # Whether snapshot volume of base volume images should be writable.
768 validate: # Whether snapshot volume should be validated which includes both a media scan and parity validation.
769 reserve_capacity_pct: # Percentage of base volume capacity to reserve for snapshot copy-on-writes (COW). Only used when snapshot volume is writable.
770 preferred_reserve_storage_pool: # Preferred storage pool or volume group for the reserve capacity volume.
771 alert_threshold: # Reserve capacity percentage full to alert administrators
772 volumes: # (Optional) Select subset of volumes within the snapshot consistency group.
773 - name: # Name of volume within consistency group.
774 host: # Host or host group to map snapshot volumes.
775 lun: # Logical unit number (LUN) mapping for the host or host group.
776 writable: # Whether snapshot volume of base volume images should be writable.
777 validate: # Whether snapshot volume should be validated which includes both a media scan and parity validation.
778 reserve_capacity_pct: # Percentage of base volume capacity to reserve for snapshot copy-on-writes (COW). Only used when snapshot volume is writable.
779 preferred_reserve_storage_pool: # Preferred storage pool or volume group for the reserve capacity volume.
780
781 # Snapshot Consistency Group Rollback Default Policy Specifications
782 eseries_snapshot_rollback_priority: medium # Default point-in-time rollback priority (Default: medium). Choices [lowest, low, medium, high, highest]
783 eseries_snapshot_rollback_backup: true # Default whether snapshot should be taken prior to rolling back base volumes (Default: true).
784 eseries_snapshot_rollbacks:
785 - group_name: # Snapshot consistency group's name.
786 pit_name: # Point-in-time snapshot images group name (Only available when specified using Ansible na_santricity_module (via direct or role)
787 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)
788 rollback_priority: # Storage system priority for base volume rollback (Default: medium). Choices [lowest, low, medium, high, highest]
789 rollback_backup: # Whether to create point-in-time snapshot images of the consistency group prior to rollback.
790 volumes:
791
792 # Initiator-Target Protocol Variable Defaults
793 Note that the following commands need to produce a unique list of IQNs or WWNs of the interfaces used, line separated. Overwrite as necessary.
794 eseries_initiator_protocol: fc # Storage system protocol. Choices: fc, iscsi, sas, ib_iser, ib_srp, nvme_ib, nvme_fc, nvme_roce
795 eseries_initiator_command:
796 fc:
797 linux: "cat /sys/class/fc_host/host*/port_name | sort | uniq"
798 windows: "(Get-InitiatorPort | Where-Object -P ConnectionType -EQ 'Fibre Channel' | Select-Object -Property PortAddress |
799 Format-Table -AutoSize -HideTableHeaders | Out-String).trim()"
800 iscsi:
801 linux: "grep -o iqn.* /etc/iscsi/initiatorname.iscsi"
802 windows: "(get-initiatorPort | select-object -property nodeaddress | sort-object | get-unique | ft -autoSize | out-string -stream |
803 select-string iqn | out-string).trim()"
804 sas:
805 # NetApp IMT for SAS attached E-Series SAN hosts recommends adding all possible SAS addresses with the base address
806 # starting at 0, and the last address ending in 3 for single port HBAs, or 7 for dual port HBAs. Since determining
807 # single vs . dual port HBAs adds complexity, we always add all 8 possible permutations of the SAS address.
808 linux: "cat /sys/class/sas_host/host*/device/scsi_host/*/host_sas_address | sort | uniq"
809 windows: "(Get-InitiatorPort | Where-Object -P ConnectionType -EQ 'SAS' | Select-Object -Property PortAddress | Format-Table -AutoSize -HideTableHeaders | Out-String).trim()"
810 ib_iser:
811 linux: "grep -o iqn.* /etc/iscsi/initiatorname.iscsi"
812 windows: "" # add windows command for determining host iqn address(es)
813 ib_srp:
814 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"
815 windows: "" # add windows command for determining host guid
816 nvme_ib:
817 linux: "grep -o nqn.* /etc/nvme/hostnqn"
818 windows: "" # add windows command for determining host nqn address(es)
819 nvme_fc:
820 linux: "grep -o nqn.* /etc/nvme/hostnqn"
821 windows: "" # add windows command for determining host nqn address(es)
822 nvme_roce:
823 linux: "grep -o nqn.* /etc/nvme/hostnqn"
824 windows: "" # add windows command for determining host nqn address(es)
825
826 # Manual host definitions, Linux and Windows systems can be automatically populated based on host mappings found in eseries_storage_pool_configuration
827 Note that using the automated method is preferred.
828 eseries_host_force_port: true # Default for whether ports are to be allowed to be re-assigned (boolean)
829 eseries_host_remove_unused_hostgroup: true # Forces any unused groups to be removed
830 eseries_host_object:
831 - name: # Host label as referenced by the storage array.
832 state: # Specifies whether host definition should be exist. Choices: present, absent
833 ports: # List of port definitions
834 - type: # Port protocol definition (iscsi, fc, sas, ib, nvme). Note that you should use 'iscsi' prior to SANtricity version 11.60 for IB iSER.
835 label: # Arbitrary port label
836 port: # Port initiator (iqn, wwn, etc)
837 group: # Host's host group
838 host_type: # Only required when using something other than Linux kernel 3.10 or later with DM-MP (Linux DM-MP),
839 # non-clustered Windows (Windows), or the storage system default host type is incorrect.
840 # Common host type definitions:
841 # - AIX MPIO: The Advanced Interactive Executive (AIX) OS and the native MPIO driver
842 # - AVT 4M: Silicon Graphics, Inc. (SGI) proprietary multipath driver
843 # - HP-UX: The HP-UX OS with native multipath driver
844 # - Linux ATTO: The Linux OS and the ATTO Technology, Inc. driver (must use ATTO FC HBAs)
845 # - Linux DM-MP: The Linux OS and the native DM-MP driver
846 # - Linux Pathmanager: The Linux OS and the SGI proprietary multipath driver
847 # - Mac: The Mac OS and the ATTO Technology, Inc. driver
848 # - ONTAP: FlexArray
849 # - Solaris 11 or later: The Solaris 11 or later OS and the native MPxIO driver
850 # - Solaris 10 or earlier: The Solaris 10 or earlier OS and the native MPxIO driver
851 # - SVC: IBM SAN Volume Controller
852 # - VMware: ESXi OS
853 # - Windows: Windows Server OS and Windows MPIO with a DSM driver
854 # - Windows Clustered: Clustered Windows Server OS and Windows MPIO with a DSM driver
855 # - Windows ATTO: Windows OS and the ATTO Technology, Inc. driver
856
857 Remove Inventory Configuration
858 ------------------------------
859 Whether its for a testing automation or a temporary project, its helpful to be able to undo all that you configured. Just set `eseries_remove_all_configuration: True` and nar_santricity_host will remove all it configured. Be aware that this feature does not know the previous state of anything; it simply removes anything specified in the inventory.
860
861 License
862 -------
863 BSD-3-Clause
864
865 Maintainer Information
866 ------------------
867 - Nathan Swartz (@swartzn)
868 - Vu Tran (@VuTran007)
869 - Joe McCormick (@iamjoemccormick)