Microsoft Virtualization Discussions
Can someone show me a simple script on how to change the below attributes? See bold. I'got thousands to do.
nfs show -vserver XXXXXXGeneral NFS Access: trueNFS v3: enabledNFS v4.0: disabledNFSv4.0 ACL Support: disabledNFSv4.0 Read Delegation Support: disabledNFSv4.0 Write Delegation Support: disabledNFSv4 ID Mapping Domain: uhc.comDefault Windows Group: -NFSv4.1 Read Delegation Support: disabledNFSv4.1 Write Delegation Support: disabledNFS Mount Root Only: enabledNFS Root Only: disabledPermitted Kerberos Encryption Types: des, des3, aes-128, aes-256Showmount Enabled: enabled (switch this to disable)
See The Solution
If you have alot of nfs vserver that need the showmount option disabled you can use the cmdline and specify a wild card * when modifying that option:
vserver nfs modify -vserver * -showmount disabled
View solution in original post
This might be a good time to explore Ansible. It can be used for multiple administrative tasks.
NetApp and Ansiblehttps://www.netapp.com/devops-solutions/ansible/
Getting Started with NetApp and Ansible: Install Ansiblehttps://netapp.io/2018/10/08/getting-started-with-netapp-and-ansible-install-ansible/
Thank you for pointing me in that direction. This might be the jump start I am looking for.
Live Chat, Watch Parties, and More!
Engage digitally throughout the sales process, from product discovery to conﬁguration, and handle all your post-purchase needs.