HP 3PAR Command Line Interface Administrator's Manual: HP 3PAR OS 3.1.2 (QR482-96525, September 2013)

1. Create an AO configuration using the createaocfg command.
Example:
cli% createaocfg -t0cpg tier0_R1_SSD -t1cpg tier1_R6_FC -t2cpg tier2_R6_NL -mode
Performance AOCFG_name
where:
-t0cpg is the tier 0 CPG.
tier0_R1_SSD is the tier 0 CPG name.
-t1cpg is the tier 1 CPG.
tier1_R6_FC is the tier 1 CPG name.
-t2cpg is the tier 2 CPG.
tier2_R6_NL is the tier 2 CPG name.
-mode <mode> specifies one of the following optimization biases for the AO
configuration:
Performance: Move more regions towards higher performance tier.
Balanced: Balance between higher performance and lower cost.
Cost: Move more regions towards lower cost tier.
AOCFG_name is the name of the AO configuration (up to 31 characters in length).
NOTE: Tiers must be defined in “speed” order—tier 0 must be the fastest tier (SSD), tier 2
the slowest (NL). AO makes the assumption internally that tiers are defined in this speed order.
2. Set CPG warning limits to limit the size of tier 0 and tier 1, leaving tier 2 unlimited.
In the following example, the tier 0 limits are set to 64 g and the tier 1 limits to 256 g,
respectively:
cli% setcpg -sdgw 64g t0cpgname
cli% cli% setcpg -sdgw 256g t1cpgname
3. Create a schedule to run startao on the AO configuration periodically.
In the following example, the AO configuration is set to run every day at 7:15 pm from Monday
through Friday. The scheduled startao command considers 12 hours of statistics for its
region moves. The 12 hours of statistics are from 7:15 am until 7:15 pm, as the -etsecs
parameter was not specified.
cli% createsched "startao -btsecs -12h AOCFG_name" "15 19 * * 1-5" run_AOCFG_name
You can take advantage of several features that are not available in the external System Reporter
by using the following options:
Table 15 Additional Options Not Available in an External System Reporter
DescriptionOption
Instructs the startao to ensure that the command completes in 6 hours, limiting
the number of region moves if necessary.
-maxrunh 6
Creating an Adaptive Optimization Configuration 143