Abstract |
|---|
| This report summarizes how to set up quickly set up Volume Manager for use under Solaris. |
|
This document is Copyright © 1999 Jauder Ho, all rights reserved. Trademarked material referenced in this document is copyright by its respective owner. |
Install Solaris the usual way and after applying all the patches from the
patch cluster and installing Volume Manager, you may then proceed to
configuring the volumes.
Using vxva
(PATH=${PATH}:/opt/SUNWvxva/bin; export PATH), create a plex with the target
subdisk in it and associate it with datavol. You should then see an
additional plex appear in the RAID5 volume.
StorEdge Volume Manager is a great product and works very nicely. It is
actually a repackaged version of Veritas Volume Manager. The commands are a
little arcane. The following shows how to configure an hypothetical
layout. The target machine is a E250 with 6 9GB drives. The target
configuration is a mirrored root drive, a RAID5 data partition and one spare
disk. The drives are named as follows
% vxinstall
After entering the licenses, you will now be asked if you want to
encapsulate the root drive. If you intend to mirror the root drive, then
you should say Y to this. This will be followed by the option to put other
disks into Volume Manager at this time.
% vxassist mirror rootvol layout=contig,diskalign rootmirr
% /etc/vx/bin/vxbootsetup -v rootmirr
% /etc/vx/bin/vxmirror rootvol rootmirr
% vxassist make datavol 17250m layout=raid5,nolog data01 data02 data03
% vxinfo
datavol raid5 Started
rootvol root Started
swapvol swap Started
% vxstat
OPERATIONS BLOCKS AVG TIME(ms)
TYP NAME READ WRITE READ WRITE READ WRITE
vol datavol 1861 3649 28562 37112 3.9 161.3
vol rootvol 5554 10674 113946 343596 11.3 398.2
vol swapvol 0 0 0 0 0.0 0.0