| |
The scvxinstall utility provides automatic VxVM installation and optional root-disk encapsulation for Sun Cluster nodes.
The first form of the scvxinstall utility in the SYNOPSIS section of this man page runs in interactive mode. All other forms of the utility run in non-interactive mode.
- In interactive mode, scvxinstall prompts the user for the mode of operation ("install only" or "install and encapsulate") and for any needed CD-ROM and licensing information.
- In non-interactive mode, scvxinstall does not prompt the user for information. If any needed information is not supplied on the utility line, scvxinstall terminates with an error return code.
The cluster must meet the following requirements before you run the scvxinstall utility:
- All nodes in the cluster configuration must be current cluster members.
- Each root disk that you will encapsulate must have at least two free (unassigned) partitions.
- All nodes must be added to the node authentication list.
The "install-only" mode of the scvxinstall utility performs the following tasks:
- Verify that the node you are installing is booted in cluster mode and is running as root, and verify that all other cluster nodes are running in cluster mode.
- Disable Dynamic Multipathing (DMP), which is not supported with Sun Cluster software. DMP is disabled by creating symbolic links for the files /dev/vx/dmp and /dev/vx/rdmp.
- Add the VxVM software, licensing, and man-page packages, but not the GUI packages.
- Negotiate a cluster-wide value for the vxio major number by modifying the /etc/name_to_major file. This ensures that the vxio number is the same on all cluster nodes.
- Instruct the user to reboot the node to resume operation with the new vxio major numbers in effect.
The "install-and-encapsulate" mode of the scvxinstall utility performs the same tasks as the "install-only" mode except Step 5, then performs the following additional tasks:
- Install the VxVM license key by running the vxlicense command.
- Run several VxVM commands to prepare for root-disk encapsulation.
- Modify the global-devices entry in the /etc/vfstab file specified for the /global/.devices/node@n file system, where n is the node ID number. The scvxinstall utility replaces
the existing device path /dev/did/{r}dsk with /dev/{r}dsk. This change ensures that VxVM recognizes that the global-devices file system resides on the root disk.
- Twice reboot each node that is running scvxinstall, once to allow VxVM to complete the encapsulation process and once more to resume normal operation. The scvxinstall utility includes a synchronization mechanism to ensure that it reboots only one node
at a time, to prevent loss of quorum.
- Unmount the global-devices file system by executing the start-up file /etc/rc2.d/S74scvxinstall. The file system is automatically remounted after the encapsulation process is complete.
- Recreate the special files for the rootdg volumes with a unique minor number on each node.
|