netapp_eseries.santricity.na_santricity_asup module – NetApp E-Series manage auto-support settings
Note
This module is part of the netapp_eseries.santricity collection (version 1.4.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_eseries.santricity
.
To use it in a playbook, specify: netapp_eseries.santricity.na_santricity_asup
.
Synopsis
Allow the auto-support settings to be configured for an individual E-Series storage-system
Parameters
Parameter |
Comments |
---|---|
Enable active/proactive monitoring for ASUP. When a problem is detected by our monitoring systems, it’s possible that the bundle did not contain all of the required information at the time of the event. Enabling this option allows NetApp support personnel to manually request transmission or re-transmission of support data in order ot resolve the problem. Only applicable if state=enabled. Choices:
|
|
The password to authenticate with the SANtricity Web Services Proxy or Embedded Web Services API. |
|
The url to the SANtricity Web Services Proxy or Embedded Web Services API. |
|
The username to authenticate with the SANtricity Web Services Proxy or Embedded Web Services API. |
|
A list of days of the week that ASUP bundles will be sent. A larger, weekly bundle will be sent on one of the provided days. Choices:
|
|
Information particular to the e-mail delivery method. Uses the SMTP protocol. Required when ERROR while parsing: While parsing “M(method==email)” at index 15: Module name “method==email” is not a FQCN. |
|
Sender’s email account Required when ERROR while parsing: While parsing “M(routing_type==email)” at index 15: Module name “routing_type==email” is not a FQCN. |
|
Mail server’s IP address or fully qualified domain name. Required when ERROR while parsing: While parsing “M(routing_type==email)” at index 15: Module name “routing_type==email” is not a FQCN. |
|
Test verification email Required when ERROR while parsing: While parsing “M(routing_type==email)” at index 15: Module name “routing_type==email” is not a FQCN. |
|
An end hour may be specified in a range from 1 to 24 hours. ASUP bundles will be sent daily between the provided start and end time (UTC). start must be less than end. Default: |
|
The duration of time the ASUP maintenance mode will be active. Permittable range is between 1 and 72 hours. Required when state==maintenance_enabled. Default: |
|
List of email addresses for maintenance notifications. Required when state==maintenance_enabled. |
|
AutoSupport dispatch delivery method. Choices:
|
|
Information particular to the proxy delivery method. Required when ERROR while parsing: While parsing “M((method==https or method==http)” at index 15: Module name “(method==https or method==http” is not a FQCN and routing_type==proxy). |
|
Proxy host IP address or fully qualified domain name. Required when ERROR while parsing: While parsing “M(method==http or method==https)” at index 15: Module name “method==http or method==https” is not a FQCN and ERROR while parsing: While parsing “M(routing_type==proxy)” at index 52: Module name “routing_type==proxy” is not a FQCN. |
|
Password for the proxy. |
|
Proxy host port. Required when ERROR while parsing: While parsing “M(method==http or method==https)” at index 15: Module name “method==http or method==https” is not a FQCN and ERROR while parsing: While parsing “M(routing_type==proxy)” at index 52: Module name “routing_type==proxy” is not a FQCN. |
|
Path to the AutoSupport routing script file. Required when ERROR while parsing: While parsing “M(method==http or method==https)” at index 15: Module name “method==http or method==https” is not a FQCN and ERROR while parsing: While parsing “M(routing_type==script)” at index 52: Module name “routing_type==script” is not a FQCN. |
|
Username for the proxy. |
|
AutoSupport routing Required when ERROR while parsing: While parsing “M(method==https or method==http)” at index 15: Module name “method==https or method==http” is not a FQCN. Choices:
|
|
The ID of the array to manage. This value must be unique for each array. Default: |
|
A start hour may be specified in a range from 0 to 23 hours. ASUP bundles will be sent daily between the provided start and end time (UTC). start must be less than end. Default: |
|
Enable/disable the E-Series auto-support configuration or maintenance mode. When this option is enabled, configuration, logs, and other support-related information will be relayed to NetApp to help better support your system. No personally identifiable information, passwords, etc, will be collected. The maintenance state enables the maintenance window which allows maintenance activities to be performed on the storage array without generating support cases. Maintenance mode cannot be enabled unless ASUP has previously been enabled. Choices:
|
|
Validate ASUP configuration. Choices:
|
|
Should https certificates be validated? Choices:
|
Notes
Note
Check mode is supported.
Enabling ASUP will allow our support teams to monitor the logs of the storage-system in order to proactively respond to issues with the system. It is recommended that all ASUP-related options be enabled, but they may be disabled if desired.
This API is currently only supported with the Embedded Web Services API v2.0 and higher.
The E-Series Ansible modules require either an instance of the Web Services Proxy (WSP), to be available to manage the storage-system, or an E-Series storage-system that supports the Embedded Web Services API.
Embedded Web Services is currently available on the E2800, E5700, EF570, and newer hardware models.
ERROR while parsing: While parsing “M(netapp_e_storage_system)” at index 1: Module name “netapp_e_storage_system” is not a FQCN may be utilized for configuring the systems managed by a WSP instance.
Examples
- name: Enable ASUP and allow pro-active retrieval of bundles
na_santricity_asup:
ssid: "1"
api_url: "https://192.168.1.100:8443/devmgr/v2"
api_username: "admin"
api_password: "adminpass"
validate_certs: true
state: enabled
active: true
days: ["saturday", "sunday"]
start: 17
end: 20
- name: Set the ASUP schedule to only send bundles from 12 AM CST to 3 AM CST.
na_santricity_asup:
ssid: "1"
api_url: "https://192.168.1.100:8443/devmgr/v2"
api_username: "admin"
api_password: "adminpass"
validate_certs: true
state: disabled
- name: Set the ASUP schedule to only send bundles from 12 AM CST to 3 AM CST.
na_santricity_asup:
ssid: "1"
api_url: "https://192.168.1.100:8443/devmgr/v2"
api_username: "admin"
api_password: "adminpass"
state: maintenance_enabled
maintenance_duration: 24
maintenance_emails:
- [email protected]
- name: Set the ASUP schedule to only send bundles from 12 AM CST to 3 AM CST.
na_santricity_asup:
ssid: "1"
api_url: "https://192.168.1.100:8443/devmgr/v2"
api_username: "admin"
api_password: "adminpass"
validate_certs: true
state: maintenance_disabled
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
True if the active option has been enabled. Returned: on success Sample: |
|
True if ASUP is enabled. Returned: on success Sample: |
|
Provide the full ASUP configuration. Returned: on success |
|
True if ASUP has been enabled. Returned: success |
|
The days of the week that ASUP bundles will be sent. Returned: success |
|
True if ASUP active monitoring has been enabled. Returned: success |
|
Success message Returned: on success Sample: |