HP 3par
HP 3par
NOTE: keep track of the status of the servicemag process and physical disk
state (Note that
magazine position is 3 1, we later use it after we brought it online):
NOTE: After the magazine brought offline successfully, we can insert a new one
by removing
the failed disk physically. We ensure new disk plugged into the right
place so we can
bring the magazine online:
1. Empty the drive (assuming plenty more drives above the cpg set-size *
rowsize) behind the same node) -> movepdtospare -vacate -nowait
4. Offloop drive -> controlmag offloop : (drive maintenance led will now be
lit)
REMOVE A PD PERMANENTLY
RemovePD
Step Command Purpose
01 setpd ldalloc off <DiskID> To stop data to drive -
Repeat for all PDs
02 showpd -s Make sure disks are in
Degraded state
03 movepdtospare -f -vacate -nowait <DiskID> Vacate all data from PD
04 showpdch -mov See the Remaining chunklets to be
moved
05 movech -perm -ovrd X:Y OPTIONAL: If getting an
error, move Chunklet manually
(example X is the PDID and Y
is the Chunklet number) repeat till disk is empty
6 showpdch -spr <DiskID> Shows the Spare chunklets on
the PD
7 removespare PDID:a Removes the Spare chunklets
from the PD
8 dismisspd <DiskID> Dismisses the PD from the
3PAR
9 Redo Steps 3-7 for all PDs
10 Remove All PDs from Cage Remove the vacated PDs from
the 3PAR
11 tunesys -chunkpct 1 Tune System
HPE 3PAR Storage Systems - Drive Cage (DC) Midplane Replacement Steps
Questions/Symptoms
Cause
Answer/Solution
FIX:
When it becomes necessary to replace a cage midplane there are certain steps
to follow.
Steps for Replacing a cage midplane:
Add temporary spare space if necessary. (See Below Determining cage
vacate and Adding Temporary spare space)
NOTE: At 2.2.2 MU5 and above you can launch a servicemag start to each dmag
when the previous
servicemag start has been placed in the background. Below 2.2.2 MU5 you
must wait until
the previous servicemag start has completed before continuing on with
the next. On DC2s
and DC3s the last ESI dmag will cause an error and the servicemag start
will state that it failed but it will be vacated
Verify all disks are vacated. (showpdch or showpd -c for ALL pdids in cage
and verify ZERO used chunklets)
Power off all supplies (After confirming all disks have been 100% vacated)
Remove cage sheetmetal securing screws (They are the screws with guide pins).
Replace midplane.
Power on cage.
cageid will be different from the servicemag start: servicemag resume new-
cageid dmag
remove the old cage from the system configuration: servicecage remove old-
cageid
Error: Could not find a relocation target for chunklet PD:CH (where PD = pdid
CH = chunklet number)
If you see this error then you will not be able to vacate the cage and
temporary spare space must be added.
Otherwise you will see extended output indicating source and destination are
valid for each chunklet to move.
NOTE: Please do step 1. movepdtospare -dr for confirmation!. The output will
let you know whether there is enough sparing on the system to vacate the cage.
./chunk2move 1000700 10
If necessary you may have to add a temporary cage to install the temporary
dmag space.
It is much easier if system has empty cage slots available but if not then it
will be necessary to add additional cage.
Adding a cage involves installing power supplies, fcals, fibre cables, cage
chassis and dmags
Verify the TEMP disks have current firmware: (They will have a status of new)
showpd -i
(examine the TEMP disks) upgradepd -w WWN (upgrade all TEMP disk(s) requiring
current firmware BEFORE admitting)
admitpd -nold WWN (admit the TEMP disks with ldalloc off)
createspare pdid:a (Assign ALL chunklets as spares on ALL the TEMP disks)
setpd ldalloc on pdid pdid pdid pdid .... ALL the TEMP disks so they can be
used for sparing
Verify there are no used chunklets on the TEMP disks. (showpd -c pdid pdid
pdid pdid .... ALL TEMP disks)
setpd ldalloc off pdid pdid pdid pdid .... ALL pdids of TEMP disks
removespare pdid:a pdid:a pdid:a pdid:a .... ALL pdids of TEMP disks
dismisspd pdid pdid pdid pdid .... ALL pdids of TEMP disks
controlpd spindown WWN WWN WWN WWN .... ALL WWN of TEMP disks
controlmag offloop cageX Y .... For all TEMP dmags installed for sparing
PROCEDURE
In case servicemag command fail for some reasons,
then you are pushed to do it manually, using the whole sets of commands.
1. First thing to do is to stop disk from being use. To achieve it, 3PAR has
special command.
2. Now you can initiate the movement process for data from specified physical
disk to location chosen by system, which is one of the main steps in terms
of disk replacement.
where: -perm: chunklet are moved pernamently and original location will be
forgot.
-ovrd: allows to move chunklet to some destination even if it will have
impact on
quality. Option is necessary with -perm parameter.
3. Time to see whether we have any spare chunklets on disk designated for
removal,
as previous step only moved data chunklets.
4. Time to see whether we have any spare chunklets on disk designated for
removal,
as previous step only moved data chunklets.
Command designated for that kind of task is shown below. It will remove all
spare chunklets off the disk.
After execution check again whether any spares exist.
5. After all previous steps you can safely remove physical disk definition
from system.
Hold on with physical disk replacement at this step.
6. Check if dismissed disk shown us new. If yes, then it can be safely remove
from magazine.
7. In case you put in new disk and disk will not be automatically added to
the system, you have to do it manually
First thing is to determine the WWN of disk. Check this with showpd -i
command.
After that use admitpd command to make new disk operational for system.
At the end, tunesys is necessary to make the proper layout of chunklets within
CPGs.