- Community Home
- >
- Storage
- >
- HPE Nimble Storage
- >
- Application Integration
- >
- Re: Use Rest API to claim volume on downstream par...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2018 09:30 AM
06-27-2018 09:30 AM
Use Rest API to claim volume on downstream partner after deleting volume collection
Hello. We have four Nimble arrays, and I'm scripting out some processes using cURL. Everything's working well so far, except I get stuck when I try to delete the volume on the downstream partner.
So far I can:
- Create a volume
- Create a volume collection
- Associate the volume to the collection
- Apply an ACR to the volume
- Set the volume offline (upstream)
- Dissociate the volume from the collection (upstream)
- Delete the volume (upstream)
At this point, if I do "Claim" volume on the downstream partner, I can proceed with the other cleanup steps that follow, deleting the volume.
However, I can't figure out how to do "claim" using the API, or change the "owned_by_group" and "owned_by_group_id" values, which are changed by claim. I read another post saying that you need to promote the volume collection on the downstream partner first, but that seems to unnecessarily complicatet things. Can anyone help? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2018 02:02 PM
11-14-2018 02:02 PM
Re: Use Rest API to claim volume on downstream partner after deleting volume collection
That is correct. Use a PUT on volumes and change "owned_by_group_id". Example:
curl -k -i -H "X-Auth-Token: your-auth-token" -d '{"data": {"owned_by_group_id": "downstream-group-id"}}' -X PUT https://array-IP:5392/v1/volumes/volume-id