Installation and Update Guide HP-UX 11i Version 2 HP Integrity Servers, HP Workstations, and HP 9000 Servers Manufacturing Part Number : 5990-8144 September 2004, Edition 3 Printed in United States © Copyright 1983-2004 Hewlett-Packard Development Company, L.P.
Legal Notices 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 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Publishing History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Document Organization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Typographical Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents Updating from HP-UX 11i Version 2 (B.11.23) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Deciding Which Method to Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Time to Complete a Cold Install or Update. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . When to Cold-Install. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . When to Update . . . . . . . . . . . . . . . . . . .
Contents 5. Cold-Installing HP-UX 11i v2 Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Reviewing the Cold-Install Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Cold-installing HP-UX 11i v2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Task 1: Booting Your Machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents Verifying the HP-UX Cold-Install or Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Task 1: Listing all Software Installed on Your System. . . . . . . . . . . . . . . . . . . . . . . Task 2: Verifying Bundles Are Installed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Verifying HP Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Task 1: Identifying and Verifying the Bundle . . . . . . . . . . . .
Contents 7
Contents 8
Tables Table 1. Publishing History Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 Table 2. HP-UX 11i Releases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18 Table 1-1. Supported Operating Environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 Table 2-1. File Partition Disk Space Allocation by Operating Environment . . . . . . .36 Table 3-1. Supported Update Paths from HP-UX 11i v1.0 to HP-UX 11i v2 . .
Tables 10
Figures Figure 3-1. Install-time Security Software Dependencies . . . . . . . . . . . . . . . . . . . . . .62 Figure 5-1. Cold-installing HP-UX 11i v2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90 Figure 6-1. Updating to HP-UX 11i v2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figures 12
About This Document This guide describes installing HP-UX 11i Version 2 (B.11.23) (called cold-installing) and updating from the following paths: • HP-UX 11i Version 1 (B.11.11) PA-RISC to HP-UX 11i Version 2.0 (B.11.23) PA-RISC • HP-UX 11i Version 1.6 (B.11.22) Intel Itanium to HP-UX 11i Version 2 (B.11.23) Intel Itanium • HP-UX 11i Version 2 (B.11.23) Intel Itanium to HP-UX 11i Version 2 (B.11.
Publishing History To ensure that you receive the latest edition, you should subscribe to the appropriate product support service. Contact your HP sales representative for details. Table 1 Document Manufacturing Part Number 14 Publishing History Details Operating Systems Supported Supported Product Versions Publication Date 5990-8144 HP-UX 11i v2 B.11.23 September 2004 5990-6728 HP-UX 11i v2 B.11.23 March 2004 5187-2725 HP-UX 11i v2 B.11.
Document Organization The HP-UX 11i Version 2 Installation and Update Guide is divided into many chapters and appendixes, which contain information about installing and updating HP-UX 11i version 2. IMPORTANT The Read Before Installing or Updating to HP-UX 11i Version 2 DVD booklet that comes with the HP-UX 11i v2 media contains last-minute cold-install and update information that was not available when this guide was published. Make sure to review the booklet before continuing.
• Chapter 6, “Updating to HP-UX 11i v2,” on page 103 Use this chapter to learn how to update your system to HP-UX 11i v2 using the update-ux command. Several examples are provided to assist you with your update scenario. • Chapter 7, “Installing HP Applications and Patches,” on page 133 Use this chapter to learn how to update applications on your system that are not installed or updated with HP-UX 11i v2 Operating Environments.
Typographical Conventions This document uses the following conventions: audit (5) An HP-UX manpage. In this example, audit is the name and 5 is the section in the HP-UX Reference. On the web and on the Instant Information DVD, it may be a hot link to the manpage itself. From the HP-UX command line, you can enter “man audit” or “man 5 audit” to view the manpage. See man (1). Book Title The title of a book. On the web and on the Instant Information DVD, it may be a hot link to the book itself.
HP-UX Release Name and Release Identifier Each HP-UX 11i release has an associated release name and release identifier. The uname (1) command with the -r option returns the release identifier. Table 2 lists the releases available for HP-UX 11i. Table 2 18 HP-UX 11i Releases Release Identifier Release Name Supported Processor Architecture B.11.11 HP-UX 11i v1 PA-RISC B.11.20 HP-UX 11i v1.5 Intel Itanium B.11.22 HP-UX 11i v1.6 Intel Itanium B.11.
Related Documents This section discusses documentation for and other sources of information about HP-UX 11i v2. HP-UX 11i v2 Resources The following sources provide detailed information about HP-UX 11i v2: • HP-UX 11i v2 Instant Information DVD The Instant Information DVD provides HP-UX documentation supporting the release.
• README (Read Before Installing) Documents README documents or Read Before Installing (RBI) media booklets contain information about the installation process that may not appear in this HP-UX 11i Version 2 Installation and Update Guide. Any product contained in the release may have a README document, so several README documents may be included. The Read Before Installing or Updating to HP-UX 11i Version 2 booklet is included with your media kit.
• Patch Text Files Patch text files for all patches are on the DVD in the /dvd_mount_point/DOCS/PATCH/TEXT_FILES directory. These files provide detailed information about the patch. Patch text files are also included with individual patches that you retrieve from HP. You can print or view these directly from the DVD, for example: more \ /dvd_mount_point/DOCS/PATCH/TEXT_FILES/PHSS_xxxxx.
Third-Party Resources You can find additional information about HP-UX 11i v2 from sources in Disk and File Management Tasks on HP-UX — Prentice-Hall Hewlett-Packard Professional Books, 1997. Other HP Web Resources The following Web sites provide a variety of information regarding the HP-UX 11i v2 release: • HP Integrity Servers: http://www.hp.com/products1/servers/integrity • HP Workstations and HP 9000 Servers: — For workstations: http://www.hp.com/workstations/ — For servers: http://www.hp.
• After installation of HP-UX 11iv2, all HP-specific documentation is included in the HP Apache-based Web Server software: http://yourserver.com/hp_apache_docs Or you can find it in the /opt/apache/hp_apache_docs/ directory. The latest information for the HP Apache-based Web Server is at the following web site: http://www.hp.com/go/webserver • HP Technical Documentation feedback form: http://docs.hp.com/assistance/feedback.
• HP-UX Software Transition Kit: http://devresource.hp.com/STK • High-availability products: http://docs.hp.com/hpux/ha • Instant Support Enterprise Edition: http://docs.hp.com • Ignite-UX information and download: http://software.hp.com/products/IUX • Latest hardware support tools (diagnostics) information, including STM and EMS Hardware Monitors: http://docs.hp.com/hpux/diag • International information: http://www.hp.com Select a country or region if you are not automatically directed.
• System administration for HP-UX systems: http://docs.hp.com/hpux/os/11iv2 http://forums.itrc.hp.com • System firmware: http://docs.hp.com/hpux/hw/index.
HP Encourages Your Comments HP encourages your comments concerning this document. We are truly committed to providing documentation that meets your needs. Please send comments to: http://docs.hp.com/assistance/feedback.html Please include document title, manufacturing part number, and any comment, error found, or suggestion for improvement you have concerning this document. Also, please include what we did right so we can incorporate it into other documents.
1 Welcome to HP-UX 11i Version 2 HP-UX 11i Version 2, for both the PA-RISC and Intel Itanium architectures, offers a full range of HP-UX Operating Environments (OEs), including systems management and high-availability software products. This chapter introduces you to the media kit contents and Operating Environments of HP-UX 11i Version 2 (B.11.23). The HP-UX 11i v2 OEs are integrated and tested software solutions containing the operating system and selected applications.
Welcome to HP-UX 11i Version 2 Media Kit Contents Media Kit Contents This guide is part of the HP-UX 11i v2 media kit, which includes the following DVDs and documents: • HP-UX 11i v2 (B.11.23) DVD — Contains the HP-UX Operating System (OS), Operating Environments (OEs), required networking software, Update-UX, Ignite-UX, standard HP-UX patch bundles, and online diagnostics. • HP-UX 11i v2 (B.11.23) Applications DVD — Contains HP-UX application software.
Welcome to HP-UX 11i Version 2 Media Kit Contents NOTE If you plan to read the HP-UX 11i v2 DVDs on an HP-UX 11i v1 system, or to cold-install HP-UX 11i v2 from a depot on an HP-UX 11i v1 system, then you need to install the PHKL_28025 patch. The PHKL_28025 patch is in the GOLDBASE11i bundle as of June 2003, which you can find on the Support Plus media for HP-UX 11i v1 or at the IT Resource Center Web site: http://itrc.hp.com The PHKL_28025 patch supersedes PHKL_25760.
Welcome to HP-UX 11i Version 2 HP-UX 11i v2 Operating Environments HP-UX 11i v2 Operating Environments Operating Environments (OEs) are tested and integrated application bundles designed to work with the operating system and provide the functionality needed for your system’s purpose. The following OEs are included on the HP-UX 11i v2 (B.11.
Welcome to HP-UX 11i Version 2 HP-UX 11i v2 Operating Environments Table 1-1 details the supported Operating Environments for HP servers and workstations: Table 1-1 Supported Operating Environments HP Commercial Servers HP Workstations Chapter 1 FOE EOE MCOE X X X MTOE TCOE X X X 31
Welcome to HP-UX 11i Version 2 The Next Step The Next Step Continue with Chapter 2, “System Requirements for Cold-Installing and Updating,” on page 33.
2 System Requirements for Cold-Installing and Updating This chapter helps you assess the current state of your system prior to cold-installing or updating to HP-UX 11i v2.
System Requirements for Cold-Installing and Updating System Requirements System Requirements To cold-install or update HP-UX 11i v2, you must have the following: NOTE 34 • A supported system.
System Requirements for Cold-Installing and Updating How to Plan Your Disk Space Needs How to Plan Your Disk Space Needs This section provides hints and information to help you determine your disk needs for HP-UX 11i v2. If you need more disk space, be sure to order the equipment and plan on installing it after backing up your current system. • Record the hardware path to the DVD drive.
System Requirements for Cold-Installing and Updating How to Plan Your Disk Space Needs Disk Space Requirements for a Cold-Install Table 2-1 lists the amount of disk space allocated for the indicated partitions during a default cold-install for each Operating Environment. (The percentage used in each partition is in parentheses.
System Requirements for Cold-Installing and Updating How to Plan Your Disk Space Needs Disk Space Requirements for an Update To ensure a successful update to HP-UX 11i v2, make sure that you have at least as much disk space allocated to the file partitions listed in Table 2-1 on page 36, and that each partition (most importantly, /usr,/opt, and /var) has at least 10-20 percent free space to allow for any growth. Additionally, make sure that you have at least 1 GB allocated for /swap.
System Requirements for Cold-Installing and Updating Supported Servers and Workstations Supported Servers and Workstations This HP-UX 11i v2 (B.11.23) release supports only a 64-bit version of the HP-UX kernel.
System Requirements for Cold-Installing and Updating Unsupported Servers and Workstations Unsupported Servers and Workstations This release of HP-UX 11i v2 does not support the following HP Integrity Servers, HP 9000 Servers, and HP 9000 Workstations: Itanium-1 based Systems • HP Integrity rx4610 server • HP Integrity rx9610 server • HP Integrity i2000 workstation PA-RISC Servers • All 32-bit servers (including 32-bit A-Class servers A180 and A180C) • All D-Class servers • All R-Class servers •
System Requirements for Cold-Installing and Updating Supported Network Drivers, Mass Storage Drivers, and SCSI Devices Supported Network Drivers, Mass Storage Drivers, and SCSI Devices For a complete list of supported network drivers, mass storage drivers, and SCSI devices, refer to the HP-UX 11i Version 2 Release Notes at the HP Technical Documentation Web site: http://docs.hp.com/hpux/os/11iv2/index.
System Requirements for Cold-Installing and Updating Supported Firmware Supported Firmware Firmware changes frequently. Make sure your system has the latest firmware installed to support, for example, the latest versions of I/O adapters, mass storage devices, and devices used when you install from media or a network depot. • For the latest HP-UX 11.x firmware updates, go to the IT Resource Center Web (ITRC) site: http://itrc.hp.com Log in to your appropriate region.
System Requirements for Cold-Installing and Updating Identification of Model, OS/OE, and Software Identification of Model, OS/OE, and Software Before you cold-install or update to HP-UX 11i v2, you need to identify the model of your system and other information. Identifying the Model To determine the model number of your system, enter: model To verify that HP-UX 11i v2 is supported on your system, see “Supported Servers and Workstations” on page 38.
System Requirements for Cold-Installing and Updating Identification of Model, OS/OE, and Software Identifying Installed Software To identify the software products on a system or media, use swlist.
System Requirements for Cold-Installing and Updating The Next Step The Next Step Continue with Chapter 3, “Choosing an Installation Method,” on page 45.
3 Choosing an Installation Method This chapter provides information and scenarios to help you choose the most appropriate method to install HP-UX 11i v2 on your system.
Choosing an Installation Method Supported Cold-Install Paths to HP-UX 11i v2 Supported Cold-Install Paths to HP-UX 11i v2 Cold-install is supported on HP PA-RISC Servers and Itanium-based Servers and Workstations. You can cold-install HP-UX 11i v2 and its accompanying Operating Environment on any supported system listed in “Supported Servers and Workstations” on page 38. You can cold-install from many HP-UX 11i v1.0 (B.11.11) and HP-UX 11i v1.6 (B.11.22) systems and all HP-UX 11i v2 (B.11.23) systems.
Choosing an Installation Method Supported Update Paths to HP-UX 11i v2 Supported Update Paths to HP-UX 11i v2 Update is supported on HP PA-RISC Servers and Itanium-based Servers and Workstations. Update is not supported on HP 9000 PA-RISC Workstations. You can update to HP-UX 11i v2 from the following releases: • HP-UX 11i version 1.0 (B.11.11) • HP-UX 11i version 1.6 (B.11.22) • HP-UX 11i version 2.0 (B.11.23) Updating from any other release directly to HP-UX 11i v2 is not supported.
Choosing an Installation Method Supported Update Paths to HP-UX 11i v2 Updating from HP-UX 11i Version 1.0 (B.11.11) Table 3-1 lists the supported update paths from HP-UX 11i v1.0 to HP-UX 11i v2. NOTE There is no supported update path on HP 9000 PA-RISC Workstations. Table 3-1 Supported Update Paths from HP-UX 11i v1.0 to HP-UX 11i v2 HP-UX 11i version 1.
Choosing an Installation Method Supported Update Paths to HP-UX 11i v2 Updating from HP-UX 11i Version 1.6 (B.11.22) Table 3-2 lists the supported update paths from HP-UX 11i v1.6 to HP-UX 11i v2. NOTE To update from HP-UX 11i v1.6 Foundation OE to a premium OE you must update to the HP-UX 11i v2 Foundation OE first and then update to the desired premium OE. Table 3-2 Supported Update Paths from HP-UX 11i v1.6 to HP-UX 11i v2 HP-UX 11i version 1.
Choosing an Installation Method Supported Update Paths to HP-UX 11i v2 Updating from HP-UX 11i Version 2 (B.11.23) Table 3-3 lists the supported update paths from HP-UX 11i v2.0 to the latest release of HP-UX 11i v2.
Choosing an Installation Method Deciding Which Method to Use Deciding Which Method to Use Now that you have evaluated your system and ordered any needed hardware, you need to decide whether to cold-install or update to HP-UX 11i v2 on your system.
Choosing an Installation Method Deciding Which Method to Use • An update from HP-UX 11i v2 to HP-UX 11i v2 TCOE on an rx2600 may take one hour to complete. When to Cold-Install CAUTION The cold-install process erases software on the root volume before installing HP-UX 11i v2. If you want to retain any existing software, make sure to back up that software before migrating or use update. Cold-installing using Ignite-UX overwrites everything on the target disk.
Choosing an Installation Method Deciding Which Method to Use See Chapter 4, “Preparing to Install or Update to HP-UX 11i v2,” on page 71 for more information about preparing your system for cold-install and then read the cold-install process using Ignite-UX in Chapter 5, “Cold-Installing HP-UX 11i v2,” on page 87. When to Update You can update rather than cold-install HP-UX 11i v2 when: NOTE • You are updating from a supported HP-UX 11i v1.0, HP-UX 11i v1.6, and HP-UX 11i v2 system.
Choosing an Installation Method Deciding Which Method to Use Additional Cold-Install Considerations The following sections provide additional information to assist you in deciding whether to cold-install HP-UX 11i v2. HP Service Partition (Itanium-based Systems Only) During cold-install or recovery on Itanium-based systems only, Ignite-UX changes the boot disk partition layout to create a new HP Service Partition (HPSP).
Choosing an Installation Method Deciding Which Method to Use Alternative Cold-Install Methods Instead of cold-installing HP-UX 11i v2 as described in this guide, you can cold-install your system using the following methods: • Install from Software Depots Use Software Distributor commands to create depots containing OS, OE, and other software bundles, then install from the depot using Ignite-UX.
Choosing an Installation Method Deciding Which Method to Use Additional Update Considerations The following sections provide additional information to assist you in deciding whether to update to HP-UX 11i v2. Requirement for Updating from HP-UX 11i v1.6 (B.11.22) If you are updating from HP-UX 11i v1.6, you must install the August 2004 version of BUNDLE11i (revision tag, B.11.22.0408.1) for HP-UX 11i v1.6 on your system prior to updating to the HP-UX 11i v2 September 2004 or later release.
Choosing an Installation Method Deciding Which Method to Use HP Service Partition Is Not Created During Update (Itanium-based Systems Only) NOTE This section only applies to Itanium-based systems. For PA-RISC systems proceed to “Security Considerations” on page 60. The HP Service Partition (HPSP) is not created or modified when you update from a supported update path. (See “Supported Update Paths to HP-UX 11i v2” on page 47.) OnlineDiag will continue to work properly.
Choosing an Installation Method Deciding Which Method to Use Determining Whether You Have an HP Service Partition To determine whether an HP Service partition exists on your system, enter the following command on your physical disk volume (here named /dev/rdsk/c2t1d0): idisk -p /dev/rdsk/c2t1d0 Example 3-1 shows that you need to create the HP Service Partition after updating to HP-UX 11i v2. Example 3-1 idisk Output from Disk Without HP Service Partition idisk version: 1.
Choosing an Installation Method Deciding Which Method to Use Update-UX Contains a Default-Installed Selection File The Update-UX product includes a default selections file, update-ux.selections, which is installed in /usr/lib/sw. This file provides a list of bundles that are selected for install during an OS update. Update-UX provides support for the -f selection_file option on the update-ux command line.
Choosing an Installation Method Security Considerations Security Considerations HP-UX Bastille (B6849AA) is included as default-installed software on the Operating Environment media and can be installed with Ignite-UX or Update-UX. HP-UX Bastille is a security hardening and lockdown tool that can be used to enhance security of the HP-UX operating system. It provides customized lockdown on a system-by-system basis by encoding functionality similar to Bastion Host and other hardening and lockdown checklists.
Choosing an Installation Method Security Considerations Predefined Configuration Bundles At cold-install- or update-time, you can choose one of the security configuration bundles listed in Table 3-4, with each bundle providing incrementally higher security. Table 3-4 Bundle Name Predefined Security Configuration Bundles Configuration File Name1 Description Sec00Tools2 Not applicable The install-time security infrastructure; no security changes Sec10Host3 HOST.
Choosing an Installation Method Security Considerations Security Choice Dependencies The Sec00Tools security infrastructure bundle is default-installed on your system. Although this bundle does not implement any security changes at cold-install- or update-time, it does ensure that the required software (Figure 3-1) is installed. By installing Sec00Tools, you can run HP-UX Bastille at a later time to lock down your system.
Choosing an Installation Method Security Considerations Secured Services and Protocols Each security configuration bundle provides incrementally higher security by locking down various protocols and services. HP-UX Bastille uses a series of questions to determine which services and protocols to secure. Using one of the Security Configuration bundles applies a default security profile, simplifying the lockdown process.
Choosing an Installation Method Security Considerations Table 3-5 Host-based Sec10Host Install-time Security Settings1 Category 64 Actions Logins and Passwords Deny login unless home directory exists Deny non-root logins if /etc/nologin file exists Set a default path for su command Disable root logins from network tty Hide encrypted passwords Disallow ftpd system account logins Disable remote X logins File System, Network, and Kernel Modify ndd settings 2,3 Restrict remote access to swlist Set defau
Choosing an Installation Method Security Considerations Table 3-5 Host-based Sec10Host Install-time Security Settings1 (Continued) Category Other Settings Actions Deactivate HP Apache 2.x Web Server4 Set up cron job to Security Patch Check2 1. Security settings listed here also apply to Sec20MngDMZ and Sec30DMZ 2. Manual action may be required to complete configuration. Refer to /etc/opt/sec_mgmt/bastille/TODO.txt for more information, after install or update. 3.
Choosing an Installation Method Security Considerations Table 3-7 Additional Sec30DMZ Install-time Security Settings1 Category Includes all IPFilter settings in Table 2-4 and: IPFilter Configuration Actions 2 Block incoming HIDS agent connections3,4 Block incoming WBEM connections5 Block incoming web admin connections Block incoming web admin autostart connections Block all traffic except HP-UX Secure Shell Table 3-5 and Table 3-6 2.
Choosing an Installation Method Standard HP-UX Bundle Considerations Standard HP-UX Bundle Considerations Standard HP-UX bundles supply diagnostics and patches for HP-UX core files, applications, and diagnostic products. These bundles enable new hardware, fix known defects, and provide diagnostics tools. In some cases, a patch may deliver new software functionality. All bundle software is cumulative and replaces completely any previous bundle release for the same operating system (OS) release.
Choosing an Installation Method Online Diagnostics Online Diagnostics HP-UX 11i v2 automatically installs diagnostics on all systems to provide required hardware support. These tools, contained in the OnlineDiag bundle, give you a complete solution to verify, troubleshoot, and monitor Itanium-based system hardware, including CPUs, memory, interface cards, and mass storage and other devices.
Choosing an Installation Method Offline Diagnostics Offline Diagnostics Offline Diagnostics (ODE) are on the HP Itanium-Processor Family Offline Diagnostics and Utilities CD. The CD is delivered with the hardware and is non-OS dependent (not delivered with the HP-UX 11i v2 media kit). HP highly recommends that you get the latest CD and update the Offline Diagnostics for improved functionality.
Choosing an Installation Method The Next Step The Next Step After deciding which method to use to install HP-UX 11i v2, you can start preparing your system for either cold-install or update. Proceed to Chapter 4, “Preparing to Install or Update to HP-UX 11i v2,” on page 71. IMPORTANT 70 Make sure you review the Read Before Installing or Updating to HP-UX 11i v2 DVD booklet for situations not discussed in Chapter 3, “Choosing an Installation Method,” on page 45 that may apply to your system.
4 Preparing to Install or Update to HP-UX 11i v2 This chapter details the preparation tasks required to cold-install or update to HP-UX 11i v2. What You Will Find in This Chapter • “Cold-Install Tasks” on page 72 • “Update Tasks” on page 78 • “Backing Up Your System” on page 80 • “Locating Source Media and Codewords” on page 83 • “The Next Step” on page 85 Time Estimate for This Chapter: Approximately 2 hours to gather the information needed and perform the prescribed tasks.
Preparing to Install or Update to HP-UX 11i v2 Cold-Install Tasks Cold-Install Tasks Prior to cold-installing HP-UX 11i v2, perform these tasks: • Select an HP-UX Console (Itanium-based systems only), if appropriate. • Back up any configuration files you want to reinstall. • Back up your system using any supported HP-UX backup software. • If you intend to cold-install HP-UX 11i v2 on more than one system, update your Ignite-UX server. • Locate source media and codewords.
Preparing to Install or Update to HP-UX 11i v2 Cold-Install Tasks Do not select more than one console device. HP-UX 11i v2 recognizes only one device at a time. Choosing more than one device can result in the appearance of system hang. 1. Decide what console you want to use. Depending on your system configuration, HP-UX can use one of the following devices as your system console: • System Serial Port • Management Processor (MP) Serial Port (if present) • VGA device (if present) 2.
Preparing to Install or Update to HP-UX 11i v2 Cold-Install Tasks Understanding Interface Differences Between Itanium-based Systems NOTE This section does not apply to PA-RISC systems. If you are cold-installing on a PA-RISC system, proceed to “Backing Up Your System” on page 80. Each Itanium-based system has a similar interface with minor differences. You can navigate these menus with the arrow keys or “v” and “^” keys, and use the Enter or spacebar key to select and deselect devices.
Preparing to Install or Update to HP-UX 11i v2 Cold-Install Tasks Selecting a Console on the HP Integrity rx2600, rx5670, and zx6000 Systems On the HP Integrity rx2600, HP Integrity rx5670, and zx6000 systems, an entry in the output device menu that has a Uart section and a Pci section is the serial port on a Management Processor (MP). To use the MP as your console device, select one of the MP serial device entries and deselect everything else. 1. Select Select Active Console Input Devices. 2.
Preparing to Install or Update to HP-UX 11i v2 Cold-Install Tasks Task 2: Backing Up Your Configuration Files If you plan to cold-install HP-UX 11i v2 on a system that already has HP-UX installed, make sure to save the files that you want to re-install, such as: • Configuration files in /etc • The contents of /usr/local • Any local home directories (that is, those you do not import from another system) • Any configuration files located in the /etc/opt directories for installed software If multiple
Preparing to Install or Update to HP-UX 11i v2 Cold-Install Tasks Task 3: Backing Up Your System Back up your system before performing a cold-install, and again after the cold-install is complete. If a problem occurs, you can easily restore the system to its original state. See “Backing Up Your System” on page 80 for more information. Task 4: Updating Your Ignite-UX Server If you intend to cold-install HP-UX 11i v2 on more than one system, update your Ignite-UX server.
Preparing to Install or Update to HP-UX 11i v2 Update Tasks Update Tasks Prior to updating to HP-UX 11i v2, perform these tasks: • Identify all software products and bundles on your system. • Rebuild the HP-UX kernel. • Rename your log files to make it easier to find problems encountered during an update. • Back up your system using any supported HP-UX backup software. • Locate source media and codewords.
Preparing to Install or Update to HP-UX 11i v2 Update Tasks Task 3: Renaming Your Log Files To make it easier to look for problems encountered during an update, rename the log files before starting an update: 1. cd /var/adm/sw 2. As root, rename each log file. For example: mv swagent.log swagent_old.log Task 4: Backing Up Your System Back up your system before performing an update, and again after the update is complete. If a problem occurs, you can easily restore the system to its original state.
Preparing to Install or Update to HP-UX 11i v2 Backing Up Your System Backing Up Your System Back up your system before performing a cold-install or update, and again after the cold-install or update. If a problem occurs, you can easily restore the system to its original state. This section offers several alternatives for performing system backups: fbackup and frecover, and make_net_recovery and make_tape_recovery.
Preparing to Install or Update to HP-UX 11i v2 Backing Up Your System Using make_net_recovery The Ignite-UX server has the make_net_recovery command to create a system recovery archive on another system on the network. The archive created by make_net_recovery is specific to the system it was created for and its identity includes host name, IP_address, networking information, and so on. In the event of root disk failure, you use the Ignite-UX server to restore the system by installing the recovery archive.
Preparing to Install or Update to HP-UX 11i v2 Backing Up Your System other existing volume groups are imported and mounted automatically. Data that is not in the root volume group must be backed up and recovered using normal backup utilities. For more information on using make_tape_recovery, refer to the make_tape_recovery (1M) manpage on an Ignite-UX server or the Ignite-UX Administration Guide.
Preparing to Install or Update to HP-UX 11i v2 Locating Source Media and Codewords Locating Source Media and Codewords Now that you have backed up your system and important data files, you need to locate the source media needed for the cold-install or update: • If you are cold-installing or updating one system at a time — Cold-install or update directly from the DVDs in the HP-UX 11i v2 media kit: — HP-UX 11i v2 DVD — Boot and install a new system.
Preparing to Install or Update to HP-UX 11i v2 Locating Source Media and Codewords You can obtain a codeword for a purchased product by contacting one of the HP licensing services in Table 4-1: Table 4-1 Location Asia HP Licensing Services Telephone 0120.42.1231 (Inside Japan) Email sw_codeword@hp.com 0426.48.9310 (Inside Japan) +81.426.48.9312 (Outside Japan) NOTE Europe +33 (0)4.76.14.15.29 codeword_europe@hp.com North America (800) 538-1733 hplicense@mayfield.hp.
Preparing to Install or Update to HP-UX 11i v2 The Next Step The Next Step You are now ready to cold-install or update to HP-UX 11i v2. Chapter 4 • To cold-install: see Chapter 5, “Cold-Installing HP-UX 11i v2,” on page 87. • To update: see Chapter 6, “Updating to HP-UX 11i v2,” on page 103.
Preparing to Install or Update to HP-UX 11i v2 The Next Step 86 Chapter 4
5 Cold-Installing HP-UX 11i v2 This chapter describes cold-installing HP-UX 11i v2.
Cold-Installing HP-UX 11i v2 Before You Begin Before You Begin Before you cold-install HP-UX 11i v2, make sure that: 88 • You are installing from a supported migration path. See “Supported Cold-Install Paths to HP-UX 11i v2” on page 46. • You understand all of the considerations provided in Chapter 3, particularly “Additional Cold-Install Considerations” on page 54. • Your system meets the system requirements to install and operate HP-UX 11i v2.
Cold-Installing HP-UX 11i v2 Reviewing the Cold-Install Process Reviewing the Cold-Install Process Figure 5-1 on page 90 shows the overall process, along with alternative methods of cold-installing HP-UX 11i v2. Alternative methods of cold-installing include the following: NOTE Chapter 5 • Installing from network depots — Use Software Distributor commands to create depots containing OS, OE, and other software bundles, then install from the depot using Ignite-UX.
Cold-Installing HP-UX 11i v2 Reviewing the Cold-Install Process Figure 5-1 Cold-installing HP-UX 11i v2 Determine install approach If Factory Integrated From Media Install 11i v2 OS/OE using Ignite-UX From Depots 1 Create two install depots: • OE depot: OS/OE • AR depot: Applications From Golden2 Image Create Install Golden Image using Ignite-UX Server Install non-OE applications using swinstall Install from OE depot using Ignite-UX with config files for both depots Using tools from ITRC, identify and
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 This section describes cold-installing from the HP-UX 11i v2 DVDs, including the operating system, a selected Operating Environment (OE) bundle, network drivers, CDE language bundle, and diagnostics. Before you begin, review Appendix B, “Known Problems and Troubleshooting,” on page 155 for any installation issues that apply to your system.
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 Task 1: Booting Your Machine This task describes how to boot your system from the install media. If you want to boot an Itanium-based system, follow the instructions in “Booting Your Itanium-based System” on page 92. If you want to boot a PA-RISC system, follow the instructions in “Booting Your PA-RISC System” on page 93. Booting Your Itanium-based System Step 1.
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 Booting Your PA-RISC System Step 1. Make sure any external devices connected to the target system are turned on and operational. Step 2. Insert the HP-UX 11i v2 DVD into the drive. Step 3. Stop the autoboot by pressing any key. The boot console menu is displayed. If you need help, enter: HELP Step 4. Ensure that Fast Boot is enabled. 1. Select the Configuration Menu: CO 2. If the Fast Boot selection is available, switch Fast Boot ON: FB ON 3.
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 Task 2: Selecting Your Installation Type The system displays the Ignite-UX welcome screen for the HP-UX installation process. When the initial Ignite-UX welcome screen appears, read how to navigate and select choices on this terminal interface: • Use the Tab key to navigate between fields and the arrow keys to navigate within fields. • Use the Return/Enter key to select an item. Pressing Return/Enter or the spacebar opens a menu list.
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 Step 2. From the Ignite-UX Welcome screen, select Install HP-UX to begin interacting with the Ignite-UX (cold-install) program and then press Enter. The system displays the User Interface and Media Options window. Step 3. From the User Interface and Media Options window, choose the degree of customizing needed to configure the installation. Mark your choices and select OK.
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 Task 3: Configuring Your Installation At this point, the system displays the Install HP-UX Wizard screen for the HP-UX installation process. You are now at the first step of the Install HP-UX Wizard. This section describes how to configure your installation using the Guided Installation process. Step 1. From the Install HP-UX Wizard screen, select an overall system configuration. Press Enter t to accept the default option, HP-UX B.11.23 Default.
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 NOTE If you select VxVM, the root disk can not be moved to another SCSI bus or address that results in a change in the hardware path to the device. If it is moved, you may not be able to boot safely from it. This is similar to the limitation present in LVM. Step 6. On the Root Group screen, specify how many disks you want placed into the root disk volume group. If you have more than one disk, select Yes to choose the Striping option. Step 7.
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 Step 11. On the System Summary screen, use the Show Summary button to view a summary of how your system will be configured. If you see any problems, or want to change any of your selections, back up to the appropriate step, and make the needed changes. Otherwise, select Finish (at the bottom of the tabs). You can Cancel at this time. If you cancel, you can start again.
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 Task 4: Finishing Your Installation Finishing the Guided Installation process begins with filesets being copied from the media to the hard disk. The system automatically reboots during the installation process.
Cold-Installing HP-UX 11i v2 Retrieving Information After Cold-installing Retrieving Information After Cold-installing After completing the cold-install, you can retrieve the information you had previously saved onto another system. Create a New Root Home Directory Consider creating a root home directory that is not /. Doing this keeps the user root dot files out of the / directory. Make sure it is on the root volume by calling it something like /homeroot.
Cold-Installing HP-UX 11i v2 Retrieving Information After Cold-installing Restore /home If you had a local home directory, you can restore it as follows: • For instance, if you copied it to /backup/system1/home, enter these commands: cd /backup/system1/home find -depth | cpio -pdm /system1/home • If you backed it up to tape with fbackup, enter: frecover -x -i /system1/home -v Restore Other Files Carefully use the same techniques to restore other files and directories, such as /usr, /local, and /opt.
Cold-Installing HP-UX 11i v2 The Next Step The Next Step Continue with Chapter 7, “Installing HP Applications and Patches,” on page 133.
6 Updating to HP-UX 11i v2 This chapter describes updating your system to HP-UX 11i v2 using the update-ux command.
Updating to HP-UX 11i v2 Before You Begin Before You Begin Before you update to HP-UX 11i v2, make sure that: 104 • You are updating from a supported migration path. See “Supported Update Paths to HP-UX 11i v2” on page 47. • You understand all of the considerations provided in Chapter 3, particularly “Additional Update Considerations” on page 56. • Your system meets the system requirements to update and operate HP-UX 11i v2.
Updating to HP-UX 11i v2 Before You Begin CAUTION Requirement for Updating from HP-UX 11i v 1.6 (B.11.22) If you are updating from HP-UX 11i v 1.6 (B.11.22), you must install the August 2004 version of BUNDLE11i (revision tag, B.11.22.0408.1) for HP-UX 11i v1.6 on your system prior to updating to the HP-UX 11i v2 September 2004 or later release. If the August 2004 version of BUNDLE11i is not installed on your system prior to update, the update script will not execute and you will get a mk_kernel error.
Updating to HP-UX 11i v2 Reviewing the Update Process Reviewing the Update Process This section describes updating to HP-UX 11i v2 using the update-ux command and Software Distributor (SD) tools to selectively overwrite the operating system and application software from a media or network source depot. Figure 6-1 on page 107 shows the overall update process.
Updating to HP-UX 11i v2 Reviewing the Update Process Figure 6-1 Updating to HP-UX 11i v2 Create archive/recovery image Determine update approach update depots Required! Install latest update-ux You can still opt to cold-install Determine source media Update OS/OE from 11i v2 OE media using update-ux Cold-Install from media, depots or golden image (Chapter 5) Update non-OE applications from Application media using swinstall Create one or more depot(s) Update HP-UX 11i v2 from depot containing O
Updating to HP-UX 11i v2 Updating Tips Updating Tips Table 6-1 suggests some tips and recommendations to be aware of during an update process: Table 6-1 Updating Tips Topic Monitoring the Update Process Tip If you want to view the update process in detail, open another terminal window and drag it aside so you can also watch for any messages on the window running update-ux. Then, use the tail command to view swinstall messages being logged: tail -f /var/adm/sw/swagent.
Updating to HP-UX 11i v2 Updating Tips Table 6-1 Topic In Case of Trouble Updating Tips (Continued) Tip The update-ux command returns an error value when it is not successful: 1 - Error during execution; update aborted. 2 - Update aborted via user action (-n or keyboard press) Messages are recorded in /var/adm/sw/swagent.log, /var/adm/sw/swinstall.log, and /var/adm/sw/update-ux.log. When updating Ignite-UX, also look at its log in /var/adm/sw/.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 Updating your system using update-ux includes the following tasks: 1. Create a network depot so you can update other systems on the network. See “Task 1: Creating a Network Depot (Optional)” on page 111. If you are not creating a network depot, you can skip this task. 2. Install the latest version of the update-ux command on your system. See “Task 2: Installing the Latest Update-UX Bundle (Required)” on page 112. 3.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 Task 1: Creating a Network Depot (Optional) If you want to update other systems on the network then you must first create a network depot before you update your system and other systems. NOTE This optional step pertains to creating a network depot so you can update other systems on the network. If you already have a network depot, go to “Task 2: Installing the Latest Update-UX Bundle (Required)” on page 112.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 Step 7. Copy all products on the mounted DVD to the target depot, for example to /update/update-depot: swcopy -s /dvdrom \* @ /update/update-depot Step 8. Unmount the DVD from its directory: umount /dvdrom The network depot is now ready to update your system to HP-UX 11i v2. Continue with “Task 2: Installing the Latest Update-UX Bundle (Required)” on page 112.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 This procedure walks you through the installation of the latest version of the Update-UX bundle, which includes the update-ux command, from the DVD media. Step 1. Find the DVD-ROM device file name: ioscan -C disk -f -n | more A device name associated with your DVD device should be displayed. For example: /dev/dsk/c1t2d0 Step 2. Create the directory under root(/). For example: mkdir /dvdrom Step 3. Mount the DVD onto the new directory as a file system.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 Task 3: Using update-ux (Required) After you have installed the Update-UX bundle on the target system and, optionally, created an update depot containing all software to be installed, you can now proceed to update your target system.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 -x option=value Specifies swinstall options to be applied during the update. For a typical update, no swinstall options are required. swinstall -p (preview) is not supported. For information on swinstall options, refer to the swinstall (1M) manpage or the Software Distributor Administration Guide. sw_spec Specifies one or more optional software bundles to be updated, such as an Operating Environment (OE) bundle name, a network-driver bundle, or Ignite-UX.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 Examples: Using update-ux to Update Your System Your system configuration and your planning determine how you use update-ux. This section provides some scenarios and examples of how you might use update-ux to update your system: 116 • “Updating to HP-UX 11i v2 OS (OE Installed)” on page 117 explains how to update to HP-UX 11i v2 with an Operating Environment.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 Recommended Update Updating to HP-UX 11i v2 OS (OE Installed) To update to HP-UX 11i v2 and include an HP-UX 11i v2 Operating Environment, you need to specify the OE bundle name in the update-ux command.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 OS (No OE Installed) IMPORTANT If you already have an Operating Environment installed on your system, you cannot use this scenario. Instead, use “Updating to HP-UX 11i v2 OS (OE Installed)” on page 117. Attempting this scenario when you already have an Operating Environment installed will cause update-ux to fail.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 IMPORTANT Upgrading to a higher level OE is supported only if you are updating from a lower level HP-UX 11i v2 Operating Environment. You cannot update, for example, from an HP-UX 11i v1.6 Foundation OE to HP-UX 11i v2 Enterprise OE. You cannot downgrade from a higher level OE to a lower level OE. Updating from a Network Depot To update from a network depot on a remote system named netdepot, include the path to the depot in the update-ux command.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 IMPORTANT swinstall’s interactive user interface does not provide for selecting mutually exclusive selectable software bundles. As a result, if you select more than one HP-UX Bastille security configuration bundle from the Security Choices section of the Select Additional Software screen (for example, Sec20MngDMZ and Sec30DMZ), HP-UX Bastille applies the highest security configuration selected.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 Step 2. Complete any configuration for HP software explained in the HP-UX 11i v2 Release Notes available on the Instant Information DVD and at http://docs.hp.com/hpux/os/11iv2 In this example, to complete the HP-UX Bastille installation, refer to the security chapter in Managing Systems and Workgroups: A Guide for HP-UX System Administrators.
Updating to HP-UX 11i v2 Post-Update Tasks Post-Update Tasks After updating to HP-UX 11i v2, you might need to perform these additional tasks to make your system fully functional: 1. “Task 1: Configuring OE Applications” on page 122. 2. “Task 2: Creating an HP Service Partition (Itanium-based Systems Only)” on page 123. Task 1: Configuring OE Applications After updating to an HP-UX 11i v2 Operating Environment (OE), some OE products need post-installation configuration to make them functional.
Updating to HP-UX 11i v2 Post-Update Tasks Task 2: Creating an HP Service Partition (Itanium-based Systems Only) NOTE This section only applies to Itanium-based systems for Offline Diagnostics. If you are updating from a PA-RISC system proceed to Chapter 7, “Installing HP Applications and Patches,” on page 133. Update-UX does not create or modify the HP Service Partition required by some HP Offline Diagnostics tools.
Updating to HP-UX 11i v2 Post-Update Tasks Output similar to the following is displayed: # vxprint -d Disk group: rootdg TY NAME ASSOC KSTATE LENGTH PLOFFS dm rootdisk01 c0t0d0s2 - 34640800 - STATE TUTIL0 PUTIL0 - - - Step 2. Run the idisk command on the boot disk. For example, on LVM enter: # idisk -p /dev/rdsk/c2t1d0 Example 6-1 on page 125 shows idisk output without an HP Service Partition installed; Example 6-2 on page 126 shows idisk output with an HP Service Partition installed.
Updating to HP-UX 11i v2 Post-Update Tasks Example 6-1 idisk Output Showing No HP Service Partition Installed idisk version: 1.
Updating to HP-UX 11i v2 Post-Update Tasks Example 6-2 idisk Output Showing HP Service Partition Installed idisk version: 1.
Updating to HP-UX 11i v2 Post-Update Tasks In Example 6-1 on page 125, only two partitions are displayed in the Primary Partition Table list: Partition 1 (EFI) and Partition 2 (HP-UX). If the HP Service Partition were already configured, the Primary Partition Table shows a third partition listed as HPSP such as in Example 6-2 on page 126. If you already have an HP Service Partition, skip the rest of this section and continue with Chapter 7, “Installing HP Applications and Patches,” on page 133.
Updating to HP-UX 11i v2 Post-Update Tasks Creating an HP Service Partition Step 1. Determine which recovery method to use: make_tape_recovery or make_net_recovery. IMPORTANT • make_tape_recovery generally provides faster recovery and restore performance than make_net_recovery. However HP Integrity Servers do not support direct boot from tape devices. Consequently, you need to perform a two-step media recovery process.
Updating to HP-UX 11i v2 Post-Update Tasks Step 3. Reboot your system. If you created a system archive using the make_tape_recovery command, insert your HP-UX 11i v2 DVD into the DVD drive before resetting your system. Step 4. Depending on which method you used to create your system archive, choose the appropriate boot method: NOTE • make_net_recovery method: Select the appropriate network EFI boot option. • make_tape_recovery method: Select the appropriate DVD boot option.
Updating to HP-UX 11i v2 Post-Update Tasks Step 11. In the Additional Configuration Controls screen, select OK. Step 12. In the /opt/ignite/bin/itool() screen select Go! Your system partitions (EFI and HP Service Partition) have been configured and Ignite-UX begins restoring your system data. Step 13. If you backed up your user data using other backup software, restore this data now following the vendor’s restore procedures. Step 14.
Updating to HP-UX 11i v2 The Next Step The Next Step Continue with the Chapter 7, “Installing HP Applications and Patches,” on page 133.
Updating to HP-UX 11i v2 The Next Step 132 Chapter 6
7 Installing HP Applications and Patches This chapter describes how to install HP applications from the Applications DVD, and provides references for patching and patch management. Before you begin, make sure you have already completed installing or updating HP-UX.
Installing HP Applications and Patches Installing HP-UX Applications Installing HP-UX Applications Your HP-UX 11i v2 media kit contains the HP-UX Applications DVD. The Applications DVD has optional development tools and system management software that you can choose to install as new to update existing software on your system.
Installing HP Applications and Patches Installing HP-UX Applications Tips for Installing or Updating HP Applications Here are some tips for installing or updating HP applications: • HP-UX Applications DVDs have an ASCII file on each DVD called TABLE_OF_CONTENTS that lists all software products delivered with the Applications DVD. You can view this ASCII file with vi, emacs, or any other text editor.
Installing HP Applications and Patches Installing HP-UX Applications Option 1: Installing HP-UX Applications from the DVD You must boot HP-UX 11i v2 to install HP-UX application software products. Use the following procedure to install products from the Applications DVD: Step 1. Insert the Applications DVD in the DVD-ROM drive. Step 2. Mount the Applications DVD. To install software from the Applications DVD, you must mount the DVD as a file system that HP-UX 11i v2 can access: a.
Installing HP Applications and Patches Installing HP-UX Applications Step 4. Use swinstall to install software from the Applications DVD. The following example uses swinstall to install software from the source mounted at /cdrom: swinstall -i -s /cdrom Refer to the swinstall (1M) manpage for details. Step 5. Select and install software from the Applications DVD. The swinstall program presents an interface for selecting and installing software from the DVD. Step 6. Unmount and eject the Applications DVD.
Installing HP Applications and Patches Installing HP-UX Applications Option 2: Installing HP-UX Applications Using Ignite-UX You can install the Ignite-UX utilities to install HP-UX and applications on other systems as follows: Step 1. Mount the HP-UX 11i v2 DVD containing Ignite-UX and enter the command: /usr/sbin/swinstall -s /cdrom B5725AA The mount point in the example is /cdrom. Step 2.
Installing HP Applications and Patches Keeping Up-to-Date with the Latest Critical Patches Keeping Up-to-Date with the Latest Critical Patches After you install or update HP-UX 11i v2, the latest critical patches that shipped with the media are installed on your system. Other recommended critical or required patches may have become available after the initial release of the media. On a regular basis go to the HP IT Resource Center for any new, recommended critical patches: http://itrc.hp.
Installing HP Applications and Patches HP-UX Patching and Patch Management HP-UX Patching and Patch Management HP releases patches to deliver incremental updates to your system. Patches are best known for delivering defect fixes, but also deliver new functionality and features, enable new hardware, and update firmware. You can use HP-UX patches to update HP-UX software without having to completely reinstall your system application.
Installing HP Applications and Patches The Next Step The Next Step Continue with Chapter 8, “Verifying System Install or Update,” on page 143.
Installing HP Applications and Patches The Next Step 142 Chapter 7
8 Verifying System Install or Update This chapter provides steps to verify that your system is ready and back in production. Before you begin, make sure you have already completed either cold-installing or updating to HP-UX 11i v2.
Verifying System Install or Update Verifying the HP-UX Cold-Install or Update Verifying the HP-UX Cold-Install or Update To verify that HP-UX 11i v2 was installed or updated successfully, use the Software Distributor commands swlist and swverify, as described in this section.
Verifying System Install or Update Verifying the HP-UX Cold-Install or Update In subsequent releases, March 2005 onward, HP will retain the BUNDLE11i patches and provide superseding patches in the HWEnable11i and QPKBASE patch bundles. Step 2. Run swlist with options to display all bundles installed: /usr/sbin/swlist -l bundle Step 3. Run swlist with options to display all products installed or all file sets installed: /usr/sbin/swlist -l product /usr/sbin/swlist -l fileset Step 4.
Verifying System Install or Update Verifying the HP-UX Cold-Install or Update If the analysis fails, either view the/var/adm/sw/swagent.log to review the analysis log or run the swjob command listed at the end of the swverify report sent to standard output. After the verification, the system displays the following message: * Verification succeeded. NOTE The HP-UX Bastille install-time security configuration bundles (Sec10Host, Sec20MngDMZ, or Sec30DMZ) do not appear in the swagent.log.
Verifying System Install or Update Verifying HP Applications Verifying HP Applications To verify that all required HP-UX applications have been installed or updated, you have already used the Software Distributor swlist and swverify commands, as explained in “Verifying the HP-UX Cold-Install or Update” on page 144. In this section, you need to use swlist and swverify again, but with different options. Task 1: Identifying and Verifying the Bundle Step 1.
Verifying System Install or Update Verifying HP Applications Task 2: Updating the HP-UX Applications Software If you have determined that the software you identified in “Task 1: Identifying and Verifying the Bundle” on page 147” is incompatible with your system and needs to be replaced with a newer version, follow these steps: Step 1. Mount the HP-UX Applications DVD. You must use the HP-UX Applications DVD that came with your OE media. Step 2.
Verifying System Install or Update Backing Up the System Backing Up the System Now that you have a solid system configuration, you need to back it up. This provides you with a stable configuration that you can use to rebuild the system, if necessary. You can use the Ignite-UX product for making a system recovery backup. Refer to the Ignite-UX Administration Guide on the Instant Information DVD and on the HP Technical Documentation Web site: http://docs.hp.
Verifying System Install or Update The Next Step The Next Step Now that you have installed or updated your system and have all the HP applications and patches that you need, you must configure your system. You can find many of the configuration tasks in Managing Systems and Workgroups: A Guide for HP-UX System Administrators. The guide is available at the HP Technical Documentation Web site: http://docs.hp.com/hpux/os/11iv2/index.
A Data Collection Tables Before you cold-install or update to HP-UX 11i v2, you need to collect information about your existing system. This appendix contains tables where you can record information. Then, when you are installing HP-UX 11i v2, you use information from the Network Data and Miscellaneous Data collection tables when needed.
Data Collection Tables Network Data Collection Table Network Data Collection Table Table A-1 provides HP-UX commands that you can use after the install to confirm specific information. Table A-1 Type of Data 152 Network Data Your Specific Data HP-UX Command to Confirm Data After System is Up and Running Host Name uname -n Host IP Address nslookup name Subnet Mask grep SUBNET_MASK /etc/rc.config.d/netconf Default Gateway IP Address netstat -r Domain Name cat /etc/resolv.
Data Collection Tables Miscellaneous Data Collection Table Miscellaneous Data Collection Table Table A-2 may contain some items that are not familiar to you, but you will be prompted for this information during the install. The install process describes all options in detail, so you can defer making decisions about items that are unfamiliar to you until you reach that point in the install.
Data Collection Tables Miscellaneous Data Collection Table 154 Appendix A
B Known Problems and Troubleshooting This appendix lists known problems and troubleshooting steps for the install and update. What You Will Find in This Appendix NOTE Appendix B • “Known Install and Update Problems” on page 156 • “Problems Reading HP-UX 11i v1 DVD Media” on page 163 • “Uninstalling HP-UX 11i v2” on page 165 While the HP-UX 11i v2 install progresses, messages are displayed relating to the progress being entered into the log file. These messages usually refer to normal behavior.
Known Problems and Troubleshooting Known Install and Update Problems Known Install and Update Problems Table B-1 describes problems known to occur in the HP-UX 11i v2 release. Table B-1 Known Install and Update Problems Problem Cold-Install Error Messages Description/Action After you cold-install the HP-UX 11i v2 September 2004 or later release, you may see the following messages in the swagent.
Known Problems and Troubleshooting Known Install and Update Problems Table B-1 Known Install and Update Problems (Continued) Problem Description/Action Igniting an HP-UX 11i v1.6 System with an HP-UX 11i v2 Ignite-UX Server If you are trying to install HP-UX 11i v2 on an HP-UX 11i v1.6 system from an HP-UX 11i v2 Ignite-UX server, you may see the following error message if your HP-UX 11i v1.6 system is using VxVM: ERROR: VxVM installs of 11.22 are not supported with the 11.
Known Problems and Troubleshooting Known Install and Update Problems Table B-1 Known Install and Update Problems (Continued) Problem “Incorrect protocol version (20) in volboot file” Warning Description/Action After you update to HP-UX 11i v2 from HP-UX 11i v1.6, the following error message may appear during reboot: Starting vxconfigd in boot mode (pre_init_rc). vxvm:vxconfigd: WARNING: volboot: Incorrect protocol version (20) in volboot file.
Known Problems and Troubleshooting Known Install and Update Problems Table B-1 Known Install and Update Problems (Continued) Problem Description/Action Installing or Removing MirrorDisk/UX (B2491BA or B5403BA) If you choose to install or remove MirrorDisk/UX as a stand-alone product, you must reinstall the latest LVM commands patch present on your system. The LVM commands patch may be PHCO_31709 or a superseded patch.
Known Problems and Troubleshooting Known Install and Update Problems Table B-1 Known Install and Update Problems (Continued) Problem last_install configuration already exists Warning Description/Action During an update to HP-UX 11i v2, the following warning may appear in your swagent.log: WARNING: The configuration named 'last_install' already exists. NOTE: Continuing since -f flag was specified. * Please wait: flushing kernel registry database to disk.
Known Problems and Troubleshooting Known Install and Update Problems Table B-1 Known Install and Update Problems (Continued) Problem update() Hang Panic on Large Memory Systems Description/Action During a reboot -r process, large memory systems may hang due to the failure of the update() function called during the reboot. This failure is caused by a timer value (UpdateHangTimeout) expiring before update() is finished. This issue is known to be a problem for rx8620 32-way servers with 128 GB of memory.
Known Problems and Troubleshooting Known Install and Update Problems Table B-1 Known Install and Update Problems (Continued) Problem update-ux Aborts when Updating from HP-UX 11i (B.11.11) Prior to the June 2004 HP-UX 11i Release Description/Action When updating from HP-UX 11i v1 (B.11.
Known Problems and Troubleshooting Problems Reading HP-UX 11i v1 DVD Media Problems Reading HP-UX 11i v1 DVD Media The HP-UX 11i v1 DVD media contains large volumes of data that may cause your DVD device to fail while reading the DVD media contents during an update. This particularly affects you if you use Update-UX or other Software Distributor (SD) tools.
Known Problems and Troubleshooting Problems Reading HP-UX 11i v1 DVD Media Patches for Systems Currently Running HP-UX 11i v1 • PHKL_26269 (11.11 Rock Ridge extension for ISO-9660) • PHKL_28025 (11.11 Rock Ridge extension for ISO-9660) • PHCO_25841 (11.11 Add Rock Ridge extension to mount_cdfs (1M)) Patches for Systems Currently Running HP-UX 11.0 • PHKL_26450 (11.00 Rock Ridge extension for ISO-9660) • PHKL_28060 (11.00 Y2k; Rock Ridge extension for ISO-9660) • PHCO_26449 (11.
Known Problems and Troubleshooting Uninstalling HP-UX 11i v2 Uninstalling HP-UX 11i v2 If you cannot resolve problems after installing HP-UX 11i v2, then you may want to un-install it. The process depends upon the install process you followed: • If you made a make_net_recovery tape using Ignite-UX, boot the system from that media to return the OS and any archived applications to the previous release.
Known Problems and Troubleshooting Uninstalling HP-UX 11i v2 166 Appendix B
Controlling Memory Utilization of VxFS 3.5 on HP-UX 11i v2 C Controlling Memory Utilization of VxFS 3.5 on HP-UX 11i v2 This appendix discusses the effect of two VxFS tunables, vx_ninode and vxfs_bc_bufhwm, on system memory consumption and provides guidelines on setting them for machines with relatively low RAM.
Controlling Memory Utilization of VxFS 3.5 on HP-UX 11i v2 Introduction Introduction VxFS 3.5 caches objects in memory to improve performance. Most of the memory consumed by VxFS is used to cache inodes (in the inode cache) and metadata (in the buffer cache). The sizes of these caches and the behavior of VxFS are controlled by a set of tunables.
Controlling Memory Utilization of VxFS 3.5 on HP-UX 11i v2 Controlling the inode Cache Controlling the inode Cache As a matter of course, VxFS file systems allocate and free up inodes as required by the load on the file system. VxFS caches these inodes for better performance (faster lookups). In general, larger inode caches help file systems perform better for file server and web server loads. The global (static) tunable vx_ninode represents the maximum possible size of the VxFS inode cache.
Controlling Memory Utilization of VxFS 3.5 on HP-UX 11i v2 Controlling the Buffer Cache Controlling the Buffer Cache VxFS 3.5 implements a private buffer cache used exclusively for metadata. The allocations made for this buffer cache are not static but grow and shrink during system usage, depending on the load on the file system. The global (static) tunable vxfs_bc_bufhwm represents the maximum possible size of the VxFS buffer cache.
Controlling Memory Utilization of VxFS 3.5 on HP-UX 11i v2 Conclusion Conclusion VxFS uses in-memory caches for objects that result in improved file system performance. The cache sizes are controlled by tunables that are auto-tuned at boot time by the driver. For situations where the auto-tuned values are not optimal, you can set these tunables.
Controlling Memory Utilization of VxFS 3.
D Software Distribution Media This appendix describes the Operating Environments (OEs) and media contents.
Software Distribution Media HP-UX 11i v2 Core Software Bundles HP-UX 11i v2 Core Software Bundles The base software installed for all Operating Environments comprise the following software bundles: Table D-1 Bundle Name HP-UX 11i v2 Core Software Bundles Description HPUXBaseOS HP-UX Base OS installation bundle (64-bit) HPUXBaseAux HP-UX Base Auxiliary bundle.
Software Distribution Media HP-UX 11i v2 Core Software Bundles NOTE Delivering HP-UX Standard Patch Bundles In the March 2004 release of HP-UX 11i v2, HP delivered a Hardware Enablement (HWEnable11i) bundle and a Quality Pack (QPKBASE) patch bundle. In this new release, September 2004, HP delivered required patches in BUNDLE11i. BUNDLE11i supersedes the March 2004 HWEnable11i and QPKBASE patches.
Software Distribution Media HP-UX 11i v2 Always-Installed Patch Bundles HP-UX 11i v2 Always-Installed Patch Bundles The base software installed for all Operating Environments comprise the following software bundles: Table D-2 Always-Installed Patch Bundles1 Patch Bundle Name Bundle Description BUNDLE11i Required OS Patches HWEnable11i2 Hardware Enablement patches QPKBASE3 Quality Pack Patch Bundle 1.
Software Distribution Media HP-UX 11i v2 Always-Installed Software Bundles HP-UX 11i v2 Always-Installed Software Bundles In addition to the core software bundles installed in Table D-1 on page 174, the software bundles listed in Table D-3 on page 179 are installed by Operating Environment.
Software Distribution Media HP-UX 11i v2 Always-Installed Software Bundles New Bundle: OBSOLESCENCE Bundle The Obsolescence product is used in an update when obsolete software on the system needs to be removed. This product is automatically selected for both install and update. During the cold-install process, Obsolescence verifies whether an update is being performed. If it is not an update, it does not remove anything.
Software Distribution Media HP-UX 11i v2 Always-Installed Software Bundles Table D-3 HP-UX 11i v2 Always-Installed Software Bundles (By OE) Description Bundle FOE EOE MCOE MTOE TCOE X X 3D Graphics Development Kit (DK) and Runtime Environment (RTE) for OpenGL Graphics Cluster Object Manager B8324BA X Enterprise Cluster Master (ECM) Toolkit T1909BA X GlancePlus Pak B3701AA X X High Availability (HA) Monitors B5736DA X X HP CIFS 9000 Client B8724AA X X X X HP CIFS 9000 Server
Software Distribution Media HP-UX 11i v2 Always-Installed Software Bundles Table D-3 HP-UX 11i v2 Always-Installed Software Bundles (By OE) Description Bundle FOE EOE MCOE MTOE TCOE Java 2 JPI v1.4 T1458AA X X X X Java JPI v1.3 T1455AA X X X X Java3D for JRE v1.3 T1868AA X Java3D for JRE v1.
Software Distribution Media HP-UX 11i v2 Always-Installed Software Bundles Table D-3 Description HP-UX 11i v2 Always-Installed Software Bundles (By OE) Bundle FOE EOE MCOE Workload Manager (WLM) B8843CA X Workload Manager Toolkits T1302AA X Appendix D MTOE TCOE 181
Software Distribution Media HP-UX 11i v2 Always-Installed Network and Mass Storage Drivers HP-UX 11i v2 Always-Installed Network and Mass Storage Drivers You can find the information that was formerly contained in this section in the HP-UX 11i v2 Release Notes. It is available at the HP Technical Documentation Web site: http://docs.hp.com/hpux/os/11iv2/index.html The HP 9000 and HP Integrity Server Connectivity Web site also provides more driver information: http://www.hp.
Software Distribution Media HP-UX 11i v2 Default-Installed Software Bundles HP-UX 11i v2 Default-Installed Software Bundles The software bundles listed in Table D-4 are installed on all Operating Environments by default. You can deselect any of these bundles before you install or update your system.
Software Distribution Media HP-UX 11i v2 Default-Installed Software Bundles Table D-4 HP-UX 11i v2 Default-Installed Software Bundles (All OEs) (Continued) Description Bundle Name HP-UX Webmin-based Admin hpuxwsWebmin HP-UX XML Web Server Tools hpuxwsXml Java Bundles 184 Java 2 SDK v1.3 B9788AA Java 2 RTE v1.3 B9789AA Java 2 SDK v1.4 T1456AA Java 2 RTE v1.4 T1457AA Java 2 RTE v1.4 Addon T1457AAaddon Java 2 SDK v 1.
Software Distribution Media HP-UX 11i v2 Selectable Software Bundles HP-UX 11i v2 Selectable Software Bundles The bundles listed in Table D-5 are not installed or updated by default. You must select the desired bundles prior to installing or updating your system. Table D-5 HP-UX 11i v2 Selectable Software Bundles (All OEs) Description Appendix D Bundle Name HP-UX Host Intrusion Detection System (Servers Only.
Software Distribution Media HP-UX 11i v2 Selectable Network Drivers HP-UX 11i v2 Selectable Network Drivers You can find the information that was formerly contained in this section in the HP-UX 11i v2 Release Notes. It is available at the HP Technical Documentation Web site: http://docs.hp.com/hpux/os/11iv2/index.html The HP 9000 and HP Integrity Server Connectivity Web site also provides more driver information: http://www.hp.com/products1/serverconnectivity/index.
Index Symbols /etc, 76 /etc/passwd, 100 /home, 100, 101 /local, 101 /opt, 76, 101 /usr, 101 /usr/local/, 76 A adding OE, 118 additional software, 97 administration, 25 alternate install methods, 89, 106 Always-Installed Software Cluster Object Manager, 179 Enterprise Cluster Master Toolkit, 179 GlancePlus Pak, 179 HA Monitors, 179 HP CIFS Client, 179 HP CIFS Server, 179 HP ServiceGuard, 179 MC/ServiceGuard, 180 MirrorDisk/UX, 180 MLIB, 179 MPI, 180 Process Resource Manager, 180 Technical System Configuratio
Index HPUXBaseAux, 174 create depot, 111 creating new root directory, 100 D data collection, 152, 153 Deciding a Method update, 53 deciding a method cold-install, 52 default gateway, 152 Default-Installed Software Gnome GTK+, 183 HP Apache-based Web Server, 183 HP Tomcat-based Servlet Engine, 183 HP Webmin-based Admin, 184 HP XML Web Server Tools, 184 Mozilla, 183 Mozilla Source, 183 Perl, 183 default-installed software, 183 dependencies security, 62 depots creating, 111 diagnostics offline, 69 directories,
Index H HA Monitors, 179 hardware failures, 68 hints, 35 home directory, 100 host IP, 152 How To update using interactive Software Selection, 119 how to install, 91 update, 110 update using interactive Software Selection, 119 HP Apache Admin, 184 Tomcat, 183 Web Server, 183 XML Web Server Tools, 184 HP CIFS Client, 179 HP CIFS Server, 179 HP Serviceguard, 179 HP-UX 11i update (no OE), 118 update procedure, 114 updating, 103, 110 HP-UX 11i v2 Application Release DVD, 28 cold-install deciding when, 52 conside
Index localization, 24 locating codewords, 83 locating source media, 83 log files cleaning, 76, 77, 79 LVM, 100, 153 M maintaining patches, 139 make_net_recovery, 77, 80, 81, 165 make_tape_recovery, 81 MC/ServiceGuard, 180 MCOE, 30, 31, 117 media, 83, 91 contents, 173 kit, 28 memory use, VxFS, 167 messaes, 155 MFW, 41 migration paths deciding a method, 51 from previous HP-UX releases, 46 MirrorDisk/UX, 180 miscellaneous data collection, 153 mk_kernel, 78 MLIB, 179 mod_load_helper troubleshooting, 156 model,
Index update, 156 process, 91 update, 106 Process Resource Manager, 180 protocols secured, 63 R Read Before Installing or Updating to HP-UX 11i v2 DVD booklet, 28 rebuild kernel, 78 rebuilding kernel, 78 record software versions, 78 recovering files, 100 recovery, 80 release notes, 23 required media, 91 requirements, 34 restoring /home, 101 restoring /local, 101 restoring /opt, 101 restoring /usr, 101 retrieving install information, 100 reviewing cold-install, 91 root, 97, 100, 153 root disk, 96 root swap s
Index system backup, 81 firmware, 41 system backup, 149 system requirements, 34 T tables, 152, 153 TCOE, 30, 31, 37, 117 Technical System Configuration, 180 tips updating, 108 trademark notices, 2 transition kit, 24 troubleshooting, 155 Ignite-UX, 156 mod_load_helper, 156 network depots, 156 volboot file, 158 tunables global, 168 VxFS, 168 U Uart, 75 uname, 152 un-installing, 165 update before you begin, 104 Deciding a Method, 53 error codes, 109 examples adding OE, 118 from network depot, 119 Interactive S
Index W warnings, 155 Web Server, 183 white papers, 23 Workload Manager, 181 Workload Manager Toolkit, 181 workstations, 22, 38 X XML, 184 Z zx6000, 75 193
Index 194