#Hello I try to delete a SnapMirror with

1 messages · Page 1 of 1 (latest)

ember hull
#

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 }}"

velvet flume
ember hull
#

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

velvet flume
#

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?