Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
PowerShell Toolkit 9.12 - Issues with RESTAPI Not Providing All Details that were in ONTAPI
2023-06-05
04:53 PM
1,163 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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).
0 REPLIES 0
