HP-UX 11i Version 2 Installation and Update Guide HP Integrity Servers and HP Workstations Manufacturing Part Number : 5187-2725 October 2003, Edition 1 United States © Copyright 1983-2003 Hewlett-Packard Development Company, L.P.
Legal Notices The information in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this manual, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be held liable for errors contained herein or direct, indirect, special, incidental, or consequential damages in connection with the furnishing, performance, or use of this material.
Trademark Notices Adobe and Acrobat are trademarks of Adobe Systems Incorporated. HP-UX Release 10.20 and later and HP-UX Release 11.00 and later (in both 32 and 64-bit configurations) on all HP 9000 computers are Open Group UNIX 95 branded products. Intel and Itanium are registered trademarks of Intel Corporation in the US and other countries and are used under license. Java is a US trademark of Sun Microsystems, Inc.
Publication History The manual publication date and part number indicate its current edition. The publication date will change when a new edition is released. The manual part number will change when extensive changes are made. To ensure that you receive the latest edition, you should subscribe to the appropriate product support service. See your HP sales representative for details. Related Document: HP-UX 11i Version 1.6 Installation and Configuration Guide, July 2002, 5187-1087, (HP-UX 11iV1.
About This Guide This guide describes cold-installing and updating HP-UX 11i v2 on HP Integrity Servers and HP Workstations, and assumes that you are the system administrator and familiar with installing and maintaining software on the system. This guide applies to the October 2003 version of HP-UX 11i v2. If you need information for a previous version of HP-UX 11i, go to the web: http://docs.hp.
Typographic Conventions We use the following typographical conventions. 6 audit (5) HP-UX manpage. 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 Title of a book. On the web and on the Instant Information DVD, it may be a hot link to the book itself.
Contents 1. Welcome to HP-UX 11i Version 2 Welcome to HP-UX 11i Version 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HP-UX 11i Release Names and Release Identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . How to Use This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents Factory Ignited Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Disk Space Allocation for File Partitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Update Disk Space Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How to Plan Your Disk Space Needs . .
Contents Retrieving Information after Cold-installing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 The Next Step. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 6. Updating to HP-UX 11i v2 Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 Reviewing the Update Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents The Next Step. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 9. Configuring and Maintaining HP-UX 11i v2 Configuring Your HP-UX 11i v2 System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 Maintaining Your HP-UX 11i v2 System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 A. Data Collection Tables Network Data Collection Table . . . . . . . . . . . . . . . . . . . . . . . .
Contents HP-UX 11i v2 Enterprise OE (EOE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HP-UX 11i v2 Mission Critical OE (MCOE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HP-UX 11i v2 Minimal Technical OE (MTOE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HP-UX 11i v2 Technical Computing Operating Environment (TCOE) . . . . . . . . . HP-UX 11i v2 Software and Driver Bundle Type Definitions . . . . . . . . . . . . . . . . . . .
Contents 12
Tables Table 1-1. HP-UX 11i Releases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 Table 1-2. Supported Operating Environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 Table 2-1. OE Update Migration Paths to HP-UX 11i v2 . . . . . . . . . . . . . . . . . . . . . .34 Table 2-2. Predefined Security Configuration Bundles . . . . . . . . . . . . . . . . . . . . . . . .43 Table 2-3. Host-based Sec10Host Install-time Security Settings . . . . . . . .
Tables 14
Figures Figure 2-1. Install-time Security Software Dependencies . . . . . . . . . . . . . . . . . . . . . .44 Figure 5-1. Cold-installing HP-UX 11i v2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82 Figure 6-1. Updating to HP-UX 11i v2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96 Figure 6-2. idisk Output Showing No HP Service Partition Installed . . . . . . . . . . .110 Figure 6-3. idisk Output Showing HP Service Partition Installed . . . . . . . . . . .
Figures 16
1 Welcome to HP-UX 11i Version 2 This chapter introduces you to the new features, media kit contents, operating environments, supported cold-install and update paths, guide contents, and other resources of HP-UX 11i Version 2 (B.11.23).
Welcome to HP-UX 11i Version 2 Welcome to HP-UX 11i Version 2 Welcome to HP-UX 11i Version 2 HP-UX 11i Version 2 is the newest release of HP-UX 11i for the Intel Itanium architecture. This enterprise release offers a full range of HP-UX Operating Environments, including systems management and high-availability software products.
Welcome to HP-UX 11i Version 2 Introduction Introduction HP-UX 11i Version 2 is the latest release for most Itanium-based HP-UX systems. The Release ID for HP-UX 11i Version 2 is B.11.23, and we use the term HP-UX 11i v2 throughout this guide. The HP-UX 11i v2 Operating Environments (OEs) are integrated and tested software solutions containing the operating system and selected applications.
Welcome to HP-UX 11i Version 2 How to Use This Guide How to Use This Guide To help ensure a successful cold-install or update of HP-UX 11i v2, we recommend that you review this guide before proceeding to cold-install or update the operating system or an operating environment on your system. This guide provides detailed information regarding both the hardware and the software that together makeup your new system.
Welcome to HP-UX 11i Version 2 What is HP-UX 11i v2? What is HP-UX 11i v2? HP-UX 11i v2 is the latest Enterprise Release on Itanium-based systems with extended software solutions and new hardware platforms.
Welcome to HP-UX 11i Version 2 What is HP-UX 11i v2? • • • • • • • • • • • • • • • • HP Workload Manager HP-UX Bastille for secure system configuration Faster system boot and memory dump through greater parallelism Hyperfabric2 Application binary compatibility with previous HP-UX 11i releases for Itanium (HP-UX 11i v1.5 (B.11.20) and HP-UX 11i v1.6 (B.11.
Welcome to HP-UX 11i Version 2 What is HP-UX 11i v2? Features Unavailable in HP-UX 11i v2 In comparison with HP-UX 11i v1 or HP-UX 11i v1.6, HP-UX 11i v2 does not provide support for the following: • • • • • • • • • • • • • PA-RISC systems Virtual Partitions (vPars) 32-bit support Support of update from HP-UX 11i v1.6 (B.11.
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. Please review the contents, which also include the following DVDs and documents: • HP-UX 11i v2 (B.11.23) DVD — Contains the HP-UX operating system (OS), operating environments (OE), required networking software, Update-UX, Ignite-UX, and online diagnostics. • HP-UX 11i v2 (B.11.23) Applications DVD — Contains HP-UX application software.
Welcome to HP-UX 11i Version 2 HP-UX 11i v2 Operating Environments HP-UX 11i v2 Operating Environments Operating Environments are tested and integrated application bundles designed to work with the operating system and provide the functionality needed for your system’s purpose.
Welcome to HP-UX 11i Version 2 HP-UX 11i v2 Operating Environments The following table details the supported operating environments for servers and workstations: Table 1-2 Supported Operating Environments HP Commercial Servers FOE EOE MCOE X X X HP Workstations (and Technical Servers) MTOE TCOE1 X X X 1. You can use TCOE on either workstations or compute-intensive technical servers.
Welcome to HP-UX 11i Version 2 Other Sources of Information about This Release Other Sources of Information about This Release In addition to this guide, you have many other sources of information related to the HP-UX 11i v2 release available to you at the web site: http://docs.hp.
Welcome to HP-UX 11i Version 2 Other Sources of Information about This Release HP-UX Welcome Page The HP-UX Welcome Page on your HP-UX 11i v2 system contains pointers to information to help you use your HP-UX system. Manual Pages For the HP-UX 11i v2 release, the manual (man) pages are available on the HP-UX Welcome Page of your system, on the Instant Information under the title HP-UX Reference, through the use of the man command, and on the web: http://docs.hp.com/hpux/os/11iv2/index.
Welcome to HP-UX 11i Version 2 Other Sources of Information about This Release White Papers on HP-UX All white papers associated with the HP-UX 11i v2 release are available at the following web site: http://docs.hp.
Welcome to HP-UX 11i Version 2 The Next Steps The Next Steps In this chapter, you have completed the following review: • “Welcome to HP-UX 11i Version 2” on page 18 • “Introduction” on page 19 • “How to Use This Guide” on page 20 • “What is HP-UX 11i v2?” on page 21 • “Media Kit Contents” on page 24 • “HP-UX 11i v2 Operating Environments” on page 25 • “Other Sources of Information about This Release” on page 27 After reading about the media contents and HP-UX, you are now ready to start revie
2 Choosing a Migration Path This chapter provides information and scenarios to help you decide the most appropriate method to migrate your system to HP-UX 11i v2.
Choosing a Migration Path If You Have an Existing HP-UX 11i v2 System If You Have an Existing HP-UX 11i v2 System If your system is already running HP-UX 11i v2, you may only need to install one or more patch bundles to bring your system up-to-date or to enable new hardware. Check the following references: 32 • “Keeping Up to Date with the Latest Critical Patches” on page 126 • http://itrc.hp.com • http://software.hp.
Choosing a Migration Path Migrating from Previous HP-UX Releases Migrating from Previous HP-UX Releases 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 56. You can also choose to update to HP-UX 11i v2 from any of the supported paths listed in Table 2-1. Updating from any other release directly to HP-UX 11i v2 is not supported.
Choosing a Migration Path Migrating from Previous HP-UX Releases Supported Update Paths to HP-UX 11i v2 IMPORTANT Update is only supported on HP Servers (see “Supported Servers and Workstations” on page 56 for a list of supported servers). The following table details the supported update migration paths: Table 2-1 OE Update Migration Paths to HP-UX 11i v2 To the following HP-UX 11i v2.0 OS/OEa From Current Configuration HP-UX 11i v1.
Choosing a Migration Path Migrating from Previous HP-UX Releases Table 2-1 OE Update Migration Paths to HP-UX 11i v2 (Continued) To the following HP-UX 11i v2.0 OS/OEa From Current Configuration HP-UX 11i v2 MTOE NO Supported Paths (Cold-install only) a. Contents of the HP-UX operating environments are listed in Appendix D, “Software Distribution Media,” on page 161. Update Path Notes • If you are planning to update to a higher level server operating environment from a current HP-UX 11i v1.
Choosing a Migration Path Deciding Which Method to Use Deciding Which Method to Use Now that you have evaluated your system and ordered any additionally needed hardware, you need to decide whether to cold-install or update to HP-UX 11i v2 on your system. Cold-installing using Ignite-UX — This method overwrites everything on the target disk. Use cold-install for new systems and on existing systems when overwriting the root (/) volume will not cause loss of applications or data.
Choosing a Migration Path Deciding Which Method to Use • Your system configuration is not listed as a supported update path (see Table 2-1, “OE Update Migration Paths to HP-UX 11i v2,” on page 34). • You are migrating an HP Workstation to HP-UX 11i v2. You can cold-install from any supported configuration (see “Supported Servers and Workstations” on page 56). See Chapter 4, “Preparing to Migrate to HP-UX 11i v2,” on page 63 for more information about preparing your system for cold-install.
Choosing a Migration Path Deciding Which Method to Use You may need to select or specify other available networking drivers to enable other cards on your system (see “HP-UX 11i v2 Always-Installed Network & Mass Storage Drivers” on page 174). This can easily be done during the cold-install or update by following the instructions in “Cold-installing HP-UX 11i v2” on page 83.
Choosing a Migration Path Deciding Which Method to Use Alternate Cold-Install Methods In addition to the procedures described in this chapter, 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 a Migration Path Deciding Which Method to Use Update Considerations HP Service Partition Is Not Created During Update If you are updating from a supported update path (see “Supported Update Paths to HP-UX 11i v2” on page 34), HP Service Partition will not be created or modified. OnlineDiag will continue to work properly. Offline Diagnostics, however, will work with reduced functionality. In order to have full Offline Diagnostics functionality, you must: 1. Update your system. 2.
Choosing a Migration Path Deciding Which Method to Use AlternateLbaLo = 0x43d671f FirstUsableLbaLo = 0x22 LastUsableLbaLo = 0x43d66fc Disk GUID = 59609df4-c295-11d7-8001-d6217b60e588 PartitionEntryLbaLo = 0x2 NumberOfPartitionEntries = 0xc SizeOfPartitionEntry = 0x80 PartitionEntryArrayCRC32 = 0xc0a93cc2 Primary Partition Table (in 512 byte blocks): Partition 1 (EFI): Partition Type GUID = c12a7328-f81f-11d2-ba4b-00a0c93ec93b Unique Partition GUID = 5960a1be-c295-11d7-8002-d6217b60e588
Choosing a Migration Path Deciding Which Method to Use 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 11iv1 or at the following web site: http://itrc.hp.com NOTE 42 PHKL_28025 supersedes PHKL_25760.
Choosing a Migration Path Install-time Security Considerations Install-time Security Considerations Beginning with HP-UX 11i v2, 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/lockdown tool that can be used to enhance security of the HP-UX operating system.
Choosing a Migration Path Install-time Security Considerations Security Choice Dependencies The Sec00Tools security infrastructure bundle is default-installed on your system. While this bundle does not implement any security changes at install- or update-time, it does ensure that the required software (see Figure 2-1) is installed. By installing Sec00Tools, you can opt to run HP-UX Bastille at a later time to lock down your system.
Choosing a Migration Path Install-time 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 Install-time Security Configuration bundles applies a default security profile, simplifying the lockdown process.
Choosing a Migration Path Install-time Security Considerations Table 2-3 Host-based Sec10Host Install-time Security Settingsa Category 46 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 b,c Restrict remote access to swlist Se
Choosing a Migration Path Install-time Security Considerations Table 2-3 Host-based Sec10Host Install-time Security Settingsa (Continued) Category Other Settings Actions Deactivate HP Apache 2.x Web Serverd Set up cron job to Security Patch Checkb a. Security settings listed here also apply to Sec20MngDMZ and Sec30DMZ b. Manual action may be required to complete configuration. See /etc/opt/sec_mgmt/bastille/TODO for more information, after install or update. c.
Choosing a Migration Path Install-time Security Considerations e. Manual action may be required to complete configuration. See /var/opt/sec_mgmt/bastille/TODO.txt for more information, after install or update.
Choosing a Migration Path The Next Steps The Next Steps In this chapter, you have completed the following review: • “If You Have an Existing HP-UX 11i v2 System” on page 32 • “Migrating from Previous HP-UX Releases” on page 33 • “Deciding Which Method to Use” on page 36 • “Install-time Security Considerations” on page 43 After deciding which method you will use to migrate to HP-UX 11i v2, you are ready to start preparing your system for either cold-install or update: • IMPORTANT Chapter 2 Chapte
Choosing a Migration Path The Next Steps 50 Chapter 2
3 Installing and Updating System Requirements This chapter will help you assess the current state of your system prior to cold-installing or updating to HP-UX 11i v2.
Installing and Updating System Requirements Factory Ignited Systems Factory Ignited Systems If you have a system that is already running HP-UX 11i v2, such as a system that was factory ignited, you may only need to check for the latest, critical patches to have the most up-to-date system. Check the following references: 52 • “Keeping Up to Date with the Latest Critical Patches” on page 126 • http://itrc.hp.com • http://software.hp.
Installing and Updating System Requirements System Requirements System Requirements To cold-install or update HP-UX 11i v2, you must have the following: NOTE • Supported system, see “Supported Servers and Workstations” on page 56 • HP-UX 11i v2 OE and application media (two DVD set) • 512 MB memory, minimum • 1 GB swap space, minimum • 1 GB disk space to accommodate EFI Boot Disk and HP Service Partition If your system has less than 1GB of memory, you may need to manually set VxFS tunables for
Installing and Updating System Requirements System Requirements The following table lists the amount of disk space allocated for the following partitions during a default cold-install for each operating environment (percentage used in each partition in parentheses): Table 3-1 Partition File Partition Disk Space Allocation by Operating Environment1 FOE EOE MCOE TCOE MTOE / 208 MB (78% used) 208 MB (81% used) 208 MB (81% used) 208 MB (77% used) 223 MB (83% used) /stand 304 MB (21% used) 304 MB (
Installing and Updating System Requirements System Requirements Update Disk Space Requirements To ensure a successful update to HP-UX 11i v2, you will need to make sure that you have at least as much disk space allocated to the file partitions listed in Table 3-1, and each partition (most importantly, /usr,/opt and /var) has at least 10-20% free space to allow for any growth. Additionally, make sure that you have at least 1 GB allocated for /swap.
Installing and Updating System Requirements Supported Servers and Workstations Supported Servers and Workstations HP-UX 11i v2 (B.11.23) supports only a 64-bit version of the HP-UX kernel.
Installing and Updating System Requirements HP-UX 11i v2 Network, Mass Storage, and SCSI Drivers HP-UX 11i v2 Network, Mass Storage, and SCSI Drivers The HP-UX 11i Version 2 Release Notes provides a complete list of supported network and mass storage drivers, and SCSI devices. See Chapter 2, “Workstation/Server Specific Information” for drivers and devices, and details regarding the impact, compatibility, and documentation for the products.
Installing and Updating System Requirements Keeping Up with Firmware Recommendations Keeping Up with Firmware Recommendations Pre-Migration Task Firmware changes frequently. It is important to make sure your system for Everyone has the latest firmware installed in order, for example, to support the latest versions of I/O adapters, mass storage devices, and devices used when you install from media or a network depot. NOTE To make sure your system has the latest firmware, check this web site: http://www.
Installing and Updating System Requirements Keeping Up with Firmware Recommendations Table 3-2 System Firmware for the First Release of HP-UX 11i v2 Systems Baseboard Management Controller (BMC) Management Processor (MP) 14.12 HP Integrity Superdome (HP servers: 16-, 32-, and 64-way) zx2000 (HP workstation) 1.50 zx6000 (HP workstation) 1.50 Chapter 3 Manufacturing Firmware (MFW) Platform Dependent Hardware Controller (PDHC) System Firmware 1.12 2.21 MP E.02.10 or E.02.23 2.
Installing and Updating System Requirements Identifying Model, OS/OE, and Software Identifying Model, OS/OE, and Software Before you cold-install or update to HP-UX 11i v2, check the model and other information on the system. You can use this information in the “System Requirements” on page 53. Identifying 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 56.
Installing and Updating System Requirements Identifying Model, OS/OE, and Software Identifying installed software To identify the software products on a system or media, use swlist.
Installing and Updating System Requirements The Next Steps The Next Steps You have completed the pre-cold-install review and tasks: • “Factory Ignited Systems” on page 52 • “System Requirements” on page 53 • “Supported Servers and Workstations” on page 56 • “HP-UX 11i v2 Network, Mass Storage, and SCSI Drivers” on page 57 • “Keeping Up with Firmware Recommendations” on page 58 • “Identifying Model, OS/OE, and Software” on page 60 Continue with the next chapter: • 62 Chapter 4, “Preparing to M
4 Preparing to Migrate to HP-UX 11i v2 This chapter details the preparation tasks required to cold-install or update to HP-UX 11i v2.
Preparing to Migrate to HP-UX 11i v2 Update Tasks Update Tasks Prior to updating to HP-UX 11i v2, you should perform these tasks: • Recording Software Versions • Rebuilding the Kernel • Cleaning Out Your Log Files Recording Software Versions To identify what software still needs updating after the OS update, print a swlist listing of all products and bundles prior to the update. For example, enter: /usr/sbin/swlist | lp Then compare it with a similar swlist executed after the update.
Preparing to Migrate to HP-UX 11i v2 Updating Your Ignite-UX Server Updating Your Ignite-UX Server The HP-UX 11i v2 DVD contains the complete Ignite-UX product. When you cold-install HP-UX 11i v2 from the media, a subset of Ignite-UX is used to perform the installation on a single system. If you plan to update an existing Ignite-UX server to install HP-UX 11i v2 on more than one system in your network, then you should update your Ignite-UX server first.
Preparing to Migrate to HP-UX 11i v2 Selecting Your HP-UX Console Selecting Your HP-UX Console HP-UX requires that you select the correct console via a firmware selection menu. If you have ordered a machine with HP-UX pre-installed, your console selections will be correctly chosen for you. If you are already on the system console, then you can skip this section. However, if you are cold-installing HP-UX, or change your system configuration, you may need to select the correct console.
Preparing to Migrate to HP-UX 11i v2 Selecting Your HP-UX Console 2. Choose “Select Active Console Output Devices”: EFI Boot Maintenance Manager ver 1.10 [14.57] Main Menu.
Preparing to Migrate to HP-UX 11i v2 Selecting Your HP-UX Console Interface Differences between Itanium-based Systems Each Itanium-based system has a similar interface with minor differences. You can navigate these menus with the arrow keys or “v” and “^” keys to move around, and use the enter or space key to select and deselect devices. Selected devices have an asterisk (“*”) next to them. After making your changes to this menu, choose Save Settings to NVRAM and then Exit.
Preparing to Migrate to HP-UX 11i v2 Selecting Your HP-UX Console Follow all the substeps in Step 2 of “Selecting Your HP-UX Console” on page 66 to correctly select your console input device. For input devices, a device that has a Pci section in its path, but does not have a Uart section will be a USB keyboard device. Step 3. Choose Select Active Standard Error Devices. Step 4. Choose the correct standard error device and deselect others.
Preparing to Migrate to HP-UX 11i v2 About Online Diagnostics About 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, mass storage and other devices.
Preparing to Migrate to HP-UX 11i v2 About Online Diagnostics About 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 (it is 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.
Preparing to Migrate to HP-UX 11i v2 Backing Up Your System Backing Up Your System In addition to your normal, periodic system backup procedures, you should create a network backup of your root volume group (see Chapter 5, “Cold-Installing HP-UX 11i v2,” on page 79). Do this first before performing a cold-install, and again after the cold-install. If a problem occurs, it’s a very simple procedure to restore the system to its original state.
Preparing to Migrate to HP-UX 11i v2 Backing Up Your System The contents of the system recovery archive always includes all files and directories which are essential to bringing up a functional system. This “essential” list is pre-defined by make_net_recovery. You can run make_net_recovery in its interactive mode to review the directories and files which make up the “essential list,” and also add or remove other data from the archive on a disk/volume group, file, or directory basis.
Preparing to Migrate to HP-UX 11i v2 Backing Up Your System For more information on using make_tape_recovery, see the make_tape_recovery (1M) manpage on an Ignite-UX server or the Ignite-UX Administration Guide. The guide is available on the HP-UX 11i v2 Instant Information CD and at this web site: http://docs.hp.
Preparing to Migrate to HP-UX 11i v2 Saving Configuration Files Saving Configuration Files If you are planning to cold-install HP-UX 11i v2 on a system that already has HP-UX installed, be sure to save the files that you will want to re-install. These include a number of configuration files in /etc, the contents of /usr/local, any local home directories (that is, those you do not import from another system), and any configuration files located in the /etc/opt directories for installed software.
Preparing to Migrate 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, and you have decided how to cold-install or update to HP-UX 11i v2, you need to locate the source media needed for the migration: • 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 Migrate to HP-UX 11i v2 Locating Source Media and Codewords Locating Codewords You can obtain a codeword for a purchased product by calling one of the following numbers. Table 4-1 HP Licensing Services Location Asia 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 Migrate to HP-UX 11i v2 The Next Steps The Next Steps You have completed the following review: • “Updating Your Ignite-UX Server” on page 65 • “Selecting Your HP-UX Console” on page 66 • “About Online Diagnostics” on page 70 • “Backing Up Your System” on page 72 • “Saving Configuration Files” on page 75 • “Locating Source Media and Codewords” on page 76 You are now ready to cold-install or update to HP-UX 11i v2 78 • To cold-install: see Chapter 5, “Cold-Installing HP-UX 11i v2,
5 Cold-Installing HP-UX 11i v2 This chapter describes cold-installing HP-UX 11i v2. What You Will Find in This Chapter • “Before You Begin” on page 80 • “Reviewing the Cold-Install Process” on page 81 • “Cold-installing HP-UX 11i v2” on page 83 • “Retrieving Information after Cold-installing” on page 90 • “The Next Step” on page 92 To complete the steps in this chapter, we estimate you require 2-3 hours, depending upon the system, and if you are installing the OS or an OE.
Cold-Installing HP-UX 11i v2 Before You Begin Before You Begin Before you cold-install HP-UX 11i v2, be sure you have done the following: • You are installing from a supported migration path, see “Supported Cold-Install Paths to HP-UX 11i v2” on page 33. • You understand all of the considerations provided in Chapter 2, and particularly: — “Cold-Install Considerations” on page 38. 80 • You are sure your system meets the system requirements to update and operate HP-UX 11i v2.
Cold-Installing HP-UX 11i v2 Reviewing the Cold-Install Process Reviewing the Cold-Install Process 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.
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 2 install depots: • OE depot: OS/OE From Golden Image 2 Create Install Golden Image using Ignite-UX Server 2 • AR depot: Applications Install non-OE applications using swinstall (see Chapter 8) Using tools from ITRC, identify and install additional needed patches 3 Install 3rd-par
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 To cold-install the operating system, use the following steps. Please note that cold-installing overwrites everything on the target disk. You should review the Appendix B, “Known Problems and Troubleshooting,” on page 145 to see if any installation issues apply to your system. Step 1. Make sure any external devices connected to the target system are turned ON and operational. Step 2.
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 Continuing the Install with Ignite-UX Program The system now displays the Ignite-UX welcome screen for the HP-UX installation process. If you have used Ignite-UX on PA systems, the remaining procedures will be familiar to you. Step 1. Take a moment to 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.
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 You have selected the keyboard language USB_PS2_DIN_US_English. Please confirm your choice by pressing RETURN or enter a new number: Step 3. Select Install HP-UX to begin interacting with the Ignite-UX (cold-install) program. Step 4. From the User Interface and Media Options screen, choose the degree of customizing needed to configure the installation.
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 IMPORTANT Review the HP-UX 11i Version 2 Release Notes to ensure that any bundle you deselect does not have a dependency. For example, you may deselect a software bundle that is necessary for another program to work correctly. Continuing with Guided Installation Step 1. You are now at the first step of the Install HP-UX Wizard: Select an overall system configuration. Accept the default option: HP-UX B.11.23 Default. Step 2.
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 Step 5. Select file system type. The default value chosen by the install program is recommended. Press Return/Enter to view the choices. x Install HP-UX wizard: Select a file system type x x x x Now that you have made your root swap selection, you x x need to choose which type of file system you would like x x to use. The current choice displayed in the selector is x x recommended. If you are unsure of what to choose, keep x x the default selection.
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 a. Select SecurityChoices. The four security configuration bundles appear. By default, Sec00Tools is selected. b. Select Sec30DMZ from the list. c. Select OK. Step 9. Pre-Install disk information, Step 1. There are two steps involved in the pre-install checks. The first is to identify which disks will be overwritten during the install process.
Cold-Installing HP-UX 11i v2 Cold-installing HP-UX 11i v2 Step 15. At this point, you will need to answer a few questions before you can use the system. The first is whether or not you plan to use the system on a network. If you completed the pre-install data collection tables in Appendix A, “Data Collection Tables,” on page 141, you have all the information you need for set_parms, so answer Y for yes. Step 16.
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. Here are some tips: Creating a new root home directory Consider creating a root home directory that is not /. 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 Restoring other files Carefully use the same techniques to restore other files and directories, such as /usr, /local and /opt. For help in importing entire volume groups, see either the Managing Systems and Workgroups: A Guide for HP-UX System Administrators or the Managing Superdome Complexes. The commands above will not write over newer files, so your new operating system and any files you update are well protected.
Cold-Installing HP-UX 11i v2 The Next Step The Next Step You have completed the cold-install process: • “Reviewing the Cold-Install Process” on page 81 • “Cold-installing HP-UX 11i v2” on page 83 • “Retrieving Information after Cold-installing” on page 90 Continue with chapter: • 92 Chapter 7, “Verifying System Install or Update,” on page 117 Chapter 5
6 Updating to HP-UX 11i v2 This chapter describes updating your system to HP-UX 11i v2 using the update-ux command. To help you decide whether you should update or cold-install, see Chapter 2, “Choosing a Migration Path,” on page 31.
Updating to HP-UX 11i v2 Before You Begin Before You Begin Before you update to HP-UX 11i v2, be sure you have done the following: ✓ You are updating from a supported migration path, see “Supported Update Paths to HP-UX 11i v2” on page 34 ✓ You understand all of the considerations provided in Chapter 2, and particularly: — “Update Considerations” on page 40 94 ✓ You are sure your system meets the system requirements to update and operate HP-UX 11i v2.
Updating to HP-UX 11i v2 Reviewing the Update Process Reviewing the Update Process This section describes updating to HP-UX 11i v2 using update-ux command and Software Distributor (SD) tools to selectively overwrite the operating system and application software from a media or network source depot. The overall process is described in Figure 6-1 on page 96, along with alternate methods of updating to HP-UX 11i v2: IMPORTANT You must install the latest version of Update-UX prior to updating your system.
Updating to HP-UX 11i v2 Reviewing the Update Process Figure 6-1 Updating to HP-UX 11i v2 Create archive/recovery image update Determine update approach Important! Install latest update-ux depots Determine source Create depots(s) media You can still opt to cold-install Continue to update OS/OE from 11i v2 OE media using update-ux Cold-Install from media, depots or golden image Update non-OE applications from Application media using swinstall Update HP-UX 11i v2 from depot containing OS/OE bundles
Updating to HP-UX 11i v2 Updating Tips Updating Tips During an update process, here are some tips and recommendations: Monitoring the Update Process If you wish to view the update process in detail, open another terminal window (drag it aside so you can also watch for any messages on the window running update-ux) and use the tail command to view swinstall messages being logged: tail -f /var/adm/sw/swagent.log You may also wish to log all messages directed to the console by using the script command.
Updating to HP-UX 11i v2 Updating Tips All Software Does Not Get Updated The update-ux command updates the HP-UX OS and any software specified in additional software bundles available on the source media or depot. When an OE is specified, some products in the OE will not get updated automatically if a version of the product not previously installed with an OE already exists on the system. You will have to update or re-install those products after updating HP-UX 11i v2.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 After determining if your system meets the requirements for updating to HP-UX 11i v2 and preparing your system, you are ready to update your system. Updating your system using update-ux includes the following steps: • “Optional Step: Creating a Network Depot” on page 99: Shows you how to create a network depot to update other systems on the network. If you are not creating a network depot, you can ignore this procedure.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 Step 2. Log in as root and mount the logical volume on a new directory named /update. This directory will hold your network depot. Step 3. Insert the HP-UX 11i v2 DVD and wait for the drive’s busy light to stop blinking. Step 4. Find the DVD-ROM device file name: ioscan -f -C disk | more /dev/dsk/c1t2d0 is a typical device name. Step 5. Create the directory under root(/): mkdir /dvdrom Step 6. Mount the DVD onto the new directory as a file system.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 Step 2. Find the DVD-ROM device file name: ioscan -f -C disk | more /dev/dsk/c1t2d0 is a typical device name. Step 3. Create the directory under root(/): mkdir /dvdrom Step 4. Mount the DVD onto the new directory as a file system. For example: mount /dev/dsk/c1t2d0 /dvdrom Step 5. Using either ksh, Posix-sh or Bourne shell, install update-ux on the target system.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 update-ux Syntax update-ux -s source_location [-?] [-n|-y] [-i] [-x option=value] [sw_spec] where: -s source_location Specifies the source containing the new software depot. Possible locations are a local directory, a mounted DVD containing a depot, or a remote system-and-depot combination. All paths used in the source_location must be absolute paths.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 an OE bundle name is not included on the command line, only the core OS will be updated. For more information, see Appendix D, “Software Distribution Media,” on page 161. For more about update-ux, see the update-ux (1M) manpage. update-ux Examples Your system configuration and your planning will determine how you use update-ux.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 We Recommend this 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) NOTE HP strongly recommends that you update your system with an operating environment to provide you with an integrated and tested set of supporting software and applications. If you do not specify an OE bundle update-ux will only install the OS, networking, diagnostic and CDE bundles listed on page 161. Any additional software bundles associated with an OE are not installed.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 /usr/sbin/update-ux -s netdepot:/update/update_depot \ HPUX11i-OE-Ent Updating Using Interactive Software Selection To interactively select software for an update, use the -i option. For example: /usr/sbin/update-ux -s /cdrom -i update-ux displays swinstall’s interactive user interface with software already selected to match the default update. Now you can change software selections.
Updating to HP-UX 11i v2 Updating to HP-UX 11i v2 In the above command, update-ux installs the HP-UX 11i v2 Foundation Operating Environment bundles listed on Appendix D, “Software Distribution Media,” on page 161, plus the Sec30DMZ security configuration bundle (including HP-UX Bastille, Perl, HP-UX IPFilter included in Sec00Tools).
Updating to HP-UX 11i v2 Configuring OE Applications Configuring OE Applications After updating to an HP-UX 11i v2 operating environment (OE), some OE products will need post-installation configuration to make them functional. This may be indicated by a message logged in /var/adm/sw/swagent.log. Refer to each product’s installation instructions for details. The location of OE product documentation is listed in the HP-UX 11i v2 Release Notes (available on the Instant Information DVD and http://docs.hp.com).
Updating to HP-UX 11i v2 Creating an HP Service Partition Creating an HP Service Partition Update-UX does not create or modify the HP Service Partition required by some HP Offline Diagnostics tools. If you are updating from a system that does not have an HP Service Partition, such as system newly updated from HP-UX 11i v1.6, you will need to create the HP Service Partition now. To Determine If the HP Service Partition Exists Step 1.
Updating to HP-UX 11i v2 Creating an HP Service Partition Step 2. Run the idisk command on the boot disk. For example on LVM enter: # idisk -p /dev/rdsk/c2t1d0 Figure 6-2 shows idisk output without an HP Service Partition installed;Figure 6-3 shows idisk output showing an HP Service Partition installed. Figure 6-2 idisk Output Showing No HP Service Partition Installed idisk version: 1.
Updating to HP-UX 11i v2 Creating an HP Service Partition Figure 6-3 idisk Output Showing HP Service Partition Installed idisk version: 1.
Updating to HP-UX 11i v2 Creating an HP Service Partition In Figure 6-2, 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, you should see a third partition listed as HPSP. If you already have an HP Service Partition (your output looks similar to Figure 6-3), you may skip the rest of this section and continue with, “The Next Step” on page 115.
Updating to HP-UX 11i v2 Creating an HP Service Partition IMPORTANT The recovery process may fail if the boot disk file system is very full while attempting to create a full archive with make_tape_recovery or make_net_recovery, causing either the system or user data restore to run out of space. HP strongly recommends that you back up your user data using other supported backup software for HP-UX 11i v2, and use make_tape_recovery or make_net_recovery to create an archive of your system data.
Updating to HP-UX 11i v2 Creating an HP Service Partition Step 5. Enter the appropriate Keyboard device for your system. Step 6. The Welcome to Ignite-UX! screen appears. Using the Tab key, select Advanced Options. The User Interface and Media Options screen appears. Step 7. From the list of User Interface Options, select Advanced Installation , then select OK. The /opt/ignite/bin/itool() screen appears. Step 8. From the Basic tab, select Additional.... The Additional Configuration Controls screen appears.
Updating to HP-UX 11i v2 The Next Step The Next Step You have completed the update process: • “Before You Begin” on page 94 • “Reviewing the Update Process” on page 95 • “Updating Tips” on page 97 • “Updating to HP-UX 11i v2” on page 99 • “Configuring OE Applications” on page 108 • “Creating an HP Service Partition” on page 109 Continue with the next chapter: • Chapter 6 Chapter 7, “Verifying System Install or Update,” on page 117 115
Updating to HP-UX 11i v2 The Next Step 116 Chapter 6
7 Verifying System Install or Update This chapter provides steps to verify that your system is ready and back in production. Before you begin, you should have already completed either installing or updating to HP-UX 11i v2.
Verifying System Install or Update Verifying the HP-UX Install or Update Verifying the HP-UX Install or Update To verify that HP-UX 11i v2 was installed or updated successfully, use the Software Distributor commands swlist and swverify. Start Task 1. Run swlist to determine all software installed on your system: /usr/sbin/swlist You can control the detail level of the information displayed with the -l option.
Verifying System Install or Update Verifying the HP-UX Install or Update If the analysis fails, either view /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. * Verification succeeded. TIP For help with these commands, see the swlist (1M) and swverify (1M) manpages, and the Software Distributor Administration Guide, which is available on the Instant Information CD or the web: http://docs.hp.
Verifying System Install or Update Verifying HP-UX Applications Verifying HP-UX Applications To verify that all required HP-UX applications have been installed or updated, you should have already tried the Software Distributor commands swlist and swverify, as explained in “Verifying the HP-UX Install or Update” on page 118.
Verifying System Install or Update Changing the State of HP-UX Installed Patches Changing the State of HP-UX Installed Patches The swinstall utility permits the installation of multiple patch bundles with a deferred configuration. Some of these patch bundles may contain superseded patches that do not get configured. After executing swverify \* on your system, these patches show an “installed” software state in the swagent.log file.
Verifying System Install or Update Changing the State of HP-UX Installed Patches WARNING This problem only exists when an active patch is removed and rolled back to a superseded patch left in an “installed” state. Executing swconfig on a patch in the “superseded” patch state is dangerous; do not do it. 3.
Verifying System Install or Update The Next Step The Next Step You have completed the verification process: • “Verifying the HP-UX Install or Update” on page 118 • “Verifying HP-UX Applications” on page 120 • “Changing the State of HP-UX Installed Patches” on page 121 Continue with the next chapter: • Chapter 7 Chapter 8, “Installing Patches and Applications,” on page 125 123
Verifying System Install or Update The Next Step 124 Chapter 7
8 Installing Patches and Applications This chapter describes how to install HP-related patches and non-OS HP applications. Before you being, you should have already completed Chapter 7, “Verifying System Install or Update,” on page 117.
Installing Patches and Applications Keeping Up to Date with the Latest Critical Patches Keeping Up to Date with the Latest Critical Patches After you installed HP-UX 11i v2, you will have the latest critical patches installed on your system that shipped with the media. However, other recommended critical or required patches may have become available after the initial release of the media.
Installing Patches and Applications Keeping Up to Date with the Latest Critical Patches Downloading When you need to find and download a single patch, use the HP Patch Individual Patches Database. Begin at the HP IT Resource Center web site: http://itrc.hp.com From the home page, select individual patches. If you are already registered, log in with your user ID and password. If you are not registered, follow the instructions on the screen.
Installing Patches and Applications Installing OS Patches Required by Individual Applications Installing OS Patches Required by Individual Applications If the operating system requires any new HP-UX patches, you can do the following: • Determine the list of HP-UX patches prior to cold-install • Obtain the newer HP-UX patches • Get the HP-UX patch information • Remove HP-UX patches, if necessary • Add newer HP-UX patches, if necessary • Keep up to date with the latest critical patches Determinin
Installing Patches and Applications Installing OS Patches Required by Individual Applications 2. From your system, enter the command: /usr/sbin/swlist -l product -a readme patch_name Removing HP-UX Patches To remove any patches from your system, you must first determine which patches are installed. 1. To display installed patches, enter the command: /usr/sbin/swlist -l patch \*.\*,c=patch 2. To preview the removal analysis, enter the command: /usr/sbin/swremove -p patch_name1 patch_name2 ... 3.
Installing Patches and Applications Installing OS Patches Required by Individual Applications 1. On the system, run swinstall interactively: /usr/sbin/swinstall 2. Highlight the patch bundle to select it, or individual patches and press Return/Enter. This opens the patch bundle to the product level. 3. For any given product (shown as a patch number): a. Highlight the product line to select it. b. Select Actions -> Show Description of Software. This generates a Software Description Dialogue box. c.
Installing Patches and Applications Tips for Installing or Updating HP Applications Tips for Installing or Updating HP Applications In the previous chapters of this guide, you installed HP-UX 11i v2, installed additional patches if necessary, and verified the system. Now you should install and/or update other needed HP, non-OS applications.
Installing Patches and Applications Tips for Installing or Updating HP Applications Installing Optional Software Products The Applications DVD that is distributed with HP-UX 11i v2 contains optional development tools and system management software. HP-UX 11i v2 must be booted in order to install optional software products. The following is the procedure for installing products from the Applications DVD. Step 1. Insert the Applications DVD in the DVD-ROM drive. Step 2. Mount the Applications DVD.
Installing Patches and Applications Tips for Installing or Updating HP Applications The swinstall program presents an interface for selecting and installing software from the DVD. Step 5. Unmount and eject the Applications DVD. You must unmount the DVD before you can eject it from the DVD-ROM drive. The DVD is automatically unmounted whenever the server reboots. Use the umount command to unmount the DVD. For example, umount /cdrom will unmount the /cdrom file system. See the umount (1M) manpage for details.
Installing Patches and Applications Tips for Installing or Updating HP Applications 2. After installing the software, see the Ignite-UX release notes and Ignite-UX Administration Guide to complete any post-install steps and configuration. After running an Ignite-UX install session, you have a working HP-UX client system.
Installing Patches and Applications 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. See the Ignite-UX Administration Guide: http://docs.hp.
Installing Patches and Applications The Next Step The Next Step You have completed the additional install and back-up processes: • “Keeping Up to Date with the Latest Critical Patches” on page 126 • “Installing OS Patches Required by Individual Applications” on page 128 • “Tips for Installing or Updating HP Applications” on page 131 • “Backing Up the System” on page 135 Continue with the last chapter: • 136 Chapter 9, “Configuring and Maintaining HP-UX 11i v2,” on page 137 Chapter 8
9 Configuring and Maintaining HP-UX 11i v2 This chapter outlines steps on how to configure your system to meet your needs. Before you begin you should have already completed the install or update of HP-UX 11i v2, and verified it as described in the previous chapters.
Configuring and Maintaining HP-UX 11i v2 Configuring Your HP-UX 11i v2 System Configuring Your HP-UX 11i v2 System Now that you have installed or updated HP-UX 11i v2 and any additional software and patches, your next task is to configure your system. You can find many of these tasks in Managing Systems and Workgroups: A Guide for HP-UX System Administrators.
Configuring and Maintaining HP-UX 11i v2 Configuring Your HP-UX 11i v2 System • Printers and Peripherals — Printers: See Managing Systems and Workgroups: A Guide for HP-UX System Administrators on http://docs.hp.com. — Peripherals: See Configuring HP-UX for Peripherals • Other Tasks You can find information about other tasks for HP-UX 11i v2 at http://docs.hp.
Configuring and Maintaining HP-UX 11i v2 Maintaining Your HP-UX 11i v2 System Maintaining Your HP-UX 11i v2 System The following flowchart offers a recommended method for maintaining your HP-UX 11i v2 system using the HP software support services. Figure 9-1 Reactive Software Maintenance Receive New 3rd Party Software Encounter Problem Search patch database on http://itrc.hp.
A Data Collection Tables When installing HP-UX 11i v2, you need to enter information in the Network Data and Miscellaneous Data collection tables.
Data Collection Tables Network Data Collection Table Network Data Collection Table The following Network Data collection table provides HP-UX commands that you can use after the install to confirm specific information. Table A-1 Enter Network Data Type of Data 142 Enter 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.
Data Collection Tables Miscellaneous Data Collection Table Miscellaneous Data Collection Table The following Miscellaneous Data collection table may contain some items that are not familiar to you, but they are all questions that you will be asked during the install. The install process describes all options in detail, so you can defer making decisions about those items unfamiliar to you until you reach that point in the install.
Data Collection Tables Miscellaneous Data Collection Table 144 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/Update Problems” on page 146 • “Uninstalling HP-UX 11i v2” on page 151 • “Restrictions with Netscape Communicator” on page 152. • “Character-code Handling with Perl” on page 153 As the HP-UX 11i v2 install progresses, you will see messages relating to the progress being entered into the log file.
Known Problems and Troubleshooting Known Install/Update Problems Known Install/Update Problems The following problems are known to occur in the HP-UX 11i v2 release. HP CIFS Server Product The new version of the HP CIFS Server A.01.09.04 is based on Samba 2.2.5 and is available on HP-UX 11i v2 release. Please refer to the HP CIFS Server 2.2e (version A.01.09.04) Release Notes for new features, known problems, and workarounds for this product. The CIFS Server 2.2e (version A.01.09.
Known Problems and Troubleshooting Known Install/Update Problems How Do You Know If your current system is running HP-UX 11i v1.6 and VxVM, and you If This Affects You attempt to install HP-UX 11i v2 from an Ignite-UX server, you will receive this message. What to Do Because of incompatibilities between VxVM 3.1 (on HP-UX 11i v1.6) and VxVM 3.5 (on HP-UX 11i v2), you can not install HP-UX 11i v2 on an HP-UX 11i v1.6 system running VxVM 3.1 from an Ignite-UX server.
Known Problems and Troubleshooting Known Install/Update Problems How Do You Know If you update your system to HP-UX 11i v2 from either HP-UX 11i v1.6 If This Affects You or HP-UX 11i v2, you will encounter this error message. The problem is caused by an ‘orphaned’ fileset IDS-AGT-KRN left on your system in order to prevent an unnecessary reboot, and results in swverify errors after the update. What to Do You can safely ignore this message. HIDS will work properly.
Known Problems and Troubleshooting Known Install/Update Problems How Do You Know The problem occurs after updating to HP-UX 11i v2 from HP-UX 11i If This Affects You v1.6. During the reboot after the update, the HP-UX 11i v2 Update-UX kernel attempts to reboot the system. While the system has been updated with HP-UX 11i v2 bits, the system kernel is still running as HP-UX 11i v1.6 before the reboot.
Known Problems and Troubleshooting Known Install/Update Problems No Dump Devices Configured Warning After cold-installing HP-UX 11i v2, you may see the following warning message while rebooting your system: WARNING: No dump devices are configured. Dump is disabled. Starting the STREAMS daemons-phase 1 execve(“/sbin/sh”) failed, errno 0xffffffff execve(“/bin/sh”) failed, errno 0xffffffff Create STCP device files Starting the STREAMS daemons-phase 2 What to Do 150 You can safely ignore this warning.
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: • Assuming that you have 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 Restrictions with Netscape Communicator Restrictions with Netscape Communicator Netscape 4.x Unbundles during Update When updating from HP-UX 11i v1.6 to HP-UX 11i v2, Netscape 4.x will become unbundled. You may see an error message similar to the following after running swverify: # Product(s) not contained in a Bundle: # NS-communicate B.11.00.01 Netscape Communicator 4.79 What to Do You can still use the product, but it will not swverify correctly. Netscape 4.
Known Problems and Troubleshooting Character-code Handling with Perl Character-code Handling with Perl Although Perl 5.6.1 does not directly support wide characters, its experimental support of Unicode may be a suitable solution. JPerl 5.005_003 is another solution to handle Japanese multi-byte characters albeit by an older version of Perl. What to Do Get the patch jperl5.005_03 and apply it to Perl. This patch is open source and available at a number of non-HP FTP sites. Follow these steps: Step 1.
Known Problems and Troubleshooting Character-code Handling with Perl 154 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 vx_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 resorts to caching objects in memory as a way 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/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 vx_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 are provided with the ability to set these tunables.
Controlling Memory Utilization of VxFS 3.
D Software Distribution Media This appendix describes the Operating Environments and media contents.
Software Distribution Media HP-UX 11i v2 Operating Environments at a Glance HP-UX 11i v2 Operating Environments at a Glance Overview Operating Environments are tested and integrated application bundles designed to work with the operating system and provide the functionality needed for your system’s purpose.
Software Distribution Media HP-UX 11i v2 Operating Environments at a Glance • HP-UX 11i v2 Technical Computing Operating Environment (TCOE) — Designed for both compute-intensive workstation and server applications, this OE is an extra-cost package containing the MTOE plus extensive graphics applications and Math Libraries. This OE is bundled as HPUX11i-TCOE. For more details, see “HP-UX 11i v2 Technical Computing Operating Environment (TCOE)” on page 168.
Software Distribution Media HP-UX 11i v2 Operating Environments at a Glance Always-Installed Features • • • • • • • • • • • • • • • • • • • • • • • • Event Monitoring System FDDI (PCI) FibreChannel (PCI) Gigabit Ethernet (PCI) Gigabit Ethernet Next Generation (PCI) HP CIFS Client HP CIFS Server HP WBEM Services for HP-UX HP-UX Kernel Configuration iEther (PCI) instant Capacity on Demand Logical Volume Manager nPartition Provider ONC+ Online Diagnostics PAM Kerberos Peripheral Device Tool Runtime Plug-in (J
Software Distribution Media HP-UX 11i v2 Operating Environments at a Glance • • • • • • Netscape 7 Partition Manager Perl Runtime Environment (RTE) for the Java 2 Platform v1.3 and v1.
Software Distribution Media HP-UX 11i v2 Operating Environments at a Glance Selectable Features • See “HP-UX 11i v2 Foundation OE (FOE)” on page 163 HP-UX 11i v2 Mission Critical OE (MCOE) The HP-UX 11i v2 Mission Critical Operating Environment (MCOE) is a high-availability Operating Environment for HP servers.
Software Distribution Media HP-UX 11i v2 Operating Environments at a Glance The MTOE is positioned to deliver a lean set of high-demand applications that do not increase purchase cost, support cost, or license cost over the base operating system.
Software Distribution Media HP-UX 11i v2 Operating Environments at a Glance HP-UX 11i v2 Technical Computing Operating Environment (TCOE) Like the Minimal Technical Operating Environment, the Technical Computing Operating Environment (TCOE) contains all the base functionality that is common to the other four OEs, including the base 32/64-bit HP-UX Operating System, network drivers, and other always-installed functionality.
Software Distribution Media HP-UX 11i v2 Software and Driver Bundle Type Definitions HP-UX 11i v2 Software and Driver Bundle Type Definitions The HP-UX 11i v2 media contains all of the software and network driver bundles for your system to run the latest version of HP-UX 11i v2. Additional software and network driver bundles are included, which you may choose to either select or deselect prior to install or update.
Software Distribution Media HP-UX 11i v2 Core Software Bundles HP-UX 11i v2 Core Software Bundles The following software bundles comprise the base software installed for all operating environments: Table D-2 HP-UX 11i v2 Core Software Bundles Bundle Name Description HPUXBaseOS HP-UX Base OS installation bundle(64-bit) HPUXBaseAux HP-UX Base Auxiliary bundle: Additional OS software (shown with bundle tag): HP-UX Kernel Configuration (Casey) EMS Framework (B7609BA) ONC (ONCplus) SWGETTOOLS (SWGETTOOLS
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-2, the following software bundles are installed by operating environment (for the latest version information, please see the Read Before Installing or Updating to HP-UX 11i v2 DVD booklet): The operating environments are represented as follows: Table D-3 FOE Foundation Operating Environment EOE Enterprise Operating Envir
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 HP MLIB Mathematical Software Library B6061AA HP WBEM Services for HP-UX B8465BA X X X X X Instant Capacity on Demand (iCOD) B9073BA X X X X X 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 HP-UX 11i v2 Always-Installed Software Bundles (by OE) Description Bundle FOE EOE MCOE X X X X Veritas File Systems (VxFS v3.5)/ OnlineJFS v3.5 B3929DA Veritas Volume Manager (VxVM) v3.
Software Distribution Media HP-UX 11i v2 Always-Installed Network & Mass Storage Drivers HP-UX 11i v2 Always-Installed Network & Mass Storage Drivers The following drivers are always-installed on your system (all operating environments): Table D-4 HP-UX 11i v2 Always-Installed Network Drivers Contents / Description 174 Supported IO Adapters Driver PCI FDDI A3739B FDDI-00 FibreChannel Tachlite A6795A A5158A FibrChanl-00 PCI GigEther 1000B-SX A4926A GigEther-01 PCI GigEther 1000B-T A4929A Gi
Software Distribution Media HP-UX 11i v2 Default-Installed Software Bundles HP-UX 11i v2 Default-Installed Software Bundles The following software bundles 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-5 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 176 Java 2 SDK v1.3 B9788AA Java 2 JRE v1.3 B9789AA Java 2 JDK v1.4 T1456AA Java 2 JRE v1.
Software Distribution Media HP-UX 11i v2 Selectable Software Bundles HP-UX 11i v2 Selectable Software Bundles The following bundles are not installed or updated by default. You must select the desired bundles prior to installing or updating your system.
Software Distribution Media HP-UX 11i v2 Selectable Network Drivers HP-UX 11i v2 Selectable Network Drivers The following network drivers are not installed or updated by default. You must select the desired bundles prior to installing or updating your system.
E Web Resources This appendix lists the many resources on the web: • Latest HP-UX 11i v2 information: http://docs.hp.com/hpux/os/11iv2 http://forums.itrc.hp.com http://www.hp.com Local-language user guides: http://docs.hp.com Use the navigation menu to select a language. • Latest Itanium-based server and workstation information: http://www.hp.com/products1/unix/operating/choice/hpux_itanium.html • Latest information on HP-UX software releases: http://www.software.hp.
Web Resources • HP Technical Documentation feedback form: http://docs.hp.com/assistance/feedback.html • Ignite-UX information and download: http://software.hp.com/products/IUX • Partition Manager http://www.software.hp.com/products/PARMGR • Safety and ergonomic information: http://www.hp.com/ergo • Servicecontrol Manager: http://software.hp.com/products/SCMGR • Software Distributor: http://software.hp.com/products/SD_AT_HP • System administration for HP-UX systems: http://docs.hp.
Index Symbols /etc, 75 /etc/passwd , 90 /home, 90 /local, 91 /opt, 75, 91 /usr, 91 /usr/local/, 75 A about this guide, 5 adding OE , 105 adding groups, 138 adding patches, 129 adding users, 138 additional software, 87 administration, 138, 139, 140, 180 alternate install methods, 81 Always-Installed Drivers FibreChanl-00, 174 GigEther-01, 174 Software CIFS/9000 Client, 171, 173 CIFS/9000 Server, 171 Cluster Object Manager, 171 Enterprise Cluster Master Toolkit, 171 GlancePlus Pak, 171 HA Monitors, 171 MC/Ser
Index considerations cold-install, 38 golden images, 39 instant ignition, 38 software depots, 39 console, 66, 68 console notes, 69 contact information, 4 contents, 20, 21, 23, 24, 27, 161 conventions, typographic, 6 copyright notice, 2 core software bundles, 170 HPUXBase64, 170 CDE , 170 HPUXBase32, 170 HPUXBaseAux, 170 create depot, 99 creating new root directory, 90 Custom Patch Manager, 126 D data collection, 142, 143 Deciding a Method update, 37 deciding a method cold-install, 36 default gateway, 142 De
Index fbackup, 72 features, 18, 21 unavailable, 23 feedback, 180 feedback form, 4 FibrChanl-00, 174 file partitions, 54 file sizes, 53 file system, 86, 87, 138, 143 file system metadata troubleshooting, 148 firmware recommendations, 58 flowchart update process, 96 FOE, 25, 26 contents, 163 forums, 180 Foundation OE, 104 Foundation Operating Environment, 25 foundation operating environment contents, 163 frecover, 72, 90 FW, 58 G GigEther-01, 174 GlancePlus Pak, 171 global tunables VxFS, 156 Gnome GTK+, 175 g
Index I identifying model, 60 identifying OE, 60 identifying OS, 60 identifying software, 60 IDS 9000, 177 Ignite-UX, 36, 65, 72, 73, 84, 133, 151, 177, 180 troubleshooting, 146 information, 27, 179 inode cache, 141, 155, 157 install before you begin, 80 known problems, 145 problems, 146 verify, 117, 118 install information, 90 installation tips, 131 installing, 79, 83, 84, 86 installing from Golden Images, 39 instant ignition, 38 software depot, 39 installing OnlineDiag, 70 installing patches, 128 install
Index mod_load_helper troubleshooting, 149 Mod_perl, 153 model, 60 monitoring update, 97 Mozilla , 175 Source, 175 MP, 58, 66, 68 MPI, 172 MTOE, 25, 26, 53, 104 contents, 166 N Netscape troubleshooting, 152 network data collection, 142 network depot, 99 update example, 105 network depots troubleshooting, 146 network drivers, 37 selectable, 178 networking, 138 new patches, 128 new root, 90 next steps, 123 NFS, 138 NIS, 142 notes, 69, 145 nslookup, 142 O OEs adding, 105 bundle names, 104 configuring applicati
Index install, 146 update, 146 process, 81 update, 95 Process Resource Manager, 172 protocols secured, 45 publication history, 4 R reactive maintenance, 140 Read Before Installing or Updating to HP-UX 11i v2 DVD booklet, 24 README documents, 28 rebuild kernel, 64 rebuilding kernel, 64 record software versions, 64 recovering files, 90 recovery, 72 release contents, 21 identifiers, 19, 20 media, 24 names, 19, 20 Release Notes, 28 release notes, 179 releases, 179 removing patches, 129 required media, 81 requir
Index selectable, 169, 177 updating selectable software, 106 software depot, 95 installing from, 39 software depots, 81 Software Distributor, 121, 129, 180 Software Selection interactive mode , 106 software transition kit, 179 source media, 76 specifying swap space, 86 STK, 179 storage, 57 subnet, 142 support, 26, 180 supported migration paths, 33 supported systems, 56 swagent.
Index all software not updated , 98 clean log files, 64 configuration, 108, 109 monitor process, 97 rebuild kernel, 64 record software versions, 64 to an 11i v2 OE, 104 to HP-UX 11i, 101 troubleshooting, 97 update-ux command, 101 vs.