[Return to Library] [Contents] [Previous Chapter] [Next Section] [Next Chapter] [Index] [Help]


2    Performing an Update Installation

All the information you need to perform an update installation is included in this chapter. This chapter includes the following information:

Note

If you want to update a system that has worldwide language support installed, use the update procedures shown in Chapter 10. The wwinstallupdate program deletes worldwide support subsets, invokes installupdate to update the base operating system software subsets, and then updates worldwide support subsets and merges the saved system files.

The goal of this chapter is to provide the information necessary for you to perform the user actions shown in Table 2-1.

Table 2-1: Summary of User Actions

After reading this chapter, you will ...
Perform prerequisite tasks before starting the update.
Decide whether to use CD-ROM or the network as the distribution media.
Perform prerequisite tasks based on the media you choose.
Start the update installation from CD-ROM or RIS.
Respond to prompts during the early phase of the update.
Use the Update Administration Utility to perform postinstallation tasks.
Run the catman -w command to update the whatis reference page database.


[Return to Library] [Contents] [Previous Chapter] [Next Section] [Next Chapter] [Index] [Help]


2.1    Quick Start for Experienced Users

If you have performed an update installation before, you probably do not have to read the detailed information in this chapter. The Update Installation Quick Reference Card is intended for experienced users, and you may want to consider using it as a guide when performing the update installation.

Table 2-2 provides the steps to get you started quickly.

Table 2-2: Steps for Experienced Users

If you have experience performing Follow
update installations... Instructions In:
Perform prerequisite tasks. Section 2.5
Start the update installation from CD-ROM. Section 2.6
Start the update installation from RIS. Section 2.7
Manually merge files if necessary. Section 2.10
Perform file administration tasks using the Update Administration Utility. Section 2.15
Run the catman -w command to update the whatis reference page database. Section 2.16


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.2    What Is an Update Installation?

An update installation updates your Digital UNIX system from Version 3.2C, 3.2D-1, or 3.2D-2 to Digital UNIX Version 4.0. You cannot update your system directly to Version 4.0 if the Digital UNIX release currently installed on your system predates Version 3.2C, 3.2D-1, or 3.2D-2. If your system predates Version 3.2C, 3.2D-1, or 3.2D-2, you can perform successive updates to reach Version 4.0.

An update installation preserves disk partitions, file systems, file customizations, your print and network configuration, user accounts, user files, and any other system setup you may have done on a system that is running Version 3.2C, 3.2D-1, or 3.2D-2 of the Digital UNIX operating system. Preserving this data is an advantage over a full installation, because a full installation creates file systems and swap areas that overwrite any existing data on the disk partitions where the file systems and swap areas are to be installed.

You should not perform an update installation if you want to change file system type or change the location of file systems. An update installation does not permit changes to file systems or disk layout.

Base software subsets that are already installed on your Version 3.2C, 3.2D-1, or 3.2D-2 system are updated to Version 4.0. In addition, any mandatory base software subsets that were introduced in Version 4.0 are installed automatically.

Digital UNIX base software subset names start with the prefix OSF.

You cannot install additional optional software subsets during an update installation. Additional optional software subsets can be installed by using the setld command when the update installation is complete. Refer to Chapter 8 for more information about using the setld command.

The Common Desktop Environment (CDE) is the default desktop for Digital UNIX Version 4.0 and is installed automatically during the update installation if your system has graphics capabilities.

Layered products are not updated by the update installation process. To update layered products, go back to the source of the layered product and obtain the latest version.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.2.1    Completion Time for an Update Installation

Update installations from RIS complete in 90 to 120 minutes. Update installations from CD-ROM complete in 90 to 150 minutes. Actual time depends on your processor type, the number of software subsets to be updated, the type of media used to perform the update (CD-ROM or RIS), the speed of your CD-ROM drive if you are using CD-ROM, and network traffic if you are using RIS.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.2.2    How Existing Files Are Affected During an Update Installation

This section describes the files that are affected by the update installation.

The update installation does not delete any user files (that is, files that have been created by system users that were not shipped as part of the Digital UNIX operating system). The files that the update installation affects are the following:


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.3    Source of the Update Installation

There are two distribution methods from which to invoke an update installation:

The update installation is performed from single-user mode. You must be superuser or the user root to bring a system down to single-user mode. How you bring the system down to single-user mode depends on the following:

The procedure to start the update from the command line depends on whether you are using CD-ROM or RIS as the source of the update. Section 2.6 describes how to start the update from CD-ROM, and Section 2.7 describes how to start the update from RIS.

Caution

Do not use the setld -l command to update from Digital UNIX Version 3.2C, 3.2D-1, or 3.2D-2 to Digital UNIX Version 4.0. The only method to update your system other than performing a full installation is to use the /sbin/installupdate program that is described in this chapter.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.4    Summary of the Update Installation Procedure

The following summarizes the steps in an update installation:

  1. Perform the prerequisite tasks that must be completed regardless of the distribution media you are using. These tasks include backing up your system, deleting layered products that will halt the update process, updating your system firmware, and checking disk space. These tasks are described in Section 2.5.

  2. Decide whether you are updating to Digital UNIX Version 4.0 from the CD-ROM or RIS distribution media and perform prerequisite tasks depending upon what distribution media you choose. Refer to Section 2.6.1 for CD-ROM prerequisite tasks. Refer to Section 2.7.1 for RIS prerequisite tasks.

  3. Start the update installation.

  4. Respond to prompts during the initial phase of the update.

  5. Perform postinstallation tasks:


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.5    Preparing for an Update Installation

