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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We use REST API to run NFS backups. However, we hit a problem with Load Sharing Mirrors. We add a volume, but the volume cannot be mounted until Load Sharing Mirrors of SVM root volume is updated, and we found that GET Snapmirror REST API does not show load sharing mirrors. Is there a way to manage Load Sharing Mirrors through REST API?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some pointers:
Load-sharing mirror relationship are not updated when creating volumes via REST API
https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/Load-sharing_mirror_relationship_are_not_updated_when_creating_volumes...
When is a load-sharing mirror (LSM) relationship updated?
https://kb.netapp.com/Advice_and_Troubleshooting/Data_Protection_and_Security/SnapMirror/When_is_a_load-sharing_mirror_(LSM)_relationship_updated%3F
Bug:
https://mysupport.netapp.com/site/bugs-online/product/ONTAP/BURT/635790
REST API: Unable to configure SnapMirror with policy type async_mirror in ONTAP 9.6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I noticed those defects. I would like to know whether we can manage the load sharing mirrors through REST API. NetApp SDK doc has description of load sharing mirrors, but REST API doc does not mention anything on load sharing mirrors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The ONTAPI to REST mapping document may be useful to you. You can find the latest version linked from https://devnet.netapp.com/restapi.php: https://library.netapp.com/ecm/ecm_download_file/ECMLP2882104
Looking for ls-snapmirror-destinations in it, it shows that it is NA in the REST API. I'm not sure what other attributes you might be trying to use, but looking them up there would probably be useful.
For things that are NA, there is the CLI passthrough that you could make use of. See the REST API documentation for details on using it: https://library.netapp.com/ecmdocs/ECMLP2882307/html/index.html. It's in the section titled "Using the private CLI passthrough with the ONTAP REST API"
