NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Active IQ Unified Manager Discussions

WFA - Convert Snapmirror to Snapvault cDOT 8.3

rallard
4,328 Views

I download the the Storage Automation workflow to automate the converison of Snapmirror relationships to Snapvault

http://automationstore.netapp.com/pack-detail.shtml?packUuid=449970c7-0103-4226-ba81-125084621689&packVersion=1.0.2

 

The workflow does not appear to work.  After digging into the script it looks like the workflow was written for MetroCluster.  Does anyone have the script for non-Metrocluster.

 

This is the user inputs for the Destination Cluster:

SELECT
    cluster.name AS 'Cluster Name',
    cluster.primary_address AS 'Cluster Primary Address',
    cluster.version AS 'Cluster Version'
FROM
    cm_storage.cluster cluster,
    cm_storage.volume volume,
    cm_storage.snapmirror_metrocluster snapmirror_metrocluster,
    cm_storage.vserver vserver,
    cm_storage.cluster_license cluster_license
WHERE
    volume.id = snapmirror_metrocluster.secondary_volume_id
    AND vserver.id = volume.vserver_id
    AND cluster.id = vserver.cluster_id
    AND cluster_license.cluster_id = cluster.id
    AND cluster_license.license = 'snapmirror'
    AND cluster.version >='8.2.0'
    AND snapmirror_metrocluster.type = 'data_protection'
    AND snapmirror_metrocluster.relationship_control_plane = 'v2'
    AND snapmirror_metrocluster.state != 'uninitialized'
GROUP BY
    cluster.name

 

 

2 REPLIES 2

GaurabBanerjee
4,130 Views

Hi,

 

What is the actual issue. Please let us know.

 

You've found the dictionary entry "snapmirror_metrocluster" into the code, but this is a common dictionary for two packs one of which is "Metro cluster switch over and switch back".

 

Thanks,

Gaurab

JohnJRussell
3,745 Views

I know this is an old thread, but i'd like to revive it.  I too was getting the OPs original error until I reset the scheme for the data source.  However, it still does not work.  The first field is required and is for the destination cluster.  This is a pick list field, is required, but is blank.  The flyout for the field says to pick from the list, but there is nothing to pick from.

Public