Whether you are performing the update installation from CD-ROM or a RIS server, you must perform the following tasks before you begin:

  1. If you previously performed an update installation on your system, you should have used the Update Administration Utility to remove unnecessary files before attempting the next update installation. When you invoke the Update Administration Utility to view files, the message deleted from system indicates that you had used the utility to delete files after the last update installation. If you have not removed any files, please do so now. The Update Administration Utility lets you remove .preMRG, .preUPD, and obsolete files that may conflict with the newly loaded software subsets. Removing these files also frees up disk space. Refer to Section 2.15 for more information about using the Update Administration Utility.

  2. Back up your current operating system.

    Digital recommends that you back up your operating system before beginning an update installation. If there are any interruptions when the update process is loading software subsets, it is unlikely that the update will complete successfully. Should this happen, you must restore the original version of Digital UNIX that was previously installed on your system before you can attempt another update. Refer to System Administration for information about backing up your current system.

  3. Delete certain layered products before beginning the update.

    Some layered products must be deleted before the update installation can proceed. Section 2.8.2.1 shows an example of the messages you will see if these layered products are detected during the update process. The software subsets associated with the following layered products halt the update installation and must be deleted before beginning the update:

    Use the setld command to delete the software subsets associated with these layered products. Section 2.8.2.1 describes how to delete layered products.

  4. Check disk space.

    If your file systems have less space available than the amount shown in Section F.2, consider using the setld command to delete unnecessary software subsets before you begin the update. You should also remove all unnecessary kernel files and core files that are consuming space. Refer to Chapter 8 for more information about using the setld command.

    Use the df command to check your current disk usage. Refer to Section F.2 for information on the disk space requirements for the update installation of Digital UNIX Version 4.0.

  5. Update system firmware.

    To run Digital UNIX Version 4.0, your system might require a firmware update. Firmware updates are located on the Alpha Systems Firmware CD-ROM Version 3.5 CD-ROM that is included with your Digital UNIX software distribution kit. Update your system's firmware before beginning the update installation. Section 1.4.6 provides the minimum firmware revision for each supported processor.

After you have completed all prerequisite tasks, proceed to Section 2.6 if you are using the Digital UNIX CD-ROM to perform the update. Proceed to Section 2.7 if you are using RIS to perform the update.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.6    Running the Update Installation from CD-ROM

Read this section if you are performing an update installation from CD-ROM media.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.6.1    Before You Start

If you plan to update your system from CD-ROM media, you need to know the CD-ROM device name where the CD-ROM will be mounted.

If you do not know the CD-ROM device name, use the file command specifying the raw device to find it. CD-ROM devices are prefixed with the letters RRD. Using the | (pipe) command to filter the output of the file command to the grep command to search for RRD ensures that only your CD-ROM devices are output in the result of the command. Enter a command similar to the following:

file /dev/rrz*c | grep RRD

/dev/rrz4c: character special (8/4098) SCSI #0 RRD44 disk #32 (SCSI ID #4)

In the previous example, the CD-ROM device is RRD44 on device /dev/rz4c. If you have more than one RRD device connected to your system, specify the device where the CD-ROM will be mounted.

Standard device names begin with rz for the block special file and rrz for the raw (character) special file. The result of the file command displays the raw device name, but you must specify the block special file when mounting the CD-ROM device.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.6.2    Starting the Update Installation from CD-ROM

Perform the following steps to start the update installation from CD-ROM:

Note

Before beginning the update installation, be aware that the process takes from 90 to 150 minutes to complete. Actual time depends on your processor type, the speed of your CD-ROM drive, and the number of software subsets to be updated.

  1. Verify that your system is backed up so that you can recover the previous version if necessary. The System Administration guide documents backup procedures (using the dump command).

  2. As superuser or root, boot to single-user mode or shut down your system.

    Once your system is in single-user mode, the screen looks similar to the following:

    INIT: SINGLE-USER MODE
    #
    

  3. Follow this step only if you installed and are using the Logical Storage Manager (LSM); otherwise, proceed to Step 4.

    Enter the following command to activate LSM before running bcheckrc (in Step 4):

    /sbin/lsmbstartup

  4. Mount the local file systems as follows:

    /sbin/bcheckrc

    The bcheckrc command also runs fsck to check the file system. If fsck finds a problem with the root (/) partition, the system shuts down and reboots.

  5. If your CD-ROM drive requires you to put the CD-ROM in a caddy, ensure that the CD-ROM is loaded in the caddy and drive as described in Appendix B.

  6. There are two ways to start installupdate depending upon how the CD-ROM is mounted.

    However, you should be aware that the installupdate procedure may not select the correct distribution media when multiple distribution medias are mounted on similar mount points. For example, assume that the following devices are mounted:

    /dev/rz0a on / type ufs (rw)
    /proc on /proc type procfs (rw)
    /dev/rz0g on /usr type ufs (rw)
    /dev/rz4c       /mnt1
    /dev/rz11c      /mnt
    

    If you invoke /sbin/installupdate from /mnt to select /dev/rz11c as the source of the distribution media, the installupdate program incorrectly uses /dev/rz4c as the distribution media, because a grep command in the installupdate source code searches for /mnt and returns the /mnt1 mount point as the first mount point it finds. To avoid this problem, mount only the intended distribution media before beginning the update.

    Do one of the following to start the installupdate from CD-ROM. The optional -i flag invokes an interactive kernel build where you can select kernel options from a menu and edit the configuration file to include any kernel customizations that you had in the previous kernel that your system may require.

    1. Enter the /sbin/installupdate command with the following syntax:

      /sbin/installupdate [ -i ] cdrom_device

      The cdrom_device parameter is the device special file name of the CD-ROM drive.

      For example, to invoke /sbin/installupdate with an interactive kernel build from CD-ROM device rz4c, enter the following command:

      /sbin/installupdate -i /dev/rz4c

    2. If you already have an instruction in your /etc/fstab file to mount the CD-ROM device, the distribution media is mounted automatically on the mount point that is specified in your existing /etc/fstab file. In that case, enter the /sbin/installupdate command with the following syntax:

      /sbin/installupdate [ -i ] mount_point

      The mount_point parameter specifies the mount point of the CD-ROM device in the /etc/fstab file. For example:

      /sbin/installupdate -i /cdrom

      In the previous example, /cdrom is the mount point specified in the /etc/fstab file.

