|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).
PUT /api/hardware/v1/cluster/failback HTTP/1.1 Authorization: Basic abcd123MWE= Host: zfssa.example.com:215
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.