#na_ontap_snapmirror won't initialize the snapmirror

1 messages · Page 1 of 1 (latest)

simple plaza
#

I am not sure if it's related to load_sharing type snapmirror, but even with "initialize" set to "yes", the snapmirror is not initialized. Why?

    - name: Create LS mirror of rootvol
      na_ontap_snapmirror:
        state: present
        source_volume: "{{ svm }}_rootvol"
        destination_volume: "{{ svm }}_rootvol_{{ item }}"
        source_vserver: "{{ svm }}"
        destination_vserver: "{{ svm }}"
        initialize: yes
        relationship_type: load_sharing
        schedule: hourly
        <<: *login
      loop:
        - "{{ nAmirrorvol }}"
        - "{{ nBmirrorvol }}"
fierce monolith
#

I believe this is because load share mirroring is not supported with REST. Your play is not specifying "use_rest: never", so I'm guessing it may be defaulting to REST?

finite fog
#

Ya the default is to use REST.

The playbook completes with out any error?