Caution

Pressing Ctrl/c during the update installation causes installupdate to exit. However, if you press Ctrl/c while software subsets are loading, serious operating system corruption can occur that may render the operating system unusable. In that case, you may have to restore the backed-up version of the operating system before you can attempt another update.

Proceed to Section 2.8 to continue the update installation.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.7    Running the Update Installation from a RIS Server

Read this section if you are performing an update installation from a RIS server.

Note

Before beginning, be aware that the update installation takes from 90 to 120 minutes to complete and depends upon your processor type, the number of software subsets to update, and network traffic.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.7.1    Before You Start

Complete these steps before you start the update installation from a RIS server:

  1. Ask the RIS server administrator to ensure that your system is registered as a client of the RIS server and is able to access the Digital UNIX Version 4.0 RIS area. Refer to Sharing Software on a Local Area Network for more information about RIS.

  2. The Internet name and address of the server may need to be in your system's /etc/hosts file in order for you to execute the showmount command. You can invoke the netsetup command to add the name and address of the server or edit the /etc/hosts file to include an entry for the server, similar to the following:

    16.141.113.221 system9.dec.com system9
    

    The hosts entry in /etc/svc.conf must allow for local resolution of host (Internet) addresses, for example: hosts=local,yp. You can invoke the svcsetup command to modify hosts to local or edit the /etc/svc.conf file. Refer to Network Administration if you need more information about obtaining network status. Refer to Sharing Software on a Local Area Network if you need more information about RIS.

  3. Ensure that your system can communicate with the RIS server by executing the /sbin/ping command to verify the network connection. Enter the command in the following format and replace ris_server_name with the name of your local RIS server:

    /sbin/ping -c2  ris_server_name

    Successful output of the /sbin/ping command is similar to the following:

    # ping -c2 system9
    PING system9 (16.59.l24.96): 56 data bytes
    64 bytes from 16.59.l24.96: icmp_seq=0 ttl=255 time=1 ms
    64 bytes from 16.59.l24.96: icmp_seq=1 ttl=255 time=0 ms
    
     
    ----system9 PING Statistics---- 2 packets transmitted, 2 packets received, 0% packet loss round-trip (ms) min/avg/max = 0/0/1 ms

    In the previous example, system9 is the name of the RIS server.

    Your system is not able to communicate with the RIS server if you obtain the following results from the /sbin/ping command:

  4. Verify that your system is backed up so that you can recover the previous version of the operating system if necessary.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.7.2    Starting the Update Installation from a RIS Server

Perform the following steps to start the update installation from a RIS server:

  1. As superuser or root, boot to single-user mode or shut down your system.

    When your system is in single-user mode, the screen looks similar to the following:

    INIT: SINGLE-USER MODE
    #
    

  2. Follow this step only if you installed and are using the Logical Storage Manager (LSM); otherwise proceed to Step 3.

    Enter the following command to activate LSM before running bcheckrc (in Step 3):

    /sbin/lsmbstartup

  3. Mount the local file systems as follows:

    /sbin/bcheckrc

    The bcheckrc command also runs fsck to check the file system. If fsck finds a problem with the root (/) partition, the system shuts down and reboots to multiuser mode.

  4. Enter the following command to delete the table of Internet addresses to ensure that the routed and gated daemons do not start up during the update installation:

    route flush

    Successful completion of the route flush command looks similar to the following:

    default      16.70.223.135   done
    16.70.143    16.70.223.198   done
    

  5. Enter the /sbin/installupdate command with the following syntax:

    /sbin/installupdate [ -i ] ris_server_name:

    The optional -i flag invokes an interactive kernel build where you can select kernel options from a menu and edit the configuration file to include any kernel customizations that you had in the previous kernel that your system may require.

    For example, to run /sbin/installupdate from a RIS server named system9 with an interactive kernel build, enter a command similar to the following:

    /sbin/installupdate -i system9:

    The RIS server name must be appended with a colon (:).

    Caution

    Pressing Ctrl/c during the update installation causes installupdate to exit. However, if you press Ctrl/c while software subsets are loading, serious operating system corruption can occur that may render the operating system unusable. In that case, you may have to restore the backed-up version of the operating system before you can attempt another update.

