Debian Codegraph @

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

raw symbols SCIP
1 nar_santricity_common
2 =====================
3 Discover NetApp E-Series storage systems and configures SANtricity Web Services Proxy.
4
5 The following variables will be added to the runtime host inventory.
6 current_eseries_api_url: # Web Services REST API URL
7 current_eseries_api_username: # Web Services REST API username
8 current_eseries_api_password: # Web Services REST API password
9 current_eseries_ssid: # Arbitrary string for the proxy to represent the storage system.
10 current_eseries_validate_certs: # Indicates whether SSL certificates should be verified.
11 current_eseries_api_is_proxy: # Indicates whether Web Services REST API is running on a proxy.
12
13
14 Requirements
15 ------------
16 - NetApp E-Series E2800 platform or newer or NetApp E-Series SANtricity Web Services Proxy configured for older E-Series storage systems.
17
18
19 Example Playbook
20 ----------------
21 - hosts: eseries_storage_systems
22 gather_facts: false
23 collection:
24 - netapp_eseries.santricity
25 tasks:
26 - name: Configure SANtricity Web Services and discover storage systems
27 import_role:
28 name: nar_santricity_common
29
30
31 Example Inventory Host file using discovery with proxy
32 ------------------------------------------------------
33 eseries_proxy_api_url: https://192.168.1.100:8443/devmgr/v2/
34 eseries_proxy_api_password: admin_password
35 eseries_subnet: 192.168.1.0/24 # This should only be defined at the group level once when utilizing Web Services Proxy and should be broad enough to include all systems being added to proxy instance.
36 eseries_system_serial: 012345678901
37 eseries_system_password: admin_password
38 eseries_validate_certs: false
39 (...)
40
41
42 Example Inventory Host file using discovery without proxy
43 ---------------------------------------------------------
44 **Note that while eseries_management_interfaces or eseries_system_api_url are optional, including at least one of them will prevent the discovery mechanism from being used when the system can be reached from their information.
45 eseries_subnet: 192.168.1.0/24
46 eseries_system_serial: 012345678901
47 eseries_system_password: admin_password
48 eseries_validate_certs: false
49 (...)
50
51
52 Example Inventory Host file without using discovery (Embedded Web Services)
53 ---------------------------------------------------------------------------
54 eseries_system_api_url: https://192.168.1.200:8443/devmgr/v2/
55 eseries_system_password: admin_password
56 eseries_validate_certs: false
57 (...)
58
59
60 Example Inventory Host file without using discovery (Proxy Web Services - system must have already been added to the proxy)
61 ------------------------------------------------------------------------
62 eseries_proxy_ssid: storage_ssid
63 eseries_proxy_api_url: https://192.168.2.200:8443/devmgr/v2/
64 eseries_proxy_api_password: admin_password
65 (...)
66
67
68 Notes
69 -----
70 Use SANtricity Web Services Proxy to avoid the need to discover the storage systems each time nar_santricity_common is executed. The first time nar_santricity_common is executed will add the storage systems the proxy so that they can be recalled without the need to search the subnet each subsequent execution.
71 The na_santricity_proxy_systems module is used to add storage systems to the proxy but required a complete list of desired systems since it will ensure that only the systems provided will remain on the proxy. As a result any system that is not included will be removed from the proxy.
72
73 Role Variables
74 --------------
75 eseries_subnet: # Network subnet to search for the storage system specified in CIDR form. Example: 192.168.1.0/24
76 # Note: eseries_subnet should only be defined once at the group level when utilizing the Web Services Proxy.
77 eseries_template_api_url: # Template for the web services api url. Default: https://0.0.0.0:8443/devmgr/v2/
78 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.
79 eseries_validate_certs: true # Indicates Whether SSL certificates should be verified. Used for both embedded and proxy. Choices: true, false
80
81 # Storage system specific variables
82 eseries_proxy_ssid: # Arbitrary string for the proxy to represent the storage system. eseries_system_serial will be used when not defined.
83 eseries_system_serial: # Storage system serial number. (This is located on a label at the top-left towards the front on the device)
84 eseries_system_addresses: # Storage system management IP addresses. Only required when eseries_system_serial or eseries_system_api_url are not defined. When not specified, addresses will be populated with eseries_management_interfaces controller addresses.
85 eseries_system_api_url: # Url for the storage system's for embedded web services rest api. Example: https://192.168.10.100/devmgr/v2
86 eseries_system_username: admin # Username for the storage system's for embedded web services rest api
87 eseries_system_password: # Password for the storage system's for embedded web services rest api and when the admin password has not been set eseries_system_password will be used to set it.
88 eseries_system_tags: # Meta tags to associate with storage system when added to the proxy.
89
90 # Storage system management interface information
91 Note: eseries_management_interfaces will be used when eseries_system_serial, eseries_system_api_url, or eseries_system_addresses are not defined.
92 eseries_management_interfaces: # Subset of the eseries_management_interface variable found in the nar_santricity_management role
93 controller_a:
94 - address: # Controller A port 1's IP address
95 - address: # Controller A port 2's IP address
96 controller_b:
97 - address: # Controller B port 1's IP address
98 - address: # Controller B port 2's IP address
99
100 # Web Services Proxy specific variable
101 Note: eseries_proxy_* variables are required to discover storage systems prior to SANtricity OS version 11.60.2.
102 eseries_proxy_api_url: # Url for the storage system's for proxy web services rest api. Example: https://192.168.10.100/devmgr/v2
103 eseries_proxy_api_username: # Username for the storage system's for proxy web services rest api (Default: admin).
104 eseries_proxy_api_password: # Password for the storage system's for proxy web services rest api and when the admin password has
105 # not been set eseries_proxy_api_password will be used to set it.
106 eseries_proxy_api_old_password: # Previous proxy admin password. This is used to change the current admin password by setting this
107 # variable to the current proxy password and eseries_proxy_api_password to the new password.
108 eseries_proxy_monitor_password: # Proxy password for the monitor username
109 eseries_proxy_security_password: # Proxy password for the security username
110 eseries_proxy_storage_password: # Proxy password for the monitor username
111 eseries_proxy_support_password: # Proxy password for the support username
112 eseries_proxy_accept_certifications: # Force automatic acceptance of all storage system's certificate
113 eseries_proxy_default_system_tags: # Default meta tags to associate with all storage systems
114 eseries_proxy_default_password: # Default password to associate with all storage systems. This is overridden by eseries_system_password.
115 eseries_proxy_client_certificate_common_certificates: # List of common proxy client certificate file paths. These files will be appended to each client certificate list.
116 eseries_proxy_client_certificate_certificates: # List of proxy client certificate file paths
117 eseries_proxy_server_certificate_common_certificates: # List of common proxy server certificates. These files will be appended to each controller's server certificate list.
118 eseries_proxy_server_certificate_common_passphrase: # Common passphrase for decrypting PEM (PKCS8) private key.
119 eseries_proxy_server_certificate_certificates: # List of proxy server certificates. Leave blank to use self-signed certificate.
120 eseries_proxy_server_certificate_passphrase: # Passphrase for decrypting PEM (PKCS8) private key.
121
122 # LDAP configuration defaults
123 eseries_proxy_ldap_state: # Whether LDAP should be configured for the proxy`
124 eseries_proxy_ldap_identifier: # The user attributes that should be considered for the group to role mapping
125 eseries_proxy_ldap_user_attribute: # Attribute used to the provided username during authentication.
126 eseries_proxy_ldap_bind_username: # User account that will be used for querying the LDAP server.
127 eseries_proxy_ldap_bind_password: # Password for the bind user account
128 eseries_proxy_ldap_server: # LDAP server URL.
129 eseries_proxy_ldap_search_base: # Search base used for find user's group membership
130 eseries_proxy_ldap_role_mappings: # Dictionary of user groups, each containing the list of access roles.
131 # Role choices: storage.admin - allows users full read/writes access to storage objects and operations.
132 # storage.monitor - allows users read-only access to storage objects and operations.
133 # storage.admin - allows users access to hardware, diagnostic information, major event logs,
134 # and other critical support-related functionality, but not the sorage configuration.
135 # security.admin - allows users access to authentication/authorization configuration, as
136 # well as the audit log configuration, adn certification management.
137
138
139 License
140 -------
141 BSD-3-Clause
142
143
144 Author Information
145 ------------------
146 Nathan Swartz (@ndswartz)