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

In the following example, a CPG is removed from a tier, assuming that three tiers were initially
created. If there are two tiers, this command is not permitted, because AO configurations require
a minimum of two storage tiers.
CLI% cli% setaocfg -t0cpg "" aocfg1
Removing an Adaptive Optimization Configuration
To remove an AO configuration from the system, use the removeaocfg command:
cli% removeaocfg [options] <AOCFG_name>
where:
-pat <pattern> indicates that specified patterns are treated as glob-style patterns and that
all AO configurations matching the specified pattern are removed. By default, confirmation
is required to proceed with the command unless the -f option is specified. This option must
be used if the pattern specifier is used.
This specifier can be repeated to remove multiple AO configurations. If this specifier is not
used, the <AOCFG_name> specifier must be used.
-f specifies that the command is forced. If this option is not used, the command requires
confirmation before proceeding with its operation.
<AOCFG_name> specifies the name of the AO configuration that is to be removed.
In the following example, AO configurations that start with test are removed without requiring
user confirmation to remove them:
cli% removeaocfg -f -pat test*
NOTE: A CPG that is part of an AO configuration cannot be removed from the system until either
the AO configuration is removed or the CPG is removed from the aocfg.
146 Adaptive Optimization