Closed kvegh closed 3 years ago
Hi, maybe you're looking for na_ontap_vserver_peer.
EXAMPLES:
- name: Source vserver peer create
na_ontap_vserver_peer:
state: present
peer_vserver: ansible2
peer_cluster: ansibleCluster
vserver: ansible
applications: ['snapmirror']
hostname: "{{ netapp_hostname }}"
username: "{{ netapp_username }}"
password: "{{ netapp_password }}"
dest_hostname: "{{ netapp_dest_hostname }}"
I indeed did need that!
I wasn't aware that for SVM DR/Snapmirror not only a cluster peer is necessary but after having set up the cluster peer, an SVM peer setup is also necessary.
After we did that, it has worked out fine
Thank you for the support, closing issue now.
SUMMARY
I am running OnTap 9.7. Also am running ansible 2.9.
Have set up two netapp nodes, both got a single-node-cluster configuration. With Ansible I can set up the SVMs. I also can set up the cluster Peers. But if I want to set up an SVM DR, I need to set the Cluster Peer SVM Permissions. Not sure where to do that with ansible. Is this explained in the documentation? Can't find it...
I am using the netapp.ontap.na_ontap_cluster_peer modules and the netapp.ontap.na_ontap_svm modules.
ISSUE TYPE
COMPONENT NAME
netapp.ontap.na_ontap_cluster_peer and/or netapp.ontap.na_ontap_svm
ANSIBLE VERSION