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
Upgrading from HP-UX 9.x to 10.x: HP 9000 Computers > Chapter 2 Planning a Site Upgrade

Setting a Strategy

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

It can take something like a full shift to upgrade a single, moderately complex system. (Detailed time estimates are in Chapter 3 “Planning a System Upgrade ”.) This does not mean you can only upgrade one machine a day; much of the downtime is taken up by the software loading files and converting the filesystem layout and configuration files. But it does mean you should not plan to upgrade an entire site in a day — a small workgroup of fewer than ten similarly configured machines is probably the most you should plan to get done without help.

If you manage more machines than that, you will need a strategy for staggering the upgrades over a period of time, possibly an extended period of time if you need to order new hardware for some machines, or if some systems run third-party applications that have not yet been certified on 10.x.

Factors To Take into Account

Your strategy will probably need to take account of the following:

  1. Need: which systems need 10.01 or 10.10 soonest.

  2. Ease: which systems require the least work to upgrade.

  3. Affinity: which systems are similar.

  4. Interoperability: which machines depend on which others.

Need

You and your users must determine which systems need HP-UX 10.01 or 10.10 the soonest. The Release Notes for HP-UX 10.10, and the Release Notes for individual HP products, provide summaries of the new features.

Ease

The snoop tool, provided with the 9.x-to-10.01 upgrade software, will help you identify what, if anything, must be done before a given system can be upgraded (see Chapter 4 “Pre-Upgrade Tasks for All 9.x Systems” for details).

In general, defer upgrading systems that will require the most work, allowing time to order disks, memory or software, and to do additional administration such as removing unneeded filesets.

Affinity

Plan to upgrade similar systems at the same time. Once you have successfully upgraded the first system, you should be able to take shortcuts with the remaining systems. See “Strategy for Similarly Configured Systems ” later in this chapter.

Interoperability

By interoperability we mean the ability to share resources such as NFS-mounted file systems and network printers. Systems that provide applications or services to a common pool of users should also be considered under this heading.

Plan to upgrade systems that require interoperability at the same time, as far as possible. If it is not possible, you will need to plan for systems still running 9.x to continue to operate with systems running 10.x. HP has provided tools to facilitate this; see “Operating 9.x and 10.x Systems Together ” later in this chapter.

Shared HP-UX "System" Directories

It is possible for 9.x systems to share HP-UX "system" directories by means of NFS mounts; for example, one workstation might mount /usr/local from another workstation that has more disk space.

It is not possible to share such directories between 9.x and 10.x systems. For example, If you try to upgrade a 9.x system that has /usr/local NFS mounted from another 9.x system, the result will be:

  • /usr/local on the remote system will not be touched.

  • The 10.01 files that should go into /usr/local will not be loaded.

In this case, you should do the following:

  1. Arrange to upgrade all systems sharing any 9.x "system" directory (such as directories under /usr) on the same day or during the same shift.

  2. Shut down all of these systems at the same time.

  3. Upgrade the NFS server system.

    Users of this system can now log back in.

  4. Upgrade the NFS client system(s).

    This will unmount all the NFS-mounted directories, leaving empty directories in their place. These directories will still be empty at the end of the upgrade.

  5. Remount the NFS-mounted directories on the client system(s).

    Users can now log back in.

A Sample Strategy

