netapp snapmirror  update

Posted on 2012-09-17
Last Modified: 2012-09-20
I am having two Netapp storage devices located on two different sites.
There is configured snapmirror( synchronous and asynchronous) replication between them.
3 of my volumes are being replicated synchronously. The other 12 are replicating asynchrounously with time between 15 min to 2 hours.
I want to test my DR scenario. I am going to shut down the storage on the primary site.
 What I do for synchrounous replicated volumes is, that are not managed by VMware SRM software is:
snapmirror  quiesce volume1
snapmirror break volume1

For asynchrounous replication I am doing :

snapmirror update volume4
snapmirror update volume 5
snapmirror update volume 15

The other operations are performed by VMWare SRM software(like quiesce, break).

I was wondering if it's possible to write just one command to update all volumes and not one by one like above ( snapmirror update volume 4, snapmirror update volume 5 ........)
Question by:dedri
    LVL 21

    Accepted Solution

    There's no command to update all snapmirrors at once.

    If you enable rsh or ssh, you can send remote commands by script. Make a (shell or bat) script like this:

    ssh filer snapmirror update volume1
    ssh filer snapmirror update volume2

    Next you can run this from a remote host that is allowed to send rsh/ssh commands to the filer.
    LVL 42

    Assisted Solution

    Quite easy, just create a text file, put all your "snapmirror update volume x", paste into CLI via SSH and it will do each line one by one.  You can do the same with break, quiesce, resync, etc.. if you need it to.

    Hopefully you're using SRM 5 (5.1 just came out with new features), lots of improvements over 4.x

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
    A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
    This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
    This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now