For instance, In 7-mode, we have mount filer's /etc directory to a Linux host, and the user can access the /etc/quota file, and retrieve informaiton from. After migrated to cDOT, the quota structure is different and /etc/quotas is no longer accessible.
Is there any euivalent way to mount this type of information on a local host, same as we did to mount /etc/ on 7-mode node?
By talking to the user, here is the process they were doing in 7-mode environment. They used their own C++ program to check local mounted /etc/quotas file, then based on user ID's and quota size as well as a certain of criteria to determine new quotas and then write over /etc/quotas, finally use shell scripts to run "quota resize" to take effect. This is steps in general. This is as much as I am aware of
So, based on this process, what API can be used to resolve this issue in cDOT environment?
I perform clustered Data ONTAP transition consulting for NetApp.
Two points to remember:
1. Many of the services we used to manage in 7-Mode changed from using flat file conf files into databases in clustered Data ONTAP in order to support replication to multiple nodes of a scale out cluster. So files like /etc/exports, /etc/quotas are actually no longer flat files to review at the CLI, and your quest for /etc/quotas manipulation may need to be done using a command or scripted API call. What are you hoping to do with the quotas database, so we can find the right API to call?
2. While you can't nfs mount the /etc path, cDOT provides HTTPS and SCP access to some flat files like log files. The easiest way to do that is using a web interface like so: https://cluster-mgmt-ip/spi/node-name/etc/log . See this KB article for more info: https://kb.netapp.com/support/index?page=content&id=1012580