Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
The commands supported by cluster are failover, takeback and, unconfigure. All commands take a PUT request to the cluster resource with the name of the command appended. On success both commands return HTTP Status 202 (Accepted).
Example Request:
PUT /api/hardware/v1/cluster/failback HTTP/1.1 Authorization: Basic abcd123MWE= Host: zfssa.example.com:215
Example Result:
HTTP/1.1 202 Accepted X-Zfssa-Appliance-Api: 1.0
If the cluster is not in the correct state to accept the command then an HTTP Status 409 (Conflict) is returned.