Veritas 5.0.1 Installation Guide, HP-UX 11i v3, First Edition, November 2009

The procedure discussed in this section applies to the following upgrade scenarios:
Upgrading from VxVM 3.5 to VxVM 5.0.1
Upgrading from VxVM 3.5 Maintenance Pack 4 to VxVM 5.0.1
If there are volumes in the shared disk groups with the FastResync set option (fastresync=on),
reattach each snapshot to its data volume before beginning the upgrade procedure.
To upgrade in a clustered environment when FastResync is set and to reattach each snapshot to
its data volume, complete the following steps from the master node:
1. On the master node, list the disk groups that are shared:
# vxdg -s list
NOTE: To find out if you are on the master node, enter the following command:
# vxdctl -c mode
2. Using the diskgroup names displayed in the previous command, list the disk groups that
have volumes on which FastResync is set:
# vxprint -g diskgroup -F "%name" -e "v_fastresync"
3. Reattach each snapshot:
# vxassist -g diskgroup -o nofmr snapback snapshot_volume
4. If you are upgrading from VxVM 3.5 Maintenance Patch 3 or from VxVM 3.2 Maintenance
Patch 5, set FastResync to off for each volume:
# vxvol -g diskgroup set fastresync=off volume
Setting Up VxVM 5.0.1
This section discusses the procedure to initialize VxVM, add and manage disks under VxVM,
and to set up a VEA client and server. This section addresses the following topics:
“Initializing VxVM Using the vxinstall Utility” (page 44)
“Moving Disks Under VxVM Control” (page 45)
“Setting Up a Veritas Enterprise Administrator Server (page 46)
Initializing VxVM Using the vxinstall Utility
You can use the vxinstall utility to initialize VxVM. The vxinstall initialization procedure
enables you to do the following:
Specify the name of the default disk group to be used by the commands if the -g option is
not used to specify a disk group explicitly.
Choose whether to use enclosure-based naming for disks. This naming type enables you to
associate more meaningful disk-access names to disks in the different arrays.
To complete a typical vxinstall session, complete the following steps:
1. Set up Veritas Volume Manager using vxinstall:
# vxinstall
For more information on supported options, see vxinstall (1M).
The following output is displayed:
VxVM uses license keys to control access. If you have not yet installed
a VxVM license key on your system, you will need to do so if you want to
use the full functionality of the product.
Licensing information:
System host ID:<hostid>
Host type:<server-id>
Are you prepared to enter a license key [y,n,q] (default: n) n
44 Setting up the Veritas 5.0.1 Products