Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Active IQ Unified Manager Discussions

Unprotected Volumes report

igalkatzir

hi Adai,

I have another question regarding dfm, you might know the answer;

I am looking to find a list of source volumes which does not have snapmirror relationship (backup), do you know if I can generate such report or run a query on the dfm?

thanks,

Igal

16 REPLIES 16

igalkatzir

here is how it looks

could not find "Mark Answered"  button

ppavagad

Thanks for the feedback. May be this cannot be marked since it says 'Branched from an earlier discussion'.

Best Regards,

Pavan

adaikkap

Hi Igal,

   Its possible with the help of NMSDK and some scripting.

Can you give me your definition of what is an unprotected volume ?

What kind of relationships do you typically create ? Qtree SnapMirror of Volume Snapmirror ?

Regards

adai

igalkatzir

We usually create a volume snapmirror and sometimes cascading another replication to a DR site.

When I see the volume in the DFM , there is a section called protection, see screen shot.

I want to have report for all volumes which does not have any snapmirror configured and identify them as 'at risk' (no backup).

I am looking for a way to monitor my backup policy.

do you have any ideas? (I'm sure you have )

thanks,

Igal

adaikkap

Hi Igal,

          So all you do is VSM and no QSM or SV right ? We already have a script that generates this report using SDK let me see if we can bundle it as Script Plugin.

Pls ping me back in a week or two regarding the same.

Regards

adai

igalkatzir

Thanks Adai,

I would love to use the SDK capability but I am not a developer,

How hard is it to deploy such tool ?

Is there any quick start ?

Thanks,

Igal

aashray

Hi Igal.

The best place for you to get started and download SDK will be https://communities.netapp.com/community/interfaces_and_tools/developer.

Using SDK is simple, we have a tool called ZEDI which is a GUI tool to automatically generate code, that could help you a lot since you are not a developer.

Let me know if you need any help with getting started.

Thanks

-Aashray

igalkatzir

Thanks !

I will look into it.

Can you still create the query / script for my initial problem?

I guess it would take me some time to implement & work with SDK.

Thanks again,

Igal

ppavagad

Hi Igal,

May I know what kind of protection relationships are being used in your environment? (Volume SnapMirror/ Qtree Snapmirror/ Snapvault)

I am working on a Perl/ NMSDK script, to list unprotected volumes in your environment.

Regards,

Pavan

DANIELLINDH

Would it be complicated to modify this script for vaults?


Kind Regards

Daniel

igalkatzir

Mainly We are doing a Volume SnapMirror.

Igal

ppavagad

Hi Igal,

Please find attached the script archive: dfpmUnprotected.zip. 

Procedure to use the script:

  • Please ensure that you have perl compiler in your environment.
  • Extract the dfpmUnprotected.zip archive to a location where you have access to.
  • We use a simple encryption technique to store passwords in the config.txt file.
    To generate the password execute the following command in the directory where the archive is extracted:

    perl generate_password.pl <Your DFM Server Password>
    Copy the encrypted password.
  • In the config.txt file, replace the third line <Paste Encrypted Password> with the previously generated encrypted password.
    Replace <DFM Server IP Address> with the DFM server IP address in use.
    Replace <DFM Server Login UserName> with the UserName of the DFM server.
    Save the changes made to config.txt file
  • Now, run the main script by using the command:
    perl dfpmUnprotected.pl
  • The script will be executed and output is stored in the same directory with filename: unProtected.csv

The csv file includes the list of unprotected volumes (excluding snapmirror secondary).

Could you please execute the script and let me know if it works for you?

Regards,

Pavan

igalkatzir

hi Pavan,

the script works great!

thanks a lot.

igal

ppavagad

Hi Igal,

Thanks for the update. I'm glad that the script worked.

Please mark the question as 'answered'. It will help others to find this post in future.

Best Regards,

Pavan

igalkatzir

where do I specify this was answered?

ppavagad

Hi Igal,

Once you have logged in, you would find "Mark Answered" right below to the question on the top.

Or you might find "Mark this answer as correct" at the bottom of the post where there is like and reply button.

Regards,

Pavan

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