netapp.elementsw.na_elementsw_cluster_config module – Configure Element SW Cluster
Note
This module is part of the netapp.elementsw collection (version 21.7.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install netapp.elementsw
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: netapp.elementsw.na_elementsw_cluster_config
.
New in netapp.elementsw 2.8.0
Synopsis
Configure Element Software cluster.
Requirements
The below requirements are needed on the host that executes this module.
The modules were developed with SolidFire 10.1
solidfire-sdk-python (1.1.0.92) or greater. Install using ‘pip install solidfire-sdk-python’
Parameters
Parameter |
Comments |
---|---|
Enable the NetApp SolidFire VVols cluster feature Choices:
|
|
enable or disable the Advanced Encryption Standard (AES) 256-bit encryption at rest on the cluster Choices:
|
|
The hostname or IP address of the SolidFire cluster. For na_elementsw_cluster, the Management IP (MIP) or hostname of the node to initiate the cluster creation from. |
|
The capacity level at which the cluster generates an event Requires a stage3_block_threshold_percent or max_metadata_over_provision_factor or stage2_aware_threshold |
|
The number of times metadata space can be overprovisioned relative to the amount of space available |
|
The number of nodes of capacity remaining in the cluster before the system triggers a notification |
|
The percentage below the “Error” threshold that triggers a cluster “Warning” alert |
|
Password for the specified user. |
|
configure NTP on cluster node Requires a list of one or more ntp_servers |
|
Enables every node in the cluster as a broadcast client Choices:
|
|
list of NTP servers to add to each nodes NTP configuration |
|
Please ensure that the user has the adequate permissions. For more information, please read the official documentation https://mysupport.netapp.com/documentation/docweb/index.html?productID%3D62636%26language%3Den-US. |
Notes
Note
The modules prefixed with na\\_elementsw are built to support the SolidFire storage platform.
Examples
- name: Configure cluster
tags:
- elementsw_cluster_config
na_elementsw_cluster_config:
hostname: "{{ elementsw_hostname }}"
username: "{{ elementsw_username }}"
password: "{{ elementsw_password }}"
modify_cluster_full_threshold:
stage2_aware_threshold: 2
stage3_block_threshold_percent: 10
max_metadata_over_provision_factor: 2
encryption_at_rest: absent
set_ntp_info:
broadcastclient: False
ntp_servers:
- 1.1.1.1
- 2.2.2.2
enable_virtual_volumes: True
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Success message Returned: success |