The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to register at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Software Development Kit (SDK) and API Discussions

cDOT Create new snapmirror relation using snapmirror-create API

nitish

Hi,

 

I am trying to create a perl script to create new snapmirror relations in clustered ONTAP 8.1.2

Below is the XML code i have built using "Zedi" tool.

I get an error while running this code:

results errno='13115' status='failed' reason='Element "source-cluster" within "snapmirror-create" has been excluded by another element.'/>

 

 

  <snapmirror-create>

    <destination-cluster>godzilla-mgmt</destination-cluster>

    <destination-location>godzilla-mgmt://godzilla/voltron_voltron_0046r</destination-location>

    <destination-volume>voltron_voltron_0046r</destination-volume>

    <destination-vserver>godzilla</destination-vserver>

   

    <relationship-type>data_protection</relationship-type>

   

   

    <source-cluster>voltron-mgmt</source-cluster>

    <source-location>voltron-mgmt://voltron/voltron_0046</source-location>

    <source-volume>voltron_0046</source-volume>

    <source-vserver>voltron</source-vserver>

    <tries>8</tries>

    <vserver>g</vserver>

  </snapmirror-create>

 

Please guide what am i doing wrong above.

1 ACCEPTED SOLUTION

zulanch

The documentation for source-location states:

When specifying a source endpoint, you must use either the source location, or the source cluster, source Vserver, and source volume.

It's not worded very clearly, but you should either specify source-location (in the form of [cluster:]//vserver/volume), or specify source-cluster, source-vserver, and source-volume. Don't specify both groups.

The same is true for the destination-location element.

-Ben

View solution in original post

1 REPLY 1

zulanch

The documentation for source-location states:

When specifying a source endpoint, you must use either the source location, or the source cluster, source Vserver, and source volume.

It's not worded very clearly, but you should either specify source-location (in the form of [cluster:]//vserver/volume), or specify source-cluster, source-vserver, and source-volume. Don't specify both groups.

The same is true for the destination-location element.

-Ben

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public