netapp_eseries.santricity.netapp_e_amg module – NetApp E-Series create, remove, and update asynchronous mirror groups
Note
This module is part of the netapp_eseries.santricity collection (version 1.4.1).
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.netapp_e_amg.
New in netapp_eseries.santricity 2.2.0
Synopsis
Allows for the creation, removal and updating of Asynchronous Mirror Groups for NetApp E-series storage arrays
Parameters
Parameter  | 
Comments  | 
|---|---|
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. Example https://prod-1.wahoo.acme.com/devmgr/v2  | 
|
The username to authenticate with the SANtricity Web Services Proxy or Embedded Web Services API.  | 
|
The intended protocol to use if both Fibre and iSCSI are available. Choices: 
  | 
|
Setting this to true will cause other synchronization values to be ignored Choices: 
  | 
|
The name of the async array you wish to target, or create. If   | 
|
New async array name  | 
|
Recovery point warning threshold (minutes). The user will be warned when the age of the last good failures point exceeds this value Default:   | 
|
Recovery point warning threshold Default:   | 
|
The ID of the secondary array to be used in mirroring process  | 
|
The ID of the array to manage. This value must be unique for each array. Default:   | 
|
A  A  Choices: 
  | 
|
The synchronization interval in minutes Default:   | 
|
The threshold (in minutes) for notifying the user that periodic synchronization has taken too long to complete. Default:   | 
|
Should https certificates be validated? Choices: 
  | 
Notes
Note
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.
netapp_eseries.santricity.netapp_e_storage_system may be utilized for configuring the systems managed by a WSP instance.
Examples
- name: AMG removal
  na_eseries_amg:
    state: absent
    ssid: "{{ ssid }}"
    secondaryArrayId: "{{amg_secondaryArrayId}}"
    api_url: "{{ netapp_api_url }}"
    api_username: "{{ netapp_api_username }}"
    api_password: "{{ netapp_api_password }}"
    new_name: "{{amg_array_name}}"
    name: "{{amg_name}}"
  when: amg_create
- name: AMG create
  netapp_e_amg:
    state: present
    ssid: "{{ ssid }}"
    secondaryArrayId: "{{amg_secondaryArrayId}}"
    api_url: "{{ netapp_api_url }}"
    api_username: "{{ netapp_api_username }}"
    api_password: "{{ netapp_api_password }}"
    new_name: "{{amg_array_name}}"
    name: "{{amg_name}}"
  when: amg_create
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key  | 
Description  | 
|---|---|
Successful creation Returned: success Sample:   |