HP Smart Storage Administrator Scripting Cookbook

Advanced scripting scenarios 21
To create a logical drive that uses the exact same configuration of another logical drive, use the
SizeBlocks parameter to specify the size, thus avoiding the rounding that can occur with the Size
parameter.
Scenario 11: Configuring HP SmartCache
Task
This script illustrates how to configure HP SmartCaching.
Hardware configuration
The administrator has a system with a controller, physical drives, and logical drives configured.
Script output
Action= Configure
Method= Custom
Controller= Slot 1
Array= A
Drive= 2E:1:1, 2E:1:2, 2E:1:3
LogicalDrive= 1
RAID= 5
Size= 139947
CachingArray= B
Drive= 6I:0:5
CachingLogicalDrive= 2
CachedLogicalDrive= 1
RAID= 0
Size= 13993
Summary
Caching Logical Drives and Cached data drives must be on the same Controller.
Array A is created with 3 SAS physical drives, containing a single RAID 5 data logical drive (Logical Drive
1). Caching Array B is created using a single SSD drive, containing a single RAID 0 caching logical drive
(Logical Drive 2) and is associated with Logical Drive 1.