Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX 11i Version 1 Installation and Update Guide: HP Servers and Workstations > Chapter 6 Updating to HP-UX 11i v1

How to Update to HP-UX 11i v1

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

After determining if your system meets the requirements for updating to HP-UX 11i v1 and preparing your system, you are ready to update your system. Updating your system using update-ux includes the following steps:

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 “Common Install and Update Error and Warning Messages” in Appendix B “Known Problems and Troubleshooting”.

Optional Step: Create a Network Depot

HP-UX 11i v1 is delivered on three CDs or one DVD. If you are using CDs, you will need to swap CDs during the update process. If you want to update without having to swap CDs, you can either use DVD media or you can create a remote depot on an existing 11i system that contains all the necessary software, then update from that single source.

NOTE: If you are now attempting to update your system from a network depot, start with “Step 1: Install the update-ux Command (Required Task!)”

As root, follow this procedure to create a network depot from the HP-UX 11i v1 CDs or DVD onto a depot server or other system running HP-UX 11i v1 in your network:

  1. Verify that you have at least 2,055 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.

  2. Log in as root and mount the logical volume on a new directory named /update. This directory will hold your network depot.

  3. Insert the HP-UX 11i v1 CD1 or DVD and wait for the drive’s busy light to stop blinking.

  4. Find the CD-ROM or DVD-ROM device file name:

    ioscan -f -C disk | more

    /dev/dsk/c1t2d0 is a typical CD-ROM device name.

  5. Create the directory under root(/):

    • CD-ROM: mkdir /cdrom

    • DVD: mkdir /dvdrom

  6. Mount the CD or DVD onto the new directory as a file system. For example:

    • CD-ROM: mount /dev/dsk/c1t2d0 /cdrom

    • DVD: mount /dev/dsk/c1t2d0 /dvdrom

    NOTE: HP-UX 10.20 systems must use the pfs_mount(1M) command to mount DVD media; HP-UX 11.0 or HP-UX 11i v1 systems can either install the patches described in “Patching Your System to Read DVD Media”, or use the pfs_mount command.
  7. Merge all products on the mounted CD/DVD to the target depot, for example /update/update-depot:

    • CD-ROM: swcopy -s /cdrom \* @ /update/update-depot

    • DVD: swcopy -s /dvdrom \* @ /update/update-depot

  8. Unmount the CD or DVD from its directory

    • CD-ROM: umount /cdrom

    • DVD: umount /dvdrom

    If you are updating to HP-UX 11i v1 using CD-ROM, follow steps Step 9 - Step 10; DVD users, continue to “Step 1: Install the update-ux Command (Required Task!)”

  9. Insert the requested HP-UX 11i v1 CD. Wait for the drive’s busy light to stop blinking.

  10. Repeat Steps Step 6 through Step 8 for the requested OE CDs 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 v1.

Step 1: Install the update-ux Command (Required Task!)

Unless you are already running a previous version of 11i, you must install the update-ux command to update to 11i from CDs. Follow these steps:

IMPORTANT: If you are updating to the December 2003 HP-UX 11i v1 release or later, and you currently are running the June 2003 HP-UX 11i v1 release or earlier, you will need to install the latest version of Update-UX if your system currently has one of the following DCE Client IPv6 patches installed on your system
  • PHSS_24261

  • PHSS_25473

  • PHSS_25710

  • PHSS_26394

  • PHSS_27258

