Veritas 5.0.1 Installation Guide HP-UX 11i v3 HP Part Number: 5900-0031 Published: November 2009 Edition: 1.
© Copyright 2009 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation and Technical Data for Commercial Items are licensed to the U.S. Government under vendor’s standard commercial license. The information contained herein is subject to change without notice.
Table of Contents About this Document..........................................................................................................9 Intended Audience.................................................................................................................................9 Document Organization.........................................................................................................................9 Typographic Conventions....................................................
Disk Space Requirements for VxVM 5.0.1.......................................................................................26 Disk Space Requirements for SMO.................................................................................................26 Disk Space Requirements for CVM.................................................................................................26 Database Requirements.....................................................................................................
Identifying the Type of File System.................................................................................................47 Converting a File System to VxFS...................................................................................................47 Mounting a VxFS File System..........................................................................................................48 Displaying Information on Mounted File System..............................................................
Migrating from /etc/vx/vxdba to /var/vx/vxdba for DB2 and Oracle......................................74 Upgrading the VxVM Cluster Protocol Version...................................................................................74 Upgrading VxVM Disk Group Versions...............................................................................................74 Updating Variables...............................................................................................................................
List of Figures 7-1 Upgrading the HP-UX Operating System.....................................................................................
List of Tables 1 1-1 2-1 2-2 2-3 2-4 2-5 2-6 2-7 2-8 2-9 6-1 7-1 A-1 A-2 B-1 8 Document Organization..................................................................................................................9 Supported File Systems on HP-UX 11i v 3....................................................................................19 Required and Recommended Patches...........................................................................................23 Required Software Products................
About this Document This document provides information on Veritas 5.0.1 suite of products on systems running HP-UX 11i v3. Veritas 5.0.1 suite of products include Base-VxFS, Base-VxVM, OnlineJFS, Full VxVM, HP Storage Management for Oracle (SMO), and Cluster Volume Manager (CVM). This document also includes a product overview, system requirements, installation, basic configuration, and removal steps for Veritas 5.0.1 suite of products on HP-UX 11i v3.
% C shell prompt $ Bourne/Korn shell prompt # Superuser prompt (all shells) \ Continued input on the following line; you do not type this character [ ] In command synopsis, brackets indicates an optional argument. ls [ -a ] | In command synopsis, a vertical bar separates mutually exclusive arguments. mount [ suid | nosuid ] blue text An active hypertext link In PDF and HTML files, click on the links to move to the specified location.
Email: hplicense.na@hp.com — (Asia Pacific) Phone: 0120.42.1231 or 0426-48-9310 (Inside Japan) +81.426.48.9312 (Outside Japan) Email: sw_codeword@hp.com • For latest information on the available patches, see: http://itrc.hp.com • For technical support, see: http://welcome.hp.com/country/us/en/support.html HP Welcomes Your Comments HP welcomes your comments concerning this document. HP is committed to providing documentation that meets your needs. Please send comments to: docsfeedback@hp.
1 Introduction This chapter introduces the Veritas 5.0.1 suite of products. It also describes the features of each product that is included within the Veritas 5.0.1 suite of products.
Veritas Volume Manager (VxVM) Introduction VxVM is a storage management subsystem that removes the physical limitations of disk storage so that you can configure, share, manage, and optimize storage I/O performance online without interrupting data availability. VxVM also provides easy-to-use, online storage management tools to reduce planned and unplanned system downtime, and online disk storage management for computing environments and Storage Area Network (SAN) environments.
• Volume Snapshot Volume Snapshots are point in time images of VxVM volumes. VxVM 5.0.1 does not support snapshots of RAID 5 volumes. • Dirty Region Logging Dirty Region Logging (DRL) keeps track of the regions that have been changed because I/O writes to a mirrored volume. The DRL uses this information to recover only those portions of the volume that need to be recovered, thereby speeding up recovery after a system crash.
nodes in the cluster. Distributing the recovery tasks is desirable in some situations so that the CVM master can avoid an I/O or CPU bottleneck. • Campus Cluster enhancements The campus cluster feature provides the capability of mirroring volumes across sites, with hosts connected to storage at all sites through a Fibre Channel network.
VxVM Objects VxVM supports the following types of objects: • Physical Objects Physical disks or other hardware with block and raw operating system device interfaces that are used to store data. • Virtual Objects The virtual objects in VxVM include the following: — Disk Group A group of disks that share a common configuration. A configuration consists of a set of records describing objects (including disks, volumes, plexes, and subdisks) that are associated with one particular disk group.
VxVM Storage Layouts Data in virtual objects is organized to create volumes by using the following layouts: • • • • • • Concatenation and Spanning Striping (RAID-0) Mirroring (RAID-1) Striping Plus Mirroring (Mirrored-Stripe or RAID-0+1) Mirroring Plus Striping (Striped-Mirror, RAID-1+0 or RAID-10) RAID-5 (Striping with Parity) Concatenation and Spanning Concatenation maps data in a linear manner onto one or more subdisks in a plex.
VxVM Interfaces VxVM provides the following interfaces: • • • Command-Line Interface Menu-driven vxdiskadm utility Veritas Enterprise Administrator Command-Line Interface As a superuser, you can administer and configure volumes and other VxVM objects using the supported vx* commands. Menu-driven utility The vxdiskadm utility provides an easy to use menu driven interface for common high-level operations on disks and disk groups.
VxFS Features VxFS supports the following features: • Extent-Based Allocation An extent is defined as one or more adjacent blocks of data within the file system. VxFS allocates storage in groups of extents rather than a block at a time, thereby resulting in faster read-write operations. • Extent Attributes Extent attributes are the extent allocation policies associated with a file. VxFS allocates disk space to files in groups of one or more extents. VxFS enables applications to control extent allocation.
• Large File and File System Sizes File systems up to 40 TB and files up to 16 TB in size are supported on HP-UX 11i v3. For more information on files and file system sizes supported by VxFS, see the white paper Supported File and File System Sizes at http://www.docs.hp.com. • Enhanced I/O Performance VxFS provides enhanced I/O performance by applying an aggressive I/O clustering policy, integrating with VxVM, and allowing application specific parameters to be set on a per-file system basis.
— — • New command, fstag, for file tagging New command, fsppmk, for creating XML policies Availability of the mntlock and mntunlock Mount Options You can specify the mntlock option with the mount command to prevent a file system from being unmounted by an application. VxFS 5.0.1 on HP-UX 11i v3 For more information on features supported with VxFS 5.0.1 on HP-UX 11i v3, see Veritas File System 5.0.1 Release Notes at http://www.docs.hp.com. Architecture of VxFS HP-UX supports various file systems.
2 System Requirements This chapter discusses the various system requirements for the Veritas 5.0.1 suite of products. This chapter addresses the following topics: • • • • • • • Software Dependency OS Version Patch Requirements Required Packages for VEA Software Depot Content License Bundles Disk Space Requirements Software Dependency • • VxFS 5.0.1 works with both HP LVM and VxVM 5.0.1 on HP-UX 11i v3 VxVM 5.0.1 works only when VxFS 5.0.
Table 2-1 Required and Recommended Patches (continued) PHKL_39401 No Yes PHKL_39523 No Yes PHKL_39624 No Yes PHKL_39625 No Yes PHKL_40022 No No PHKL_40377 No No PHNE_39147 No No PHSS_38527 No No PHSS_39094 No Yes NOTE: Appendix B (page 83) provides the complete list of recommended patches for installing VxFS 5.0.1 and VxVM 5.0.1 on the HP-UX 11i v3 operating system.
• • Veritas File System Service Provider (VRTSfspro) Veritas Enterprise Administrator (VRTSobgui) The minimum memory requirement for the VEA client is 128 MB. The software products mentioned in this section are installed as part of VxVM. Software Depot Content Table 2-3 and Table 2-4 lists the composition of the Base-VxFS-501 and Base-VxVM-501 bundles.
Table 2-6 lists the VxFS-SDK-501 license bundles. Table 2-6 VxFS-SDK-5.0.1 License Bundles Package Description VRTSfsmnd Veritas File System SDK Manuals VRTSfssdk Veritas File System Software Developer Kit License Bundles Following license bundles are available for the Veritas 5.0.1 suite of products on HP-UX 11i v3: • • • • • OnlineJFS (B3929GB): OnlineJFS for Veritas File System 5.0.1 Bundle Full VxVM (B9116DB): Full VxVM License for Veritas Volume Manager 5.0.
Database Requirements Table 2-9 identifies supported database and HP-UX combinations. Table 2-9 Supported Database and HP-UX Combinations Oracle Release HP-UX 11i v3 March 2009 OEUR Release or Later 9.2 Yes 10.1 Yes Mandatory Patch Required for Oracle Bug 4130116 If you are running Oracle versions 9.2.0.6 or 9.2.0.7, you must apply the Oracle patch for Oracle Bug 4130116. Contact Oracle to obtain this patch, and for details on how to apply it.
3 Installing the Veritas 5.0.1 Products This chapter describes how to install VxFS 5.0.1 and VxVM 5.0.1 with the swinstall (1M) command. This chapter addresses the following topics: • • • • • • • • “Mounting the HP Serviceguard Storage Management Suite Media” (page 29) “Installing Veritas 5.0.1 Products” (page 29) “Installing VxFS 5.0.1” (page 30) “Installing VxVM 5.0.
You can use one of the following methods to install the Veritas 5.0.1 products: • Install the Veritas 5.0.1 products on an already existing HP-UX 11i v3 March 2009 OEUR or later release If you want to use this method, complete the instructions discussed in the following sections to install Veritas 5.0.1 products: — — — — • “Installing VxFS 5.0.1” (page 30) “Installing VxVM 5.0.
NOTE: If you are installing VxFS 5.0.1 in a system that contains the HP-UX Data Center Operating Environment (DC-OE), HP-UX Virtual Server Operating Environment (VSE-OE) or HP-UX High Availability Operating Environment (HA-OE), you must either include OnlineJFS 5.0.1 (B3929GB) in the swinstall command line or remove OnlineJFS 5.0 (B3929FB) prior to installing VxFS 5.0.1. Installing Base-VxFS-501 in Interactive Mode To install Base-VxFS-501 in interactive mode, complete the following steps: 1.
Verifying HP OnlineJFS (B3929GB) Installation Verify the installation of OnlineJFS (B3929GB) on your system by entering the following command: # swverify B3929GB Fore more information on the supported options, see swverify (1M). Installing VxVM 5.0.1 VxVM 5.0.1 consists of the Base-VxVM-501 and Full VxVM (B9116DB) bundles. The following sections discuss the installation of these bundles using the HP-UX SD commands. NOTE: After installing VxVM 5.0.
NOTE: If you are installing VxFS 5.0.1 in a system that includes the HP-UX Data Center Operating Environment (DC-OE), HP-UX Virtual Server Operating Environment (VSE-OE) or HP-UX High Availability Operating Environment (HA-OE), you must either mark OnlineJFS 5.0.1 (B3929GB) in the SD Install window or remove OnlineJFS 5.0 (B3929FB) prior to installing VxFS 5.0.1. 3. Select Actions, and click Install. Follow the on-screen instructions to complete the installation.
NOTE: Starting from the SMO 5.0.1 release, the SMO Premium bundle (T2790DB) is deprecated. Installing CVM [B9117DB] on HP-UX 11i v3 To install CVM on HP-UX 11i v3, complete the following steps: 1. 2. 3. 4. Use a clean ignited HP-UX 11i v3 system. If the ignited system has Base-VxVM 4.1 already installed on it, do not clean the system before installing 5.0.1 v3 Install Base-VxFS-501 , Base-VxTools-501, Base-VxVM-501, and VxFS-SDK-501 by following the instructions discussed in the previous sections.
5. Combine both configuration files into a single Ignite-UX INDEX configuration clause: a. # vi /var/opt/ignite/INDEX b. Append a new configuration clause, such as: cfg “HP-UX B.11.31_Sept2007_OE-Vx50” { description “B.11.31_Sept2007_OE-Vx50 – 2 depots” “/opt/ignite/data/Rel_B.11.31/config” “/var/opt/ignite/data/Rel_B.11.31/<0E_config_filename>_cfg" “/var/opt/ignite/data/Rel_B.11.31/_cfg" “/opt/ignite/data/Rel_B.11.31/hw_patches_cfg” “/var/opt/ignite/config.local" } c.
6. Make any other configuration choices needed using the Ignite-UX interface, and then select Go! to cold-install the client. Confirming the Client After the system boots, confirm that the client has the intended software and configuration. To confirm the software and the configuration, complete the following steps: 1. Confirm the correct hostname: # hostname 2. Confirm the correct OE version: # swlist | grep HPUX 3. Confirm installation of OnlineJFS for the Veritas File System 5.0.
If there are multiple HP-UX 11i v3 DVDs, repeat this step for DVD. 2. Alternatively, you can copy the DVD contents in an interactive mode wherein you mount the DVD and use the Find Local CD-ROM option in the Specify Source screen by entering the following command: # swcopy -i \* @ /var/depots/my_hpux_depot 3.
- VRTSvmdoc,r=4.1.032 replaces VRTSvmdoc,r=3.5~IA.014 - VRTSvmpro.VMPRO-PRG,r=4.1.020 replaces VRTSvmpro.VMPRO-PRG,r=3.5~IA.014 - VRTSvmpro,r=4.1.020 replaces VRTSvmpro,r=3.5~IA.014 - VRTSvxvm.VXMS,r=4.1.032 replaces VRTSvxvm.VXMS,r=3.5~IA.014 - VRTSvxvm.VXVM-ENG-A-MAN,r=4.1.032 replaces VRTSvxvm.VXVM-ENG-A-MAN,r=3.5~IA.014 - VRTSvxvm.VXVM-HELP,r=4.1.032 replaces VRTSvxvm.VXVM-HELP,r=3.5~IA.014 - VRTSvxvm.VXVM-KRN,r=4.1.032 replaces VRTSvxvm.VXVM-KRN,r=3.5~IA.014 - VRTSvxvm.VXVM-RUN,r=4.1.
4 Setting up the Veritas 5.0.1 Products This chapter describes how to initialize and set up VxVM 5.0.1 and VxFS 5.0.1.
1. Select the disk to be used as your new VxVM root disk. HP recommends that this disk is internal to the main computer cabinet. If this is currently an LVM disk, you must remove the disk from LVM control as follows: • • • Use the vgreduce command to remove the disk from any LVM volume groups to which it belongs. Use the lvremove command to remove any LVM volumes that are using the disk.
The following procedures describe how to start the vxconfigd daemon and to check whether the deamon is enabled and running, and how to enable the daemon: • Starting the vxconfigd Daemon To start the vxconfigd daemon, enter the following command: # vxconfigd This message indicates that vxconfigd is running but not enabled: mode: disabled • Determining Whether the vxconfigd Daemon is Enabled To determine whether vxconfigd is enabled, use the following command: # vxdctl mode The following message indicates
Enabling Cluster Support in VxVM This release includes an optional cluster feature that enables VxVM to be used in a cluster environment. The cluster functionality in VxVM enables multiple hosts to simultaneously access and manage a set of disks under VxVM control. A cluster is a set of hosts sharing a set of disks; each host is referred to as a node in the cluster. The VxVM cluster feature requires a license that you can obtain from your Customer Support channel.
any log subdisks, read the section on DRL in the Veritas Volume Manager Adminstrator’s Guide available at: http://www.docs.hp.com 6. If the cluster is running with only one node, bring up the other cluster nodes. Enter the vxdg list command on each node to display the shared disk groups. Verifying Existing Shared Disks If you are upgrading from a previous release of VxVM, verify that your shared disk groups still exist. To verify that your shared disk groups exist, complete the following steps: 1. 2.
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.
2. To use enclosure-based names, enter when prompted by the vxinstall utility: Do you want to use enclosure based names for all disks ? [y,n,q,?] (default: n) For more information on the supported options, see vxinstall (1M). NOTE: Disks use the traditional naming format, usually c#t#d#. Enclosure-based naming enables disk devices to be named for enclosures rather than for the controllers through which they are accessed.
2. Install device files by entering the following command: # insf -C disk For more information on the supported options, see insf (1M). 3. For the volume manager to detect these new disks, enter the following command: # vxdisk scandisks For more information on supported options, see vxdisk (1M). 4. Invoke the vxdiskadm menu driven utility, by entering the following command: # vxdiskadm For more information on the supported options, see vxdiskadm (1M).
2. Start the VEA service by entering the following command: # /opt/VRTSob/bin/vxsvcctrl start For more information on the supported options, see vxsvcctrl (1M). NOTE: To stop the VEA service later, enter the following command: # /opt/VRTSob/bin/vxsvcctrl stop Setting Up a Veritas Enterprise Administrator Client To run VEA and administer a local or remote system, ensure that you have sufficient privileges.
For more information on the supported options, see vxfsconvert (1M). Mounting a VxFS File System To mount a vxfs file system, enter the following command: # mount -F vxfs [generic_options] [-r] [-o specific_options] special For more information on the supported options, see mount_vxfs (1M). Displaying Information on Mounted File System To view the status of mounted file systems, enter the following command: # mount -v For more information on the supported options, see mount (2).
% set path = ( $path /usr/sbin /opt/VRTSvxfs/sbin \ /opt/VRTSob/bin /opt/VRTS/bin ) % setenv MANPATH /usr/share/man:/opt/VRTS/man:$MANPATH Cluster Environment Requirements If you have a cluster environment, you must complete the following steps in addition to setting environment variables discussed in “Setting Environment Variables” (page 48): 1. If you plan to place the root disk group under the control of VxVM, decide into which disk group you want to configure it for each node in the cluster.
5 Upgrading from Previous Versions of VxFS to VxFS 5.0.1 This chapter discusses various VxFS upgrade paths based on the version of your OS. This chapter addresses the following topics: • • • • “Upgrading from VxFS 3.3 or 3.5 on HP-UX 11i v1 to VxFS 5.0.1 on HP-UX 11i v3” “Upgrading from VxFS 3.5 on HP-UX 11i v2 to VxFS 5.0.1 on HP-UX 11i v3” “Upgrading from VxFS 4.1 on HP-UX 11i v2 or HP-UX 11i v3 to VxFS 5.0.1 on HP-UX 11i v3” “Upgrading from VxFS 5.0 on HP-UX 11i v2 or HP-UX 11i v3 to VxFS 5.0.
7. To run the VxFS-specific full fsck on the converted file system, enter the following command: # fsck -F vxfs -y -o full During pass 4, fsck displays several error messages that require a yes response to complete the conversion process. 8. VxFS file systems with disk layout 4 can still be mounted with VxFS 5.0.1. However, to upgrade to disk layout versions 5, 6, or 7, use vxupgrade, as follows: a.
6. To convert any non-vxfs file system on your system to a vxfs file system, and upgrade the DLV from 2 and 3 to 7, enter the following command: # /opt/VRTS/bin/vxfsconvert The vxfsconvert command works with unmounted file systems. To upgrade mounted file system use the vxupgrade command as described in step 6, you must run fsck after vxfsconvert because vxfsconvert does not create all metadata files. 7.
NOTE: You cannot upgrade from DLV 2 to DLV 4 directly. DLV4 is the lowest disk layout that is supported by VxFS 5.0.1. a. To upgrade a mounted VxFS file system from DLV 2 to DLV 3, enter the following command: # vxupgrade -n 3 b. To upgrade a mounted VxFS file system from DLV 3 to DLV 4, enter the following command: # vxupgrade -n 4 4. Upgrade to HP-UX 11i v3. For more information on upgrading to HP-UX 11i v3, see the HP-UX 11i v3 Installation and Update Guide at: http://docs.hp.
1. To determine the volume names, enter the following command: # bdf 2. To determine the current disk layout version for system partitions, enter the following command: # fstyp -v 3. To upgrade file systems with DLV 2 or 3, before installing 5.0.1, complete the following steps: NOTE: You cannot upgrade from DLV 2 to DLV 4 directly. DLV4 is the lowest disk layout that is supported by VxFS 5.0.1. a.
# vxupgrade -n 7 c. To upgrade a mounted VxFS file system from disk layout 6 to disk layout 7, enter the following command: # vxupgrade -n 7 9. To verify the conversion, enter the following command: # fstyp -v 56 Upgrading from Previous Versions of VxFS to VxFS 5.0.
6 Upgrading from Previous Versions of VxVM to VxVM 5.0.1 This section discusses the requirements to update from the pervious version of Veritas Volume Manager to the 5.0.1 version of Veritas Volume Manager and also the various supported disk groups. It addresses the following topics: • • • • • • • • • “Determining VxVM Disk Group Version” (page 57) “Native Multipathing with Veritas Volume Manager” (page 58) “Upgrading from VxVM 4.1 on HP-UX 11i v3 to VxVM 5.0.
# vxdg upgrade After you upgrade from a previous release of VxVM, HP recommends that you upgrade to the latest disk group version. For more information on disk groups, see the Veritas Volume Manager Administrator's Guide available at: http://www.docs.hp.com Native Multipathing with Veritas Volume Manager By default, VxVM uses DMP to manage multiple paths to I/O devices.
according to their corresponding agile or persistent device special files (DSFs) assigned by the operating system. CAUTION: Foreign devices are not supported as cluster-sharable disks. Do not perform this procedure on systems that require clustering features of VxVM (CVM). NOTE: Irrespective of the mode set, if you use the vxddladm or the vxdisk list commands, only the new style DSFs are displayed after migrating to HP-UX native multipathing.
# vxconfigd –kr reset 3. To restart all the volumes in each disk group, enter the following command: # vxvol –g diskgroup startall The output from the vxdisk list command shows the DMP metanode names according to the current naming scheme.
c89t0d3 c89t0d4 c89t0d5 auto:hpdisk auto:hpdisk auto:hpdisk - - online online online Output in agile naming scheme. # vxdisk list DEVICE TYPE disk155 auto:LVM disk156 auto:LVM disk224 auto:cdsdisk disk225 auto:cdsdisk disk226 auto:cdsdisk disk227 auto:hpdisk disk228 auto:hpdisk disk229 auto:hpdisk DISK - GROUP - STATUS LVM LVM online online online online online online For information on migrating an individual device or only a subset of devices, see vxdiskadm(1M).
Upgrading from VxVM 5.0 on HP-UX 11i v2 to VxVM 5.0.1 on HP-UX 11i v3 You must consider the following guideline prior to upgrading to VxVM 5.0.1 on HP-UX 11i v3: • All disk group versions supported by VxVM 5.0.1 (90, 120, and 140) on HP-UX 11i v2 are also supported by VxVM 5.0.1 on HP-UX 11i v3. As VxVM 5.0 and VxFS 5.0 are bundled in the HP-UX 11i March 2009 OEUR or later release, a fresh installation is not possible. You must perform an upgrade to move to the 5.0.1 versions of the Veritas products.
2. 3. 4. 5. Copy VxVM 5.0.1 on HPUX 11i v3 into the ignite depot using the swcopy command. Stop activity to all VxVM volumes. For example, stop any applications such as databases that access the volumes, and unmount any file systems that have been created on the volumes. Remove VxVM 5.0 (Base-VxVM-50 bundle) version which is the default VxVM version on HP-UX 11i v3 from the ignite depot using the swremove command. Upgrade from HP-UX 11i v2 to HP-UX 11i v3.
120 will not be accessible, as shared disk group is not supported in VxVM 4.1 on HP-UX 11i v3. 3. 4. If patches to VxVM 5.0.1 for HP-UX 11i v3 are required, the patches must be applied prior to upgrading the product. Install the VxVM 5.0.1 package. # swinstall –x autoreboot=true -s Base-VxVM-501 Upon successful completion of the upgrade, VxVM 4.1 will be replaced by VxVM 5.0.1. Disk groups created in VxVM 4.1 on HP-UX 11i v2 will be accessible you upgrade the system to VxVM 5.0.1.
2. 3. Upgrade from HP-UX 11i v1 to HP-UX 11i v2. This upgrade will install Base-VXVM 4.1 by default. Upgrade from HP-UX 11i v2 to HP-UX 11i v3. This upgrade will install Base-VXVM 4.1 by default. For more information on upgrading to HP-UX 11i v3, see the HP-UX 11i v3 Installation and Update Guide at: http://www.docs.hp.com. 4. 5. If patches to VxVM 5.0.1 on HP-UX 11i v3 are required, the patches must be applied prior to upgrading the product. Install the VxVM 5.0.1 package.
7 Upgrading Storage Management for Oracle from Previous Releases If your system is already running a previous release of Storage Management for Oracle (or Foundation Suite), this section describes how to upgrade it to Storage Management for Oracle 5.0.1. The operating system must be at a supported level for this upgrade. This chapter addresses the following topics: • • • • “Upgrade Paths” (page 67) “Upgrading from Storage Management for Oracle 4.1 on HP-UX 11i v2 to Storage Management for Oracle 5.0.
Figure 7-1 Upgrading the HP-UX Operating System Upgrading from Storage Management for Oracle 4.1 on HP-UX 11i v2 to Storage Management for Oracle 5.0.1 on HP-UX 11i v3 This section discusses the procedure to upgrade Storage Management for Oracle 4.1 on HP-UX 11i v2 to Storage Management for Oracle 5.0.1 on HP-UX 11i v3. Because all disk group versions supported by Veritas Volume Manager 4.1/5.0 are also supported by Veritas Volume Manager 5.0.1, any disk groups created in Storage Management for Oracle 4.
1. 2. Stop activity to all Storage Management for Oracle volumes. For example, stop any applications such as databases that access the volumes and unmount any file systems that have been created on the volumes. If you have any external Array Policy Modules (APMs) installed, uninstall the APMs. The following warning message displays during the operating system upgrade: WARNING: The file '/usr/conf/mod/dmpXXX.1' does not contain valid kernel code.
1. Stop activity on all Storage Management for Oracle volumes. For example, stop any applications such as databases that access the volumes and unmount any file systems that have been created on the volumes. 2. If you have any external Array Policy Modules (APMs) installed, uninstall the APMs. The following warning message is displayed during the operating system upgrade: WARNING: The file '/usr/conf/mod/dmpXXX.
8 Post Upgrade Tasks This chapter discusses the tasks that you must complete after upgrading the VxVM software to restore the previous configurations and to set up Storage Management for Oracle 5.0.1 correctly.
If you are upgrading Storage Management for Oracle in a single-host environment, run the dbed_update command: $ /opt/VRTS/bin/dbed_update -S $ORACLE_SID -H $ORACLE_HOME If you are upgrading Storage Management for Oracle for Oracle in a high availability (HA) environment, run the dbed_update command with the -G option: $ /opt/VRTS/bin/dbed_update -S $ORACLE_SID -H $ORACLE_HOME \ -G service_group 4. After the upgrade, the old repository database is marked with a hidden file name, such as /etc/vx/vxdba/.
Use the vxfsconvert or vxupgrade utilities to upgrade older disk layout versions to disk layout Version 7. WARNING! Never upgrade the / and /stand file systems to disk layout Version 7. The HP-UX bootloader does not support disk layout Version 7. Upgrading VxFS Disk Layout Versions This section discusses the additional steps required to prepare the file system for being mounted on all nodes of the cluster. Veritas File System 5.0.
For more information on the vxupgrade and fsadm_vxfs commands, see the vxupgrade(1M) and fsadm_vxfs(1M) manpages. WARNING! The contents of intent logs created on a previous disk layout version cannot be used after the disk layout version is upgraded. Requirements for Upgrading to Disk Layout Version 7 Converting a previous disk layout to a Version 7 disk layout requires adequate free space.
For more information about disk group versions, see the Veritas Volume Manager Administrator's Guide available at: http://www.docs.hp.com Updating Variables In the /etc/profile file, update the PATH and MANPATH variables as required. The MANPATH variable can include the /opt/VRTS/man directory and the PATH variable can include the /opt/VRTS/bin directory. Setting the Default Disk Group In releases prior to Veritas Volume Manager 4.0, the default disk group was the root disk group (rootdg).
1. Select a QuickLog-enabled file system to convert to MVS and unmount the file system: # umount myfs 2. Detach one of the QuickLog volumes from the QuickLog device that the file system had been using. This volume can be used as the new intent log volume for the file system. # qlogdetach -g diskgroup log_vol 3. Create the volume set: # vxvset make myvset myfs_volume 4. Mount the volume set: # mount -F vxfs /dev/vx/dsk/rootdg/myvset /mnt1 5.
9 Removing Veritas 5.0.1 Products This chapter discusses how to remove the Veritas 5.0.1 suite of products from an HP-UX 11i v3 system, using the HP-UX SD commands. This chapter addresses the following topics: • • • • • “Removing Storage Management for Oracle” (page 77) “Removing VxVM” (page 77) “Removing VxFS” (page 79) “Removing CVM” (page 80) “Removing the Veritas Enterprise Administrator (VEA) Client” (page 80) CAUTION: If VxVM/VxFS 5.0.1 is installed on a system that contained VxVM/VxFS 4.
1. Evacuate as many disks as possible. Evacuation moves sub-disks from the source disks to target disks. The evacuated disks provide the initial free disk space for volumes to be moved to LVM volumes. Disks can be evacuated in one of the following ways: • Using the vxdiskadm command with the Remove a disk option. • Using the vxevac script. 2.
1. Display a list of all the volumes: # vxprint -g -Ath For more information on the supported options, seevxprint (1M). 2. Remove a named plex: # vxplex -g -o rm disk If the remaining plex has more than one sub-disk, enter the following sequence of commands to consolidate the sub-disks into a single sub-disk: # vxassist -g mirror volume layout=config # vxplex -g -o rm disk For more information on the supported options, see vxassist (1M) and vxplex (1M).
Removing Base-VxFS-501 To remove Base-VxFS-501, enter the following command: # swremove -x autoreboot=true Base-VxFS-501 For more information on the supported options, see swremove (1M). CAUTION: Do not remove the VRTSvlic package if there are any other Veritas products running on your system. NOTE: VxFS 4.1 is activated after the removal of Base-VxFS-501.
A Files Added and Modified After VxFS Installation This appendix discusses the files that are added and modified after installing VxFS 5.0.1. Files Added After VxFS Installation Table A-1 lists the files added after installing VxFS 5.0.1. Table A-1 Files Added After VxFS Installation File Description /usr/conf/lib/libvxfs50.a Kernel library for VxFS 5.0.1 /sbin/lib/mfsconfig.d/vxfs50 VxFS 5.0.1 command configuration file /usr/lib/libxdsm.a DMAPI library /usr/lib/libvxfsutil.a VxFS 5.0.
Table A-2 Files Modified After VxFS Installation 82 File Modifications /stand/system Deactivates JFS and OnLineJFS and configures VxFS 5.0.1 and Quick I/O. /etc/MANPATH Inserts /opt/VRTS/vxfs5.0.1/man before the /usr/share/man directory in the MANPATH environment variable to ensure that the VxFS 5.0.1 manpages are displayed, instead of HP OnLineJFS/JFS 5.0.1 manpages located in the /usr/ share/man directory.
B Recommended Patches Table B-1 provides a complete list of recommended patches for installing VxFS 5.0.1 and VxVM 5.0.1 on the HP-UX 11i v3 operating system.
Table B-1 Recommended Patches (continued) 84 PHKL_39523 No Yes PHKL_39624 No Yes PHKL_39625 No Yes PHKL_40022 No No PHKL_40377 No No PHNE_39147 No No PHSS_38135 Yes Yes PHSS_38527 No Yes PHSS_39094 No Yes Recommended Patches