Sun Cluster Software Installation Guide for Solaris OS

SPARC: How to Install VERITAS Volume Manager Software and Encapsulate the Root Disk

This procedure uses the scvxinstall(1M) command to install VxVM software and encapsulate the root disk in one operation.


Note –

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.

  1. 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.

  2. Have available the following information.

  3. Become superuser on a node that you intend to install with VxVM.

  4. Insert the VxVM CD-ROM into the CD-ROM drive on the node.

  5. Start scvxinstall in interactive mode.

    Press Ctrl-C at any time to abort the scvxinstall command.


    # scvxinstall
    

    See the scvxinstall(1M) man page for more information.

  6. When prompted whether to encapsulate root, type yes.


    Do you want Volume Manager to encapsulate root [no]? y
    

  7. 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?

  8. 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

    • Selects a cluster-wide vxio driver major number

    • 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.


    Note –

    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.


  9. 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.

  10. (Optional) Install the VxVM GUI.

    See your VxVM documentation for information about installing the VxVM GUI.

  11. Eject the CD-ROM.

  12. 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.

  13. (Optional) If you prefer not to have VxVM man pages reside on the cluster node, remove the man-page package.


    # pkgrm VRTSvmman
    

  14. Repeat Step 3 through Step 13 to install VxVM on additional nodes.


    Note –

    If you intend to enable the VxVM cluster feature, you must install VxVM on all nodes of the cluster.


  15. If you will not install VxVM on one or more nodes, modify the /etc/name_to_major file on each non-VxVM node.

    1. On a node installed with VxVM, determine the vxio major number setting.


      # grep vxio /etc/name_to_major
      

    2. Become superuser on a node that you do not intend to install with VxVM.

    3. 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
      

    4. Initialize the vxio entry.


      # drvconfig -b -i vxio -m NNN
      

    5. Repeat Step b through Step d on all other nodes that you do not intend to install with VxVM.

      When you finish, each node of the cluster should have the same vxio entry in its /etc/name_to_major file.

  16. (Optional) To mirror the encapsulated root disk, go to SPARC: How to Mirror the Encapsulated Root Disk.

  17. Go to SPARC: How to Create and Register a Disk Group.