Note
This plugin is part of the netapp.elementsw collection.
To install it use: ansible-galaxy collection install netapp.elementsw
.
To use it in a playbook, specify: netapp.elementsw.na_elementsw_volume_pair
.
New in version 2.7.0: of netapp.elementsw
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
dest_account string / required | Destination account name or ID | |
dest_mvip string / required | Destination IP address of the paired cluster. | |
dest_password string | Destination password for the paired cluster Optional if this is same as source cluster password. | |
dest_username string | Destination username for the paired cluster Optional if this is same as source cluster username. | |
dest_volume string / required | Destination volume name or volume ID | |
hostname string / required | 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. | |
mode string |
| Mode to start the volume pairing |
password string / required | Password for the specified user. aliases: pass | |
src_account string / required | Source account name or ID | |
src_volume string / required | Source volume name or volume ID | |
state string |
| Whether the specified volume pair should exist or not. |
username string / required | 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=62636&language=en-US. aliases: user |
Note
- name: Create volume pair na_elementsw_volume_pair: hostname: "{{ src_cluster_hostname }}" username: "{{ src_cluster_username }}" password: "{{ src_cluster_password }}" state: present src_volume: test1 src_account: test2 dest_volume: test3 dest_account: test4 mode: sync dest_mvip: "{{ dest_cluster_hostname }}" - name: Delete volume pair na_elementsw_volume_pair: hostname: "{{ src_cluster_hostname }}" username: "{{ src_cluster_username }}" password: "{{ src_cluster_password }}" state: absent src_volume: 3 src_account: 1 dest_volume: 2 dest_account: 1 dest_mvip: "{{ dest_cluster_hostname }}" dest_username: "{{ dest_cluster_username }}" dest_password: "{{ dest_cluster_password }}"
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/netapp/elementsw/na_elementsw_volume_pair_module.html