EF & E-Series, SANtricity, and Related Plug-ins

How to create SSD cache using SANtricity web proxy services REST API

pratik_gadiya
7,599 Views

Hi,

 

I want to create a SSD cache using SANtricity web proxy services.

However, I am not sure which REST API I should be using.

 

I couldn't locate any REST API related to creation of SSD cache.

 

Could someone please help me out with the same.

 

Note:

I am using SANtricity web proxy services version 1.2/1.3 where they have mentioned that they have support for SSD cache features.

 

Thanks,

Pratik

2 REPLIES 2

Dwaynew
7,514 Views

The ability to create an SSD cache is in version 1.3.

The endpoint is /storage-systems/{system-id}/flash-cache and takes a FlashCacheCreateRequest and returns a FlashCacheEx response.

 

FlashCacheCreateRequest {
driveRefs (Array[string]): A list of one or more drive refs belonging to SSD drives that will be utilized in the FlashCache ,
name (string, optional): The user label for the FlashCache ,
enableExistingVolumes (boolean, optional): If true, all existing volumes that are mapped will have flash cache enabled
}

Dwaynew
7,502 Views

Also set the cacheType

 

FlashCacheCreateRequest {
driveRefs (Array[string]): A list of one or more drive refs belonging to SSD drives that will be utilized in the FlashCache ,
name (string, optional): The user label for the FlashCache ,
enableExistingVolumes (boolean, optional): If true, all existing volumes that are mapped will have flash cache enabled,

cacheType(FlashCacheType): The flash cache type
}

 

Example:

{

  "driveRefs": [

    "010000005001E8200002D1A80000000000000000"

  ],

  "name": "testCache",

  "enableExistingVolumes": false,

  "cacheType":"readOnlyCache"

}

Public