Storage manager (1.6.0 - 1.6.5)

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

GET Storage system monitor Request

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

GET Storage system monitor resource Response
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

GET Storage system information Request

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

GET Storage system information Response
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

GET Available pools Request

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

GET Available pools Response

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

GET Storage system monitor Request

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

GET Storage pools resource Response
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

POST storage pool creation Request

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

POST Storage pool creation Response
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

GET retrieve a storage pool Request

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

POST Storage pool creation Response
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

PUT update a storage pool Request

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

PUT Storage pool creation Response
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

DELETE delete a storage pool Request

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

DELETE Storage pool Response
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. 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

    < HTTP/1.1 200 OK
    < Content-Type: application/xml
    <
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <storagePools>
    <storagePool>
    <id></id>
    <name></name>
    <hostIP></hostIP>
    <hostPort></hostPort>
    <type></type> /* ZFS o LVM */
    <urlManagement></urlManagement>
    </storagePool>

    </storagePools>

  2. 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

    < HTTP/1.1 200 OK
    < Content-Type: application/xml
    <
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <availablePools>
    <pool>
    <uuid>3a44fd64-6a8a-4d79-b8f4-d60a11a04998</uuid>

        <uri>http://localhost:8070/</uri>

  3. 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

    < HTTP/1.1 201 Created
    < Content-Type: application/xml
    < Location: http://example.com/api/admin/datacenters/1/remoteServices/storage_system_monitor/storagePools/1

    <
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <storagePool>
    <name>pool</name>
    <hostIP>10.5.1.26</hostIP>
    <hostPort>8080</hostPort>
    <type>ZFS</type> /* ZFS o LVM */

      <urlManagement>http://10.5.1.26:8080/fs_rest/</urlManagement>

  4. 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