Proceed to Section 2.8 to continue the update installation.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.8    What Happens During the Update Installation Process

This section describes the information and prompts that are displayed during the update installation process.

The number of software subsets installed on your system and the type of installation media used affects the time required for an update. You are required to enter information during the early phases of the update. You do not need to monitor the update under most circumstances. However, if an error occurs, messages notify you and offer options for proceeding.

The phases of the update installation include the following:

The following sections describe the information displayed on your screen during each phase of the update.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.8.1    Verifying the System Backup

The first message displayed on your screen confirms the new version of the operating system, and the version that you are updating from. This message also reminds you that your system should be backed up so that you can recover the current version of the system if an interrupt should occur.

The Digital UNIX Version 4.0 (Rev. xxx) Update Installation will
update the following Digital UNIX products:

 
Digital UNIX V3.2C Digital UNIX V3.2D-1 Digital UNIX V3.2D-2
 
Digital Equipment Corporation recommends that you perform complete system software backups before proceeding.

At this point, the update procedure also checks for certain layered products that may be incompatible with update installations. If these products are found on your system, warning messages are displayed as described in Section 2.8.2. If the layered product messages are not displayed, and you are satisfied with the state of your system backup, you can proceed with the update. A prompt is displayed as follows:

Do you want to continue the update installation? (y/n) [n]:

Enter y to proceed with the installation or n if you want to exit and back up your system.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.8.2    Checking for Layered Products

This section applies only if the update installation detects layered products that may not be compatible with Digital UNIX Version 4.0.

If no layered products are found, proceed to Section 2.8.3 to continue the update installation.

In Digital UNIX Version 4.0, installupdate checks if certain layered products are installed on your system. Layered products are products that are installed on top of the Digital UNIX operating system. If detected, these layered products may be affected by the update as follows:


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.8.2.1    Layered Products That Halt the Update Installation

If applications or layered products installed on your system prevent installupdate from continuing, a message similar to the following is displayed:

-----------------------------------------------------------------
This system cannot be updated with the following layered products
installed on it.  Please remove these products from your system
before attempting an update installation:

 
DECnet/OSI DEC Open3D DECsafe Available Server Environment TruCluster Software Multimedia Services Distributed Computing Environment System V Environment Worldwide Language Support
 
------------------------------------------------------------------ Press <RETURN> to review message again.

If this message appears, the update installation cannot proceed and you must exit at the following prompt:

Enter any character and press Return to stop:

When you enter a character and press Return, your system is returned to its original state, that is, the state your system was in before the update procedure.

Follow these steps to delete the layered product that is preventing the update installation from continuing:

  1. Use the setld -i command to determine the correct software subset names to delete. In the following example, assume that DECnet/OSI prevented the update installation from continuing. The following example shows how to determine the software subset names associated with DECnet/OSI and then how to delete them:

    setld -i | grep -i decnet | grep installed

    DNABASE300      installed      DECnet/OSI Base Components
                                     (DECnet/OSI Standard Run-time
                                     Environment)
    DNADLI300       installed      DECnet/OSI Datalink Components
                                     (DECnet/OSI Standard Run-time
                                      Environment)
    DNAMOP300       installed      DECnet/OSI MOP Utilities
                                      (Optional DECnet/OSI
                                       Components)
    DNANETMAN300    installed      DECnet/OSI Network Management
                                     (DECnet/OSI Standard Run-time
                                      Environment)
    

    The output of the setld and grep commands show that DNABASE300, DNADLI300, DNAMOP300, and DNANETMAN300 are the installed DECnet/OSI software subsets that must be deleted.

  2. Use the setld -d command to delete the software subsets:

    setld -d DNABASE300 DNADLI300 DNAMOP300 DNANETMAN300

  3. After software subset deletion is complete, restart the update installation:

When the update installation is complete, use the setld command to reinstall the version of the layered product that is compatible with Digital UNIX Version 4.0.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.8.2.2    Layered Products That Let the Update Installation Continue

If any layered products currently installed on your system let installupdate continue but may require reinstallation, a message similar to the following is displayed:

----------------------------------------------------------------
The following layered products may require re-installation after
the update installation has completed:

 
Product A . . . Product Z ---------------------------------------------------------------- Press <RETURN> to review message again.

You have the option to exit from the installation procedure at this point and the following prompt is displayed:

Do you want to continue the update installation? (y/n) [n]:

Enter y to proceed with the update installation or n if you want to exit the update installation and remove the layered products before restarting the update.

If you decide to proceed without removing these layered products, test the layered product when the update is finished. Digital recommends that you reinstall any layered products that are critical to the use of the updated operating system. Go to Section 2.8.3 to continue the update installation.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.8.3    Checking the System Status

The next step in the update involves checking the system status and collecting data that is used in the update. This step takes up to 10 minutes, and you are not required to enter any data.

A Working... message displays approximately once every two minutes while system status is checked. These messages are similar to the following:

******   Checking current state of system

 
Depending on the system configuration, this may take up to 10 minutes... Working....Fri Mar 15 12:10:27 EDT 1996 Working....Fri Mar 15 12:11:52 EDT 1996 Working....Fri Mar 15 12:13:59 EDT 1996

