Sun Cluster Software Installation Guide for Solaris OS

ProcedureSPARC: How to Install VERITAS Volume Manager Software

Perform this procedure to install VERITAS Volume Manager (VxVM) software on each node that you want to install with VxVM. You can install VxVM on all nodes of the cluster, or install VxVM just on the nodes that are physically connected to the storage devices that VxVM will manage.

Before You Begin

Perform the following tasks:

Steps
  1. Become superuser on a cluster node that you intend to install with VxVM.

  2. Insert the VxVM CD-ROM in the CD-ROM drive on the node.

  3. For VxVM 4.1, follow procedures in your VxVM installation guide to install and configure VxVM software and licenses.


    Note –

    For VxVM 4.1, the scvxinstall command no longer performs installation of VxVM packages and licenses, but does perform necessary postinstallation tasks.


  4. Run the scvxinstall utility in noninteractive mode.

    • For VxVM 4.0 and earlier, use the following command:


      # scvxinstall -i -L {license | none}
      -i

      Installs VxVM but does not encapsulate the root disk

      -L {license | none}

      Installs the specified license. The none argument specifies that no additional license key is being added.

    • For VxVM 4.1, use the following command:


      # scvxinstall -i
      
      -i

      For VxVM 4.1, verifies that VxVM is installed but does not encapsulate the root disk

    The scvxinstall utility also selects and configures a cluster-wide vxio driver major number. See the scvxinstall(1M) man page for more information.

  5. If you intend to enable the VxVM cluster feature, supply the cluster feature license key, if you did not already do so.

    See your VxVM documentation for information about how to add a license.

  6. (Optional) Install the VxVM GUI.

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

  7. Eject the CD-ROM.

  8. Install any VxVM patches.

    See Patches and Required Firmware Levels in Sun Cluster 3.1 8/05 Release Notes for Solaris OS for the location of patches and installation instructions.

  9. (Optional) For VxVM 4.0 and earlier, if you prefer not to have VxVM man pages reside on the cluster node, remove the man-page package.


    # pkgrm VRTSvmman
    
  10. Repeat Step 1 through Step 9 to install VxVM on any additional nodes.


    Note –

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


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

    1. On a node that is 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 a 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.

  12. To create a root disk group, go to SPARC: How to Encapsulate the Root Disk or SPARC: How to Create a Root Disk Group on a Nonroot Disk.

    Otherwise, proceed to Step 13.


    Note –

    VxVM 3.5 requires that you create a root disk group. For VxVM 4.0 and later, a root disk group is optional.


  13. Reboot each node on which you installed VxVM.


    # shutdown -g0 -y -i6
    
Next Steps

To create a root disk group, go to SPARC: How to Encapsulate the Root Disk or SPARC: How to Create a Root Disk Group on a Nonroot Disk.

Otherwise, create disk groups. Go to SPARC: Creating Disk Groups in a Cluster.