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.

Ask The Experts

SVM DR Testing (PowerShell Scripts)

ITSSANSTORAGE

Hi there, with the introduction of SVM DR, we need to look at changing our DR processes for unstructured data volumes.

Has anybody wrote or had any experience with using poweshell scripts that can be used to create a clone of the destination SVM, including a clone of all the volumes and shares hosted on it. (So this can be brought up in a "bubble").

 

3 REPLIES 3

GidonMarcus

@ITSSANSTORAGE  i replied to this post earlier but can't see the message any more - did you received an email alert with the message that you can maybe copy?

 

@AlexDawson  do you perhaps know who manage the community these days and can check why the message disappeared?  (I'm sure it was up - I even edited it)

Gidi Marcus (Linkedin) - Storage and Microsoft technologies consultant - Hydro IT LTD - UK

ITSSANSTORAGE

Here's a reponse from GidonMarcus.

 

Hi

 

There's a useful module one of the NetApp SE's wrote for SVM DR ( @masson  )

https://github.com/oliviermasson/svmtool.

 

There's also dedicated SVM DR  pack for WFA that can be used.

https://automationstore.netapp.com/pack-detail.shtml?packUuid=850cde33-9372-401d-91e9-770bc05eafcd&packVersion=1.4.0

 

Now, the SVM DR should replicate ALL the SVM volumes, and the shares configuration. However, if you chose not to replicate them. or not to use the SVM DR and just use SM.you can use this script (By @parisi and others) 

https://github.com/DatacenterDudes/cDOT-CIFS-share-backup-restore

 

You can use the following PS line to compare the two shares permissions and configurations between two SVMs every few hours/nights/weeks - i think it's best that they always identical rather copied.

#region Check that CIFS shares matched between Prod and DR $CifsSharesThatDontHaveExactMatchInDR = Get-NcCifsShare -Controller $clustersSessions | select Vserver,ShareName, @{Name='ShareProperties';Expression={$($_.ShareProperties | sort) -join ';'}}, @{Name='Acl';Expression={$_.Acl -join ';'}} | Group-Object path,sharename,ACL,ShareProperties | ? count -lt 2 | select -ExpandProperty Group | sort ShareName # Will only output issues #endregion Check that CIFS shares matched between Prod and DR

Taken from my script at

https://github.com/MGidi/NetAppCdotBestPracticeReportForNAS/blob/master/NetAppCdotBestPracticeReportForNAS.ps1

GidonMarcus

Thanks @ITSSANSTORAGE  so odd that it got deleted...

Gidi Marcus (Linkedin) - Storage and Microsoft technologies consultant - Hydro IT LTD - UK
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