During this phase of the update, the update procedure does the following:

If no problems are detected during the checking phase, you do not need to enter any more information beyond this point. If no conflicts are displayed, proceed to Section 2.8.7 to continue the update installation process.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.8.4    Checking for File Type Conflicts

This section applies only if file type conflicts are found by the update installation procedure.

Digital UNIX system file types can be files, directories, symbolic links, block devices, or pipes. The update installation procedure expects to find system file types currently installed as they were shipped with the base operating system. The status of the file types is verified during the system status check. For example, if a file is shipped as type symbolic link in Digital UNIX Version 3.2C, 3.2D-1, or 3.2D-2 and you later customize it to a type directory, when the same file ships as type symbolic link in Digital UNIX Version 4.0, the update installation detects the difference and exits.

When file system types are modified as part of a system customization, the update installation cannot proceed. This is intended to preserve the integrity of the software product about to be installed.

Messages display when file type conflicts are found. In the following sample message, /usr/tmp was shipped as a symbolic link and was changed to a directory:

The following directories on this system conflict with assigned file
types originally shipped in the Digital UNIX operating system.  This
can be caused, for example, if a symbolic link is replaced with a
real directory.

 
These conflicts must be resolved before an update installation can be performed on this system. Additional file status information can be found in subset inventory files located in the /usr/.smdb. directory.
 
For later review, this message is also logged in
 
/var/adm/smlogs/update.log
 
./usr/tmp should be Symbolic Link to ../var/tmp
 
The update procedure will exit and return the system to the state it was in prior to starting the procedure.

You can review the list of file conflicts or exit as follows:

Press Return to review message again.
Enter any character and press Return, to exit:

When you exit from the update procedure, the following message is displayed:

Returning system to Pre-Update state...done
Update Installation exiting.

You must resolve any conflicts shown in the message before you can restart the update installation. If you do not resolve the conflicts, you cannot perform an update installation.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.8.5    Checking File Sizes

The update installation procedure performs transparent file size checks to make sure that the list of new software subsets fits on your system. In the preparation stage before the update, you should have removed all unwanted core files, crash dumps, and extra kernels that may be consuming space.

If the update installation process determines that there is adequate space for all new software subsets, no user interaction is required, and the process continues by loading the software subsets as shown in Section 2.8.7.

The remainder of this section applies only if there is insufficient disk space to perform the update installation.

If the update installation determines that there is inadequate space for the loading of new software subsets, it attempts to recover space from saved unprotected customized files. If the amount of space it can recover from removing saved copies of unprotected customized files is greater than the space it needs to load new software subsets, a message similar to the following is displayed:

 -----------------------------------------------------------------

 
file system /usr needs 9555 Kbytes more to install the software specified.
 
-----------------------------------------------------------------
 
The Digital UNIX Version 4.0 Update Installation has used 13021 Kbytes of disk space to save unprotected customized system files on your system to a .PreUPD extension.
 
Unprotected customized system files are Digital UNIX system files that have been customized by users or by layered product implementation. The files are in danger of being overwritten without the customizations in them being saved because they are unprotected.
 
If you have already backed up your entire system, you can continue with the update installation and restore customizations to the newly installed files at a later time. Continuing at this point causes all files saved to a .PreUPD extension to be removed.
 
If you want to ensure that the unprotected customized system files on this system have been backed up, you can select option u from the following menu and invoke the Update Administration Utility. This utility allows you to view and save unprotected customized system files on your system. The utility also allows you to continue or quit the update installation procedure. If you quit the update installation procedure at this point, the system returns to the same state it was in prior to invoking the update installation.
 
Digital UNIX Update Installation Main Menu ------------------------------------------ c) Continue installation q) Quit installation u) Update Administration Utility v) View error message again
 
Enter your choice:

If the amount of space that the update installation can buy back is not enough to allow the loading of new software subsets, a message similar to the following is displayed:

-----------------------------------------------------------------

 
file system /usr needs 11104 Kbytes more to install the software specified.
 
-----------------------------------------------------------------
 
You will need to remove some software subsets and/or user files from this system before performing an update installation.
 
Returning system to Pre-Update state...done. Update Installation exiting.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.8.6    Detecting Unprotected Customized File

This section applies only if unprotected customized files are detected during the update installation.

If installupdate detects any unprotected customized system files as described in Section 2.2.2, an attempt is made to save them to a .PreUPD extension, for example, custom_file.PreUPD, so that you can decide what to do with them after the update is complete.

If for any reason unprotected customized files cannot be saved, the Update Administration Utility is invoked automatically and lets you view these files and save them to backup media. The file name of each unprotected customized file is also logged in the /var/adm/smlogs/upd_custom_files file as a reminder of the files that require recustomization.

Files that are successfully saved to the .PreUPD extension are listed as such in the file /var/adm/smlogs/upd_custom_files.

The following message is displayed if customized files are found and successfully saved:

     Unprotected customized system files have been found on
     this system and have been saved to  'filename.PreUPD'.
     A listing of the files has been logged in
     /var/adm/smlogs/upd_custom_files.

 
After the update installation has completed, use the Update Administration Utility (/usr/sbin/updadmin) to perform system administration tasks on these files.
 

