OnCommand Storage Management Software Discussions

Unprotected Volumes report

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

Re: Unprotected Volumes report

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

Re: Unprotected Volumes report

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

Re: Unprotected Volumes report

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

Re: Unprotected Volumes report

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

Re: Unprotected Volumes report

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

Re: Unprotected Volumes report

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

Re: Unprotected Volumes report

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

Re: Unprotected Volumes report

Mainly We are doing a Volume SnapMirror.

Igal

Re: Unprotected Volumes report

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

Forums