2016-01-29 01:54 AM
Can anyone please let me know as i need to add 100s of different server names (different IPs) to one of the existing unix share in Cdot.
I've tried by using export-policy rule create command but adding 100s of servers using the same command manaully is really tiresome.
Can anyone guide me is there any command for this to get rid of repetetive task.
Data Ontap Version : -- Netapp Cdot (8.x)
NetApp Release 8.2.3P5D1 Cluster-Mode
Solved! SEE THE SOLUTION
2016-01-29 06:25 AM
2016-01-29 06:35 AM
You can use powershell,
But like I said, if you are focusing on that many, you should focus on Netgroups.
Also, you should considering upgrading your cluster to 8.3.1, especially, since it appears you are running a D1 release
2016-01-29 07:03 AM
Agreed on netgroups. The use case of 100s of clients on an export is ideal for netgroups. That way, you only have to apply a single netgroup for a centrally managed set of hosts.
Therefore, automation wouldn't even be needed.
LDAP, NIS and local files can be used for netgroups.
See TR-4379 for best practices, as well as the product documentaion if you want to use local netgroups.