The following message from the Update Administration Utility is displayed if customized files are found but could not be saved:

**** Unprotected Customized System File Administration ****

 
There are unprotected customized versions of Digital UNIX system files currently installed on your system that are in danger of being overwritten by new Digital UNIX Version 4.0 (Rev. xxx) versions of the files.
 
These files are typically customized by users for projects they may be working on, or by layered product software implementation.
 
If you haven't already backed up your system, save these files to back up media at this time. You can restore these files back onto your system after the update installation has completed.
 
Unprotected Customized System File Admin Menu --------------------------------------------- q) Quit installation s) Save files v) View list of files x) Return to installation
 
Enter your choice:

In the previous example, the Update Administration Utility is invoked automatically, and the menu shows the available options. The Update Administration Utility is described in Section 2.15. If you choose to continue with the update, the following message is displayed:

     A listing of unprotected customized system files
     found by the Update Installation has been logged
     in /var/adm/smlogs/upd_custom_files.

 
After the update installation has completed, use the Update Administration Utility (/usr/sbin/updadmin) to perform system administration tasks on these files.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.8.7    Loading Software Subsets

Next, installupdate loads the Digital UNIX Version 4.0 software subsets that match the software subsets already loaded on your system. All new mandatory software subsets that were introduced in Version 4.0 are loaded automatically. Optional software subsets are loaded only if they were loaded previously. If you want to install additional optional software subsets provided in Digital UNIX Version 4.0, you must load these by using the setld command when installupdate is complete.

Caution

Pressing Ctrl/c while software subsets are loading causes serious operating system corruption can occur that may render the operating system unusable. You may have to restore the backed-up version of the operating system before you can attempt another update.

While software subsets are being loaded, a series of messages similar to the following is displayed:

******   Updating system to Digital UNIX V4.0  (Rev.xxx)

 
43 subset(s) will be installed.
 
Loading 1 of 43 subset(s)....
 
Base System Copying from system9 (inet) Working....Fri Mar 15 15:21:01 EDT 1996 Verifying
 
Loading 2 of 43 subset(s)....
 
Base System - Hardware Support Copying from system9 (inet) Working....Fri Mar 15 15:23:28 EDT 1996 Verifying
 
Loading 3 of 43 subset(s)....
 
Compiler Back End Copying from system9 (inet) Working....Fri Mar 15 15:24:06 EDT 1996 Verifying
 

.
.
.

 
Loading 33 of 43 subset(s)....
 
Graphical Base System Management Utilities Copying from system9 (inet) Verifying
 
Loading 34 of 43 subset(s)....
 
Graphical System Administration Utilities Copying from system9 (inet) Verifying
 
Loading 35 of 43 subset(s)....
 
Graphical Print Configuration Application Copying from system9 (inet) Verifying
 

.
.
.

 
Loading 42 of 43 subset(s)....
 
Motif 1.1 Copying from system9 (inet) Verifying
 
Loading 43 of 43 subset(s)....
 
Ref Pages: Admin/User Copying from system9 (inet) Working....Fri Mar 15 15:49:57 EDT 1996 Verifying
 
43 of 43 subset(s) installed successfully.

Individual software subsets can fail to load if a network interrupt, hardware problem, or file verification error occurs during the load process:


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.8.8    Recovering from Failures During Loading of Subsets

If the update installation fails before software subsets are loaded, you can usually recover. If necessary, you can bring your system back to multiuser mode by issuing the following command:

init 3

Error messages describe the type of error that occurred. Fix the errors reported by the messages and restart the update installation process. Refer to Section 2.6 if you are running installupdate from a CD-ROM, or Section 2.7 if you are running installupdate from a RIS server.

If the update installation fails during the loading of mandatory software subsets, you must restore your operating system back to the previous version that was installed on your system and reattempt the update installation after the failure is corrected.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.9    Merging Software Subsets

When all software subsets are successfully loaded and verified, the protected customized system files are automatically merged with any customized files found on your system. Refer to Section 2.2.2 for a description of the protected files. A series of merge messages similar to the following may be displayed:

*** Merging new file ./.new..DXsession into
            existing ./.proto..DXsession

 

 
Merge completed successfully.
 
*** Merging new file ./etc/.new..passwd into existing ./etc/.proto..passwd
 
adding wnn entry
 
Merge completed successfully.
 
*** Merging new file ./etc/.new..rc.config into existing ./etc/.proto..rc.config
 
Adding DHCP hooks
 
Merge completed successfully.
 

.
.
.

 
*** Merging new file ./usr/var/adm/sendmail/.new..sendmail.cf into existing ./usr/var/adm/sendmail/.proto..sendmail.cf
 
adding local.users to sendmail.cf adding Mlocal "F=u" flag in sendmail.cf correcting Mlocal "F=r" flag in sendmail.cf
 
Merge completed successfully.
 
*** Merging new file ./usr/share/lib/kernel_options/.new..kernel_options .db into existing ./usr/share/lib/kernel_options/.proto..kernel_options.db
 
modifying Asynchronous Transfer Mode option deleting Local Area Transport option adding Point-to-Point (PPP) adding ACL Subsystem adding NTP_TIME
 
Merge completed successfully.
 

When all merges are complete, the following message is displayed:

