HP StorageWorks HSG60 and HSG80 Array Controller and Array Controller Software Command Line Interface Reference Guide (EK-G80CL-RA. C01, March 2005)

CLI Command Descriptions
153HP StorageWorks HSG60 and HSG80 Array Controller and Array Controller Software
Command Line Interface Reference Guide
Specify POLICY=BEST_FIT to choose a replacement disk drive from
the spareset that equals or exceeds the base member size (smallest disk
drive at the time the mirrorset was initialized). If there is more than one
disk drive in the spareset that meets the criteria, the controller selects a
disk drive with the best performance.
Specify POLICY=BEST_PERFORMANCE to choose a replacement disk
drive from the spareset with the best performance. The controller attempts
to select a disk on a different port than existing mirrorset members. If
there is more than one disk drive in the spareset matching the best
performance criteria, the controller selects a disk drive that equals or
exceeds the base member size.
Specify NOPOLICY to prevent the controller from automatically
replacing a failed disk device. This causes the mirrorset to operate in a
Reduced state until either POLICY=BEST_PERFORMANCE or
POLICY=BEST_FIT is selected or a member is manually placed in the
mirrorset (see SET mirrorset-name on page 216).
Example
The following steps show how to create a striped mirrorset with full redundancy:
1. Create a normal stripeset.
2. Create a unit from the stripeset.
3. Make each member of the normal stripeset a mirrorset containing two
members.
The commands used in the script below set the nominal number of members in
each mirrorset to two and add a second disk to each mirrorset. Because the
higher-level structure of the stripeset is carried down to the mirrorsets,
initialization of the mirrorsets or adding them as units is not necessary.
ADD STRIPESETS STRIPE1 DISK10100 DISK20100 DISK30100
INITIALIZE STRIPE1
ADD UNITS D102 STRIPE1
MIRROR DISK10100 MIRROR1
SET MIRROR1 MEMBERSHIP=2
SET MIRROR1 REPLACE=DISK20200
MIRROR DISK20100 MIRROR2
SET MIRROR2 MEMBERSHIP=2
SET MIRROR2 REPLACE=DISK30200
MIRROR DISK30100 MIRROR3
SET MIRROR3 MEMBERSHIP=2
SET MIRROR3 REPLACE=DISK10200