From: Ellen Davis (ellen.davis@uc.edu)
Date: Tue Dec 16 2003 - 09:48:13 EST
Hello,
I have a SunFire 280 with 2 disks which are mirrored using DiskSuite
(running Solaris 8). I want to install the latest patch cluster. I'l like
to break the mirror, install the cluster, and if all is OK, re-attach the
mirror.
Are the commands below sufficient to install the cluster (with the broken
mirror)?
What would the procedure be to restore the previous system from the broken
mirror, if there are problems with the patch cluster?
Full Dump
Set SDS to start if half of the state database replicas are available
Echo set md:mirrored_root_flag=1 >> /etc/system
Make sure all mirrors are in OK state
Metastat
Break submirror for drive1
Detach d11 (c1t1d0s0) from mirror d1 (root)
metadetach d1 d11
Detach d21 (c1t1d0s1) from mirror d2 (swap)
metadetach d2 d21
Detach d31 (c1t1d0s3) from mirror d3 (var)
metadetach d3 d31
Shutdown to single user
Shutdown
Apply patch cluster
install_cluster
Reboot and test
Reboot from root mirror on c1t0d0s0 (d10)
Reboot
IF ALL IS OK - Re-attach submirror for drive1
Attach d11 (c1t1d0s0) to mirror d1 (root)
metattach d1 d11
metastat d1 (to see % done)
Attach d21 (c1t1d0s1) to mirror d2 (swap)
metattach d2 d21
metastat d2 (to see % done)
Attach d31 (c1t1d0s3) to mirror d3 (var)
metattach d3 d31
metastat d3 (to see % done)
IF PROBLEMS - restore drive0 from drive1
Ellen Davis
Ellen.Davis@uc.edu
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:41 EDT