| United States-English |
|
|
|
![]() |
HP-UX 11i Version 1 Installation and Update Guide: HP Servers and Workstations > Chapter 6 Updating to HP-UX
11i v1How to Update to HP-UX 11i v1 |
|
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:
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”. 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.
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:
The network depot is now ready to update your HP-UX 10.20 or 11.0 system to HP-UX 11i v1. 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:
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]
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 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:
Alternately, if you wanted to update to HP-UX 11i v1 and include the Enterprise OE, you would enter:
Update to HP-UX 11i v1 OS (No OE Installed).
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:
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:
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:
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:
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.
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
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:
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.
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.
If you have decided to upgrade an HP-UX 11i v1 32-bit system to a 64-bit OS, use the following command:
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:
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.
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”. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||