Veritas 5.0.1 Installation Guide HP-UX 11i v3 HP Part Number: 5992-0031 Published: September 2011 Edition: 2.
© 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.
Contents About this Document......................................................................................7 Intended Audience....................................................................................................................7 Document Organization............................................................................................................7 Typographic Conventions...........................................................................................................
Disk Space Requirements for CVM.......................................................................................24 Database Requirements...........................................................................................................24 Mandatory Patch Required for Oracle Bug 4130116.....................................................................24 3 Installing the Veritas 5.0.1 Products.............................................................
Setting Environment Variables...................................................................................................43 Cluster Environment Requirements.............................................................................................44 Setting up Storage Management for Oracle...............................................................................44 5 Upgrading from Previous Versions of VxFS to VxFS 5.0.1...............................
Converting from QuickLog to Multi-Volume Support.....................................................................72 9 Removing Veritas 5.0.1 Products.................................................................73 Removing Storage Management for Oracle................................................................................73 Removing VxVM.....................................................................................................................73 Moving VxVM Volumes to LVM Volumes..
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.
$ 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.
• Distributed Volume Recovery In a Cluster Volume Manager (CVM) cluster, upon a node failure, the mirror recovery is initiated by the CVM master. Prior to this release, the CVM master performed all the recovery I/O tasks. Starting from this release, the CVM master can distribute recovery tasks to other 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.
• vxrelocd – The hot-relocation daemon monitors VxVM for events that affect redundancy, and performs hot-relocation to restore redundancy. • vxattachd – The vxattachd daemon handles automatic reattachment and resynchronization for plexes. 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.
A layered volume is constructed by mapping its subdisks to the underlying volumes. The subdisks in the underlying volumes must map to VM disks, and hence to the attached physical storage.
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://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 3 Required and Recommended Patches Patch Available in HP-UX 11i v3 March 2009 OEUR Available in HP-UX 11i v3 September 2009 OEUR PHKL_38651 Yes Yes PHKL_38952 Yes Yes PHCO_38250 Yes Yes PHCO_38837 Yes Yes PHCO_39626 No Yes PHKL_39624 No Yes PHKL_39625 No Yes PHKL_38936 Yes Yes PHKL_38937 Yes Yes PHKL_38950 Yes Yes PHKL_38951 Yes Yes PHKL_39036 Yes Yes PHKL_39037 Yes Yes PHKL_36261 Yes Yes PHKL_36477 Yes Yes PHKL_37463 Yes Yes PHKL_38104 Yes Yes PHK
Table 3 Required and Recommended Patches (continued) PHKL_39114 Yes Yes PHKL_39401 No Yes PHKL_39523 No Yes PHKL_40022 No No PHKL_40377 No No PHSS_37553 Yes Yes PHSS_38135 Yes Yes PHSS_39094 No Yes PHSS_40152 No No PHNE_39147 No No TBD (sw-gettools patch) NO not applicable No Not Applicable Recommended Software In addition to the recommended patches listed in Table 3, HP recommends the software products listed in Table 4 for use with VxFS 5.0.1 and VxVM 5.0.1 installations.
Table 6 Base-VxVM-501 Bundle Components Package Description VRTSvxvm Veritas Volume Manager by Symantec VRTSvlic Symantec License Utilities Table 7 lists the Base-VxTools-501 bundle components.
• SMO Licenses (T2789DB) : HP Storage Management for Oracle • For more information on these licenses and the HP Serviceguard Storage Management Licenses, see HP Serviceguard Storage Management Suite Version A.03.00 Release Notes. Disk Space Requirements Table 9 and Table 10 list the disk space requirements for VxFS 5.0.1 and VxVM 5.0.1, respectively. Disk Space Requirements for VxFS 5.0.1 Table 9 lists the disk space required by VxFS 5.0.1. Table 9 Minimum Space Required for Each Directory for VxFS 5.
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 25) • “Installing Veritas 5.0.1 Products” (page 26) • “Installing VxFS 5.0.1” (page 26) • “Installing VxVM 5.0.
Installing Veritas 5.0.1 Products Veritas 5.0.1 products are supported with HP-UX 11i v3 March 2009 OEUR and later. If you do not have the March 2009 OEUR, it is recommended that you upgrade the HP-UX version on your system before installing the 5.0.1 version of the Veritas software. As the HP-UX 11i v3 March 2009 OEUR release contains the VxVM 5.0 and VxFS 5.0 products by default, you cannot directly install the 5.0.1 products. You must upgrade the Veritas 5.0.1 products from 5.0 to 5.0.
The system reboots automatically after the installation is complete. You can monitor the installation process for warnings and notes. For more information on installation, see the log file /var/adm/ sw/swagent.log. Verifying Base-VxFS-501 Installation Verify the Base-VxFS-501 installation on your system by entering the following command: # swverify Base-VxFS-501 For more information on the supported options, see swverify (1M).
NOTE: Ensure that you select the complete Base-VxVM-501 bundle for installation while installing Full-VxVM bundle B9116DB if your system already does not have Base-VxVM-501. Also, verify that the bundles Base-VxVM-501, Base-VxFS-501, Base-VxTools-501 and B9116DB are present on your system after installing B9116DB.
Installing Full VxVM in Interactive Mode To install Full VxVM in the interactive mode, complete the following steps: 1. Enter the swinstall command in the interactive mode, as follows: # swinstall -s For more information on supported options, see swinstall (1M). 2. 3. Mark the B9116DB bundle on the SD Install window. Select Actions, and click Install. Follow the on-screen instructions to complete the installation. NOTE: The B9116DB bundle contains a license for the Full VxVM 5.0.
2. 3. Create the configuration file for the HP-UX 11i v3 OE depot. If you want VxVM_5.0.1 DGV=140, which is compatible only with VxVM_5.0.1 software, either comment-out or delete the vxvm_version=4.1 entry at the end of the OE configuration file. To register the HP-UX 11i v3 OE depot, complete the following steps: a. # cd /var/opt/ignite/data/Rel_B.11.31 b. # /opt/ignite/bin/make_config \ - s :<1131_OE_depot> \ -c _cfg c. Test the configuration file.
3. Use the Ignite-UX interface to select the volume manager. On the Basic tab File System line, select the following: VERITAS Volume Manager (VxVM) with VxFS 4. Use the Ignite-UX interface to select VxVM and VxFS 5.0.1 software. On the Software tab, select the following: B3929GB OnlineJFS for Veritas File System 5.0.1 Bundle B9116DB Full VxVM License for Veritas Volume Manager Base-VxTools-501 VERITAS Infrastructure Bundle 5.0.1 for HP-UX Base-VxVM-501 Base VERITAS Volume Manager Bundle 5.0.
The following documents available http://www.docs.hp.com provide additional information on cold installation: • Ignite-UX Administration Guide • HP-UX 11i v3 Installation and Update Guide • HP-UX 11i Version 3 Release Notes • HP-UX System Administrator’s Guide Updating HP-UX and Veritas Products Using the update-ux Command This section describes how to update an HP-UX 11i v2 system to HP-UX 11i v3 with Veritas VxVM 5.0.1 and VxFS 5.0.1 using the update-ux command.
update SW already installed on the system. The newer revisions are not selected for installation. This will leave the incompatible old revision of SW on the system. The affected SW is: - VRTSfspro.FSPRO-PRG,r=4.1x replaces VRTSfspro.FSPRO-PRG,r=3.5_2_ga08.006 - VRTSfspro,r=4.1x replaces VRTSfspro,r=3.5_2_ga08.006 - VRTSob.VEAS-FILESET,r=3.2.555.1 replaces VRTSob.VEAS-FILESET,r=3.2.532.0.001 - VRTSob,r=3.2.555.1 replaces VRTSob,r=3.2.532.0.001 - VRTSobgui.VEA-FILESET,r=3.2.555.1 replaces VRTSobgui.
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.
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.
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.
# /sbin/fs/vxfs/vxfsconvert [-l logsize] [-s size] [-efnNvyY] special 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).
% 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 43): 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.
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. 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. If your system already contains the HP-UX 11i v3 operating system, you can skip this step. 5. 6. Install VxFS 5.0.1. For more information on installing VxFS 5.0.1, see Chapter 3 (page 25).
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.
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 50) • “Native Multipathing with Veritas Volume Manager” (page 51) • “Upgrading from VxVM 4.1 on HP-UX 11i v3 to VxVM 5.0.
# vxdg list To upgrade a disk group to version 140, use the following command: # 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.
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. Enclosure-based naming scheme is not supported for foreign devices.
The output from the vxdisk list command shows the DMP metanode names according to the current naming scheme. Output in the default old naming scheme: # vxdisk list DEVICE TYPE c2t0d0 auto:LVM c3t2d0 auto:LVM c89t0d0 auto:cdsdisk c89t0d1 auto:cdsdisk c89t0d2 auto:cdsdisk c89t0d3 auto:hpdisk c89t0d4 auto:hpdisk c89t0d5 auto:hpdisk DISK - GROUP - STATUS LVM LVM online online online 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). For information on foreign devices, see Veritas Volume Manager 5.0.1 Administrator's Guide.
After you install the 5.0.1 software, the Veritas Volume Manager 5.0 software that was bundled with the HP-UX operating system will no longer be available. To reinstall Veritas Volume Manager 5.0, you must use your HP-UX software CD/DVD. As only one version of the Veritas Volume Manager can reside on your system, if you choose to reinstall Veritas Volume Manager 5.0, the 5.0.1 software will no longer be available. Installing the 5.0.1 Veritas software updates Veritas File System 5.0. After installing the 5.
Upgrading From VxVM 5.0 on HP-UX 11i v3 to VxVM 5.0.1 Using Integrated VxVM 5.0.1 Package for HPUX 11i v3 You can upgrade from VxVM 5.0 HP-UX 11i v3 to VxVM 5.0.1 using the integrated VxVM 5.0.1 package for HP-UX 11i v3 from the ignite depot. To upgrade from VxVM 5.0 HP-UX 11i v3 to VxVM 5.0.1 on HP-UX 11i v3 using the integrated VxVM 5.0.1 package for HP-UX 11i v3 from the ignite depot, complete the following steps: 1. Integrate the VxVM 5.0.1 package with the latest HP-UX fusion.
Upgrading from VxVM 3.5 on HP-UX 11i v2 to VxVM 5.0.1 on HP-UX 11i v3 You must consider the following guideline prior to upgrading from VxVM 3.5 on HP-UX 11i v2 to VxVM 5.0.1 on HP-UX 11i v3: • VxVM 3.5 and VxVM 5.0.1 both support disk group version 90. To Upgrade from VxVM 3.5 on HP-UX 11i v2 to VxVM 5.0.1 on HP-UX 11i v3 To upgrade from VxVM 3.5 on HP-UX 11i v2 to VxVM 5.0.1 on HP-UX 11i v3, complete the following steps: 1. Stop activity to all VxVM volumes.
Upon successful completion of the upgrade, VxVM 4.1 will be replaced by VxVM 5.0.1. Disk groups with older disk group versions (90 or 120) will be accessible after the upgrade.
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 59) • ??? • “Upgrading from Storage Management for Oracle 4.1 on HP-UX 11i v2 to Storage Management for Oracle 5.0.
features in Storage Management for Oracle 5.0.1 may require the latest disk group version. Therefore, HP recommends that you upgrade the disk group. For more information on disk group versions, see “Upgrading from Previous Versions of VxVM to VxVM 5.0.1” (page 50). NOTE: • VxVM 5.0.1 on HP-UX 11i v3 supports shared disk groups only on disk group version 140. VxVM 4.1 on HP-UX 11i v3 does not support shared disk groups.
NOTE: • If the authentication service was not configured prior to the upgrade, it remains unconfigured after the upgrade. The installation logs contain a message stating that vxatd is not started because it was not configured. This is the expected behavior and you can ignore the log message. • If you are upgrading from HP-UX 11i v2 to HP-UX 11i v3 with older fusions (prior to HP-UX 11i v3 Update 3) as an intermediate step, disk groups created using VxVM 5.
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. Upgrade the HP-UX operating system to the latest available HP-UX 11i v3 fusion release. This upgrade will install Base-VxVM 5.0 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. 3. 4. 5.
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.
1. To invoke the common installer, run the installer command with the configure option, as shown in this example: # ./installer -configure 2. When the list of available products is displayed, select the number corresponding to the product you want to configure, and press Return. You can use this procedure to configure SFORA. Select a product to configure: 3. You will be prompted to enter system names on which the software must be installed. Enter the system names and press Return.
access the tools to support the Storage Management for Oracle product. The default settings only allow access to the superuser. Enter y to change permission for a DBA or a group of DBAs to access the support tools. When prompted, enter the login account or group name.
Configuration log files, summary file, and response file are saved at: /opt/VRTS/install/logs/installer-**** 17. The installation script prompts for a reboot if there are one or more errors. Restart the system (or systems) if the install script prompts for a reboot. 18. If you installed Storage Management for DB2 or Storage Management for Oracle, create a new repository database.
Table 14 sfua_db_config Options (continued) Option Description -o Reports the database server status. serverstatus -o stopdb Detaches the repository database from the database server. -o startdb Attaches the repository database to the database server. To create and configure the repository database, complete the following steps: 1. Run the sfua_db_config script: # /opt/VRTSdbcom/bin/sfua_db_config 2.
or after the installation. The configuration procedure for Storage Management for Oracle provides an option to enable DBAs to access tools support for the Storage Management for Oracle product. By default, only the superuser can access the /opt/VRTSdbed directory after the installation. For information on configuring the Storage Management for Oracle, see “Configuring Storage Management for Oracle” (page 63).
NOTE: Do not recursively change permissions, groups, or owners. To change permissions, complete the following steps: 1. Change permissions for the directory depending on the product that you have installed: For Storage Management for Oracle, run the following command: # chmod 550 /opt/VRTSdbed 2. Reset owner and group settings to the appropriate owner and group for the database administrators on your system.
3. On the node selected in Step 1, incrementally upgrade the disk layout of this file system to layout Version 6 or 7. For example, if you had a cluster mounted file system of disk layout Version 4 running with previous version of VxFS, after upgrading to VxFS 5.0.1, you must upgrade the disk layout to Version 6 or 7. The incremental upgrade is as follows: # vxupgrade -n 5 /mnt1 # vxupgrade -n 6 /mnt1 # vxupgrade -n 7 /mnt1 4.
1. Copy the /etc/vx/vxdba directory and contents to /var/vx/vxdba: # cp -rp /etc/vx/vxdba /var/vx/vxdba 2. Remove the /etc/vx/vxdba directory: # rm -rf /etc/vx/vxdba 3. Link the directories /var/vx/vxdba and /etc/vx/vxdba: # ln -s /var/vx/vxdba /etc/vx/vxdba Upgrading the VxVM Cluster Protocol Version If you are upgrading a cluster and want to take advantage of the new features in this release, you must upgrade the version of the VxVM cluster protocol.
For more information on setting default disk groups, see the Veritas Volume Manager Administrator’s Guide. If you want to confirm that the root disk is encapsulated, enter the command: # vxdg bootdg Upgrading the Array Support Library VxVM provides support for new disk arrays in the form of Array Support Library (ASL) software packages.
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 73) • “Removing VxVM” (page 73) • “Removing VxFS” (page 75) • “Removing CVM” (page 76) • “Removing the Veritas Enterprise Administrator (VEA) Client” (page 76) CAUTION: If VxVM/VxFS 5.0.1 is installed on a system that contained VxVM/VxFS 4.
1. 2. 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.
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 15 lists the files added after installing VxFS 5.0.1. Table 15 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 16 Files Modified After VxFS Installation 78 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.
*5992-0031* Printed in the US