Update Installation complete with loading of subsets.
Rebooting system with Digital UNIX V4.0 (Rev. xxx)
generic kernel for configuration phase...

 
Exiting Update Installation... cleaning up system...

A log file, /var/adm/smlogs/update.log, stores the results of software subset loading and merging for your reference.

Next, the update installation configures the software subsets. Proceed to Section 2.10.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.10    Configuring Software Subsets and Merging

If the system is set to boot to multiuser mode, configuration of the new software subsets starts automatically. If the system reboots to single-user mode, enter the following command:

init 3

Configuration refers to the process of tailoring the software subsets, setting the host name, root password, date and time, and time zone, system tuning, and building a kernel that is required to have your hardware operate correctly with the new operating system. The software configuration display is similar to the following:

*** SYSTEM CONFIGURATION ***

 
Configuring "Base System " (OSFBASE400)
 
*** Merging new file ./.new..DXsession into existing ./DXsession
 
Merge completed successfully.
 
*** Merging new file ./etc/.new..passwd into existing ./etc/passwd
 
adding wnn entry
 
Merge completed successfully.
 
*** Merging new file ./etc/.new..rc.config into existing ./etc/rc.config
 
Adding DHCP hooks
 
Merge completed successfully.
 

.
.
.

 

 
Configuring "Base System - Hardware Support " (OSFHWBASE400)
 
Configuring "Compiler Back End " (OSFCMPLRS400)
 
Configuring "Kernel Header and Common Files " (OSFBINCOM400)
 
*** Merging new file ./usr/share/lib/kernel_options/.new..kernel_options .db into existing ./usr/share/lib/kernel_options/kernel_options.db
 
modifying Asynchronous Transfer Mode option deleting Local Area Transport option adding Point-to-Point (PPP) adding ACL Subsystem adding NTP_TIME
 
Merge completed successfully.
 

.
.
.

 
Configuring "Hardware Kernel Objects " (OSFHWBINOBJECT400)
 
Configuring "Motif 1.1 " (OSFMOTIF11400)
 
Configuring "Ref Pages: Admin/User " (OSFMANOS400)

After the update installation completes, a record of the software subset configuration information is located in /var/adm/smlogs/it.log. Examine this log closely to check for merge failures because you will have to manually merge your customizations into these files. Manually merging means using the text editor of your choice to cut and paste customizations from the old version of a file into the new version. Refer to Section 2.14.2 for more information about manually merging files.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.11    Building the Kernel

The kernel build begins after the configuration of software subsets is complete.

During the kernel build process, the system configuration file
/sys/conf/ system_name is automatically saved to
/sys/conf/ system_name .bck, and the following message is displayed:

Saving /sys/conf/KRAMER as /sys/conf/KRAMER.bck

In the previous example, KRAMER is the host name of the system. If you customized this file, one of the postinstallation tasks is to edit the new version and include your customizations.

The kernel build proceeds with the following messages:

       The system will now automatically build a kernel
       and then reboot. This will take approximately 15
       minutes, depending on the processor type.

 

 
*** PERFORMING KERNEL BUILD *** Working....Fri Mar 15 13:25:43 EDT 1996 Working....Fri Mar 15 13:27:44 EDT 1996

After the kernel builds successfully, you are prompted to log in to your system.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.11.1    Manually Adding Special Configuration Options to the Kernel

The update installation provides a basic kernel configuration file that includes only the required options and pseudodevices needed to be compatible with the current installed version of the operating system. However, the update installation does not propagate any special configuration options (such as those required for layered products).

If your system also has devices not supplied by Digital, you must add these options or devices to the kernel configuration file.

Unless you invoked the update installation with the -i option, which provides the option to edit the configuration file before the kernel build, you must use the doconfig command to rebuild a customized kernel with the special options. Refer to Section 5.20 for more information.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.11.2    Recovering from Kernel Build Failures

The tailored kernel build can fail at the end of your update installation because of an incompatibility of a layered product with Digital UNIX Version 4.0.

In this case, the system will reboot with the generic kernel. The update installation log file located in /var/adm/smlogs/it.log contains the reasons for the kernel build failure. After examining the log, use the setld command to deinstall the layered product that caused the failure and then use the setld command to reinstall the most recent version of the layered product. You should then be able to build a new customized kernel with support for the layered product by using the doconfig command.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.12    Logging In After the Update Completes

After the update installation is complete, log in to the system as the user root. Digital suggests logging in as root so you can immediately perform the postinstallation tasks shown in Section 2.14, which can only be done by the user root.

What happens when you log in for the first time depends upon whether you have a graphics workstation or a text-based terminal without graphics capabilities:

After you successfully log in, the update installation procedure is complete; your system is fully updated to Digital UNIX Version 4.0. Go to Section 2.14 for a description of the postinstallation tasks to perform. You can perform these postinstallation tasks only as the user root.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.13    Device Special File Name Changes

Device special file names may change as a result of the update installation. After successfully completing an update installation, it is possible that if you added tape devices to your system after the initial installation, the unit numbers and device special file names may be reordered as a result of the update process.

As an example, tape device tz13 is installed with device special file names *rmt0*. Then, tape device tz12 is installed and assigned device special file names *rmt1*. After an update installation, tape device tz12 is assigned device special file names *rmt0*, and tape device tz13 is assigned device special file names *rmt1*.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.14    Postinstallation Tasks

