Professional Documents
Culture Documents
HP 9000 Computers
2
Trademark Notices. UNIX is a registered trademark in the United States and
other countries, licensed exclusively through The Open Group.
X Window System is a trademark of the Massachusetts Institute of Technology.
MS-DOS and Microsoft are U.S. registered trademarks of Microsoft Corporation.
OSF/Motif is a trademark of the Open Software Foundation, Inc. in the U.S. and
other countries.
Revision History:
December 2000, Edition 1 — Initial version for HP-UX 11i.
June 2001 — Edition 2.
This guide’s printing date and part number indicate its current edition. The
printing date changes when a new edition is printed. (Minor corrections and
updates which are incorporated at reprint do not cause the date to change.) The
part number changes when extensive technical changes are incorporated.
New editions of this manual will incorporate all material updated since the
previous edition. For the latest version, see the HP-UX 11i documentation
section on the Web:
docs.hp.com/hpux/os/11i/
3
About this Guide
This guide describes installing HP-UX 11i on HP 9000 systems and
assumes that you are the system’s administrator familiar with
installing, updating and maintaining software on the system.
If you need to set up your system in different languages, please refer also
to Configuring HP-UX For Different Languages, available on the Instant
Information CD and on the Web: docs.hp.com A localized version of
that manual is available with localized media kits. Latest versions are
available at: docs.hp.com (select: localized documentation).
This guide uses these typographic conventions:
Boldface Words defined for the first time appear in boldface.
Computer Computer font indicates literal items displayed by the
computer. For example: file not found
User input Bold, computer text indicates literal items that you
type. For example, to change to your account’s home
directory, enter:
cd
Italics Manual titles, variable in commands and emphasized
words appear in italics. For example, you would
substitute an actual directory name for
directory_name in this command:
cd directory_name
[ ] and | Brackets [] enclose optional items in command syntax.
The vertical bar | separates syntax items in a list of
choices. For example, you can enter any of these three
items in this syntax:
ls [-a | -i | -x]
Enter Text in this bold, sans-serif font denotes keyboard keys
and on-screen menu items. A notation like Ctrl-Q
indicates that you should hold the Ctrl key down and
press Q.
4
Contents
5
Contents
4. Updating Applications
HP-UX Patching Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Updating Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Adding and Removing Individual Patches . . . . . . . . . . . . . . . . . . . . . . . 81
Using Software Distributor Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Updating LicensePower/iFOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Maintaining Your HP-UX 11i System . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
6
Contents
B. In Case of Trouble
Cold-install Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100
Common Update Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101
Analyzing Log Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108
Problems Configuring HP-UX 11i. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109
Intermittent Sendmail Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117
Adjusting File System Sizes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118
Problems with Large Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122
Un-installing HP-UX 11i. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123
Re-installing SD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124
Recovering a Corrupt System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
Verifying and Adding Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . .126
Problems Affecting non-C Locales . . . . . . . . . . . . . . . . . . . . . . . . . . . . .127
Web Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129
7
Contents
8
Preparing for Software Migration
This chapter will help you assess the current state of your system
(hardware, OS, disk space, etc.) prior to migrating to HP-UX 11i. Topics
covered here include:
Chapter 1 9
Preparing for Software Migration
Introduction
Introduction
This guide describes migrating HP 9000 systems to HP-UX 11i. This new
version of HP-UX delivers hardware enablement, software functionality,
and bundles of important HP-UX applications in Operating
Environments. HP-UX 11i Operating Environments (OEs) are
introduced in the Read Before Installing or Updating to HP-UX 11i
booklet supplied with the HP-UX 11i OE CDs.
HP-UX 11i is the recommended next-level enterprise release for all
HP-UX systems currently running HP-UX 10.x and 11.0.
This manual deals only with the software steps required to update your
HP-UX operating system. For hardware upgrades, either see the
documentation included with your hardware or consult your HP Support
Engineer.
IMPORTANT Be sure to review this entire guide before proceeding to install or update
your system. If you plan to update to HP-UX 11i rather than cold-install
it, carefully review Appendix B for situations that may apply to your
system.
If you have just received a system that was ordered with “Instant
Ignition,” the HP-UX 11i Operating Environment has already been
installed. You do not need to re-install it.
Migration Here’s an overview of this guide and migration process shown on the
overview next page:
10 Chapter 1
Preparing for Software Migration
Introduction
3. Verify
2. Cold-install the Migration
HP-UX 11i
Verify HP-UX installation using swlist and swverify.
Reference: Chapter 3.
Chapter 1 11
Preparing for Software Migration
Introduction
Installing or Review the remainder of this chapter to help decide which path to take to
updating to migrate your system to HP-UX 11i. You basically have two choices:
HP-UX 11i ?
• Cold-install 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. The process described in this guide cold-installs
a single system from local media. If you plan to install many systems
simultaneously, you should plan on using an Ignite-UX server.
Ignite-UX is a free product available on the HP-UX 11i CD1.
Additional information on Ignite-UX and newer versions are
available on the Web:
software.hp.com/products/IUX/
• Update using update-ux — Use the update-ux command when you
do not want to erase data or application files on your root disk. As
explained in Chapter 2, update-ux adds or replaces functionality
based on what you choose when running the command.
Verify existing HP-UX 11i Operating Environments (OEs) provide a convenient way to
applications install many needed applications in a single step. Contents of HP-UX 11i
OEs are listed in the Read Before Installing or Updating to HP-UX 11i
booklet supplied with the 11i CDs. If you plan to install an OE, you
should verify that your existing installed applications that are not
included in the OE are certified to run on the new HP-UX 11i release:
software.hp.com/HPUX-RDMP/
Step 2. Select: HP-UX 11i Application Release -> New/Updated Software Product List
Step 3. Review the listing of supported applications to ensure that they are still
supported. If needed, plan on updating applications not provided in an
OE after you install or update to 11i.
12 Chapter 1
Preparing for Software Migration
System Requirements
System Requirements
Supported HP-UX 11i is supported on the HP 9000 systems listed below (newly
systems supported system are shown in bold). For the latest list of supported
systems, see:
devresource.hp.com/STK/hpux_faq.html
Chapter 1 13
Preparing for Software Migration
System Requirements
14 Chapter 1
Preparing for Software Migration
System Requirements
You May Only If your system is already running HP-UX 11i, you may only need to
Need to Install install one or more patch bundles to bring your system up-to-date or to
Patch Bundles... enable new hardware. Rather than doing a complete migration to the
current 11i OS or OE, consider using swinstall to install the latest patch
bundles to meet your system needs:
Chapter 1 15
Preparing for Software Migration
Identifying Model, OS and Software
Identify OS To identify the OS version that your system is currently running, enter:
uname -r
To update to HP-UX 11i, your system must be currently running either
B.10.20 or B.11.00. After cold-installing or updating to HP-UX 11i,
you’ll notice that uname identifies the initial 11i release as: B.11.11
Identify installed To identify the software products on a system or media, use swlist. For
software example, to list all products and their revisions on a CD mounted at
/cdrom , enter:
/usr/sbin/swlist -s /cdrom
To get table of contents and product details, enter:
/usr/sbin/swlist -dvl product -a readme @ /cdrom
swlist has many options to expand or narrow the listing to specific
attributes; see the swinstall(1M) manpage or the Software Distributor
Administrator Guide, available on the HP-UX 11i Instant Information
CD and on the Web: docs.hp.com/hpux/os/11i/
After identifying all software products, compare the list with products
that will be installed with the HP-UX 11i Operating Environment. See
the Read Before Installing or Updating to HP-UX 11i booklet.
The update process will replace existing OS products and, optionally, an
Operating Environment with new versions; other applications will not be
touched unless specified in the update process. The cold-install process,
however, will erase all software on the root volume before installing 11i
and an optional Operating Environment. If you wish to retain any
existing software, be sure to back up that software before migrating.
16 Chapter 1
Preparing for Software Migration
Migrating from Previous HP-UX Releases
HP-UX 9.x -10.10 Cold-install 11i or update to 10.20 before updating to 11i2.
Notes:
1 Cold-install 11i using Ignite-UX. Can also change from 32-bit to 64-bit OS and
install patches and other applications using an install archive.
2 Update using update-ux command. Can also change from 32-bit to 64-bit OS.
The update-ux command updates the base OS plus any specified software
bundle(s) including products in a specified Operating Environment. By default,
update-ux does not “match target” on installed software.
3 Contents of HP-UX 11i Operating Environments are listed in the Read Before
Installing or Updating to HP-UX 11i booklet supplied with the 11i CDs.
For help updating from HP-UX 10.20 or 10.30, use the Software
Transition Kit available at:
devresource.hp.com/STK/
Chapter 1 17
Preparing for Software Migration
Firmware Upgrades
Firmware Upgrades
Some systems may need a firmware upgrade prior to updating to 11i:
• Servers:
— A-Class
— L-Class
— N-Class
• Workstations:
Minimum firmware If you are about to install or upgrade one of the systems listed above,
versions for 11i verify that it has the minimum required firmware version. If needed,
install the patch(es) for your system listed here:
Firmware and Patch for 11i Support Firmware and Patch for OL* Support
Model Minimum Minimum
Firmware Available Patches Firmware Available Patches
Version HP-UX 10.20 HP-UX 11.0/11i Version HP-UX 11.0 HP-UX 11i
B-Class 2.9
PHSS_23184 PHSS_23185 / (Also, OL* not available on workstations.1)
C-Class 2.9 PHSS_23186
J-Class 2.9
These patches check the firmware and only update the bootROM to be
compatible with HP-UX 11i or OL*.
18 Chapter 1
Preparing for Software Migration
Firmware Upgrades
Check workstation Follow these steps to check workstation firmware version prior to
firmware revision migrating to 11i:
1. Enter: shutdown -h
Step 2. Switch the system ON and watch console messages. Press any key when
prompted to cancel the automatic boot feature.
Step 3. Check the firmware version displayed at the beginning of the boot
process. If the firmware revision for your B-, C- or J-Class workstation is
less than 2.3, it needs upgrading. Continue with “Downloading firmware
patches” on page 22.
Checking server There are two methods to check firmware version on HP 9000 servers:
firmware revision OnlineDiagnostics or the boot display. Use OnlineDiagnostics if you do
not want to reboot your system.
Using OnlineDiagnostics:
If the OnlineDiagnostics are not already on your system, you can find
them on the 11.0 Support Plus CD.
/usr/sbin/cstm
Chapter 1 19
Preparing for Software Migration
Firmware Upgrades
Step 5. Use the map command to find the device number (Dev Num) for the
processors on your system; search for items with the product description
CPU:
cstm>map
systemA.hp.com
Dev
Num Path Product
=== ==================== =========================
1 system system ()
...
34 160 CPU (5c4)
35 166 CPU (5c4)
Select any one of the processors (CPU) to use in the next step.
Step 6. Use the CPU device number as input to the sel dev command to request
information on that processor. For example:
cstm>sel dev 34; info
-- Updating Map --
Updating Map...
Step 7. Use the information log (il) command to find the firmware revision
number:
cstm>il
-- Converting a (5060) byte raw log file to text. --
... (output lines are omitted)
Step 8. Enter q to leave this screen. Then press Enter at the next prompt, and
enter exit to exit the utility.
20 Chapter 1
Preparing for Software Migration
Firmware Upgrades
Chapter 1 21
Preparing for Software Migration
Firmware Upgrades
Step 1. Go to:
itrc.hp.com
Step 4. Select Series 700 for workstations or Series 800 for servers.
Select the OS your system is running, either 10.20 or 11.00.
Step 5. Choose Search By Keyword, enter the patch name for your system listed
on page 18 and click search.
The patch you entered or its successor should be listed. Select that patch
(click select all, then add to selected patch list, then download). Ignore any
comments that the firmware patch is “Not yet HP recommended”.
22 Chapter 1
Preparing for Software Migration
Firmware Upgrades
Applying firmware Follow these steps to install each patch you’ve downloaded on each
patches system prior to updating it to 11i:
Step 4. Change your working directory to /tmp and unshar each patch. For
example, to unshar patch PHSS_23184:
cd /tmp
sh PHSS_23184
/usr/sbin/swinstall -x autoreboot=true -x \
patch_match_target=true -s /tmp/PHSS_23184.depot
CAUTION Do not interrupt the update process. Do not power down the system
or perform any other similar action during the update. The process
requires multiple reboots. Once the system has rebooted HP-UX
completely, it’s safe to perform any other normal operation.
Chapter 1 23
Preparing for Software Migration
Updating Your Ignite-UX Server
24 Chapter 1
Preparing for Software Migration
Installing Diagnostics
Installing Diagnostics
HP-UX 11i automatically installs support tools 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
HP 9000 system hardware, including CPUs, memory, interface cards,
mass storage and other devices.
docs.hp.com/hpux/diag/
Chapter 1 25
Preparing for Software Migration
Needing More Disk Space?
26 Chapter 1
Preparing for Software Migration
Needing More Disk Space?
— 64 MB memory, minimum.
— 128 MB free swap space, minimum. Total swap should be 1GB.
— LVM partitions:
Extra space Cold-installing the HP-UX 11i Technical Computing OE installs all CDE
needed with languages, rather than just a selected language. To remove unneeded
Technical CDE language bundles after installing the TCOE, list them using swlist
Computing OE and remove unneeded bundles using swremove. See Chapter 4 for
example uses of swlist and swremove.
Chapter 1 27
Preparing for Software Migration
Needing More Disk Space?
Table 1-1 Update Free Disk-space Requirements for /usr and /opt
28 Chapter 1
Preparing for Software Migration
Selecting the Path to HP-UX 11i
Chapter 1 29
Preparing for Software Migration
Selecting the Path to HP-UX 11i
Update when... You should update rather than cold-install HP-UX 11i when you are
updating from HP-UX 10.20 or 11.0 and:
NOTE update-ux removes all 10.x patches from the system prior to updating to
11i. Any 10.x applications left on the system after the update may not be
supportable if they required those patches. After migrating your system,
see instructions for each remaining application to update it to 11i.
Updating network Installing or updating to HP-UX 11i will install a minimum set of default
drivers networking drivers that apply to the system (see the top part of the table
at the end of Chapter 2). You may need to select or specify other available
networking drivers to enable other cards on your system. This can easily
be done during the install or update by following the instructions in
Chapter 2.
Updating NDS If you plan to update Netscape Directory Server (NDS) along with
HP-UX 11i, see Chapter 2 for details. The update-ux command does not
replace NDS with a new version by default.
update-ux If the Distributed File System (DFS) is installed and in use on your
removes DFS HP-UX 10.20 system to manage large numbers of files, update-ux will
remove it and associated data during the update to 11i. If you need to
continue using DFS, do not update to HP-UX 11.x or 11i.
Installing or If you system already is running any version of the Apache Web Server,
updating Apache installing or updating to an HP-UX 11i Operating Environment will not
install the version of Apache included with the 11i OE. If you wish to
install the version of Apache provided with HP-UX 11i, you should
30 Chapter 1
Preparing for Software Migration
Selecting the Path to HP-UX 11i
Chapter 1 31
Preparing for Software Migration
Collect Key Install Information
32 Chapter 1
Preparing for Software Migration
Back Up Your System!
Using fbackup Many administrators use the basic fbackup command to back up the
entire system to tape. You do not need to unmount any imported file
systems; fbackup does not cross NFS boundaries unless specified.
Using the normal tape location to do a full backup, mount a new tape and
enter:
fbackup -f/dev/rmt/0m -i -v
Later, if you wish to return the system to its previous state, use the
frecover command. See the fbackup(1M) manpage for examples.
Chapter 1 33
Preparing for Software Migration
Back Up Your System!
volume group.
If a tape drive other than the default (/dev/rmt/0m) will be used,
modify the command to point to the device you want to use, for example a
tape drive at /dev/rmt/3mn:
/opt/ignite/bin/make_tape_recovery -ACv -d/dev/rmt/3mn
To recover a failed system disk or volume group after a recovery tape has
been made, simply load the recovery tape, boot the system, interrupting
the boot sequence to redirect to the tape drive. Allow the install process
to complete. Do not intervene. The system will reboot and, because map
files for all associated volume groups have been saved on the tape, any
other existing volume groups are imported and mounted automatically.
Data which is not in the root volume group must be backed up and
recovered using normal backup utilities.
For more information on using make_recovery, see the
make_tape_recovery(1m) manpage on an Ignite-UX server or Chapter 11
of the Ignite-UX Administration Guide. The guide is available on the
HP-UX 11i Instant Information CD and on the Web:
docs.hp.com/hpux/onlinedocs/B2355-90738/B2355-90738.html
34 Chapter 1
Preparing for Software Migration
Save Configuration Files
Step 1. Copy all config files from /etc on a system named moe to system curly.
On curly, enter:
mkdir /backup/moe/etc
rcp -p your_name@moe:/etc/* /backup/moe/etc/.
Step 2. Copy your local home directory to the backup system. On curly:
mkdir /backup/moe/home
rcp -pr your_name@moe:/home/ /backup/moe/home/
and so on...
Colors and fonts If you want to preserve your colors and fonts in VUE or CDE, execute:
xrdb -q > xrdb.save
Then save the xrdb.save file in your backup directory. Be aware that
VUE is not supported beyond HP-UX 10.20.
Chapter 1 35
Preparing for Software Migration
Locate Source Media for Migration
36 Chapter 1
Migrating to HP-UX 11i
This chapter describes migrating your system to HP-UX 11i using the
HP-UX 11i Operating Environment (OE) CDs:
Chapter 2 37
Migrating to HP-UX 11i
Cold-installing HP-UX 11i
Cold-installing HP-UX must be installed on the boot disk assigned to each partition
HP-UX on after the partition has been configured. Configuring the boot disk is
partitioned explained in the Managing Superdome Complexes manual, available on
systems the HP-UX 11i Instant Information CD and on HP’s user-documentation
Web listed above.
Once each partition has been configured for installation, follow the
cold-installation instruction on the following pages to install HP-UX on
each partition’s boot disk.
Installing or Although the Netscape Directory Server (NDS) is included in HP-UX 11i
updating NDS OEs, you must explicitly select NDS during the install or update process
described next to install it. If you do not select NDS, it will not be
installed with 11i. For more on this, see “Updating Netscape Directory
Server” on page 67.
38 Chapter 2
Migrating to HP-UX 11i
Cold-installing HP-UX 11i
Determine
install
approach
if factory
integrated
from use use golden
CDs depots * image **
Install 11i OS/OE Create 2 install Create Install
using Ignite-UX depots: golden image using
(see page 43) OE depot: Ignite-UX Server**
OS/OE, QPK.
AR depot:
Install non-OE Applications, QPK.
applications (see Notes below)
using swinstall
(see Chapter 4) Install image using
Ignite-UX Server
Install from depot(s)
Install patches using Ignite-UX
from Support Plus
CD using swinstall
(see Chapter 4) Install non-OE
applications
using swinstall
(see Chapter 4)
Identify and install
non-OE patches
using Custom Patch
Manager (CPM) Notes:
QPK - Quality Pack from Support Plus CD contains
patch bundles for OS/OE and applications.
Install 3rd-party and See Step 24 on page 47.
* For help creating depots, see the Software
internal software Distributor Administration Guide.
**Golden image can contain OS/OE, patches,
and application bundles.
Create For help creating golden images, see the
archive/recovery Ignite-UX Administration Guide.
image
Cold-installing HP-UX 11i
Done
Chapter 2 39
Migrating to HP-UX 11i
Cold-installing HP-UX 11i
IMPORTANT If you have NDS version B.02.00.05 and are updating to HP-UX 11i, be
sure to either select the new version of NDS during the update or remove
the old version from your system. If you run NDS version B.02.00.05
with 11i, the server will cease to work and all client systems may lose the
ability to have anyone log in.
Installing If you are planning to install the HP-UX 11i Mission Critical OE,
MC/ServiceGuard MC/ServiceGuard will be automatically installed, removing any previous
version of MC/ServiceGuard on the system. If you will require the
ServiceGuard OPS Edition on the system rather than MC/ServiceGuard,
review “Installing ServiceGuard Products” at the back of this chapter
before continuing. After installing the 11i MC OE, follow the instructions
in that section to replace MC/ServiceGuard with the ServiceGuard OPS
Edition.
System Requirements
To cold-install HP-UX 11i, you must have the following:
40 Chapter 2
Migrating to HP-UX 11i
Cold-installing HP-UX 11i
Required media Have these CDs ready from the HP-UX 11i media box:
Typical install time Cold-installing HP-UX 11i typically takes from 2-3 hours, depending
upon the system and whether you are installing only the OS or also
installing an OE.
To do a cold installation:
Make sure any external devices connected to the target system are
turned ON and operational. Then turn the system ON or cycle power.
You will see the boot console menu. Boot procedures vary somewhat
between computers. If you need help, enter:
HELP
Step 3. Ensure that Fast Boot is enabled (the full memory check run when Fast
Boot is OFF may take several hours on a large system):
FB ON
Step 4. Search for bootable devices, using the choices displayed (for example,
enter search or sea). You’ll see a table similar to this:
Path# Device Path Device Type
----- ----------- -----------
P0 SESCSI.2.0 TOSHIBA CD-ROM
Chapter 2 41
Migrating to HP-UX 11i
Cold-installing HP-UX 11i
Step 5. Boot from the CD drive using the listed path number. For the example
shown above, enter: BO P0
Step 6. After a few minutes, you’ll be asked Interact with IPL? Press: n
The install kernel will load (takes 3-5 minutes), after which a screen
might ask you to enter the keyboard language of your console. Enter the
number and press Return/Enter... and again to confirm.
Step 7. When the initial Ignite-UX screen appears, take a moment to read how
to navigate and select choices using this terminal interface:
• Use the Tab key to navigate between fields and the arrow keys to
navigate within fields.
42 Chapter 2
Migrating to HP-UX 11i
Cold-installing HP-UX 11i
You can exit Guided Installation and restart the configuration using
Advanced Installation at any time by either selecting the Cancel button
or pressing C. Make your choices and select OK.
Chapter 2 43
Migrating to HP-UX 11i
Cold-installing HP-UX 11i
in Appendix B.
NOTE Ignore any message stating that /var needs to be larger than available
to hold a dump file. /var typically only needs to be set to 50-100% as
large as the current memory to handle dump files.
• With Advanced Installation, select GO! (at the bottom of any tab). A
confirmation screen lists the disks that will be written to during
installation and a log of any warnings or errors encountered. You
have the chance to Cancel at this time. If you cancel, you return to the
previous configuration screen.
After you selecting Finish or GO!, the system configures the hard disk(s)
and loads a minimum set of commands and libraries. SD then downloads
all the products and patches from the first CD.
Step 11. When prompted, replace HP-UX 11i CD1 with the requested CD from
the media box. Software will be automatically loaded from each CD. If
you see the message:
Unable to verify CD-ROM media content ...
You may have pressed Enter before changing the CD. If so, select the
displayed Recovery Action 1: Retry software Load... and press Enter again.
Step 12. The system automatically reboots after all software has been loaded.
44 Chapter 2
Migrating to HP-UX 11i
Cold-installing HP-UX 11i
Eject the last CD. Be sure to store all CDs in a safe place. You may need
them later to install drivers or install/change the OE.
Step 13. If you specified Ask at first boot during the installation screens, the
set_parms command runs now so you can set the root password, date,
time, time zone, IP address, and other network parameters. You may
need to customize NFS mount gateways, file systems, and so forth after
you log in. Changes to the kernel, such as adding devices, will require a
reboot to enable them.
Step 14. Before installing or updating applications, insert the HP-UX Support
Plus CD and install the Quality Pack patch bundles to update the OS
and OE applications on your system. For example:
For more about this package, see the Quality Pack page available on the
Support Plus Web:
software.hp.com/SUPPORT_PLUS/qpk.html
Problems? If you encounter a problem during the cold-install process, first review
Appendix B for possible solutions.
Help may also be available on the Web:
forums.itrc.hp.com/cm/FamilyHome/1,1148,117,00.htm
Chapter 2 45
Migrating to HP-UX 11i
Cold-installing HP-UX 11i
Create a new root Consider creating a root home directory that is not /. This keeps the user
directory root dot files out of the / directory. Make sure it is on the root volume by
calling it something like /homeroot. This is especially important if you
are using LVM and /home is a separate volume.
Step 1. From the CDE login screen, select Options -> Command Line Login and
login as root.
Step 2. Edit /etc/passwd to change the home directory from root to /homeroot
and save it.
mkdir /homeroot
mv /.[a-zA-Z]* /homeroot
Recover files Recover all the customized and personal files that you saved previously
by merging them manually. For example, do not overwrite /etc/passwd
with your old version. Instead, either paste in entries from your old files
or merge the old information into the new files.
Restore /home If you had a local home directory, you can restore it as follows:
Restore 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 Filesystems and Workgroups manual or
the Managing HP Superdome Complexes manual.
46 Chapter 2
Migrating to HP-UX 11i
Cold-installing HP-UX 11i
The commands above will not write over newer files, so your new
operating system and any files you update are well protected.
Chapter 2 47
Migrating to HP-UX 11i
Updating HP-UX 10.20/11.0 to 11i
About update-ux The update-ux command improves the usability and robustness of the
update process by eliminating many of the manual steps required by
swgettools in previous HP-UX updates. In addition to ensuring a safe
environment on the target system for the OS update, update-ux performs
these update preparation steps before initiating the update:
48 Chapter 2
Migrating to HP-UX 11i
Updating HP-UX 10.20/11.0 to 11i
— Checks for minimal disk space in /, /stand, /opt, /usr and /var on
a system using LVM.
— Removes HP-UX 11.0 OS bundle wrappers.
If any requirements are not met, update-ux will display an appropriate
message and exit.
update-ux installs a new version of HP-UX Software Distributor (SD),
plus any patches to it, from the source depot before initiating an OS
update.
Updating NDS If you plan to update Netscape Directory Server (NDS) along with
HP-UX 11i, see “Updating Netscape Directory Server” on page 67. The
update-ux command does not replace NDS with a new version by default.
update-ux If the Distributed File System (DFS) is installed and in use on your
removes DFS HP-UX 10.20 system to manage large numbers of files, update-ux will
remove it and associated data during the update to 11i. If you need to
continue using DFS, STOP! Do not update to HP-UX 11.x or 11i.
Installing If you are planning to install the HP-UX 11i Mission Critical OE,
MC/ServiceGuard MC/ServiceGuard will be automatically installed, removing any previous
version of MC/ServiceGuard on the system. If you currently have or will
require the ServiceGuard OPS Edition on the system rather than
MC/ServiceGuard, review “Installing ServiceGuard Products” at the
back of this chapter before continuing.
Chapter 2 49
Migrating to HP-UX 11i
Updating HP-UX 10.20/11.0 to 11i
Create
archive/recovery
image
use
depot(s)
Determine update-ux Determine
update Create depot(s)
source (see page 54)
approach
Updating
HP-UX 10.20/11.0 to 11i Create
archive/recovery
image
Done
50 Chapter 2
Migrating to HP-UX 11i
Updating HP-UX 10.20/11.0 to 11i
Typical update The entire update process typically takes from 2 to 6 hours, depending
times upon the system being updated, whether you are updating only the OS or
also adding an OE, the amount of existing user data on the system, etc. If
you are only updating the OS (not including an OE) on a newer system,
the update time will typically be 2-3 hours.
Monitoring the If you encounter a problem during the update process, review Appendix
update process B in this guide for possible solutions.
Chapter 2 51
Migrating to HP-UX 11i
Updating HP-UX 10.20/11.0 to 11i
Updating Tips
Record software To identify what software still needs updating after the OS update, print
versions before an swlist listing of all products and bundles beforehand. For example,
updating enter:
/usr/sbin/swlist | lp
Then compare it with a similar swlist done after the update.
Rebuild kernel Your update could fail if the HP-UX kernel fails in the starting
before you update environment. To ensure that you have a reliable starting point, rebuild
the kernel before you update:
/usr/sbin/mk_kernel
Step 3. Reboot your system to ensure that your new kernel boots.
Disable CDE To prevent the CDE screen lock function from locking the keyboard
screen lock during an update, disable the function now:
Click the style manager icon on the front panel.
Click the Screen icon.
Select: Screen Lock: Off
Also, do not lock the system using the front panel lock icon.
Clean out your log To make it easier to check for problems encountered during an update,
files rename the log files before starting an update:
Step 1. cd /var/adm/sw
mv swagent.log swagent_old.log
Monitor the update If you wish to view the update process in detail, open another term
process 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 -t /var/adm/sw/swagent.log
52 Chapter 2
Migrating to HP-UX 11i
Updating HP-UX 10.20/11.0 to 11i
You may also wish to log all messages directed to the console by using the
script command. For example, to log all messages into a file named:
/tmp/updateOS, enter:
script -a /tmp/updateOS
To halt the script log process, enter: exit
Running other You can run other commands during an update, such as viewing files,
commands tail, etc. However, do not run other Software Distributor commands
during an update; doing so may cause the commands to function
improperly.
Updating If you encounter a problem during the update process, review Appendix
problems? B in this guide for possible solutions.
All software The update-ux command updates the HP-UX OS and any software
doesn’t get specified in additional software bundle(s) available on the source media.
updated When an OE is specified, some products in the OE such as Apache Web
Server, will not automatically get updated if a version of the product not
previously installed with an OE already exists on the system. You’ll have
to update or re-install those products after updating 11i.
Verify the update To verify the software versions after updating, list the products using the
swlist command. To verify that all software products are compatible with
the new OS, run swverify. These operations are explained in Chapters 3
and 4.
Back up your After you update, please back up your system. We recommend using the
system! Ignite-UX make_tape_recovery or make_net_recovery command to
create a recovery archive immediately after updating to HP-UX 11i. By
backing up your system, you will have a reliable system image to return
to if subsequent system changes or a system failure corrupts your
Chapter 2 53
Migrating to HP-UX 11i
Updating HP-UX 10.20/11.0 to 11i
system. To use these recovery commands, you need to first install the
Ignite-UX bundle as shown later in the update examples.
Use the same process you used to back up your system before migrating
to HP-UX 11i. See “Back Up Your System!” in Chapter 1.
Step 1. Insert the HP-UX 11i CD 1 and wait for the CD drive’s busy light to stop
blinking.
Step 2. Log on as root and find the CD-ROM device file name:
mkdir /cdrom
Step 4. Mount the CD onto the /cdrom directory as a file system. For example:
The -r option causes SD to write the log files to the alternate root. The
11i SD contains many new keywords that 10.20 and 11.00 SD do not
recognize, so the install generates many warnings that can be ignored.
Use of the alternate root facilitates ignoring the warnings.
54 Chapter 2
Migrating to HP-UX 11i
Updating HP-UX 10.20/11.0 to 11i
network:
Step 1. Verify that you have at least 1,230 MB of free space to create the network
depot on another system in your network. If this space is not available,
use sam to either create a new volume group or extend an existing
volume group. For help, see either SAM help or the Managing Systems
and Workgroups manual.
Step 2. Login 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 CD1 and wait for the CD drive’s busy light to stop
blinking.
mkdir /cdrom
Step 6. Mount the CD onto the /cdrom directory as a file system. For example:
Step 7. Merge all products on the mounted CD to the target depot, for example
/update/update-depot:
umount /cdrom
Step 9. Insert the HP-UX 11i CD2. Wait for the drive’s busy light to stop
blinking.
Step 10. Repeat Steps 6 through 8 using CD2 and the Support Plus CD.
The network depot is now ready to update your HP-UX 10.20 or 11.0
system to HP-UX 11i.
Chapter 2 55
Migrating to HP-UX 11i
Updating HP-UX 10.20/11.0 to 11i
56 Chapter 2
Migrating to HP-UX 11i
Updating HP-UX 10.20/11.0 to 11i
swinstall(1M) manpage.
-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, see 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.
For more about update-ux, see the update-ux(1M) manpage.
Examples Each of the following examples updates and reboots the system.
Chapter 2 57
Migrating to HP-UX 11i
Updating HP-UX 10.20/11.0 to 11i
58 Chapter 2
Migrating to HP-UX 11i
Updating HP-UX 10.20/11.0 to 11i
Chapter 2 59
Migrating to HP-UX 11i
Updating HP-UX 10.20/11.0 to 11i
In case of trouble 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 and
/var/adm/sw/swinstall.log
When updating Ignite-UX, also look at its log in /var/adm/sw/
Typical update-ux error messages and recovery actions are listed in
Appendix B.
Verify the update To verify the success of your update, review the update messages logged
in /var/adm/sw/swagent.log.
Also see the verification tips in Chapter 4.
60 Chapter 2
Migrating to HP-UX 11i
Updating an Existing 11i System
Update drivers After updating an existing 11i system to the latest 11i release, use
swinstall to update hardware drivers from the new HWEnable11i
bundle. Insert either an HP-UX 11i OE CD1 or the latest Support Plus
CD in your local CD-ROM drive and enter (as root):
/usr/sbin/swinstall -x autoselect_patches=true \
-s /cdrom HWEnable11i
Chapter 2 61
Migrating to HP-UX 11i
Updating an Existing 11i System
Update to another You can update the OS to the latest release and upgrade from one OE to
OE another with a single update-ux command. For example, to update the
OS and upgrade from HP-UX 11i OE to the Enterprise OE, insert the
HP-UX Enterprise OE CD1 in the CD-ROM drive and enter:
/usr/sbin/update-ux -s /cdrom HPUX11i-OE-Ent
Be sure you have enough available disk space to handle the larger OE;
see “Needing More Disk Space?” in Chapter 1. More about changing OEs
is on page page 65.
62 Chapter 2
Migrating to HP-UX 11i
Updating to 64-bit OS
Updating to 64-bit OS
update-ux defaults to the OS word-width that your system is currently
running. For example, if the target system is running 32-bit OS, this will
be the default for the new OS to be installed.
Chapter 2 63
Migrating to HP-UX 11i
Changing Individual OE Applications
Updating OE Most applications included in HP-UX 11i OEs are also available as
Applications separate products on HP-UX Applications CDs supplied in the OE media
box. Due to the product-testing process, some applications installed with
an OE may be older versions than those available on the HP-UX
Applications CDs. To identify product versions available on Application
CDs, view the CD_TABLE_OF_CONTENTS file on each Application CD.
If you wish to install a more-recent version of an OE application from an
HP-UX Application CD, you may need a codeword when installing the
newer version over the OE version. Use the codeword supplied on a
separate document in the OE media box. Applications requiring a
codeword during installation are indicated by (CW) in the tables at the
back of the Read Before Installing or Updating to HP-UX 11i booklet.
64 Chapter 2
Migrating to HP-UX 11i
Changing Operating Environments
Upgrading the OE To upgrade 11i to a higher-level OE, say, from 11i OE to Enterprise OE,
you must first purchase the new HP-UX 11i Enterprise OE (or Mission
Critical OE) media from HP. Then use update-ux to add the Enterprise
OE software bundle to your server from those CDs.
To upgrade from the HP-UX 11i OE to the Mission Critical OE, insert an
HP-UX 11i Mission Critical OE CD1 in the CD drive (for example
mounted at /cdrom) and enter:
/usr/sbin/update-ux -s /cdrom HPUX11i-OE-MC
When the update is complete, the Mission Critical OE will be installed
and the original HP-UX 11i OE bundle wrapper will be removed.
Downgrading the If you wish to downgrade your system from a higher-level OE, say, from
OE Mission Critical OE to 11i OE, first use update-ux to install the smaller
Chapter 2 65
Migrating to HP-UX 11i
Changing Operating Environments
OE from the latest set of HP-UX 11i CDs, then use swremove to remove
the unwanted OE bundle and its software. For example, to move from the
64-bit Mission Critical OE to the 64-bit default 11i OE:
Step 1. As root, add default HP-UX 11i OE (in this example from CD1 and CD2
mounted, in turn, at /cdrom):
/usr/sbin/swremove HPUX11i-OE-MC
This command removes the IPD entries and software for the additional
(superset) software in the Mission Critical OE, leaving the default
HP-UX 11i OE software intact.
66 Chapter 2
Migrating to HP-UX 11i
Updating Netscape Directory Server
Chapter 2 67
Migrating to HP-UX 11i
Installing ServiceGuard Products
cmhaltcl -f
Step 2. Use the cmdeleteconf command to delete the binary settings files.
Step 8. After the cluster is running, halt one node at a time and upgrade it to
HP-UX 11i Mission Critical OE:
68 Chapter 2
Migrating to HP-UX 11i
Installing ServiceGuard Products
Step 9. Repeat Step 8 until all nodes have been updated to HP-UX 11i.
Replacing If you plan to install the HP-UX 11i Mission Critical OE, but will require
MC/ServiceGuard the ServiceGuard OPS (Oracle Parallel Server) Edition in place of
with ServiceGuard MC/ServiceGuard, follow the appropriate procedure here. Both products
OPS Edition cannot co-exist on the same system:
If you now have or will have the ServiceGuard OPS (Oracle Parallel
Server) Edition:
Chapter 2 69
Migrating to HP-UX 11i
Installing ServiceGuard Products
Table 2-1 HP-UX 11i OS, OE and Driver Software on HP-UX 11i OE CDs
Appropriate base OS bundle and standard software above are installed by default
with each of these OE bundles:
70 Chapter 2
Migrating to HP-UX 11i
Installing ServiceGuard Products
Table 2-1 HP-UX 11i OS, OE and Driver Software on HP-UX 11i OE CDs
Chapter 2 71
Migrating to HP-UX 11i
Installing ServiceGuard Products
72 Chapter 2
Verifying System Migration
Chapter 3 73
Verifying System Migration
Verifying HP-UX Installation
/usr/sbin/swlist -a state
For a cold-install, compare your listing with the list of software products
provided with 11i, as listed in the tables in the Read Before Installing or
Updating to HP-UX 11i booklet.
For an update, compare your listing with the swlist output obtained
before the update. Software products whose versions have not changed
haven’t been updated. Use the swverify command to determine whether
those products are compatible with HP-UX 11i.
Step 2. Run swverify to verify that each bundle is intact. For example, to verify
that HP-UX 11i OS is intact, enter:
/usr/sbin/swverify HPUXBase64
/usr/sbin/swverify \*
The Selection process locates all required filesets for the product. After
the list you should see:
* Selection succeeded.
74 Chapter 3
Verifying System Migration
Verifying HP-UX Installation
Then the Analysis process verifies that each required file is loaded
(existence and revision), all required dependencies are met, and runs any
available verification scripts for the product. This will take some time.
After the analysis you should see:
* Analysis succeeded.
For help with these commands, see the swlist(1M) and swverify(1M)
manpages and the Software Distributor Administration Guide.
Chapter 3 75
Verifying System Migration
Verifying Applications
Verifying Applications
To verify that all required applications have been installed or updated,
use swlist and swverify, as explained in the previous section. For
example, to verify that the HP-UX 11i default operating environment is
intact on your system, enter:
/usr/sbin/swverify HPUX11i-OE
If you get an error like this;
The product "xyz,l=/,r=B.xx.xx" is not compatible with this
system’s architecture or operating system.
The indicated software (xyz) has not been updated to 11i. To update the
software, mount the HP-UX 11i Applications CD that contains the
software and install the new version using the swinstall command. For
more details on using swinstall, see Chapter 4.
The best way to verify each application’s operation is to exercise it. Open
each application, view a working document or project, and perform
typical production operations (edit a file, print a report, etc.). If the
application does not work as expected, refer to the application’s help or
documentation to determine the problem.
76 Chapter 3
Updating Applications
4 Updating Applications
Chapter 4 77
Updating Applications
HP-UX Patching Resources
Use Custom Patch You can identify and download all needed patches for your system by
Manager using HP’s Web-based Custom Patch Manager:
itrc.hp.com/wps/bin/doc.pl/sid=00f2dea61cb1fc364e
If you are already registered, log in with your user ID and password. If
not registered, following the instructions on the screen. Remember to
save your user ID and password.
Once you have downloaded needed patches, install them using the
swinstall command, as explained in “Adding and Removing Individual
Patches” on page 81.
Downloading When you need to find and download a single patch, use HP’s Patch
individual patches Database. Begin at HP’s IT Resource Center Web:
itrc.hp.com
From the home page, select individual patches.
If you are already registered, log in with your user ID and password. If
not registered, following the instructions on the screen.
From the patch database main page, select hp-ux and use the search tool to
find required patches and download them.
78 Chapter 4
Updating Applications
HP-UX Patching Resources
HP-UX Support To keep your OS and HP-UX applications up-to-date, critical patches and
Plus general-release patches are delivered periodically to subscribers of
HP-UX Support Plus service. You will need to install those patch bundles
when they arrive. For more information on Support Plus, go to its Web:
software.hp.com/products/SUPPORT_PLUS/
After installing the needed patch bundles from the Support Plus CD
supplied with 11i, you should maintain your system by using the patch
management tools available on HP’s IT Resource Center.
Other HP-UX If you are not familiar with patching HP-UX, documents in the Patch
Patching Management section of HP’s documentation Web may be helpful:
Resources
docs.hp.com/hpux/os/11i/
General guidelines for patching HP-UX are provided in the HP-UX
11.0/11i Software Transition Kit:
devresource.hp.com/STK/hpuxpatch.html
Also see “Managing Patches” in the Software Distributor Administration
Guide, available on the Instant Information CD.
Chapter 4 79
Updating Applications
Updating Applications
Updating Applications
After migrating to HP-UX 11i and backing up your new system, you
should update and/or install other applications not installed with the
HP-UX 11i OE. Here are some tips:
80 Chapter 4
Updating Applications
Adding and Removing Individual Patches
Chapter 4 81
Updating Applications
Using Software Distributor Tools
Managing After updating your depot-management server to HP-UX 11i, you can
software depots manage HP-UX 10.20, 11.00 and 11i software on the same system. This
is the preferred depot-management solution. If your depot-management
server is running HP-UX 11.0, however, it can handle 10.20 and 11.0
depots but not HP-UX 11i depots.
For help setting up and using a depot-management server, see Chapter 4
in the Software Distributor Administration Guide, available on the
Instant Information CD and on the Web:
docs.hp.com/hpux/os/11i/
82 Chapter 4
Updating Applications
Updating LicensePower/iFOR
Updating LicensePower/iFOR
HP plans to remove LicensePower/iFOR from HP-UX in a future release.
To download the latest version of or patches for LicensePower/iFOR, go
to Isogon’s Web site:
www.isogon.com/support/sptlpifor/sptlpifor.htm
Converting the When upgrading to the LicensePower/iFOR version 4.0 license server,
database any existing version 3.0.x databases must be converted to version 4.0.
This will ensure that existing licenses are made available in the new
database (for other changes, see the readme file installed with 4.0).
After installing version 4.0, perform this conversion:
1. Reconfigure the license server using the i4config from version 4.0.
2. Start the license server and run the i4tv verification utility to make
sure the installation was successful.
3. Stop the license server.
4. Make sure the /var/opt/ifor is your current directory and that
/opt/ifor/ls/bin is in your PATH.
5. Enter: v3tov4
This command completes without displaying messages.
6. Start the license server back up and run: i4admin. Licenses from the
version 3.0.x database are now in the version 4.0 database.
IMPORTANT Do not remove transition links while you are using this product.
Un-installing iFOR iFOR version 4 requires converting licenses from the previous version to
version 4 a new format. If you un-install version 4 and then reinstall version 3.0.x,
you will not be able to use the new version 4 database. You can restore
the copies of the version 3.0.x database files that were saved with the
"V3" extension in the /var/opt/ifor directory. This can be done by
renaming these files and removing the "V3" extension. Doing this,
however, will lose any licenses that were added when version 4 was
installed.
Chapter 4 83
Updating Applications
Maintaining Your HP-UX 11i System
84 Chapter 4
Updating Applications
Maintaining Your HP-UX 11i System
Receive New
Encounter Problem 3rd Party Software
Search patch
database on Download patches
itrc.hp.com
Update or create
Download patches new install depot*
Update software
using swinstall
with match_target
Create
archive/recovery
image
* For help creating depots, see the Software Distributor Administration Guide.
Depot can contain applications fromHP-UX Application CDs, Support Plus
CD, etc.
Chapter 4 85
Updating Applications
Maintaining Your HP-UX 11i System
Receive
Receive new Application Receive Custom
11i OE Patch Bundle
Release
Create
archive/recovery
image
* OE depot contains OS/OE bundles and Gold patch bundles from Support
Plus CD. AR depot contains non-OE applications.
For help creating depots, see the Software Distributor Administration Guide.
Depot can contain applications fromHP-UX Application CDs, Support Plus
CD, etc.
Proactive Software Maintenance
86 Chapter 4
Booting HP 9000 Systems
Appendix A 87
Booting HP 9000 Systems
Halting the Autoboot Process
88 Appendix A
Booting HP 9000 Systems
Booting Workstations
Booting Workstations
Newer workstation After stopping the boot process, the system displays a menu:
boot menu
Command Description
Auto [boot|search] [on|off] Display or set auto flag
Boot [pri|alt|scsi.addr] [isl] Boot from primary,
alternate or SCSI
Boot lan[.lan_addr] [install] [isl] Boot from LAN
Chassis [on|off] Enable chassis codes
Diagnostic [on|off] Enable/disable diagnostic
boot mode
Fastboot [on|off] Display or set fast boot
flag
Help Display the command menu
Information Display system information
LanAddress Display LAN station addresses
Monitor [type] Select monitor type
Path [pri|alt] [lan.id|SCSI.addr] Change boot path
Pim [hpmc|toc|lpmc] Display PIM info
Search [ipl] [scsi|lan [install]] Display potential boot
devices
Secure [on|off] Display or set security
mode
Step 2. If the CD device is identified in the list shown by the search command,
proceed with the following steps. Otherwise, check the device and cable
connections and repeat the search.
Step 4. If you see the prompt, Interact with IPL (y or n)?, enter: n
(The bottom selections may not appear unless you hold down Esc.)
Appendix A 89
Booting HP 9000 Systems
Booting Workstations
To exit, enter: x
If you know the SCSI address of the device beforehand, you can skip the
search and simply enter this at the Select from menu prompt:
b scsi.x
After choosing the boot path and loading the Ignite-UX utility, the
Ignite-UX keyboard languages screen appears (if your system has a
PC-style keyboard). From this point on, respond to the requests for
information on this and successive screens.
90 Appendix A
Booting HP 9000 Systems
Booting HP 9000 Servers
You only need to enter the initial capital letters for each command.
Step 1. Determine the boot device that contains the Install CD. The Alternate
Boot Device is typically set to the CD drive. If this is the case, enter:
bo alt
Step 2. To search for available boot devices, type: search (or sea)
Appendix A 91
Booting HP 9000 Systems
Booting HP 9000 Servers
media
Main Menu: Enter command or menu >
==============================================================
=========
For example, enter: bo pn
where pn is the path number for the install device shown in the search
output. You can also specify the device by the hardware path, such as
56/52.0, in place of the path number.
Booting a server For Models 8x7, 845, 835, 870, and other older HP 9000 Servers, the boot
display looks like this:
==============================================================
Console path = 56.0.0.0.0.0.0 (dec)
38.0.0.0.0.0.0 (hex)
Step 4. Determine the hardware path of the install device from your system
administrator. (There is no search capability to determine this
information on older HP 9000 server models).
• If the primary path shown on your screen is not the same as that for
the install device, respond with n to Boot from primary boot path.
In this case, you will then be asked if you want to boot from the
alternate path, which is typically set to the CD device.
• If the primary path shown on your screen matches that for the install
92 Appendix A
Booting HP 9000 Systems
Booting HP 9000 Servers
TIP To start over at this point, simply switch the system OFF and ON again.
After choosing the boot path and loading Ignite-UX, the Ignite-UX
keyboard languages screen appears (if your system has a PC-style
keyboard). Respond to the requests for information on this and the
following screens. Loading the install kernel takes 3 to 5 minutes.
Appendix A 93
Booting HP 9000 Systems
Booting V-Class Systems
V2200 system Portions of a typical V-Class boot display are shown below. To stop the
boot console system boot process and select the device with the install media, press any
key within ten seconds after you see “System is HP9000 V2000 series”:
OBP reboot
SPP2000, POST version 3.1.4.0, compiled 1997/06/27 10:38:45
LAB #0001
...
Booting OBP.
...
System is HP9000 V2000 series
Autoboot and Autosearch flags are both OFF or we are in HP core
mode.
Processor is entering manual boot mode. ...
If the system is set to perform auto-boot, you will see the following:
Processor is starting the autoboot process.
To discontinue, press any key within 10 seconds. ...
Press any key at this point. You will see the following boot menu (capital
letters indicate minimum-required command):
Command Description
AUto [BOot|SEArch ON|OFF] Display or set the specified
flag
BOot [PRI|ALT|<path> <args>] Boot from a specified path
BootTimer [time] Display or set boot delay time
CLEARPIM Clear PIM storage
CPUconfig [<proc>] [ON|OFF] Configure/Deconfigure Processor
DEfault Set the sytem to defined values
DIsplay Display this menu
94 Appendix A
Booting HP 9000 Systems
Booting V-Class Systems
Booting from the If your boot device (CD) is mounted at the primary path, enter:
primary path
bo pri
Device : /pci@fe,90000/symbios@0,0/sd@4,0:cntl
Directory : LIF
File : HPUX
Arguments : hpux
Appendix A 95
Booting HP 9000 Systems
Booting V-Class Systems
96 Appendix A
Booting HP 9000 Systems
Searching for Other Bootable Devices
Appendix A 97
Booting HP 9000 Systems
Searching for Other Bootable Devices
98 Appendix A
In Case of Trouble
B In Case of Trouble
Appendix B 99
In Case of Trouble
Cold-install Problem
Cold-install Problem
Kernel build fails On J2240 workstations having an SCSI floppy drive, cold-installing
on 64-bit install 64-bit OS will fail during the kernel build with an “unsatisfied symbols”
error.
Action: Edit the /stand/system file to delete the floppy driver:
vi /stand/system
The install process should now rebuild the kernel and complete
successfully. The SCSI floppy drive will be non-operational, and is not
supported on this system with 64-bit 11i OS.
100 Appendix B
In Case of Trouble
Common Update Problems
Here are some update-ux error messages and typical recovery actions:
Warning displays WARNING: There were errors installing from the first depot.
See the /var/adm/sw/swagent.log for details.
WARNING: Continuing could cause the OS update to fail
Do you want to continue ? (y/n)
Action: Press y to continue the update. Afterward, review
/var/adm/sw/swagent.log.
Selected locale Warning! One or more of your selected locales are not
not available available.
Please invoke the commands "locale" and "locale -a" to verify
your selections and the available locales.
Continuing processing using the "C" locale.
Action: Ignore this message which appears when updating from 10.20 in
every locale except C. The local environment, such as Japanese, is
temporarily disabled during the update session.
Multiple OE errors Installing both the HP-UX 11i Operating Environment and the
Enterprise Operating Environment on the same system is not a
standard update path. If you continue with this operation,
swremove(1M) the Enterprise Operating Environment after the
update is complete.
Appendix B 101
In Case of Trouble
Common Update Problems
/usr/sbin/update-ux -s /cdrom -a 64
Disk space usage To perform this OS update, it is required that the xxx
error partition have at least yyy KB of free space and it currently
has zzz KB of free space
Action: Reconfigure your disk per the minimum recommendations in
the message. Then run the update-ux command again. For help
configuring disk space usage, see “Adjusting File System Size” in this
appendix.
swinstall analysis The analysis phase failed while installing from the first
error depot. See the /var/adm/sw/swagent.log for details.
Action: The swinstall analysis on software from HP-UX 11i CD1 failed
and update-ux quit. Correct the indicated problem and run the command
again.
Post-update After updating your system to an HP-UX 11i OE, run swverify to ensure
swverify error that all application software previously on you system is still compatible
with the new OS. If you get an error like this:
The product "xyz,l=/,r=B.xx.xx" is not compatible with this
system’s architecture or operating system.
The indicated software (xyz) has not been updated to 11i. To update the
software, mount the HP-UX 11i Applications CD that contains the
102 Appendix B
In Case of Trouble
Common Update Problems
software and install the new version using the swinstall command. For
more details, see Chapter 4.
Root (/) volume If update-ux quits after you extended a volume size, you may see an error
lock error containing these lines:
ERROR: The command: /var/adm/sw filter
/var/adm/sw/update-ux/swinstall...
Update fails on See “Kernel build fails on 64-bit install” on page 100.
J2250 workstation
with SCSI floppy
drive
Screen locks If the CDE screen lock function is enabled prior to an update, the screen
during update could lock during the update, preventing you from interacting with the
system. Disabling the screen lock function is explained under “Updating
Tips” in Chapter 2.
Appendix B 103
In Case of Trouble
Common Update Problems
Updating from a After updating an existing 11i system to the latest 11i release, be sure to
previous 11i use swinstall to update hardware drivers from the new HWEnable11i
release? bundle. Insert and mount either an HP-UX 11i OE CD1 or the latest
Support Plus CD in your local CD-ROM drive and enter (as root):
/usr/sbin/swinstall -x autoselect_patches=true \
-s /cdrom HWEnable11i
Update fails if If the value of the nstrpty kernel parameter is specified as a formula (for
nstrpty kernel example, nstrpty (NPTY*2)), then updating to 11i will fail with this
parameter set as a error:
formula
/var/tmp/BAAa10554/catalog/Streams-TIO/STRTIO-KRN/postinstall[
82]: (NPTY):
The specified number is not valid for this command.
ERROR: The “postinstall” script for “Streams-TIO.STRTIO-KRN”
failed (exit code “1”). The script location was
“/var/tmp/BAAa10554/catalog/Streams-TIO/STRTIO-KRN/postinstall
”.
To prevent this, convert the value of nstrpty to a number.
To check the kernel parameters, run SAM and select: Kernel Configuration
-> Configurable Parameters
X.25 cards not J3525A and J3526A PCI cards are not supported under HP-UX 11i on
supported on these workstations:
some
workstations • B1000
• B2000
• C3X00
• J5000
• J7000
If either of these cards is installed on a workstation listed above, the
system will crash during the upgrade. If the workstation is already
running 11i, it will crash when you try to add the card. These cards are
supported on older B-, C- and J-Class workstations, as well as on
L-[123]000, N- and A-Class servers and Superdome servers.
Action: To see if these cards are installed in your system, enter:
104 Appendix B
In Case of Trouble
Common Update Problems
Appendix B 105
In Case of Trouble
Common Update Problems
rolling upgrade from HP-UX 11.0 to 11i with the Mission Critical
Operating Environment (MC-OE), you are likely to be in a situation
where the problem can occur. To verify this before you upgrade, enter
this command on each cluster node to see if you have Auto-Port
Aggregation software installed:
swlist | grep J4240A
If the software is installed, use cmviewcl to display the cluster’s network
configuration. Link aggregates appear in the output with a path of
LinkAggx and a PPA name of lan1xx, as in this example:
cmviewcl -v
CLUSTER STATUS
cluster1 down
NODE STATUS STATE
node001 down unknown
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY unknown LinkAgg0 lan100
STANDBY unknown LinkAgg1 lan101
NODE STATUS STATE
node002 down unknown
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY unknown LinkAgg0 lan100
STANDBY unknown LinkAgg1 lan101
If your network parameter display includes LinkAggx entries instead of
conventional hardware paths, then you are using automatic port
aggregation, and you should follow the procedure below.
In a rolling upgrade of the cluster, the MC/ServiceGuard nodes with the
higher revision level will not be able to join the existing cluster via the
cmrunnode command because MC/ServiceGuard continues to attach to
the DLPI using the original link aggregate PPA values. In fact, running
the cmrunnode command could result in freezing the network.
Re-run the Binary Conversion Utility: During an 11i rolling
upgrade, MC/ServiceGuard is not aware that the PPA values of
configured link aggregates have been changed. MC/ServiceGuard will
continue using the old PPA values, which are stored in the cluster
configuration database (CDB) to start the upgrading node. This may
cause unexpected behavior such as command hang. Manually
re-executing the binary conversion utility will convert the values to
latest ones in the CDB and effectively avoid the situation. Use the
106 Appendix B
In Case of Trouble
Common Update Problems
Step 1. Halt the node using the cmhaltnode command, then upgrade to the
HP-UX 11i Mission Critical OE, with Auto-Port Aggregation software
B.11.11.00.
Step 2. After upgrading the node and applying any required patches from the
Support Plus Media, obtain patch PHSS_22683 and apply it.
Step 3. Enter:
Step 4. Use cmrunnode to bring the node back into the cluster.
Step 5. Use cmviewcl to display the converted aggregate names. For example,
after node001 has been upgraded, the display would be as follows:
CLUSTER STATUS
cluster1 down
NODE STATUS STATE
node001 down unknown
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY unknown LinkAgg0 lan900
STANDBY unknown LinkAgg1 lan901
After all nodes have been converted, all aggregate names will have been
changed, as in this example:
cmviewcl -v
CLUSTER STATUS
cluster1 down
NODE STATUS STATE
node001 down unknown
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY unknown LinkAgg0 lan900
STANDBY unknown LinkAgg1 lan901
Appendix B 107
In Case of Trouble
Common Update Problems
• update-ux errors:
/var/adm/sw/update-ux.log and /var/adm/sw/swagent.log
• swinstall errors:
/var/adm/sw/swinstall.log and /var/adm/sw/swagent.log
SD commands log errors to /var/adm/sw/swagent.log, plus their own
log. Simply checking more than one log file may reveal the problem you
are troubleshooting.
108 Appendix B
In Case of Trouble
Problems Configuring HP-UX 11i
Do not use HP recommends that you do not enable or use the CacheFS feature of
CacheFS NFS (Network File System) under 11i until a patch is available. The
CacheFS file system is a general purpose file system caching mechanism
that improves NFS server performance and scalability by reducing
server and network load.
HP has discovered problems in the operation of CacheFS under HP-UX
11i:
A5838A adapter The A5838A PCI adapter does not support the boot, swap, and dump
doesn’t support commands under HP-UX 11i. The A5838A is a card with a PCI-to-PCI
boot, swap, and bridge; it supports multiple devices.
dump
To determine if an A5838A adapter is installed in your system, enter:
ioscan -kfClan | grep btlan3
Appendix B 109
In Case of Trouble
Problems Configuring HP-UX 11i
Changes to If you are updating from an old version of the hardware diagnostics, the
hardware old monitors for disc30, sdisk and disk array devices will no longer work.
diagnostics
You may be affected if:
monitors
1. You are using a version of diagnostics earlier than February 1999 (an
STM version lower than A.14.00). To check your version, enter:
/usr/sbin/cstm
The STM version is displayed in the start-up messages. Exit by
entering: quit
AND:
2. You customized the configuration files for the diaglogd exec programs
(disk30_exec.cfg, sdisk_exec.cfg, and haraymon_exec.cfg). Check these
files by looking in the directory /var/stm/config/diaglogd_progs/. If
the files exist and monitoring is enabled inside the files, then your
system may be affected.
110 Appendix B
In Case of Trouble
Problems Configuring HP-UX 11i
EISA cards not EISA I/O drivers for TermIO, FDDI, 100BT and Token Ring cards are
supported on supported on HP-UX 32-bit OS, but not 64-bit OS. You will not see an
64-bit OS error or warning message stating that these EISA products will not work
after installing or updating to 64-bit OS.
Appendix B 111
In Case of Trouble
Problems Configuring HP-UX 11i
100BT HSC-FX The100BT HSC-FX cards, J3514A#002 and J3516A#002, do not work
cards do not work under 11i. The card is claimed, but the link does not come up.
on 11i
This card is supported on K-Class, D-Class and A-180 systems. If you are
not sure whether or not the card is installed in your system, use the
appropriate command:
ioscan -kfClan | grep J3514A#002 (on K-Class)
ioscan -kfClan | grep J3516A#002 (on A-180 or D-Class)
If the card is installed, you will see the hardware path, interface number
and other details displayed on the screen.
To fix the problem, either install patch PHNE_22727 or replace the
HSC-FX card with an HSC-TX card, J3514A#001 (K-class) or
J3516A#001 (A-180 and D-Class). If you replace the card, you will also
need an FX-to-TX converter. The converter is not an HP product but has
been qualified for use with HP cards; it is made by Transition Networks,
part number C/E-100BTX-FX-04(SC).
PCI SCSI and Online addition and replacement (OLA/R) of PCI HBAs is available in
token ring HP-UX 11i on the HP 9000 L-Class, N-Class, and Superdome systems.
restrictions for This feature allows you to add or replace a failed HBA without having to
OLA/R reboot the system.
SCSI HBAs: Some restrictions in the ability to perform online addition
(OLA) and/or online replacement (OLR) apply for the following SCSI
HBAs:
• A4800A
• A5149A
• A5150A
• A5159A
Why Are Some Restrictions Needed? The SCSI attributes of initiator
ID, speed, and auto termination cannot be changed online. They can be
changed only in the Processor Dependent Code (PDC) at the Boot
Console Handler (BCH) prompt; this means rebooting the system if it is
not already at the BCH prompt.
If these attributes have never been set in the PDC, they will have the
112 Appendix B
In Case of Trouble
Problems Configuring HP-UX 11i
Initiator ID 7
The A5149A HBA with part number A5149-60001 also has a problem in
that the SCSI cable must be disconnected when performing an online
replacement. See “What to Do” below for details.
If you have an HP 9000 N-Class, L-Class, or Superdome system running
HP-UX 11i and want to do OLA/R of the SCSI HBAs A4800A, A5149A,
A5150A, and A5159A, you need to consider these restrictions.
The things you need to do for online addition and online replacement are
described below.
For Online Addition: You can add an HBA online only if the values of
the initiator ID and speed attributes are usable in your SCSI
configuration. The initiator ID and speed attributes will be set to the
current PDC values (if any) or be defaulted to the new HBA’s values
(default values are in the table above). The auto termination attribute
always uses the HBA’s default value.
For Online Replacement: The online replacement operation preserves
the initiator ID and speed settings across the replacement. The auto
termination setting in PDC (applicable to the A5150A with part number
A5150-60101) is not preserved across the replacement. For A5149A,
A5150A with part number A5150-60001, and A5159A, remember to set
the auto termination jumpers in the same position as they were on the
replaced HBA.
For online replacement of A5149A with part number A5149-60001,
follow these steps:
Step 1. From SAM, select: Areas -> Peripheral Devices -> Cards
Appendix B 113
In Case of Trouble
Problems Configuring HP-UX 11i
Step 2. The available I/O cards are listed in the I/O Cards screen. Select the
A5149A HBA you want to replace (be sure the entire line containing the
adapter is highlighted).
Step 4. When the CRA finishes, select OK to continue. See the Configuring
HP-UX Peripherals manual for more information about what SAM
normally does next.
Do not be concerned about this message; it does not affect the result of
the OLR process.
Step 6. Select: No
Step 7. Disconnect the SCSI cable from the A5149A’s external connector.
The green power LED for the A5149A’s slot should be off.
Step 8. Still in the I/O Cards screen, select: Options -> Refresh List
Status reflects that the SCSI driver is suspended and slot power is OFF.
Step 9. Replace the A5149A HBA as described in the “Managing PCI Cards with
OLA/R” chapter of the Configuring HP-UX Peripherals manual.
Step 10. Still in the I/O Cards screen, you’ll see the available I/O cards. Select the
A5149A HBA you want to bring online (be sure the entire line containing
the adapter is highlighted).
Step 11. On the menu bar, select: Actions -> Bring On-Line
114 Appendix B
In Case of Trouble
Problems Configuring HP-UX 11i
The A5149A HBA is now online (Slot Power is ON) and the SCSI driver
resumes (State is active).
Step 13. Reconnect the SCSI cable to the A5149A HBA’s external connector.
Notes:
1 Only if the replaced HBA was running with auto termination enabled.
2 Only if the PDC setting on the corresponding PCI slot has a usable initiator ID
setting. The speed will be set to the current PDC value (if any) or be defaulted
as shown in the previous table.
3 Must follow steps 1 through 15 of previous procedure.
Appendix B 115
In Case of Trouble
Problems Configuring HP-UX 11i
A5783A PCI token If the A5783A PCI Token Ring HBA is using a universally administered
ring HBA MAC address, the MAC address is not preserved when the online
replacement (OLR) is performed, and the new HBA uses a different
universally administered MAC address.
If you plan to use online replacement for an A5783A that uses a
universally administered MAC address and is installed in an HP 9000
L-Class, N-Class, or Superdome system, you are affected. Note that the
universally administered MAC address is used mainly with SNAplus2.
Action: Change the configuration file for SNAplus2—or any software
that uses the A5783A HBA—to use the new HBA’s universally
administered MAC address.
When you change the configuration file, the universally administered
MAC address inconsistency problem is fixed. This problem is similar to
what happens without OLR if an A5783A HBA fails: you must power off
the system, replace the HBA, and then power the system back on;
however, the configuration file issue exists.
Unsupported HBAs: Online addition and replacement (OLA/R) is not
supported on HP-UX 11i for these PCI HBAs:
• A5801A HIPPI
• A5838A SCSI/100BT
• A5856A RAID
• A6092A HyperFabric
116 Appendix B
In Case of Trouble
Intermittent Sendmail Problem
/sbin/rc2.d/S540sendmail stop
/sbin/rc2.d/S54sendmail start
Mail delivery should resume and the error should not occur again.
Appendix B 117
In Case of Trouble
Adjusting File System Sizes
Increasing /var Follow these steps to increase the size limit of /var:
/sbin/vgdisplay /dev/vg00
You should see output like this:
- Volume groups -
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 2000
118 Appendix B
In Case of Trouble
Adjusting File System Sizes
VGDA 2
PE Size (Mbytes) 4
Total PE 249
Alloc PE 170
Free PE 79
Total PVG 0
The "Free PE" indicates the number of 4MB extents available, in this
case 79 (equivalent to 316 MB).
/sbin/shutdown
/sbin/mount
/sbin/umount /var
This is required for the next step, since extendfs can only work on
unmounted volumes. If you get a “device busy” error at this point, reboot
the system and log on in single-user mode before continuing
Step 7. To extend the file system size to the logical volume size:
/sbin/extendfs /dev/vg00/rlvol7
Appendix B 119
In Case of Trouble
Adjusting File System Sizes
/sbin/mount /var
Step 10. Wait 10 minutes after changing the system state or rebooting to let
processes complete before your enter an update-ux command.
Increasing /stand In some cases, you will need to increase the size of /stand prior to
completing a successful update to HP-UX 11i. If the update-ux command
fails with a message indicating that /stand is too small, follow these
steps to increase the size of /stand.
To increase /stand, you’ll first have to create a larger /swap volume,
since both require contiguous blocks and are adjacent volumes. If you
need help with this procedure, refer to the Managing Systems and
Workgroups manual, available on the HP-UX 11i Instant Information CD
and on the Web:
docs.hp.com/hpux/onlinedocs/B2355-90701/B2355-90701.html
Step 1. As root, use sam to create a new contiguous /swap volume of the
required size, say, 300 MB. Name the new volume /dev/vg00/swap.
Step 2. Using sam, verify that there is no bad block relocation and the new
/swap volume is contiguous.
Step 3. As root from a console window, remove and add primary swap and dump
devices:
lvlnboot -d /dev/vg00/swap
lvrmboot -s /dev/vg00
lvlnboot -s /dev/vg00/swap
lvlnboot -v
120 Appendix B
In Case of Trouble
Adjusting File System Sizes
swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 307200 45936 216208 0% 0 - 1
/dev/vg00/swap
reserve - 113748 -113748
memory 85584 23492 62092 27%
Step 7. To verify that the same configuration exists as before the reboot, enter
(again):
lvlnboot -v
Step 8. As root, use sam to remove the old lvol2 entry from /dev/vg00.
Step 9. Using sam, increase /stand to the required new size. Also change the
size of any other volumes as needed.
Step 10. Define your new volume as the boot volume at the next reboot:
Appendix B 121
In Case of Trouble
Problems with Large Systems
122 Appendix B
In Case of Trouble
Un-installing HP-UX 11i
Appendix B 123
In Case of Trouble
Re-installing SD
Re-installing SD
If your system needs re-updating and/or you find that Software
Distributor (SD) needs updating, you can re-install SD.
To update SD, you must first load the install-sd utility onto your system,
then use install-sd to get the new version of SD.
cp /cdrom/catalog/SW-DIST/pfiles/install-sd /var/tmp
cp /cdrom/catalog/SW-DIST/pfiles/swagent.Z /var/tmp
chmod +x /var/tmp/install-sd
Step 4. Run install-sd to install the SW-DIST product onto your system:
/var/tmp/install-sd -s /sd_cdrom
For more about the install-sd command, see Appendix C of the Software
Distributor Administration Guide, available on the Instant Information
CD and on the Web:
docs.hp.comhpux/onlinedocs/B2355-90699/B2355-90699.html
www.hp.com/go/sd/
124 Appendix B
In Case of Trouble
Recovering a Corrupt System
Appendix B 125
In Case of Trouble
Verifying and Adding Diagnostics
Step 1. cd /stand
Step 2. Run the what command on the kernel file from which the system is
booted, usually vmunix:
If the diagnostic drivers are there, the output contains diag1, and diag2
on workstations and diag0, diag1, and diag2 on servers. If not, load the
drivers as follows:
/usr/sbin/sam
The third column of the matrix, Pending, should now show In for the
DIAGNOSTICS subsystem.
Step 5. Select Actions -> Process New Kernel. Confirm that you want to reboot the
system when prompted.
Help with using Support Tool Manager and the other diagnostics is in
the Support Plus: Diagnostics User’s Guide, available on the Support
Plus CD in:
/cdrom/DIAGNOSTICS/DIAG_USR.PDF
126 Appendix B
In Case of Trouble
Problems Affecting non-C Locales
Restrictions with The trial version of Netscape Communicator provided with HP-UX 11i
Netscape OEs has these problems with several Asian locales, including Japanese,
Communicator Korean and Chinese:
4.75
• Asian-character input is not allowed in several dialogs.
• Asian characters are not be displayed properly in some dialogs where
a font switch is not available.
Character-code You may encounter the following problems when trying to handle Asian
handling with Perl character-codes with Perl15.005_03 bundled with HP-UX 11i:
and Apache
• In case of Japanese Shift-JIS code and T-Chinese BIG5 code,
characters containing 0x5c will not be displayed correctly unless you
add the backslash character (\).
• In case of EUC-JP code, translation commands such as tr may not
work properly.
For example, when you try to convert a double-byte Hiragana
character to a double-byte Katakana character, you may find the
character itself has been changed, not just the type.
Action: Get the patch jperl5.005_03 and apply it to Perl. This patch is
open source and available at number of non-HP FTP sites.
Follow these steps:
Appendix B 127
In Case of Trouble
Problems Affecting non-C Locales
Step 3. Apply the patch to the source code, and build it.
128 Appendix B
In Case of Trouble
Web Resources
Web Resources
• Latest versions of HP-UX manuals and white papers:
docs.hp.com/hpux/os/11i/
Recently released manuals include:
Ignite-UX Administration Guide
Managing Systems and Workgroups
Configuring HP-UX for Peripherals
ServiceControl Manager Technical Reference
HP-UX 9.x-11i Internationalization Features Whitepaper
Configuring HP-UX For Different Languages
• Local-language user manuals:
docs.hp.com/ (select: localized documentation)
• Latest HP-UX 11i information:
unix.hp.com/operating/
• Ignite-UX information and download:
software.hp.com/products/IUX/
• HP-UX 11.0 Software Transition Kit:
devresource.hp.com/STK/
• Downloading HP-UX patches and patch information from your
nearest HP IT Resource Center:
itrc.hp.com
Select the Maintenance and Support page, then select the appropriate
Patching tools. To receive HP Security Bulletins, select: Maintenance
and Support -> Support Information Digests
• Software Distributor:
www.hp.com/SD_AT_HP/
• LicensePower/iFOR from the core HP-UX:
www.isogon.com/LPowerifor/suppdown.htm
• HP-UX Support Plus:
software.hp.com/SUPPORT_PLUS/
Appendix B 129
In Case of Trouble
Web Resources
130 Appendix B
Configuring Built-In PCI Networking
Appendix C 131
Configuring Built-In PCI Networking
Compatibility and Installation Requirements
132 Appendix C
Configuring Built-In PCI Networking
Configuring Network Connectivity
a. Ensure that the HP 9000 is shut down completely and the power
is OFF. Ensure that the system is grounded.
b. If your Base-TX network uses 8-pin RJ-45 connectors, attach the
RJ-45 plug on your twisted-pair LAN cable into the RJ-45
connector on the PCI 10/100Base-TX card. The same RJ-45
connector is used for either 10 or 100 Mbits/s operation.
If your network uses BNC connections, attach the LAN cable to
the 10 Mbits/s BNC connector.
If your network uses Attachment Unit Interfaces (AUIs), attach
your 10 Mbits/s Media Access Unit (MAU) to the AUI connector.
Only use one of the three connectors at a time; disconnect the
other two connectors on the card.
Appendix C 133
Configuring Built-In PCI Networking
Configuring Network Connectivity
NOTE The RJ-45 connection operates at either 10 or 100 Mbits/s, but the BNC
and AUI connections operate only at 10 Mbits/s. Also, the Link Status
LED is for the RJ-45 connector only; the Link Status LED is dark if the
AUI or BNC port is used.
For 100 Base-FX (fiber), attach the fiber optic cable to the duplex
SC connector. Cabling can be either 62.5 or 125 micron multimode
fiber optic cable. The operating distances for fiber optic cable for
V-Class systems are:
a. Log in as root and verify that the card and its hardware path are
displayed by executing:
ioscan
b. Run the System Administration Manager: sam
c. Double click Networking and Communications.
d. Double click Network Interface Cards.
134 Appendix C
Configuring Built-In PCI Networking
Configuring Network Connectivity
a. Obtain the PPA (on HP-UX 10.20, it is the NMIDnumber) and the
station address of your card by executing:
lanscan
b. To verify that no errors have occurred during installation, enter:
linkloop -i PPA_number station_address
If there is a problem, you can obtain error messages by entering:
dmesg
c. Verify connectivity with a remote system by entering:
ping remote_IP_address netstat -in
d. PCI 10/100Base-TX/9000 or 100Base-FX installation is complete
when you have successfully ran these two commands:
linkloop
ping
e. To configure remote systems, see the Using PCI
10/100Base-TX/9000 guide, available on the Instant Information
CD and on the Web at:
docs.hp.com/
Do this step only if remote systems have not been previously
configured.
Appendix C 135
Configuring Built-In PCI Networking
Manual Speed and Duplex Mode Configuration
136 Appendix C
Configuring Built-In PCI Networking
Manual Speed and Duplex Mode Configuration
Appendix C 137
Configuring Built-In PCI Networking
Manual Speed and Duplex Mode Configuration
138 Appendix C
Configuring Built-In PCI Networking
Autonegotiation and Auto-sensing
The PCI 10/100Base-TX card will sense when the connection between
itself and a hub or switch on the other end of a link has been broken. If a
connection is made to another (or the same) device, the autosensing
process will be done again automatically. Autosensing is also done
whenever the interface is reset.
Appendix C 139
Configuring Built-In PCI Networking
RJ-45 and AUI Ports
140 Appendix C
Configuring Built-In PCI Networking
Performance
Performance
The 100 Base-T product is initially set with a conservative value for the
transmit threshold (that is, the number of bytes that must be in the
transmit FIFO buffer before transmission can begin). The transmit
threshold is set to a “store and forward” value. This means that the
entire Ethernet frame must be in the transmit FIFO before transmission
of data onto the wire will begin.
The initial transmit threshold value is set to eliminate transmit
underruns (that is, when the transmitter encounters an empty transmit
FIFO during the transmission). However, it can also reduce transmit
performance by not being able to pre-fetch the next packet until the
current frame is completely transferred. This causes a slight delay
between frames, resulting in an overall drop in transmit performance.
The transmit threshold value is adjustable. Adjusting the threshold to
either 1024 or 512 bytes can increase performance. If the transmit
threshold is 1024 or 512, the CORE 100 Base-T interface will start
transmitting data onto the wire after 1024 or 512 bytes are in the
transmit FIFO. This allows the CORE 100 Base-T hardware to start
pre-fetching the next frame in the transmit FIFO before the current
frame is completely transmitted. This results in less time between
subsequent frames and therefore increases the transmit performance.
Setting the The CORE 100 Base-T product supports three levels of transmit
transmit threshold threshold. These three levels are modified via lanadmin:
lanadmin -S transmit_threshold PPA
where:
transmit_threshold of 512 is most aggressive.
transmit_threshold of 1024 is somewhat aggressive.
transmit_threshold of 1500 is conservative.
After issuing lanadmin -S, you must wait at least 8 seconds before
attempting to use the specified network interface.
If you want the transmit threshold setting to be effective in all
subsequent reboots, you must create an SD script and include the
command in the /sbin/init.d directory so it gets executed on each reboot.
Appendix C 141
Configuring Built-In PCI Networking
Performance
CAUTION Be careful when adjusting the transmit threshold. While lowering the
threshold may increase performance, it also makes the CORE 100
Base-T interface more susceptible to Transmit Underrun errors.
NOTE Be sure to keep nettl disaster and error logging enabled at all times.
Check the nettl log file /var/adm/nettl.LOG00 for the following message:
HP CORE 10/100BASE-T driver encountered a Transmit Underflow
If a significant number of these messages occur and the timestamps for
each of the messages are within 30 seconds of each other, the specified
networking interface will suffer a noticeable performance drop.
Corrective action must be taken to resolve this problem.
142 Appendix C
Configuring Built-In PCI Networking
What Happens During Card Initialization Sequence?
NOTE The RJ-45 connection operates at either 10 or 100 Mbits/s, but the BNC
and AUI connections operate only at 10 Mbits/s.
Appendix C 143
Configuring Built-In PCI Networking
V-Class PCI 10/100Base-TX Card Specifications
144 Appendix C
Configuring Built-In PCI Networking
Hardware Regulatory Statements
WARNING This device complies with Part 15 of the FCC rules. Operation is
subject to the following two conditions:
(1) This device may not cause harmful interference and
(2) this device must accept any interference received, including
interference that might cause undesired operation.
This equipment has been tested and found to comply with the
limits for a Class A digital device, pursuant to Part 15 of the FCC
rules. These limits are designed to provide reasonable protection
against harmful interference when the equipment is operated in
a commercial environment. This equipment generates, uses and
can radiate radio frequency energy, and, if not installed and
used in accordance with the instruction manual, may cause
harmful interference to radio communications.
Operation of this equipment in a residential area is likely to
cause interference, in which case the user at his own expense
will be required to take whatever measures may be required to
correct the interference.
Hewlett-Packard’s system certification tests were conducted
with HP-supported peripheral devices and cables, such as those
received with your system. Changes or modifications to this
equipment not expressly approved by Hewlett-Packard could
void the user’s authority to operate the equipment.
Appendix C 145
Configuring Built-In PCI Networking
Hardware Regulatory Statements
Canada
NOTE This optical transceiver meets LED AEL Class 1 requirements per EN
60825-1:1994(+A11) and EN 60825-2:1994.
146 Appendix C
Index
Index 147
Index
148 Index
Index
Index 149