#Hello I try to delete a SnapMirror with
1 messages · Page 1 of 1 (latest)
is source_endpoint and destination_endpoint set correct?
below are sample tasks for create and delete snapmirror
-
name: Create SnapMirror relationship - SVM DR (creating and peering destination svm)
tags: svmdr
na_ontap_snapmirror:
state: present
source_endpoint:
cluster: ontap98
path: "source_vserver:"
destination_endpoint:
cluster: ontap9_10_1
path: "dest_vserver:"
create_destination:
enabled: true
relationship_state: active
peer_options:
hostname: "{{ peer_hostname }}"
hostname: "{{ hostname }}" -
name: Delete SnapMirror relationship - SVM DR.
tags: svmdr
na_ontap_snapmirror:
state: absent
source_endpoint:
cluster: ontap98
path: "source_vserver:"
destination_endpoint:
cluster: ontap9_10_1
path: "dest_vserver:"
create_destination:
enabled: true
relationship_state: active
peer_options:
hostname: "{{ peer_hostname }}"
hostname: "{{ hostname }}"
Yes, as far as I can see they are both correct. The snapmirror is created by ansible. Do you know if or where I can check some logging on the cluster?
add this option in the delete task
feature_flags:
trace_apis: true
this will log api and response in the path - /tmp/ontap_apis.log
I have added the option, but there is no log file. Can this be due to the fact we use the ansible automation platform 2.2?