Use the following steps to install Update-UX on your system:

  1. Insert the HP-UX 11i v1 CD1 or DVD and wait for the drive’s busy light to stop blinking.

  2. Find the CD-ROM or DVD-ROM device file name:

    ioscan -f -C disk | more

    /dev/dsk/c1t2d0 is a typical CD-ROM device name.

  3. Create the directory under root(/):

    • CD-ROM: mkdir /cdrom

    • DVD: mkdir /dvdrom

  4. Mount the CD or DVD onto the new directory as a file system. For example:

    • CD-ROM: mount /dev/dsk/c1t2d0 /cdrom

    • DVD: mount /dev/dsk/c1t2d0 /dvdrom

    NOTE: HP-UX 10.20 systems must use the pfs_mount(1M) command to mount DVD media; HP-UX 11.0 or HP-UX 11i v1 systems can either install the patches described in “Patching Your System to Read DVD Media”, or use the pfs_mount command.
  5. Using either ksh, Posix-sh or Bourne shell, install update-ux on the target system; the depot example uses depot_server:/var/depots/my_depot.

    From the CD/DVD media:

    • CD-ROM: swinstall -r -s /cdrom Update-UX \
      \@ /var/adm/sw/update-ux.root 2> /dev/null

    • DVD: swinstall -r -s /dvdrom Update-UX \
      \@ /var/adm/sw/update-ux.root 2> /dev/null

    From a depot:

    swinstall -r -s depot_server:/var/depots/my_depot \
    Update-UX \@ /var/adm/sw/update-ux.root 2> /dev/null

    TIP: The \ at the end of the first line is not needed if you enter the complete command on one line.

    The -r option writes log files to the specified alternate root (pseudo-root) location, update-ux.root (Do not specify any other alternate root location). Since the HP-UX 11i v1 Software Distributor tool contains many keywords that 10.20 and 11.00 SD do not recognize, installing update-ux initially at this alternate root location eliminates many unnecessary update-ux warnings.

    Immediately after update-ux is installed, a script copies update-ux to /usr/sbin/. When update-ux runs for the first time, it will remove the initial version at the alternate root location.

Step 2: Using update-ux to Update to HP-UX 11i v1

After you have installed update-ux on the target system (see “Step 1: Install the update-ux Command (Required Task!)”) and, optionally, created an update depot containing all software to be installed, (see “Optional Step: Create a Network Depot”), you can now proceed to update your target system. Use the following syntax to run update-ux:

update-ux -s source_location [-?] [-a 32|64] [-n|-y] [-i]
[-x option=value] [sw_spec]

NOTE: For more information about update-ux syntax, see “update-ux Syntax”“update-ux Syntax”

update-ux Examples

Your system configuration and your planning will determine how you use update-ux. In this section, we provide some scenarios and examples of how you might use update-ux to update your system:

We Recommend this Update:

Update to HP-UX 11i v1 OS (OE Installed). To update to HP-UX 11i v1 and include an 11i operating environment, you need to specify the OE bundle name in the update-ux command. The OE bundles names are:

HPUX11i-OE          HP-UX 11i v1 Foundation OE
HPUX11i-OE-Ent      HP-UX 11i v1 Enterprise OE
HPUX11i-OE-MC       HP-UX 11i v1 Mission Critical OE
HPUX11i-MTOE        HP-UX 11i v1 Minimal Technical OE
HPUX11i-TCOE          HP-UX 11i v1 Technical Computing OE

For example, to update to 11i and install the default 11i Foundation OE, insert an HP-UX 11i v1 CD1 or DVD1 in the local drive mounted at /cdrom or /dvdrom. As root, enter:

  • CD: /usr/sbin/update-ux -s /cdrom HPUX11i-OE

  • DVD: /usr/sbin/update-ux -s /dvdrom HPUX11i-OE

Alternately, if you wanted to update to HP-UX 11i v1 and include the Enterprise OE, you would enter:

  • CD: /usr/sbin/update-ux -s /cdrom HPUX11i-OE-Ent

  • DVD: /usr/sbin/update-ux -s /dvdrom HPUX11i-OE-Ent

NOTE: We recommend that you install all of the selectable OE bundles that you want (such as Ignite-UX, IPFilter/9000, and the selectable network drivers) at the same time that you do your update. “Update Selectable Software” for more information

