HP IAP Procedure For Recovering Primary/Secondary SmartCells From Replica SmartCells Whitepaper
6
Second Set of Steps – To Be Run On PrimSys (Primary IAP)
Replace the Primary IAP site’s secondary SmartCell’s disk drives with the Replica IAP site’s cloned R2
SmartCell’s disk drives, and then restore the data to the primary SmartCell by cloning from the newly
restored secondary SmartCell.
1. Insert the cloned disk drives from R2-10.0.204.2 (received from the RepSys IAP Replica
site) into the Primary IAP site’s secondary SmartCell S-10.0.204.1 slots.
a. Make sure you insert them into the correct slot location(s).
2. Boot up S-10.0.204.1 (containing the drives from R2); it should come up with no RAID
controller warnings.
3. Stop services on S-10.0.204.1 (/opt/bin/systemcontrol stop).
4. Edit the unit_state.properties file (the following information is shown as an example
only) :
a. vim /store/unit_state.properties
Total_size=1393
Domain=MyDomain
Name=sc-s2-204-2.MyDomain.com <– Change to “sc-s2-204-1.MyDomain.com”
Subnet=Subnet1
Group_id=02001871e8fca412791aec87d0
Cell_id=010017a4f70aed12763b488bc0
Substate_role=
Role=Replica-2 <– Change to “Secondary”
Closed_time=
Unit_state=assigned <– or whatever the state the SC was in previously
System_performance=6800
5. Restart services on S-10.0.204.1 (/opt/bin/systemcontrol restart).
6. Confirm the secondary SmartCell started with no errors and is recognized correctly (e.g.,
check PCC Status, viewCloudState, viewAppState -v).
7. Before starting the cloning job, make sure that the primary SmartCell, P-10.0.172.1 (with
its newly replaced “blank” disk drives), is selected as the clone target by shutting down
services on all other free SmartCells on PrimSys (Primary IAP). It should be listed as the only
free SmartCell.
8. Run the clone job from the source/secondary SmartCell S-10.0.204.1:
a. cd /usr/local/clone (on S-10.0.204.1)
b. ./cloneDaemon start (again, make sure the target SmartCell is P-10.0.172.1)
9. Once the clone job completes, confirm it completed successfully by executing the following
commands:
a. cd /var/log
b. tail –f cloneDaemon.log
Upon completion, both the primary and secondary SmartCells should be registered and
should come back up in whatever previous states they were in.