Your site upgrade strategy might look something like this:

  1. Sketch out the order in which you would ideally like to upgrade your systems, given your users' needs for 10.x features, 10.x-compatibility of critical applications, and so on.

  2. Understand the 9.x-to-10.x interoperability issues, and familiarize yourself with the tools and procedures HP has supplied to help solve them (see “Operating 9.x and 10.x Systems Together ”, later in this chapter).

  3. Choose "typical" systems and analyze them using the tools supplied by HP (see Chapter 4 “Pre-Upgrade Tasks for All 9.x Systems”).

    By "typical", we mean a system that is similar to a number of other systems in hardware type (Series 700 or 800), disk space, and peripheral and networking configuration. (If you have a number of systems that are very similar, you may be able to use the procedure suggested under “Strategy for Similarly Configured Systems ” later in this chapter.)

  4. Use this analysis to pre-qualify the remaining systems on your list.

    You should be able to divide the list roughly into three categories:

    1. Systems that can be upgraded with minimal preparation and post-upgrade effort.

      These would be systems on which all of the following are true:

    2. Cases that will take more time.

      These would include systems that need more disk space, or need hardware upgrades, or form part of an HP-UX cluster (see “Converting HP-UX ("DUX") Clusters”, later in this chapter); or that run critical code or scripts that require modification for 10.x (see Chapter 5 “Converting Code and Scripts ” and Chapter 8 “Compatibility between 9.x Releases and 10.01 ”).

    3. Systems that can't be upgraded, for example Series 300 systems (see Chapter 3 “Planning a System Upgrade ”).

  5. Rework your list so that systems near the top have the following characteristics:

    • Need to run 10.x as soon as possible.

    • Present few or no problems for upgrade.

    • Run code and scripts that require little conversion effort.

    • Are typical of a number of other systems.

    We'll refer to these as "good candidates" from now on.

  6. Resolve any configuration problems the tools report on the "good candidate" systems (see Chapter 4 “Pre-Upgrade Tasks for All 9.x Systems”).

  7. Decide on your strategy for converting source code and scripts on the "good candidates" (see Chapter 3 “Planning a System Upgrade ”).

  8. Convert source code and scripts on the "good candidates" if you so decide (see Chapter 4 “Pre-Upgrade Tasks for All 9.x Systems” and Chapter 5 “Converting Code and Scripts ”).

    Pay particular attention to code or scripts that are re-used on several systems; it may be a good investment of time to convert these now. Users' .login and .profile scripts may also need individual attention if they are heavily customized.

  9. Upgrade the "good candidate" systems to 10.01 (see Chapter 6 “Upgrading Your System from 9.x to 10.01 ”).

  10. Convert startup and shutdown scripts, and do other post-upgrade tasks, on the "good candidates" (see Chapter 7 “After the Upgrade ”).

  11. Upgrade applications on the "good candidates", and update them to 10.10 if you so decide.

    NOTE: You must upgrade systems running 9.07 to 10.10. You will initially upgrade these systems to an intermediate version of 10.01, but that version is supported only for the purposes of upgrading it immediately to 10.10.
  12. Implement 9x-to-10.x interoperability strategies on systems that cannot be, or will not be, upgraded soon (see “Operating 9.x and 10.x Systems Together ”, later in this chapter).

  13. Analyze the remaining systems (see Chapter 4 “Pre-Upgrade Tasks for All 9.x Systems”.

  14. Upgrade the remaining systems (see Chapter 6 “Upgrading Your System from 9.x to 10.01 ”).

  15. Convert startup and shutdown scripts on the remaining systems (see Chapter 7 “After the Upgrade ”), or copy these scripts from a similar system that has already been upgraded.

  16. Upgrade applications on these systems, and upgrade them to 10.10 if you so decide (see Chapter 7 “After the Upgrade ”).

Strategy for Similarly Configured Systems

If you have several systems that are much alike in their configuration and are all used for the same or similar purposes, you may be able to simplify the procedure outlined above.

For example, you might have a workgroup of Series 750s, all running HP-UX 9.05 and the same version of the most commonly used or mission-critical applications from a single root disk and single LAN card, with similar networking and I/O configuration.

For such a group of similar systems, you can do the following:

  1. Run snoop to analyze one system (see “Running snoop ”).

  2. Fix any problems snoop reports (see “Modifying Your System ”).

  3. Analyze source code, .login and .profile files and other user scripts, and convert them if necessary (see Chapter 3 “Planning a System Upgrade ” and Chapter 5 “Converting Code and Scripts ”).

  4. Upgrade this system to 10.01 (see Chapter 6 “Upgrading Your System from 9.x to 10.01 ”).

  5. Modify system startup and shutdown scripts and do any other post-upgrade tasks that may be necessary (see Chapter 7 “After the Upgrade ”).

  6. Install and test converted 9.x code and scripts if necessary.

  7. Qualify 9.x application binaries using your normal regression-testing procedures.

  8. Upgrade HP applications (and third-party applications for which a 10.x upgrade is available), and updatee this system to 10.10 if you so decide.

  9. Fix any problems on the remaining systems that snoop warned you about when you ran it on the first system.

  10. Run snoop in unattended mode on each of the remaining systems (see “Modifying Your System ” for an example).

    Check the snoop.log file on each system to make sure there are no PROBLEMS, and no CAUTIONS you do not already know about from the first system.

  11. Run upgrade in unattended mode on each of the remaining systems.

    Make sure you check the logfiles before allowing users back on (see “Examining the Upgrade Log Files”).

  12. Copy over code and scripts from the first system to each of the remaining systems, adapting them to the individual systems and re-testing them as needed.

  13. Copy over application binaries certified on the first system.

  14. Upgrade HP applications (and third-party applications for which a 10.x upgrade is available), and update the remaining systems to 10.10 if you so decide.

Sharing Disk Space

If you have one large Series 700 or 800 system (with plenty of spare disk space and memory), and one or more low-end Series 700 systems, you may want to consider implementing NFS Diskless.

You can save disk space by upgrading the large system to 10.01, configuring it as an NFS Diskless server, then booting the remaining systems as NFS Diskless clients, freeing up space on the clients' local disks (you can now remove the HP-UX 9.x files from these disks).

See the 10.01 version of the HP-UX System Administration Tasks manual for information on configuring and managing NFS Diskless; for a high-level overview, see the Release Notes for HP-UX 10.10. (Instructions for getting the Release Notes for HP-UX 10.10 from the 10.01 upgrade tape or CDROM are under “Locating and Loading Tools and Documentation”.)

NOTE: If you are currently running an HP-UX cluster, see “Converting HP-UX ("DUX") Clusters” later in this chapter.
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-1995 Hewlett-Packard Development Company, L.P.