For details on what is included in each of the Operating Environments, see Chapter 4 of the HP-UX 11i v1 Release Notes or the “HP-UX 11i v1 OE Contents” section of the Read Before Installing or Updating to HP-UX 11i v1 media booklet. These books can be found on the HP documentation web site: http://docs.hp.com/hpux/os/11i/

Update to HP-UX 11i v1 OS (No OE Installed). 

NOTE: HP strongly recommends that you update your system with an operating environment to provide you with the an integrated and tested set of supporting software and applications.

If you do not specify an OE bundle update-ux will only the install the Core components (Table 4-2 “HP-UX 11i v1 Core Software Bundles”). Any additional software bundles associated with an OE are not installed.

For example, to update the HP-UX 11i v1 OS, insert HP-UX 11i v1 CD1 or DVD in the local mounted drive and enter the following command:

  • CD-ROM: /usr/sbin/update-ux -s /cdrom

  • DVD: /usr/sbin/update-ux -s /dvdrom

Adding or Upgrading an OE. To install an OE on an 11i system not containing an OE, or to upgrade 11i to higher-level OE (for example, HP-UX 11i v1 Foundation OE to Enterprise OE) insert the HP-UX 11i v1 media in the CD or DVD drive and specify the new OE using update-ux. For example, to add the default HP-UX 11i v1 OE, enter:

  • CD-ROM: /usr/sbin/update-ux -s /cdrom HPUX11i-OE

  • DVD: /usr/sbin/update-ux -s /dvdrom HPUX11i-OE

If you are using CDs, update-ux will prompt you to replace the current 11i OE CD with the next OE CD to complete the update. Similarly, if you did not initially install or upgrade a workstation with the Minimal Technical OE or Technical Computing OE, you can add that bundle using update-ux from the Technical Computing OE media. For example, to install the no-cost MTOE, enter:

  • CD-ROM: /usr/sbin/update-ux -s /cdrom HPUX11i-MTOE

  • DVD: /usr/sbin/update-ux -s /dvdrom HPUX11i-MTOE

When the update is complete, the original OE bundle wrapper (if one existed) will be removed and replaced with the new bundle wrapper.

Downgrading an OE. If you wish to downgrade your system from a higher-level OE, say, from Mission Critical OE to 11i Foundation OE, first use update-ux to install the smaller OE from the la set of HP-UX 11i v1 media, 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:

  1. As root, add default HP-UX 11i v1 OE:

    • CD-ROM: /usr/sbin/update-ux -s /cdrom -y HPUX11i-OE

    • DVD: /usr/sbin/update-ux -s /dvdrom -y HPUX11i-OE

    The -y option tells update-ux to ignore warning messages and complete the update.

  2. Remove the Mission Critical software:

    /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 v1 OE software intact.

Update From a Network Depot. To update from an network depot on a remote system named homer, include the path to the depot in the update-ux command. The following example does an update to the HP-UX 11i v1 Enterprise OE:

/usr/sbin/update-ux -s homer:/update/update_depot HPUX11i-OE-Ent

Update Using match_target. The following command using the match_target option installs the entire HPUX11i-OE bundle, including all OS, networking, CDE, and diagnostic bundles described in the previous example and any software selected by match_target. Note that software installed with match_target may not be contained in a bundle.

  • CD-ROM: /usr/sbin/update-ux -s /cdrom \
    -x match_target=true HPUX11i-OE

  • DVD: /usr/sbin/update-ux -s /dvdrom -x match_target=true HPUX11i-OE

The following command updates the same OE (HPUX11i-OE) and installs the OS, networking, CDE, and diagnostics bundles. The difference from the previous example is that the dot (.) following the OE bundle name installs the OE bundle wrapper, not the entire OE. With this variation, only those OE components that are already installed on your system get updated. Any new OE components and products will not be installed:

