Debian Codegraph @

ansible_collections/netapp_eseries/santricity/roles/nar_santricity_host/defaults/main.yml

raw symbols SCIP
1 # Web Services Embedded information
2 #eseries_subnet: # Network subnet to search for the storage system specified in CIDR form. Example: 192.168.1.0/24
3 #eseries_system_serial: # Storage system serial number. Be sure to quote if the serial is all numbers and begins with zero. (This is located
4 # on a label at the top-left towards the front on the device)
5 #eseries_system_addresses: # Storage system management IP addresses. Only required when eseries_system_serial or eseries_system_api_url are not
6 # defined. When not specified, addresses will be populated with eseries_management_interfaces controller addresses.
7 #eseries_system_api_url: # Url for the storage system's for embedded web services rest api. Example: https://192.168.10.100/devmgr/v2
8 #eseries_system_username: # Username for the storage system's for embedded web services rest api
9 #eseries_system_password: # Password for the storage system's for embedded web services rest api and when the admin password has not been set
10 # eseries_system_password will be used to set it.
11 #eseries_proxy_ssid: # Arbitrary string for the proxy to represent the storage system. eseries_system_serial will be used when not defined.
12 #eseries_template_api_url: # Template for the web services api url. Default: https://0.0.0.0:8443/devmgr/v2/
13 #eseries_validate_certs: # Indicates Whether SSL certificates should be verified. Used for both embedded and proxy. Choices: true, false
14
15 # Web Services Proxy information
16 # Note: eseries_proxy_* variables are required to discover storage systems prior to SANtricity OS version 11.60.2.
17 #eseries_proxy_api_url: # Url for the storage system's for proxy web services rest api. Example: https://192.168.10.100/devmgr/v2
18 #eseries_proxy_api_username: # Username for the storage system's for proxy web services rest api.
19 #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
20 # eseries_proxy_api_password will be used to set it.
21
22
23 # Storage Pool Default Policy Specifications
24 # ------------------------------------------
25 eseries_storage_pool_state: present # Default storage pool state. Choices: present, absent
26 eseries_storage_pool_raid_level: raidDiskPool # Default volume raid level. Choices: raid0, raid1, raid5, raid6, raidDiskPool
27 eseries_storage_pool_secure_pool: false # Default for storage pool drive security. This flag will enable the security at rest feature. There
28 # must be sufficient FDE or FIPS security capable drives. Type: boolean
29 #eseries_storage_pool_criteria_drive_count: # Default storage pool drive count.
30 #eseries_storage_pool_reserve_drive_count: # Default reserve drive count for drive reconstruction for storage pools using dynamic disk pool and
31 # the raid level must be set for raidDiskPool.
32 #eseries_storage_pool_criteria_min_usable_capacity: # Default minimum required capacity for storage pools.
33 #eseries_storage_pool_criteria_drive_type: # Default drive type for storage pools. Choices: hdd, ssd
34 eseries_storage_pool_criteria_size_unit: gb # Default unit size for all storage pool related sizing.
35 # Choices: bytes, b, kb, mb, gb, tb, pb, eb, zb, yb
36 #eseries_storage_pool_criteria_drive_min_size: # Default minimum drive size for storage pools.
37 #eseries_storage_pool_criteria_drive_require_da: # Default for whether storage pools are required to have data assurance (DA) compatible drives.
38 # Type: boolean
39 #eseries_storage_pool_criteria_drive_require_fde: # Default for whether storage pools are required to have drive security compatible drives.
40 # Type: boolean
41 #eseries_storage_pool_usable_drives: # Ordered list of <tray_number>:<drive_slot> strings for drive candidates. This is useful to control
42 # drive selections.
43 eseries_storage_pool_remove_volumes: True # Default policy for deleting volumes prior to removing storage pools.
44 #eseries_storage_pool_erase_secured_drives: # Default policy for erasing the content drives during create and delete storage pool operations.
45 # Type: boolean
46 #eseries_storage_pool_ddp_critical_threshold_pct: # Default policy for dynamic disk pool alert critical threshold.
47 #eseries_storage_pool_ddp_warning_threshold_pct: # Default policy for dynamic disk pool alert warning threshold.
48
49 # Volume Default Policy Specifications
50 # ------------------------------------
51 eseries_volume_state: present # Default volume state. Choices: present, absent
52 eseries_volume_size_unit: gb # Default unit size for all volume sizing options.
53 #eseries_volume_size: # Default volume size or the presented size for thinly provisioned volumes.
54 #eseries_volume_data_assurance_enabled: # Default for whether data assurance(DA) is required to be enabled.
55 #eseries_volume_segment_size_kb: # Default segment size measured in kib.
56 #eseries_volume_read_cache_enable: # Default for read caching which will cache all read requests.
57 #eseries_volume_read_ahead_enable: # Default for read ahead caching; this is good for sequential workloads to cache subsequent blocks.
58 #eseries_volume_write_cache_enable: # Default for write caching which will cache all writes.
59 #eseries_volume_cache_without_batteries: # Default for allowing caching when batteries are not present.
60 #eseries_volume_thin_provision: # Default for whether volumes should be thinly provisioned.
61 #eseries_volume_thin_volume_repo_size: # Default for actually allocated space for thinly provisioned volumes.
62 #eseries_volume_thin_volume_max_repo_size: # Default for the maximum allocated space allowed for thinly provisioned volumes.
63 #eseries_volume_thin_volume_expansion_policy: # Default thin volume expansion policy. Choices: automatic, manual
64 #eseries_volume_thin_volume_growth_alert_threshold: # Default thin volume growth alert threshold; this is the threshold for when the thin volume expansion
65 # policy will be enacted. Allowable values are between and including 10% and 99%
66 #eseries_volume_ssd_cache_enabled: # Default for ssd cache which will enable the volume to use an existing SSD cache on the storage array.
67 #eseries_volume_host: # Default host for all volumes; the value can be any host from the Ansible inventory. Any initiator may be
68 # used whether connected or not since the storage array does not require connectivity in order to create
69 # host objects.
70 #eseries_volume_workload_name: # Default workload tag name
71 #eseries_volume_metadata: # Default metadata
72 #eseries_volume_owning_controller # Default preferred owning controller
73 eseries_volume_wait_for_initialization: false # Default for whether volume creation with wait for initialization to complete
74
75
76 # Storage Pool-Volume Mapping Default Policy Specifications
77 # ---------------------------------------------------------
78 eseries_lun_mapping_state: present # Generally specifies whether a LUN mapping should be present. This is useful when adding a default host for all
79 # volumes. Choices: present, absent
80 #eseries_lun_mapping_host: # Default host for all volumes not specifically give a host either in common_volume_configuration or in
81 # eseries_storage_pool_configuration.
82
83
84 # Controller iSCSI Interface Port Default Policy Specifications
85 # -------------------------------------------------------
86 eseries_controller_iscsi_port_state: enabled # Generally specifies whether a controller port definition should be applied Choices: enabled, disabled
87 eseries_controller_iscsi_port_config_method: dhcp # General port configuration method definition for both controllers. Choices: static, dhcp
88 #eseries_controller_iscsi_port_gateway: # General port IPv4 gateway for both controllers.
89 #eseries_controller_iscsi_port_subnet_mask: # General port IPv4 subnet mask for both controllers.
90 eseries_controller_iscsi_port_mtu: 9000 # General port maximum transfer units (MTU) for both controllers. Any value greater than 1500 (bytes).
91 #eseries_controller_iscsi_port:
92 # controller_a: # Controller A port definition.
93 # state: # General definitions for all ports on controller A. Any option specified in the ports definition can be
94 # specified here to generalize for all controller A ports. Choices: enabled, disabled
95 # config_method: # Port configuration method Choices: static, dhcp
96 # address: # Port IPv4 address
97 # gateway: # Port IPv4 gateway
98 # subnet_mask: # Port IPv4 subnet_mask
99 # mtu: # Port IPv4 mtu
100 # ports: # List containing ports definitions
101 # - state: # Whether the port should be enabled. Choices: enabled, disabled
102 # config_method: # Port configuration method Choices: static, dhcp
103 # address: # Port IPv4 address
104 # gateway: # Port IPv4 gateway
105 # subnet_mask: # Port IPv4 subnet_mask
106 # controller_b: # Controller B port definition.
107 # (...) # Same as controller A but for controller B
108
109
110
111 # Controller InfiniBand iSER Interface Channel
112 # --------------------------------------------
113 #eseries_controller_ib_iser_port:
114 # controller_a: # Ordered list of controller A channel address definition.
115 # - # Port IPv4 address for channel 1
116 # - (...) # So on and so forth
117 # controller_b: # Ordered list of controller B channel address definition.
118
119 # Controller NVMe over InfiniBand Interface Channel
120 # -------------------------------------------------
121 #eseries_controller_nvme_ib_port:
122 # controller_a: # Ordered list of controller A channel address definition.
123 # - # Port IPv4 address for channel 1
124 # - (...) # So on and so forth
125 # controller_b: # Ordered list of controller B channel address definition.
126
127 # Controller NVMe RoCE Interface Port Default Policy Specifications
128 # -------------------------------------------------------
129 eseries_controller_nvme_roce_port_state: enabled # Generally specifies whether a controller port definition should be applied Choices: enabled, disabled
130 eseries_controller_nvme_roce_port_config_method: dhcp # General port configuration method definition for both controllers. Choices: static, dhcp
131 #eseries_controller_nvme_roce_port_gateway: # General port IPv4 gateway for both controllers.
132 #eseries_controller_nvme_roce_port_subnet_mask: # General port IPv4 subnet mask for both controllers.
133 eseries_controller_nvme_roce_port_mtu: 4200 # General port maximum transfer units (MTU). Any value greater than 1500 (bytes).
134 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.
135 #eseries_controller_nvme_roce_port:
136 # controller_a: # Controller A port definition.
137 # state: # General definitions for all ports on controller A. Any option specified in the ports definition can be
138 # specified here to generalize for all controller A ports.
139 # config_method: # Port configuration method Choices: static, dhcp
140 # address: # Port IPv4 address
141 # gateway: # Port IPv4 gateway
142 # subnet_mask: # Port IPv4 subnet_mask
143 # mtu: # Port IPv4 mtu
144 # speed: # Port IPv4 speed
145 # ports: # List containing ports definitions
146 # - channel: # Channel of the port to modify. This will be a numerical value that represents the port; typically read
147 # left to right on the HIC.
148 # state: # Whether the port should be enabled.
149 # config_method: # Port configuration method Choices: static, dhcp
150 # address: # Port IPv4 address
151 # gateway: # Port IPv4 gateway
152 # subnet_mask: # Port IPv4 subnet_mask
153 # controller_b: # Controller B port definition.
154 # state: # General definitions for all ports on controller B. Any option specified in the ports definition can be
155 # specified here to generalize for all controller A ports.
156 # config_method: # Port configuration method Choices: static, dhcp
157 # address: # Port IPv4 address
158 # gateway: # Port IPv4 gateway
159 # subnet_mask: # Port IPv4 subnet_mask
160 # mtu: # Port IPv4 mtu
161 # speed: # Port IPv4 speed
162 # ports: # List containing ports definitions
163 # - channel: # Channel of the port to modify. This will be a numerical value that represents the port; typically read
164 # left to right on the HIC.
165 # state: # Whether the port should be enabled.
166 # config_method: # Port configuration method Choices: static, dhcp
167 # address: # Port IPv4 address
168 # gateway: # Port IPv4 gateway
169 # subnet_mask: # Port IPv4 subnet_mask
170
171
172 # Target Discovery Default Policy Specifications
173 # ----------------------------------------------
174 #eseries_target_name: # iSCSI target name
175 eseries_target_ping: True # Enables ICMP ping response from the configured iSCSI ports (boolean)
176 eseries_target_unnamed_discovery: True # Whether the iSCSI target iqn should be returned when an initiator performs a discovery session.
177 eseries_target_chap_secret: # iSCSI chap secret. When left blank, the chap secret will be removed from the storage system.
178 eseries_target_chap_secret_update: False # DO NOT REMOVE! Since netapp_e_iscsi_target cannot compare the chap secret with the current and chooses to always
179 # return changed=True, this flag is used to force the module to update the chap secret. It is preferable to
180 # leave this value False and to add the --extra-vars "eseries_target_chap_secret_update=True".
181
182 # Host Default Policy Specifications
183 # ----------------------------------
184 eseries_host_force_port: True # Default for whether ports are to be allowed to be re-assigned (boolean)
185 eseries_host_remove_unused_hostgroup: True # Forces any unused groups to be removed
186 #eseries_host_object:
187 # - name: # Host label as referenced by the storage array.
188 # state:
189 # host_type: # Windows (non-clustering) 1, Windows (clustering) 6, Vmware 10, Linux (using kernal 3.10 and later) 28
190 # group: # Host's host group
191 # ports: # List of port definitions
192 # - type: # Port protocol definition (iscsi, fc, sas, ib, nvme)
193 # label: # Arbitrary port label
194 # port: # Port initiator (iqn, wwn, etc)
195
196
197 # Storage Pool-Volume Default Policy Specifications
198 # -------------------------------------------------
199 # 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
200 # brackets and can be used to specify a range of lowercase letters, uppercase letters, range of single digit numbers, any top-level inventory
201 # variables, and the current defined storage pool (volume only).
202
203 #eseries_storage_pool_configuration:
204 # - name: # Name or name scheme (see above) for the storage pool.
205 # state: # Specifies whether the storage pool should exist (present, absent). When removing an existing storage array all of the
206 # volumes must be defined with state=absent.
207 # raid_level # Volume group raid level. Choices: raid0, raid1, raid5, raid6, raidDiskPool (Default: raidDiskPool)
208 # secure_pool: no # Default for storage pool drive security. This flag will enable the security at rest feature. There must be sufficient FDE
209 # or FIPS security capable drives. Type: boolean
210 # criteria_drive_count: # Default storage pool drive count.
211 # reserve_drive_count: # Default reserve drive count for drive reconstruction for storage pools using dynamic disk pool and the raid level must be
212 # set for raidDiskPool.
213 # criteria_min_usable_capacity: # Default minimum required capacity for storage pools.
214 # criteria_drive_type: # Default drive type for storage pools. Choices: hdd, ssd
215 # criteria_size_unit: gb # Default unit size for all storage pool related sizing. Choices: bytes, b, kb, mb, gb, tb, pb, eb, zb, yb
216 # criteria_drive_min_size: # Default minimum drive size for storage pools.
217 # criteria_drive_require_da: # Default for whether storage pools are required to have data assurance (DA) compatible drives. Type: boolean
218 # criteria_drive_require_fde: # Default for whether storage pools are required to have drive security compatible drives. Type: boolean
219 # usable_drives: # Ordered list of <tray_number>:<drive_slot> strings for drive candidates. This is useful to control
220 # drive selections.
221 # remove_volumes: # Default policy for deleting volumes prior to removing storage pools.
222 # erase_secured_drives: # Default policy for erasing the content drives during create and delete storage pool operations. Type: boolean
223 # 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
224 # all volumes share common configuration definitions.
225 # volumes: # List of volumes associated the storage pool.
226 # - state: # Specifies whether the volume should exist (present, absent)
227 # name: # (required) Name or name scheme (see above) for the volume(s) to be created in the storage pool(s)
228 # host: # host or host group for the volume should be mapped to.
229 # host_type: # Only required when using something other than Linux kernel 3.10 or later with DM-MP (Linux DM-MP),
230 # non-clustered Windows (Windows), or the storage system default host type is incorrect. Common definitions below:
231 # - AIX MPIO: The Advanced Interactive Executive (AIX) OS and the native MPIO driver
232 # - AVT 4M: Silicon Graphics, Inc. (SGI) proprietary multipath driver; refer to the SGI installation documentation for more information
233 # - HP-UX: The HP-UX OS with native multipath driver
234 # - Linux ATTO: The Linux OS and the ATTO Technology, Inc. driver (must use ATTO FC HBAs)
235 # - Linux DM-MP: The Linux OS and the native DM-MP driver
236 # - Linux Pathmanager: The Linux OS and the SGI proprietary multipath driver; refer to the SGI installation documentation for more information
237 # - Mac: The Mac OS and the ATTO Technology, Inc. driver
238 # - ONTAP: FlexArray
239 # - Solaris 11 or later: The Solaris 11 or later OS and the native MPxIO driver
240 # - Solaris 10 or earlier: The Solaris 10 or earlier OS and the native MPxIO driver
241 # - SVC: IBM SAN Volume Controller
242 # - VMware: ESXi OS
243 # - Windows: Windows Server OS and Windows MPIO with a DSM driver
244 # - Windows Clustered: Clustered Windows Server OS and Windows MPIO with a DSM driver
245 # - Windows ATTO: Windows OS and the ATTO Technology, Inc. driver
246 # size: # Size of the volume or presented size of the thinly provisioned volume.
247 # size_unit: # Unit size for the size, thin_volume_repo_size, and thin_volume_max_repo_size
248 # Choices: bytes, b, kb, mb, gb, tb, pb, eb, zb, yb
249 # 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.
250 # thin_provision: # Whether volumes should be thinly provisioned.
251 # thin_volume_repo_size: # Actually allocated space for thinly provisioned volumes.
252 # thin_volume_max_repo_size: # Maximum allocated space allowed for thinly provisioned volumes.
253 # thin_volume_expansion_policy: # Thin volume expansion policy. Choices: automatic, manual
254 # thin_volume_growth_alert_threshold: # Thin volume growth alert threshold; this is the threshold for when the thin volume expansion
255 # policy will be enacted. Allowable values are between and including 10% and 99%
256 # ssd_cache_enabled: # Enables ssd cache which will enable the volume to use an existing SSD cache on the storage array.
257 # data_assurance_enabled: # Enables whether data assurance(DA) is required to be enabled.
258 # read_cache_enable: # Enables read caching which will cache all read requests.
259 # read_ahead_enable: # Enables read ahead caching; this is good for sequential workloads to cache subsequent blocks.
260 # write_cache_enable: # Enables write caching which will cache all writes.
261 # workload_name: # Name of the volume's workload. This can be defined using the metadata option or, if already defined, specify one already
262 # created on the storage array.
263 # metadata: # Dictionary containing arbitrary entries normally used for defining the volume(s) workload.
264 # wait_for_initialization: # Whether volume creation with wait for initialization to complete
265
266 # Snapshot Consistency Group Default Policy Specifications
267 # --------------------------------------------------------
268 eseries_snapshot_remove_unspecified: false # Whether to remove any snapshot group or view that is not specified (Default: false).
269 #eseries_snapshot_groups_maximum_snapshots: # Default maximum point-in-time snapshot images (Default: 32).
270 #eseries_snapshot_groups_reserve_capacity_pct: # Default reserve capacity percentage (Default: 40)
271 #eseries_snapshot_groups_preferred_reserve_storage_pool: # Preferred storage pool or volume group for the reserve capacity volume.
272 #eseries_snapshot_groups_reserve_capacity_full_policy: # Default full reserve capacity policy (Default: purge). Choices: [purge, reject]
273 #eseries_snapshot_groups_alert_threshold_pct: # Default reserve capacity percentage full to alert administrators (Default 75).
274 #eseries_snapshot_groups:
275 # - name: # Name of snapshot consistency group.
276 # maximum_snapshots: # Maximum allowed snapshot point-in-time images for consistency group (Default: 32).
277 # reserve_capacity_pct: # Reserve capacity measured as a percentage of the base volume (Default: 40). Reserve capacity can be expanded
278 # # and trimmed; however, the trim operation requires there be no base volume snapshots images in the group.
279 # reserve_capacity_full_policy: # Policy to implement when reserve capacity is full (Default: purge). Choices [purge, reject]
280 # alert_threshold_pct: # Reserve capacity full alert threshold for storage system administrators (Default: 75).
281 # rollback_priority: # Storage system priority for base volume rollback (Default: medium). Choices [lowest, low, medium, high, highest]
282 # volumes: # Information for each volume in the consistency group.
283 # - volume: # Base volume name
284 # reserve_capacity_pct: # Reserve capacity measured as a percentage of the base volume (Default: 40). Reserve capacity can be expanded
285 # and trimmed; however, the trim operation requires there be no base volume snapshots images in the group.
286 # preferred_reserve_storage_pool: # Preferred reserve capacity storage pool or volume group. This will default to the base volume's
287 # storage pool or volume group. The reserve capacity volume cannot be changed once created.
288 # - (...)
289
290 #eseries_snapshot_views_host: # Default host or host group to map all snapshot volumes.
291 #eseries_snapshot_views_reserve_capacity_pct: # Default reserve capacity percentage (Default: 40)
292 #eseries_snapshot_views_preferred_reserve_storage_pool: # Preferred storage pool or volume group for the reserve capacity volume.
293 #eseries_snapshot_views_alert_threshold_pct: # Default reserve capacity percentage full to alert administrators (Default 75).
294 #eseries_snapshot_views_writable: # Default for whether to make snapshot volumes writable.
295 #eseries_snapshot_views_validate: # Default for whether to validate snapshot volumes after creation.
296 #eseries_snapshot_views:
297 # - volume: # Consistency group's snapshot view's name.
298 # group_name: # Snapshot consistency group's name.
299 # pit_name: # Point-in-time snapshot images group name. (Only available when specified using Ansible na_santricity_module (via direct or role)
300 # 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)
301 # host: # Host or host group to map snapshot volumes.
302 # writable: # Whether snapshot volume of base volume images should be writable.
303 # validate: # Whether snapshot volume should be validated which includes both a media scan and parity validation.
304 # reserve_capacity_pct: # Percentage of base volume capacity to reserve for snapshot copy-on-writes (COW). Only used when snapshot volume is writable.
305 # preferred_reserve_storage_pool: # Preferred storage pool or volume group for the reserve capacity volume.
306 # alert_threshold: # Reserve capacity percentage full to alert administrators
307 # volumes: # (Optional) Select subset of volumes within the snapshot consistency group.
308 # - name: # Name of volume within consistency group.
309 # host: # Host or host group to map snapshot volumes.
310 # writable: # Whether snapshot volume of base volume images should be writable.
311 # validate: # Whether snapshot volume should be validated which includes both a media scan and parity validation.
312 # reserve_capacity_pct: # Percentage of base volume capacity to reserve for snapshot copy-on-writes (COW). Only used when snapshot volume is writable.
313 # preferred_reserve_storage_pool: # Preferred storage pool or volume group for the reserve capacity volume.
314
315 #eseries_snapshot_rollback_priority: medium # Default point-in-time rollback priority (Default: medium). Choices [lowest, low, medium, high, highest]
316 #eseries_snapshot_rollback_backup: true # Default whether snapshot should be taken prior to rolling back base volumes (Default: true).
317 #eseries_snapshot_rollbacks:
318 # - group_name: # Snapshot consistency group's name.
319 # pit_name: # Point-in-time snapshot images group name (Only available when specified using Ansible na_santricity_module (via direct or role)
320 # 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)
321 # rollback_priority: # Storage system priority for base volume rollback (Default: medium). Choices [lowest, low, medium, high, highest]
322 # rollback_backup: # Whether to create point-in-time snapshot images of the consistency group prior to rollback.
323 # volumes: # (Optional) Select subset of volume names within the snapshot consistency group to rollback.
324
325 # Initiator-Target Protocol Variable Defaults
326 # -------------------------------------------
327 # Note that the following commands produce a unique list of IQNs or WWNs of the interfaces used, line separated.
328 eseries_initiator_protocol: # This variable defines which protocol the storage array will use. Choices: iscsi, fc, sas, ib_iser, ib_srp, nvme_ib, nvme_fc, nvme_roce
329 eseries_initiator_command:
330 fc:
331 linux: "cat /sys/class/fc_host/host*/port_name | sort | uniq"
332 windows: "(Get-InitiatorPort | Where-Object -P ConnectionType -EQ 'Fibre Channel' | Select-Object -Property PortAddress |
333 Format-Table -AutoSize -HideTableHeaders | Out-String).trim()"
334 iscsi:
335 linux: "grep -o iqn.* /etc/iscsi/initiatorname.iscsi"
336 windows: "(get-initiatorPort | select-object -property nodeaddress | sort-object | get-unique | ft -autoSize | out-string -stream |
337 select-string iqn | out-string).trim()"
338 sas:
339 # NetApp IMT for SAS attached E-Series SAN hosts recommends adding all possible SAS addresses with the base address
340 # starting at 0, and the last address ending in 3 for single port HBAs, or 7 for dual port HBAs. Since determining
341 # single vs . dual port HBAs adds complexity, we always add all 8 possible permutations of the SAS address.
342 linux: "cat /sys/class/sas_host/host*/device/scsi_host/*/host_sas_address | sort | uniq"
343 windows: "(Get-InitiatorPort | Where-Object -P ConnectionType -EQ 'SAS' | Select-Object -Property PortAddress | Format-Table -AutoSize -HideTableHeaders | Out-String).trim()"
344 ib_iser:
345 linux: "grep -o iqn.* /etc/iscsi/initiatorname.iscsi"
346 windows: "" # add windows command for determining host iqn address(es)
347 ib_srp:
348 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"
349 windows: "" # add windows command for determining host guid
350 nvme_ib:
351 linux: "grep -o nqn.* /etc/nvme/hostnqn"
352 windows: "" # add windows command for determining host nqn address(es)
353 nvme_fc:
354 linux: "grep -o nqn.* /etc/nvme/hostnqn"
355 windows: "" # add windows command for determining host nqn address(es)
356 nvme_roce:
357 linux: "grep -o nqn.* /etc/nvme/hostnqn"
358 windows: "" # add windows command for determining host nqn address(es)
359
360 eseries_iscsi_iqn_prefix: "iqn.2005-03.org.open-iscsi:" # Last 12 characters from host machine-id (uuid) will be appended to the prefix if the host does not have a required iqn.
361 eseries_nvme_nqn_prefix: "nqn.2014-08.org.nvmexpress:uuid:" # Host machine-id (uuid) will be appended to the prefix if the host does not have a required nqn.
362 eseries_protocols_using_eseries_iscsi_iqn: ["iscsi", "ib_iser"]
363 eseries_protocols_using_eseries_nvme_nqn: ["nvme_ib", "nvme_fc", "nvme_roce"]
364 eseries_iscsi_iqn_path: "/etc/iscsi/" #initiatorname.iscsi"
365 eseries_nvme_nqn_path: "/etc/nvme/" #hostnqn"
366
367 eseries_remove_all_configuration: False # WARNING!!! This flag will force any storage pool, volume, host, hostgroup and mapping to be absent. Choices: True, False