This section explains how to upgrade VxVM. Refer to the VxVM and Solaris release support matrix to determine if upgrading the operating system is required.
If you are planning to use the installvm
script to upgrade VxVM, go to Upgrading VxVM using the product installer.
There are several options to choose from if you want to use the pkgadd method to upgrade VxVM:
You can use the product installer (installvm
script) to upgrade VxVM with an encapsulated or unencapsulated root disk.
To upgrade VxVM on a remote host, rsh
or ssh
must be set up. See Completing the installation procedure for more information.
Upgrading VxVM using the product installer includes the following general steps:
Note
If you are performing a multihost installation, note that the installvm
script does not support a mixture of new installations and upgrades. You should either install on all hosts or upgrade all hosts. In addition, every host to be upgraded in a multihost installation must be running the same older version of VxVM.
If you use this installvm
script to upgrade, do not use the upgrade_start
and upgrade_finish
scripts.
To upgrade using the installvm script
pkgrm
command:
# pkgrm VRTSvras VRTSlic VRTSvmsa
Note Some of the above packages may not exist on your system.
Once the DVD is inserted, the Solaris volume management software automatically mounts it. Change directory:
Alternatively, copy the VxVM packages and patches to a network-shared file system. You can then install the software on any systems that have mounted this file system.
# ./installvm -pkgpath $NFS_FS/volume_manager/pkgs
where the NFS-mountable file system is $NFS_FS.
If a patch is available, the installvm command must also include the patchpath as follows:
# ./installvm -pkgpath $NFS_FS/volume_manager/pkgs \
-patchpath $NFS_FS/volume_manager/patches
Enter the system names separated by spaces on which to install VxVM:
The
installvm
script will carry out an initial system check, and will confirm success by displaying information regarding the OS version, whether theVRTSvxvm
package is installed and whether the necessary patches are installed. The initial system check might tell you that you need to obtain Solaris OS patches. If this happens, you need to see "Solaris Patch Requirements" in the Veritas Storage Foundation Release Notes.When the system check is complete, the
installvm
script displays this message:
1) Required Veritas Volume Manager packages - 698MB required
2) All Veritas Volume Manager packages - 838 MB required
3) Storage Foundation Enterprise HA packages - 1192 MB required.
To configure VxVM after installing the packages
The script runs an initial system check, and will tell you that you cannot configure already configured features such as enclosure-based naming and default disk groups. However, it will lead you through the process of configuring 5.0 features, such as centralized management.
For information about centralized management, refer to the Veritas Storage Foundation Management Installation Guide.
This section describes the procedure for upgrading using the pkgadd
command. This works with both an encapsulated and unencapsulated root disk. The procedure requires only one reboot, but it overwrites the new VxVM package on the existing VxVM package.
Note This procedure describes how to upgrade the software on a standalone host. The system can be converted to a managed host at a later stage.
/opt
is configured as a separate file system, ensure that it is mounted.
For release 3.5 MP4, use the following command:
VRTSvxvm
. The packages to be removed depend upon the product release.
For release 3.5 MP4, use the following commands:
# pkgrm VRTSvlic VRTSvmman VRTSvmdoc VRTSvmpro
# pkgrm VRTSfspro VRTSobgui VRTSob
For releases 4.0 and 4.1, use the following commands:
# pkgrm VRTSvlic VRTSvmdoc VRTSvmman VRTScpi
# pkgrm VRTStep VRTSap VRTSvrdoc VRTSvrw
# pkgrm VRTSweb VRTSjre VRTSvcsvr VRTSvrpro
gzcat
command:
-a
adminfile option should be specified to pkgadd
. This adminfile must be created in the current directory, and contain the following entries:
While installing the VRTSobc33
package, enter n
when prompted if the host will be centrally managed.
On Solaris 10, these packages must be installed while in the global zone. If a package's pkginfo
file contains the variable SUNW_PKG_ALLZONES set not equal to true, the -G
option should additionally be specified to the pkgadd
command.
# pkgadd -a adminfile -d . VRTSvlic VRTSperl VRTSicsco \
# pkgadd -a adminfile -d . VRTSat VRTSobc33 VRTSob \
# pkgadd -a adminfile -d . VRTSaa VRTSspt SYMClma \
# pkgadd -a adminfile -d . VRTSvmdoc VRTSvmman VRTSdcli \
# pkgadd -a adminfile -d . VRTSvdid VRTSddlpr VRTSvrpro \
# /opt/VRTSobc/pal33/install/cfgsecurity.sh -a StorageAgent
# /opt/VRTSobc/pal33/bin/vxpalctrl -a StorageAgent -c start
# /opt/SYMClma/bin/lmautil --Config --SecurityEnabled 1 \
--RootBrokerHostname "1" --CollectorNodeUsername "2" \
After you have upgraded VxVM using pkgadd
, you should configure VxVM. See Configuring VxVM using the installvm script
To migrate a standalone host to a managed host, see Migrating a standalone host to a managed host.