This procedure uses the scvxinstall(1M) command to install VxVM software and encapsulate the root disk in one operation.
If you intend to create the root disk group on local, nonroot disks, go instead to SPARC: How to Install VERITAS Volume Manager Software Only.
Perform this procedure on each node that you intend to install with VxVM. You can install VERITAS Volume Manager (VxVM) on all nodes of the cluster, or on only those nodes that are physically connected to the storage devices that VxVM will manage.
If you later need to unencapsulate the root disk, follow the procedures in SPARC: How to Unencapsulate the Root Disk.
Ensure that the cluster meets the following prerequisites.
All nodes in the cluster are running in cluster mode.
The root disk of the node you install has two free (unassigned) partitions.
Have available the following information.
Become superuser on a node that you intend to install with VxVM.
Insert the VxVM CD-ROM into the CD-ROM drive on the node.
Start scvxinstall in interactive mode.
Press Ctrl-C at any time to abort the scvxinstall command.
See the scvxinstall(1M) man page for more information.
When prompted whether to encapsulate root, type yes.
Do you want Volume Manager to encapsulate root [no]? y
When prompted, provide the location of the VxVM CD-ROM.
If the appropriate VxVM CD-ROM is found, the location is displayed as part of the prompt within brackets. Press Enter to accept this default location.
Where is the volume manager cdrom [default]?
If the VxVM CD-ROM is not found, the prompt is displayed without a default location. Type the location of the CD-ROM or CD-ROM image.
Where is the volume manager cdrom?
When prompted, type your VxVM license key.
Please enter license key: license
The scvxinstall command automatically performs the following tasks:
Installs the required VxVM software, licensing, and man-page packages, but does not install the GUI packages
Creates a root disk group by encapsulating the root disk
Updates the /global/.devices entry in the /etc/vfstab file
See the scvxinstall(1M) man page for further details.
Two automatic reboots occur during installation. After all installation tasks are completed, scvxinstall automatically reboots the node the second time unless you press Ctrl-C when prompted. If you press Ctrl-C to abort the second reboot, you must reboot the node later to complete VxVM installation.
If you intend to enable the VxVM cluster feature, supply the cluster feature license key.
See your VxVM documentation for information about how to add a license.
(Optional) Install the VxVM GUI.
See your VxVM documentation for information about installing the VxVM GUI.
Eject the CD-ROM.
Install any VxVM patches.
See “Patches and Required Firmware Levels” in Sun Cluster 3.1 Release Notes for the location of patches and installation instructions.
# pkgrm VRTSvmman
If you intend to enable the VxVM cluster feature, you must install VxVM on all nodes of the cluster.
On a node installed with VxVM, determine the vxio major number setting.
# grep vxio /etc/name_to_major
Become superuser on a node that you do not intend to install with VxVM.
Edit the /etc/name_to_major file and add an entry to set the vxio major number to NNN, the number derived in Step a.
# vi /etc/name_to_major vxio NNN
Initialize the vxio entry.
# drvconfig -b -i vxio -m NNN
When you finish, each node of the cluster should have the same vxio entry in its /etc/name_to_major file.
(Optional) To mirror the encapsulated root disk, go to SPARC: How to Mirror the Encapsulated Root Disk.