Network and Storage Protocols
Network and Storage Protocols
Hi All,
I would like to import qtree and user quota rules and policies from an existing FAS cluster to volumes moved using SnapMirror to a different cluster. The current quota database number is 487.
Is there a command or ONTAP Toolkit that can help me with this?
Thanks in advance
Zoltan
I'm not aware of any native export/import tools that can accomplish this, but if it were me, I would use the NetApp PowerShell Toolkit (available from PSGallery HERE) to get this done. There are several cmdlets that reference quotas/policies (Get-NcQuota, Get-NcQuotaPolicy, Set-NcQuota, Set-NcQuotaPolicy) so I would see if you could write some code that will collect the current configuration from the "old" cluster, store it as a variable, and then use the contents of your variable as the basis for the set commands on the new cluster.
If you get started on some code and get stuck, feel free to drop the code here and I (or one of the other many helpful people here) can help you debug. Good luck!
Or if you are good in Unix/Linux scripts, you can use "volume quota report" to export from current cluster. Then apply to new cluster volumes.
hello:
Qtree can be migrated using SnapMirror. User quota rules and policies need to be migrated using svmdr. The specific operation steps are as follows:
The migration of SVMDR:
https://docs.netapp.com/us-en/ontap/data-protection/exclude-volumes-svm-replication-task.html
snapmirror volume copy
https://docs.netapp.com/zh-cn/ontap/peering/configure-intercluster-lifs-share-data-ports-task.html
Hope it can help you
Best regards.
Hi,
Thanks.
During a previous migration, I used cluster expansion and temporarily connected them to cluster interconnect switches. Then I used the vol move. But now they are not on the same Ontap level and support is no longer available for the old one. This is why SVM-DR cannot be used, because the same ONTAP level is also a requirement there.