Hi, I have a question for you about the JSON for /api/snapmirror/relationships API. I am trying to replicate the following CLI command: snapmirror create -source-path <SVM_NAME>:<SVM_NAME>_root -destination-path <SVM_NAME>:<SVM_NAME>_root_m1 -type LS -schedule 5min I ask because it doesn't appear to like type or schedule in the following example: {"source": {"path": "svm:svm_root"}, "destination": {"path": "svm:svm_root_m3"}, "type": "ls", "policy": "5min"} I suspect I may need to switch policy for transfer schedule, but I am not sure about type. Thanks in advance.
... View more
Hi I need to add a new admin user, but when I did in a Graphic I have this error : This operation is not permitted on a SVM that is configured as the destination of a MetroCluster SVM relationship. could you help me. Version : NetApp Release 9.8P7 cdt
... View more
When I run 'quota report' command from ONTAP CLI, I can see the quota report with no issues. But when I use REST API, it does not return anything: curl -X GET -k "https://cluster/api/storage/quota/reports?volume.name=TEST&fields=type%2Cspace%2Cusers%2Cgroup%2Cqtree&return_timeout=120"
Enter host password for user 'test':
{
"records": [
],
"num_records": 0,
"_links": {
"self": {
"href": "/api/storage/quota/reports?volume.name=TEST&fields=type%2Cspace%2Cusers%2Cgroup%2Cqtree&return_timeout=120"
},
"next": {
"href": "/api/storage/quota/reports?start.svm.uuid..."
}
}
} For other volumes, this call was also returning empty result set but when I increased the timeout value to 120, issue was resolved. Looks like this particular volume (and many others on this specific cluster) is taking much longer than 120 seconds to return something. However, ONTAP does not allow setting timeout to more than 120 seconds. How should I resolve this? Thanks
... View more
When you use REST API to get the status/list of snapmirrors, the fields returned are: SourceVserver SourceLocation DestinationVserver DestinationLocation Status : snapmirrored IsHealthy TransferSchedule MirrorState : snapmirrored NcController Policy PolicyType Vserver However, the old ONTAPI would return: SourceVserver SourceLocation DestinationVserver DestinationLocation Status : preparing IsHealthy TransferSchedule : MirrorState : snapmirrored NcController Policy PolicyType Vserver My point being, that the old ONTAPI would return the MirrorState (snapmirrored) and the Status (Preparring). With the new RESTAPI, there is no way to know that the snapmirror is still "preparring".... it only reports "snapmirrored". So, calling another command to do something to the snapmirror fails - as the snapmirror is performing a different operation (ie. it's busy). There seem to be quite a large number of shortcomings in the RESTAPI set of commands for this to be replacing ONTAPI in OnTap 9.14 (as we are already running 9.12 with 9.13 in RC status).
... View more
My goal is to retrieve NFS and total OPS for a node. Cluster version is: 9.11.1P5 I am using the following API: /api/cluster/counter/tables/?fields=name,description There are 2 counters that seem related to the node: {
"name": "system",
"description": "The System table reports general system activity. This includes global throughput for the main services, I/O latency, and CPU activity. The alias name for system:node is system_node.",
"_links": {
"self": {
"href": "/api/cluster/counter/tables/system"
}
}
},
{
"name": "system:node",
"description": "The System table reports general system activity. This includes global throughput for the main services, I/O latency, and CPU activity. The alias name for system:node is system_node.",
"_links": {
"self": {
"href": "/api/cluster/counter/tables/system%3Anode"
}
}
}, As you can see, their description is identical. I lean more toward "system:node" since "system" probably means the entire cluster, but the description is unclear so that is why I wanted to double check. Am I using the right API call to fetch node's NFS and total OPS? If so, which counter table should I use for getting node's NFS and total OPS: "system" or "system:node"?
... View more