HP IAP Procedure For Recovering Primary/Secondary SmartCells From Replica SmartCells Whitepaper

5
SmartCell Recovery Process Steps
The SmartCell recovery process consists of two sets of steps: the first set must be run on the Replica
IAP (in this use case, RepSys) and the second set must be run on the Primary IAP (in this use case,
PrimSys).
First Set of Steps To Be Run On RepSys (Replica IAP)
Restore the data to the Primary IAP site’s secondary SmartCell disk drives by creating a cloned set
from the Replica1 SmartCell and sending the original Replica2 drives back to the Primary IAP site.
1. Identify the Replica2 SmartCell R2-10.0.204.2.
a. If the SmartCell is already labeled, run a check on the console to make sure that the
labeling is correct.
2. Execute the following set of commands on R2-10.0.204.2 to make a backup copy of the
unit_state.properties and persistent_attributes.properties files and to put
copies on the PCC server:
a. /opt/bin/systemcontrol stop
b. cd /store
c. cp backup.properties R2_204_2.backup.properties.old
d. cp persistent_attributes.properties
R2_204_2.persistent_attributes.old
e. cp unit_state.properties R2_204_2.unit_state.old
f. chown appuser:appuser R2_204_2.backup.properties.old
R2_204_2.unit_state.old R2_204_2.persistent_attributes.old
g. scp *.old root@10.0.101.2:/var/tmp
h. Shutdown R2-10.0.204.2
3. Label the disk drives with their exact slot location, remove them, and then insert the new
drives for cloning.
4. In the BlackBoxConfig.bct file, mark R2-10.0.204.2 with a clearall flag and PXE-boot
the SmartCell.
5. Before starting the cloning job, stop services on all the other free SmartCells so the clone job
will only pick this specific Replica2 SmartCell, R2-10.0.204.2 (which should now be
shown as a free SmartCell).
6. Run the clone from the Replica1 SmartCell, R1-10.0.172.2:
/usr/local/clone/cloneDaemon start
7. To validate that the clone picked up the correct target SmartCell and started the clone job
correctly, execute the following commands:
a. cd /var/log
b. tail f cloneDaemon.log
8. Allow the clone job to run to completion and confirm it was successful. When the cloned R2-
10.0.204.2 is restarted, make sure the R2 SmartCell comes up correctly.
9. Stop services on R2-10.0.204.2 (/opt/bin/systemcontrol stop) and power off the
SmartCell.
10. Label all the disks in R2-10.0.204.2 with their exact slot location.
Make sure the labels are attached firmly and cannot fall off easily since these disks
will be transported back over to the PrimSys (Primary IAP) site.
11. Re-insert the original drives from R2-10.0.204.2 (refer to step #3 above) back into their
correct slots and power up the SmartCell.
12. Make sure the original R2-10.0.204.2 SmartCell comes up successfully before shipping out
the cloned drives.
13. Pack up the cloned R2 disk drives carefully (make sure the physical labels are still correct and
will not fall off easily), and ship them to the PrimSys (Primary IAP) site.