Updating existing OE Components Only
  • CD-ROM: /usr/sbin/update-ux -s /cdrom -x match_target=true HPUX11i-OE.

  • DVD: /usr/sbin/update-ux -s /dvdrom -x match_target=true HPUX11i-OE.

If no argument is specified, then only the OS and its components are updated. However, HP does not recommend using match_target to update your system to an OE without also specifying an argument because:

  • If software arguments are not specified, match_target only installs filesets matching those already on your system. Filesets containing any new HP-UX 11i v1 functionality introduced will not be selected.

  • Software that is installed may not include bundle wrappers, making identification of software on the system more difficult.

Update 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. For example, you can select a non-default network driver or a web browser before performing the update. Since update-ux selects OS, networking, language, and diagnostic bundles by default, the interactive user interface provides a way to de-select the default software and use a pure match_target instead. Due to the problems explained above, using a pure match_target is not recommended.

CAUTION: Do not combine -i and -x options in the same update-ux command.

When the -i option is specified, swinstall’s interactive user interface is active only when swinstall is running to load software from each source location. When installing from HP-UX 11i v1 CDs, you will have to select non-default software for each CD. If you do set swinstall options like match_target, be sure to re-select those options in the second swinstall session.

For help using swinstall in interactive mode, see the swinstall(1M) manpage or the Software Distributor Administration Guide.

Updating to a 64-bit OS. 

IMPORTANT: Make sure that your system can support the 64-bit OS before running this command. For more information, see “Updating to 64-bit OS”.

If you have decided to upgrade an HP-UX 11i v1 32-bit system to a 64-bit OS, use the following command:

  • CD-ROM: /usr/sbin/update-ux -s /cdrom -a 64

  • DVD: /usr/sbin/update-ux -s /dvdrom -a 64

Updating Netscape Directory Server. If you have the HP J3667AA Netscape Directory Server (NDS) version 3.1 and plan to continue using NDS with HP-UX 11i v1, you should update to 11i as explained in “Installing or Updating Netscape Directory Server”. Be sure to specify the new NDS bundle in the update-ux command. For example, this command updates to the default HP-UX 11i v1 Operating Environment and also installs the new NDS 6.02 bundle, J4258CA:

  • CD-ROM: /usr/sbin/update-ux -s /cdrom HPUX11i-OE J4258CA

  • DVD: /usr/sbin/update-ux -s /dvdrom HPUX11i-OE J4258CA

For instructions on migrating your directory server database to version 6.02 after installing the new version of NDS, refer to the Netscape document, Netscape Directory Server Administrator’s Guide, available on the Netscape web site:

http://www.netscape.com

After migrating your directory server database to NDS 6.02, you should remove the old version of NDS using swremove. For example:

/usr/sbin/swremove J3667AA

Update Selectable Software. To update to HP-UX 11i v1 and include additional selectable software, such as Ignite-UX (see Table 4-5 “HP-UX 11i v1 Selectable Software Bundles (all OEs)” for a listing of other selectable bundles. For information on selectable network drivers, see the HP-UX 11i v1 Release Notes, at http://docs.hp.com/hpux/os/11i/index.html.

  1. As root, enter:

    • CD-ROM: /usr/sbin/update-ux -x /cdrom B5725AA

    • DVD: /usr/sbin/update-ux -x /dvdrom B5725AA

    In the above command, update-ux installs the core HP-UX 11i v1 OS bundles listed in Table 4-2 “HP-UX 11i v1 Core Software Bundles”, plus the Ignite-UX server bundle, B5725AA.

  2. Complete any post-install configuration explained in the HP-UX 11i v1 Release Notes available on the Instant Information CD and on http://docs.hp.com/hpux/os/11i. In this example, to complete the Ignite-UX server installation, see the Ignite-UX Administration Guide.

Step 3: Verify the Update

To verify the success of your update, review the update messages logged in /var/adm/sw/swagent.log. For more information on how to verify your update, see Chapter 7 “Verifying System Migration”.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.