| Enterprise Edition Functionality This feature is available in Abiquo Enterprise Edition |
| Cloud Admin | Enterprise Admin | User |
|---|---|---|
| |
|
|
Contents:
Storage system monitor is the remote service in charge of manage the storage pools that Abiquo defines. In this section we are going to explain how to use the actions that the resource exposes and how to manage the pools that it defines.
Actions related with the Storage system monitor
Retrieve the storage system monitor resource
Synopsis: GET http://example.com/api/admin/datacenters/{$datacenterId}/remoteServices/{$type}
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: N/A.
Example Request: Retrieve the Storage system monitor service
Response Headers: Content-Length, Content-Type.
Response Message Body: RemoteService
Response Status: 200, 401, 403.
Example Response: Response of the GET over the storage system monitor resource
Retrieve the detailed information about the storage system
Synopsis: GET http://example.com/api/admin/datacenters/{$datacenterId}/remoteServices/storage_system_monitor/actions/storageInfo
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: N/A.
Example Request: Retrieve the information about the storage system
Response Headers: Content-Length, Content-Type.
Response Message Body: RemoteService
Response Status: 200, 401, 403.
Example Response: Response of the GET over the information of the storage system
Retrieve the list of the available pools into the storage system
Retrive the list of all available pools, managed and non managed by Abiquo.
Synopsis: GET http://example.com/api/admin/datacenters/{$datacenterId}/remoteServices/storage_system_monitor/actions/availablePools
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: N/A.
Example Request: Retrieve the list of the available pools
Response Headers: Content-Length, Content-Type.
Response Message Body: Pools
Response Status: 200, 401, 403.
Example Response: Response of the GET over the list of the available pools
Resources related with the storage pools managed by Abiquo
Each Storage system monitor has a list of managed pools attached. This sections describes how to retrive and manage them.
Retrieve the list of the managed pools
Synopsis: GET http://example.com/api/admin/datacenters/{$datacenterId}/remoteServices/storage_system_monitor/storagePools
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: N/A.
Example Request: Retrieve the list of the managed pools
Response Headers: Content-Length, Content-Type.
Response Message Body: RemoteService
Response Status: 200, 401, 403.
Example Response: Response of the GET over the list of the storage pools
Create a managed storage pool
Once we get the list of the available storage pools we can asociate them to Abiquo creating a storage pool resource.
Synopsis: POST http://example.com/api/admin/datacenters/{$datacenterId}/remoteServices/storage_system_monitor/storagePools
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: N/A.
Example Request: Create a new managed pool
Response Headers: Content-Length, Content-Type, Location.
Response Message Body: RemoteService
Response Status: 201, 401, 403.
Example Response: Response of the POST over the list of the storage pools
Retrieve a managed storage pool
Synopsis: GET http://example.com/api/admin/datacenters/{$datacenterId}/remoteServices/storage_system_monitor/storagePools/{$poolId}
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: N/A.
Example Request: Retrieve a managed pool
Response Headers: Content-Length, Content-Type.
Response Message Body: RemoteService
Response Status: 201, 401, 403.
Example Response: Response of the POST over the list of the storage pools
Modify a storage pool
Synopsis: PUT http://example.com/api/admin/datacenters/{$datacenterId}/remoteServices/storage_system_monitor/storagePools/{$poolId}
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: N/A.
Example Request: Update managed pool
Response Headers: Content-Length, Content-Type, Location.
Response Message Body: RemoteService
Response Status: 200, 401, 403.
Example Response: Response of the PUT over a storage pool
Delete a managed storage pool
Synopsis: DELETE http://example.com/api/admin/datacenters/{$datacenterId}/remoteServices/storage_system_monitor/storagePools/{$poolId}
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: N/A.
Example Request: Delete a managed pool
Response Headers: Content-Length, Content-Type.
Response Message Body: RemoteService
Response Status: 204, 401, 403.
Example Response: Response of the DELETE over a storage pool


Comments (4)
Aug 24, 2010
Priya Ketkar says:
Isn't this missing the info too? GET Storage pools resource Response < H...Isn't this missing the info too?
GET Storage pools resource Response
</storagePools>
Aug 24, 2010
Priya Ketkar says:
Should this be 8080? GET Available pools Response < HTTP/1.1 200 OK ...Should this be 8080?
GET Available pools Response
<uri>http://localhost:8070/</uri>
Aug 24, 2010
Priya Ketkar says:
Should this have the <id> line as well? POST Storage pool creation Respon...Should this have the <id> line as well?
POST Storage pool creation Response
<urlManagement>http://10.5.1.26:8080/fs_rest/</urlManagement>
Aug 24, 2010
Priya Ketkar says:
Shouldn't the Pool ID in the DELETE Request be: > DELETE /api/admin/datacent...Shouldn't the Pool ID in the DELETE Request be:
> DELETE /api/admin/datacenters/1/remoteServices/storage_system_monitor/storagePools/c612c42e-4657-4f4a-900e-7d2ec0745f4f HTTP/1.1