• Aucun résultat trouvé

Planning for an Update

This module describes what you must do or know before you begin updating your system.

Prerequisites and Conditions for All Updates

• Make sure you have adequate disk space to contain 7.0 HP-UX. For information on 7.0 disk space requirements, and on analyzing and freeing disk space, see "Analyzing Disk Space" in this chapter. For a detailed discussion of disk space, see the HP- UX System Administration Concepts Manual. For instructions on configuring mixed clusters, see "Managing an HP-UX Cluster" in this manual.

• Series 800. If you intend to use disk mirroring, make sure your system can accommodate it. For additional information, see the Series 800 HP- UX System Administration Tasks Manual.

• You must know the correct device file name for your cartridge tape drive or your 9-track tape drive. On a Series 300, the update program defaults to /dev/update. src; on a Series 800, the program defaults to /dev/rmt/Om (i.e., zerom). However, the device file names can vary: if your system does not have the default device file, or if you will be updating from a different device or from cartridge tape (on Series 800), determine the name of the source device's device file name now.

If you don't know the device file name, determine its name from the information given in a directory listing:

D Series 300: Type one of the following:

• 11 /dev (if all your device files are in the /dev directory) .

• 11 /dev/rct (if your device files are grouped in sub-directories).

For information on interpreting the device file listing, see "Managing Devices" in this manual.

D Series 800: If you are updating from 9-track tape, type Issf /dev /rmt/*

to view your device files. If you are updating from cartridge tape, follow this procedure:

1. Determine your tape drive's hardware address.

3-10 Updating HP-UX

2. Change directory to /dev/rct.

3. Type: Issf

*

(see lssf(lM) in the HP- UX Reference for more information) .

4. A listing of all your device files is displayed. Choose the device file that matches your hardware address.

• Read the Read Me First document supplied with your update media. HP- UX Reference and "Managing the File System" in this chapter.

• Set up a netdist server if you plan to update over a network (see

"Configuring a N etdist Server" in this chapter).

If a netdist server is already set up, know the hostname of the netdist tapes in sequential order in the autochanger magazine starting with slot 1 (bottom slot). Then load the magazine in the drive and wait until the drive is ready.

More "Prerequisites and Conditions" on the following page . ...

Updating HP-UX 3-11

• The / etc/update facility will mount all file systems listed in

/etc/checklist. If you don't want a file system to be mounted (for

example, /users), comment out the line in / etc/ checklist before you start the update program. Leave NFS file systems (if any) in the checklist file. System Administration Tasks manual have information about partitions and filesets. )

• Be aware that the update program might reboot the system as part of the update process. The program reboots the system if you select a fileset (or filesets) that are flagged to indicate a reboot is necessary. If a reboot is necessary, you will be warned before loading begins. You then have the option of proceeding or exiting the update program, bringing the system to a quiet state, and re-starting update.

For additional information on system reboots, see update(lM) in the HP- UX Reference.

• Ensure that your TERM environment variable is set correctly; otherwise the display might behave strangely during the interactive update process (setting the TERM variable is described in A Beginner's Guide to Using Shells). You upda t e using command line options.

• Don't run console jobs in the background during an update: unexpected output to the terminal might result in unreadable update screens.

3-12 Updating HP-UX

Prerequisites and Conditions for Updating the Operating System

• Read and follow the prerequisites and conditions on the previous pages.

• Make sure users are logged off the system. /etc/conf/gen/S800 to /etc/conf/gen/S800.o1d (Series 800).

2. Move the file that was used to create the /hp-ux file into

/etc/conf/dfile (Series 300) or into /etc/conf/gen/S800 (Series 800).

• If the system is not currently running on /hp-ux, you might want to

reconfigure the kernel and reboot the system on /hp-ux (see "Reconfiguring the Kernel" in this manual).

• Shut down the cnodes if updating an HP-UX cluster.

• Bring the system to single-user state (see shutdown(lM) in the HP- UX Reference). If you have remote file systems mounted via NFS that will be updated, these file systems must be mounted during the update. NFS must be active to detect which files are remote; however, update will riot write to NFS-mounted file systems. (To use NFS or to update from a netdist server, bring up the system in multi-user state, then shut down to single-user state.)

Where to Go Next ...

If You Plan to .,. Move on to Section ...

Update from cartridge tape, Work through the module "Running the Update 9-track tape, or netdist server. Program." Then move to "Tasks to Perform after

the Update."

Set up a netdist server. Work through the module "Configuring a Netdist Server." Then, if you want to perform an update, move to "Running the Update Program."

Updating HP-UX 3-13