This section describes any tasks that must be completed after the update is complete.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.14.1    Reviewing Update Installation Log Files

Information about the update installation is stored in log files for you to review. Installation and configuration data is appended to any existing log files. Review the last entries in the following files to check the latest installation and configuration data:

If no obsolete, customized, or failed merge files are detected during the update installation, the relevant log files do not contain any data.

Digital recommends that you examine the log files when the update is complete to ensure that all files merged successfully.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.14.2    Manually Merging Customizations

Some protected files may not be merged correctly during the update and all unprotected files are not merged automatically. Manual merging involves editing the new versions of system files with a text editor to paste in your customizations. The following information is saved so that you can merge your customizations into the new versions.

When all manual merges are complete, your system is ready to use. At this time you can install additional optional software subsets provided on the Digital UNIX Version 4.0 distribution media. Refer to Chapter 8 for information about installing optional software subsets.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.15    Using the Update Administration Utility After the Update Installation

When you are satisfied that all merges are correct and your system is working as expected, use the Update Administration Utility to perform management tasks (such as saving, viewing, or deleting files) on the unprotected customized, obsolete, and PreMRG files. Unprotected customized files are saved to files with .PreUPD extensions.

Apart from managing system resources effectively, using this utility provides two important safeguards:

Note

Refer to Section 2.16 for information about updating the whatis reference page database after performing an update installation.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.15.1    Invoking the Update Administration Utility

If your system has graphics capabilities, use one of the following methods to access the Update Administration Utility from the SysMan Configuration Checklist:

If your system does not have graphics capabilities, use one of the following methods to invoke the Update Administration Utility:

Regardless of the manner in which you invoked the utility, the Update Administration Utility Main menu is displayed as follows:

The Update Administration Utility is used to perform administration
functions on a system that has been updated by /sbin/installupdate.

 
Please make a selection from the following menu.
 
Update Administration Utility Main Menu --------------------------------------- c) Unprotected Customized File Administration o) Obsolete System File Administration p) PreMRG File Administration x) Exit this utility
 

To exit from the utility and return to the operating system prompt at any time, choose the exit option as follows:


Choose the following options to perform file administration tasks (such as saving, viewing, or deleting files):

If you choose any of the three main menu options, a submenu is displayed. This submenu displays options to view, save, or delete the unprotected, obsolete, or PreMRG files.

The following examples show only Unprotected Customized File Administration. The administration process and the submenu options are exactly the same for Obsolete System File Administration and PreMRG File Administration.

To choose an option from any menu, enter the character displayed before each option and press the Return key. For example:

[Return]


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.15.2    File Administration Menu Options

If you choose any of the three Administration options from the main menu, the File Admin Menu is displayed as follows:

	Unprotected Customized System File Admin Menu
	---------------------------------------------
	s) Save files
	d) Delete files
	v) View list of files
	x) Return to previous menu

The type of the submenu depends on the option you chose from the Main menu. Enter x to return to the Main menu. The other options in this submenu are described in the following sections.



[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.15.3    Save Files Option

This option lets you decide where to save the files that are found during the update installation. This option is useful for managing disk space.

If you choose this option, another menu is displayed as follows:

	Select a method of archiving your files:
	----------------------------------------
	d) Save files to directory on disk
	i) Save files to tar image on disk
	t) Save files to tape media device

 
Enter your choice from the menu above, or press <RETURN> to go back to the previous menu:

The files are now saved. You can return to the File Admin Menu to choose either another option or exit to the Update Administration Utility Main menu.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.15.4    Delete Files Option

This option lets you delete all the files (obsolete, PreMRG, or unprotected customized) that are found and created during the update installation. Use this option if you have either backed up the files to a storage device or if you no longer need them and you want to recover the disk space.

If you choose this option, the following prompt is displayed:

Please confirm your intent to delete customized system files  from the system. (y/n) [n]:  y

If you confirm the deletion, a message is displayed as follows:

Removing customized files...

 
Finished deleting customized files.

When the deletion is complete, the File Admin Menu is displayed again.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.15.5    View List of Files Option

This option is used to display a list of the customized files that are found during the update installation. It can be used to verify what files were found, before you decide whether you want to save or delete the files.

If you choose this option, the list of files is displayed screen by screen and you can press Return to display each screen. At the end of the list you can display the complete list again or return to the File Admin Menu. A sample of the output follows:

./etc/zoneinfo/Australia/South.PreUPD
./sbin/named.PreUPD
./usr/sbin/screend.PreUPD

 
Enter 'r' to review files again, or press RETURN to go back to the previous menu:


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


2.15.6    Messages and Archive Options

There are several messages and options that the Update Administration Utility displays only under certain conditions. These messages are explained as follows:


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Chapter] [Index] [Help]


2.16    Updating the whatis Database

If the whatis database exists on your system, you should update the database by executing the catman -w command whenever you perform an update installation. The apropos and whatis commands access reference page entries in the whatis database.

An update installation does not delete entries from an existing whatis database. You must rebuild the database to synchronize it with reference page files that currently exist on the system. Rebuild the whatis database after you use the Update Administration Utility to remove reference pages that are flagged as obsolete after the update installation and after you are finished adding layered product reference pages. For information about using the catman -w command to rebuild the whatis database, refer to the catman(8) reference page.