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 2 Installation and Update Guide: HP Integrity Servers and HP Workstations > Chapter 6 Updating to HP-UX 11i v2

Updating to HP-UX 11i v2

» 

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 v2 and preparing your system, you are ready to update your system. Updating your system using update-ux includes the following steps:

Optional Step: Creating a Network Depot

NOTE: This optional step pertains to creating a network depot to be used to update other systems on the network.

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

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

  1. Verify that you have at least 2,000 MB (2 GB) 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 v2 DVD and wait for the drive’s busy light to stop blinking.

  4. Find the DVD-ROM device file name:

    ioscan -f -C disk | more

    /dev/dsk/c1t2d0 is a typical device name.

  5. Create the directory under root(/):

    mkdir /dvdrom

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

    mount /dev/dsk/c1t2d0 /dvdrom

  7. Copy all products on the mounted DVD to the target depot, for example /update/update-depot:

    swcopy -s /dvdrom \* @ /update/update-depot

  8. Unmount the DVD from its directory

    umount /dvdrom

The network depot is now ready to update your system to HP-UX 11i v2. Continue with “Step 1: Installing the update-ux Command (Required Task)”

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

IMPORTANT: Prior to updating your system, you must install the latest version of the update-ux command.
  1. Insert the HP-UX 11i v2 DVD and wait for the drive’s busy light to stop blinking.

  2. Find the DVD-ROM device file name:

    ioscan -f -C disk | more

    /dev/dsk/c1t2d0 is a typical device name.

  3. Create the directory under root(/):

    mkdir /dvdrom

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

    mount /dev/dsk/c1t2d0 /dvdrom

  5. Using either ksh, Posix-sh or Bourne shell, install update-ux on the target system.

    From the DVD media

    swinstall -s /dvdrom Update-UX

    From a depot

    The depot example uses the following syntax: depot_server:<depot_path>.

    swinstall -s depot_server:/var/depots/my_depot Update-UX

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

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

update-ux Syntax

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

where:

-s source_location

 

Specifies the source containing the new software depot. Possible locations are a local directory, a mounted DVD containing a depot, or a remote system-and-depot combination. All paths used in the source_location must be absolute paths. If source_location is a remote system/depot combination, the remote system should be specified first, followed by the absolute path to the remote depot, separated by a colon with no spaces; for example: swperf:/var/spool/sw

?

Prints the usage statement.

n|y

update-ux issues a message and waits for your response to continue whenever something unexpected is attempted. Specify -n at first (or omit this option) to have update-ux “not continue” when an error is issued. When you have reviewed/resolved all errors, use y instead of n to have update-ux ignore all messages which would otherwise cause update-ux to wait for a user response.

i

Specifies the swinstall interactive user interface to select software products from a depot or bundle during the update. For more information, see the 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. If an OE bundle name is not included on the command line, only the core OS will be updated. For more information, see Appendix D “Software Distribution Media”.

For more about update-ux, see the update-ux(1M) manpage.

update-ux Examples

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

We Recommend this Update:

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

HPUX11i-OE

HP-UX 11i v2 Foundation OE

HPUX11i-OE-Ent

HP-UX 11i v2 Enterprise OE

HPUX11i-OE-MC

HP-UX 11i v2 Mission Critical OE

HPUX11i-MTOE

HP-UX 11i v2 Minimal Technical OE

HPUX11i-TCOE

HP-UX 11i v2 Technical Computing OE

For example, to update to HP-UX 11i v2 and install HP-UX 11i v2 Foundation OE, insert the HP-UX 11i v2 DVD in the local drive mounted at /dvdrom. As root, enter:

/usr/sbin/update-ux -s /dvdrom HPUX11i-OE

Alternately, if you wanted to update to HP-UX 11i v2 and install the Enterprise OE (from a supported update path), you would enter:

/usr/sbin/update-ux -s /dvdrom HPUX11i-OE-Ent

NOTE: Please be sure to read “Supported Update Paths to HP-UX 11i v2” to ensure that you are updating your system from a supported update path.We recommend that you install all of the selectable OE bundles that you want (such as Ignite-UX, HP-UX IPFilter, and the selectable network drivers) at the same time that you do your update. “Updating Selectable Software” for more information.

For details on what is included in each of the Operating Environments, see Appendix D “Software Distribution Media”.

Updating to HP-UX 11i v2 OS (No OE Installed). 

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

If you do not specify an OE bundle update-ux will only install the OS, networking, diagnostic and CDE bundles listed on Appendix D “Software Distribution Media”. Any additional software bundles associated with an OE are not installed.

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

/usr/sbin/update-ux -s /dvdrom

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

/usr/sbin/update-ux -s /dvdrom HPUX11i-OE-Ent

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

IMPORTANT: Upgrading to a higher level OE is only supported if you are updating from a lower level HP-UX 11i v2 operating environment. In other words you cannot update, for example, from HP-UX 11i v1.6 Foundation OE to HP-UX 11i v2 Enterprise OE

You can not downgrade from a higher level OE to a lower level OE

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

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

Updating Using Interactive Software Selection. To interactively select software for an update, use the -i option. For example:

/usr/sbin/update-ux -s /cdrom -i

update-ux displays swinstall’s interactive user interface with software already selected to match the default update. Now you can change software selections. 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 deselect the default software.

CAUTION: Do not combine -i and -x options in the same update-ux command.
IMPORTANT: swinstall’s interactive user interface does not provide for selecting mutually exclusive selectable software bundles. As a result, if you select more than one HP-UX Bastille security configuration bundle from the SecurityChoices section of the Select Additional Software screen (for example, Sec20MngDMZ and Sec30DMZ), HP-UX Bastille will apply the highest security configuration selected.

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

Updating Selectable Software. To update to HP-UX 11i v2 and include additional selectable software such as one of the HP-UX Bastille Security Configuration bundles, like Sec30DMZ (see “Install-time Security Considerations”):

  1. Assuming you are updating from the DVD media, as root, enter:

    /usr/sbin/update-ux -x /dvdrom HPUX11-OE Sec30DMZ

    In the above command, update-ux installs the HP-UX 11i v2 Foundation Operating Environment bundles listed on Appendix D “Software Distribution Media”, plus the Sec30DMZ security configuration bundle (including HP-UX Bastille, Perl, HP-UX IPFilter - included in Sec00Tools).

    If you only want to update your system with a selectable software bundle, enter:

    /usr/sbin/update-ux -s /dvdrom Sec30DMZ

    IMPORTANT: HP-UX Bastille’s security model is such that it provides incrementally higher security (metaphorically, like a ratchet). As a result, you can update from a lower security level to a higher security level (example: Sec10Host to Sec20MngDMZ.

    If you intend to downgrade from a higher security level to a lower security level, HP recommends that you run bastille -r before you update your system to ensure that only the security settings you wanted in the lower security level are applied. Otherwise, you may encounter some security configurations left over from the previous security settings applied by HP-UX Bastille.

    NOTE: If you select more than one HP-UX Bastille security configuration bundle, for example Sec20MngDMZ and Sec30DMZ, the highest level of security will be applied to your system.
  2. Complete any configuration for HP software explained in the HP-UX 11i v2 Release Notes available on the Instant Information DVD and on http://docs.hp.com/hpux/os/11iv2. In this example, to complete the HP-UX Bastille installation, see the security chapter in the Managing Systems and Workgroups manual.

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