Veritas 5.0 Installation Guide HP-UX 11i v3 HP Part Number: 5992-1954 Published: April 2008 Edition: 1.
© Copyright 2008 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 SMO.................................................................................................25 Disk Space Requirements for CVM.................................................................................................25 3 Installing the Veritas 5.0 Products..............................................................................27 Mounting the HP Serviceguard Storage Management Suite Media....................................................
6 Upgrading to VxVM 5.0.............................................................................................47 Determining VxVM Disk Group Version.............................................................................................47 Upgrading from VxVM 4.1 on HP-UX 11i v3 to VxVM 5.0 on HP-UX 11i v3.....................................47 To Upgrade from VxVM 4.1 on HP-UX 11i v3 to VxVM 5.0 on HP-UX 11i v3...............................48 Upgrading from VxVM 5.0 on HP-UX 11i v2 to VxVM 5.
List of Tables 1 1-1 2-1 2-2 2-3 2-4 2-5 2-6 2-7 6-1 A-1 A-2 Document Organization..................................................................................................................9 Supported File Systems on HP-UX 11i v 3....................................................................................18 Required and Recommended Patches...........................................................................................23 Base-VXFS-50 Package Components..............................
About this Document This document provides information on Veritas 5.0 suite of products on systems running HP-UX 11i v3. Veritas 5.0 suite of products include Base-VxFS, Base-VxVM, OnlineJFS, Full VxVM, Storage Management for Oracle, and Cluster Volume Manager (CVM). This document also includes a product overview, system requirements, installation, basic configuration and removal steps for Veritas 5.0 suite of products on HP-UX 11i v3.
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. Related Information Additional information on the Veritas suite of products is available at: http://docs.hp.
• 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. We are committed to providing documentation that meets your needs. Please use the feedback form available at the following location to provide your valuable suggestions: http://docs.hp.com/en/feedback.
1 Introduction This chapter introduces the Veritas 5.0 suite of products. It also describes the features of each product that is included within the Veritas 5.0 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 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. VxVM 5.0 on HP–UX 11i v3 For more information on features that VxVM 5.
group also has an internally defined unique disk group ID, which is used to differentiate two disk groups with the same administrator-assigned name. — VM Disks When you place a physical disk under VxVM control, a VM disk is assigned to the physical disk. Each VM disk corresponds to one physical disk. A VM disk is under VxVM control and is usually in a disk group. — Subdisks A VM disk can be divided into one or more subdisks.
Striping (RAID-0) Striping maps data so that the data is interleaved among two or more physical disks. A striped plex contains two or more subdisks, spread out over two or more physical disks. Mirroring (RAID-1) Mirroring uses multiple mirrors (plexes) to duplicate the information contained in a volume. In the event of a physical disk failure, the plex on the failed disk becomes unavailable.
File Systems Supported on HP-UX 11i v3 Table 1-1 discusses the file systems that are supported on HP-UX 11i v3. Table 1-1 Supported File Systems on HP-UX 11i v 3 File System Type Description Hierarchical File System (HFS) HFS is derived from the UNIX File System, the original BSD file system. Veritas File System (VxFS) The Veritas File System is an extent-based, intent logging file system from Symantec Corporation.
VxFS reduces system failure recovery time by tracking file system activity in the VxFS intent log. This feature records pending changes to the file system structure in a circular intent log. • Access Control Lists (ACLs) An Access Control List (ACL) stores a series of entries that identify specific users or groups, and their access privileges for a directory or file. • Online Administration A VxFS file system can be defragmented and resized while it remains online and available to users.
• Quotas VxFS supports quotas, which allocate per-user quotas and limit the use of two principal resources files and data blocks. • Multi-Volume Support The Multi-Volume support enables several volumes to be encapsulated into a single virtual object called volume set. This volume set can then be used to create a file system, thereby enabling advanced features such as Dynamic Storage Tiering. VxFS 5.0 on HP-UX 11i v3 For more information on features supported with VxFS 5.
Storage Management for Oracle For more information on Storage Management for Oracle, see the Veritas Storage Foundation for Oracle Administrator's Guide at http://docs.hp.com.
2 System Requirements This chapter discusses the various system requirements for the Veritas 5.0 suite of products. This chapter addresses the following topics: • • • • • • • Software Dependency OS Version Patch Requirements Required Packages for Veritas Enterprise Administrator (VEA) Software Depot Content License Bundles Disk Space Requirements Software Dependency • • VxFS 5.0 works with both HP LVM and VxVM 5.0 on HP-UX 11i v3. VxVM 5.0 works only when VxFS 5.0 is installed.
Required Packages for Veritas Enterprise Administrator (VEA) To use VEA with VxVM 5.0, the following software products are required: • • • • Veritas Enterprise Administrator Service (VRTSob) Veritas Volume Manager Service Provider (VRTSvmpro) 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.
Table 2-4 VxFS-SDK-5.0 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 suite of products on HP-UX 11i v3: • • • • OnlineJFS (B3929FB): HP OnlineJFS 5.0 (Server) Full VxVM (B9116CB): Veritas Volume Manager 5.0 by Symantec. CVM License (B9117CB): Cluster Volume Manager License. SMO Licenses Table 2-5 lists the SMO License bundles.
3 Installing the Veritas 5.0 Products This chapter describes how to install VxFS 5.0 and VxVM 5.0 with the swinstall (1M) command. This chapter addresses the following topics: • • • • • • • Mounting the HP Serviceguard Storage Management Suite Media Installing VxFS 5.0 Installing VxVM 5.0 Installing Storage Management for Oracle Installing CVM [B9117CB] Cold-Installing VxVM and VxFS 5.0 with HP-UX 11i v3 Updating HP-UX and Veritas Products with update-ux Prior to installing Veritas 5.
NOTE: You cannot install the Base-VxFS and the Base-VxVM 5.0 products on a system where the Veritas 4.1 versions (for HP-UX 11i v2) of Storage Management for Oracle, HP Serviceguard Storage Management, or HP Serviceguard Cluster File System product suites is installed. The AVXFS and AVXVM products (included in VxFS 5.0 and VxVM 5.0, respectively) check the installed products and cause an installation failure for the Veritas 5.0 products on such systems.
For more information on the supported options, see swinstall (1M). Installing HP OnlineJFS (B3929FB) in the Interactive Mode To install HP OnlineJFS (B3929FB) in the interactive mode, complete the following steps: 1. Enter the swinstall command in interactive mode, as follows: # swinstall -s 2. 3. Mark the B3929FB bundle on the SD Install Window. Select Actions, and click Install. Follow the on-screen instructions to complete the installation.
1. Enter the swinstall command in interactive mode as follows # swintall -x autoreboot=true -s For more information on the supported options, see swinstall (1M). 2. 3. Mark the Base-VxVM-50 bundle on the SD Install Window. Select Actions, and click Install. Follow the on-screen instructions to complete the installation.
Installing HP SMO Premium (T2790CB) Install the HP SMO Standard (T2790CB) by entering the following command: # swinstall -s T2790CB NOTE: For information on installing the other licenses available as part of the HP Serviceguard Storage Management suite, see the HP Serviceguard Storage Management Suite Version A.02.00 Release Notes, available at: http://docs.hp.com Installing CVM [B9117CB] on HP-UX 11i v3 To install CVM with HP-UX 11i v3, complete the following steps: 1. 2. 3. 4.
4. Combine both configuration files into one 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.
5. Use the Ignite-UX interface to deselect VxVM 4.1 software. On the Software tab, deselect the following: Base-VxVM(OE) Base VERITAS Volume Manager Bundle 4.1 for HP-UX 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 the client has the intended software and configuration. To confirm the software and the configuration, complete the following steps: 1.
Updating HP-UX and Veritas Products with update-ux This section describes how to update an HP-UX 11i v2 system to HP-UX 11i v3 with Veritas VxVM 5.0 and VxFS 5.0 using the update-ux command. To update the OS, complete the following steps: 1.
- VRTSob,r=3.2.555.1 replaces VRTSob,r=3.2.532.0.001 - VRTSobgui.VEA-FILESET,r=3.2.555.1 replaces VRTSobgui.VEA-FILESET,r=3.2.532.0.001 - VRTSobgui,r=3.2.555.1 replaces VRTSobgui,r=3.2.532.0.001 - VRTSvlic.VLIC-RUN,r=3.02.23.1 replaces VRTSvlic.VLIC-RUN,r=3.01.IA.002.010 - VRTSvlic,r=3.02.23.1 replaces VRTSvlic,r=3.01.IA.002.010 - VRTSvmdoc.VXVM-DOC,r=4.1.032 replaces VRTSvmdoc.VXVM-DOC,r=3.5~IA.014 - VRTSvmdoc,r=4.1.032 replaces VRTSvmdoc,r=3.5~IA.014 - VRTSvmpro.VMPRO-PRG,r=4.1.020 replaces VRTSvmpro.
4 Setting up the Veritas 5.0 Products This chapter describes how to initialize and set up VxVM 5.0 and VxFS 5.0. This chapter addresses the following topics: • • • Setting up VxVM 5.0 Setting up and Managing VxFS 5.0 Setting up Storage Management for Oracle Setting Up VxVM 5.0 Initializing VxVM Using vxinstall Utility You can use the vxinstall utility to initialize VxVM.
NOTE: In releases prior to VxVM 4.1, the default disk group was rootdg (the root disk group). For VxVM 3.5 to function, the rootdg disk group had to exist, and it had to contain at least one disk. This is no longer required in VxVM 5.0. However, you can still create a root disk group as a system wide default disk group. For operations that require a disk group, the system wide default disk group is used if the VxVM command does not explicitly mention the disk group with the -g option.
• • • • If the disk was previously initialized for future use by VxVM, it can be re-initialized and placed under VxVM control. If the disk was previously used for a file system, VxVM prompts you to confirm that you really want to destroy the file system. If the disk was previously in use by the LVM subsystem, you can preserve the existing data while still letting VxVM take control of the disk. This is accomplished using the conversion utility vxvmconvert.
Creating a VxFS File System To create a file system, enter the following command: # newfs -F vxfs For more information on the supported options, see newfs_vxfs (1M). The newfs command builds a vxfs file system by invoking mkfs. You can also use the mkfs command, instead of the newfs command to create the VxFS file system.
Setting up Storage Management for Oracle For information on setting up the Storage Management for Oracle, see the Veritas Storage Foundation™ for Oracle Administrator’s Guide.
5 VxFS Upgrade Paths This chapter discusses various VxFS upgrade paths based on the version of your OS. This chapter addresses the following topics: • • • “VxFS 3.3 or 3.5 on HP-UX 11i v1 to VxFS 5.0 on HP-UX 11i v3” “VxFS 3.5 on HP-UX 11i v2 to VxFS 5.0 on HP-UX 11i v3” “VxFS 4.1 on HP-UX 11i v2 to VxFS 5.0 on HP-UX 11i v3” CAUTION: You must ensure that: • You do not upgrade the operating system and the Veritas products simultaneously.
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. However, to upgrade to disk layout versions 5, 6, or 7, use vxupgrade, as follows: a. To upgrade a mounted VxFS file system from disk layout 4 to disk layout 5, enter the following command: # vxupgrade -n 5 b.
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. 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.
4. 5. 6. 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.com. Install VxFS 5.0. For more information on installing VxFS 5.0, see Chapter 3 (page 27). To convert any non-VxFS file system on your system to a VxFS file system, and to 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.
6 Upgrading to VxVM 5.0 If you are running an earlier release of Veritas Volume Manager, you can upgrade to VxVM 5.0 on HP-UX 11i v3 using the procedures discussed in this chapter. This chapter addresses the following topics: • • • • • • “Determining VxVM Disk Group Version” (page 47) “Upgrading from VxVM 4.1 on HP-UX 11i v3 to VxVM 5.0 on HP-UX 11i v3” (page 47) “Upgrading from VxVM 5.0 on HP-UX 11i v2 to VxVM 5.0 on HP-UX 11i v3” (page 48) “Upgrading from VxVM 4.1 on HP-UX 11i v2 to VxVM 5.
To Upgrade from VxVM 4.1 on HP-UX 11i v3 to VxVM 5.0 on HP-UX 11i v3 To upgrade from VxVM 4.1 on HP-UX 11i v3 to VxVM 5.0 on HP-UX 11i v3, complete the following steps: 1. 2. 3. Stop activity to all VxVM volumes. For example, stop applications such as databases that access the volumes, and unmount any file systems that have been created on the volumes. If patches to VxVM 5.0 for HP-UX 11i v3 are required, the patches must be applied prior to upgrading the product. Install the VRTSvxvm 5.0 package.
NOTE: During the OS upgrade, the following errors will be reported. However these errors can be ignored and the OS upgrade will complete successfully. ERROR: A later revision (one with a higher revision number) of fileset "VRTSvxvm.VXVM-KRN,r=4.1.032" has already been installed. ERROR: A later revision (one with a higher revision number) of fileset "VRTSvxvm.VXVM-RUN,r=4.1.032" has already been installed. Alternatively you can upgrade from VxVM 5.0 on HP-UX 11i v2 to VxVM 5.
3. 4. If patches to VxVM 5.0 for HP-UX 11i v3 are required, the patches must be applied prior to upgrading the product. Install the VxVM 5.0 package. # swinstall –x autoreboot=true -s Base-VxVM-50 Upon successful completion of the upgrade, VxVM 4.1 will be replaced by VxVM 5.0. Disk groups created in VxVM 4.1 on HP-UX 11i v2 will be accessible you upgrade the system to VxVM 5.0. Upgrading from VxVM 3.5 on HP-UX 11i v2 to VxVM 5.
3. 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 on HP-UX 11i v3 are required, the patches must be applied prior to upgrading the product. Install the VxVM 5.0 package. # swinstall –x autoreboot=true -s Base-VxVM-50 Upon successful completion of the upgrade, VxVM 4.
7 Upgrading to Storage Management for Oracle 5.0 on HP-UX 11i v3 This chapter describes how to upgrade from an earlier version of Storage Management for Oracle to SMO 5.0 on HP-UX 11i v3. This chapter addresses the following topics: • • • “ Upgrading from SMO 5.0 on HP-UX 11i v2 to SMO 5.0 on HP-UX 11i v3” (page 53) “Upgrading from SMO 4.1 on HP-UX 11i v2 to SMO 5.0 on HP-UX 11i v3” (page 54) “Upgrading from SMO 3.5 on HP-UX 11i v1 to SMO 5.
WARNING: The file '/usr/conf/mod/dmpXXX.1' does not contain valid kernel code. It will be ignored. You can ignore this message. 4. Upgrade from HP-UX 11i v2 to HP-UX 11i v3. After the OS upgrade is complete, Base-VxVM 5.0 for HP-UX 11i v2 is the default VxVM software available in the system. As a result, after the upgrade procedure, any disk groups including 5.0 (HP-UX 11i v2) and disk groups with 140 disk group versions are not accessible.
3. Upgrade from HP-UX 11i v2 to HP-UX 11i v3. After the OS upgrade is complete, Base-VxVM 4.1 is the default VxVM software available in the system. Shared disk groups with disk group versions earlier than or same as 120 are not accessible because shared disk group is not supported in VxVM 4.1 on HP-UX 11i v3. If required, install patches required for SMO 5.0 on HP-UX 11i v3 prior to upgrading the product. 4. Install SMO for HP-UX 11i v3. Enter the following command to install HP SMO Standard 5.
8 Removing Veritas 5.0 Products This chapter discusses how to remove the Veritas 5.0 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 Removing VxVM Removing VxFS Removing CVM CAUTION: If VxVM/VxFS 4.1 were installed on a system and VxVM/VxFS 5.0 were installed on top of it, the 4.1 products are removed from the system. Removing 5.0 products later makes the system become unbootable.
2. Remove the evacuated disks from VxVM control by entering the following command: # vxdg -g rmdisk For more information on supported options, see vxdisk (1M) and vxdg (1M). 3. 4. 5. Unmount the disk to be removed first. If the volume is being used as a raw partition for database applications, ensure that the application is not updating the volume and the data on the volume is synchronized. Create an LVM volume of the same size as the plex on the VxVM volume.
2. To remove a named plex, enter the following command: # 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). NOTE: The consolidation operation fails if you do not have sufficient space on a single sub-disk.
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-5.0. Removing CVM To remove CVM, enter the following command: # swremove -x autoreboot=true B9117CB 60 Removing Veritas 5.
A Files Added and Modified After VxFS Installation This appendix discusses the files that are added and modified after installing VxFS 5.0. Files Added After VxFS Installation Table A-1 lists the files added after installing VxFS 5.0. Table A-1 Files Added After VxFS Installation File Description /usr/conf/lib/libvxfs50.a Kernel library for VxFS 5.0 /sbin/lib/mfsconfig.d/vxfs50 VxFS 5.0 command configuration file /usr/lib/libxdsm.a DMAPI library /usr/lib/libvxfsutil.a VxFS 5.
Table A-2 Files Modified After VxFS Installation 62 File Modifications /stand/system Deactivates JFS and OnLineJFS and configures VxFS 5.0 and Quick I/O. /etc/MANPATH Inserts /opt/VRTS/vxfs5.0/man before the /usr/share/man directory in the MANPATH environment variable to ensure that the VxFS 5.0 manpages are displayed, instead of HP OnLineJFS/JFS 5.0 manpages located in the /usr/share/man directory.
*5992-1954* Printed in the US