 |
» |
|
|
 |
You can install patches from either single-user
or multi-user modes. See “When Single-User Mode Is Recommended” for
information about selecting one of these modes. “Installing Patches from Single-User Mode” describes the process from single-user
mode and “Installing Patches from Multi-User Mode” describes the process from
multi-user mode. “Common Installation Steps” describes the
remaining steps, which are common to installations from single-user
and multi-user modes. Installing Patches from Single-User Mode |  |
The following steps describe a patch kit installation
from single-user mode. Although these steps are the same whether installing
an old or new style patch kit, the text that dupatch displays differs in minor ways. The examples used in these steps
reflect the output of a new style patch kit installation. Halt the system. For example: # /usr/sbin/shutdown -h +5 "Applying 5.1B-3 OS and TCR patches" |
Boot to single-user mode
from the console prompt. For example: Run the init s command to change the
run level to a single-user state with only essential kernel services: Run the bcheckrc command to check and mount all the UFS and AdvFS file systems, the kloadsrv command to load kernel modules into the kernel,
and the lmf reset command to copy license details
for all enabled products from the License Database to the kernel cache: # /sbin/bcheckrc
# /sbin/kloadsrv
# /usr/sbin/lmf reset |
For systems prior to 5.0A,
issue the update command and activate your swap
partition with the swapon command: # /sbin/update
# /sbin/swapon -a |
Enter the rcinet command to start network services: Informational messages will appear on the
screen. Run the dupatch utility. You will be asked to specify the path to the patch_kit
file. For example: # cd /var/patch/pk5/patch_kit
# ./dupatch
Enter path to the top of the patch distribution,
or enter "q" to quit : .
|
From the Main Menu, enter 1 at the Enter your choice prompt to
invoke the patch installation session. For example: Tru64 UNIX Patch Utility (Rev. 48-00)
==========================
- This dupatch session is logged in /var/adm/patch/log/session.log
Main Menu:
---------
1) Patch Kit Installation
2) Patch Kit Deletion
3) Patch Kit Documentation
4) Patch Tracking
5) Patch Baseline Analysis/Adjustment
h) Help on Command Line Interface
q) Quit
Enter your choice: 1
|
When the patch installation
menu is displayed, enter 2 at the Enter
your choice prompt: Patch Installation Menu:
-----------------------
1) Pre-Installation Check ONLY
2) Check & Install the patch kit in Single-User Mode
b) Back to Main Menu
q) Quit
Enter your choice: 2 |
Installing Patches from Multi-User Mode |  |
The following list describes the steps you take
and the type of output you will see when you install patches from
multi-user mode. Run the dupatch utility and enter 1 at the Enter your
choice prompt to the invoke the patch installation session: # /patches/pk4/patch_kit/dupatch
Tru64 UNIX Patch Utility (Rev. 48-00)
==========================
- This dupatch session is logged in /var/adm/patch/log/session.log
Main Menu:
---------
1) Patch Kit Installation
2) Patch Kit Deletion
3) Patch Kit Documentation
4) Patch Tracking
5) Patch Baseline Analysis/Adjustment
h) Help on Command Line Interface
q) Quit
Enter your choice: 1 |
When the patch installation
menu is displayed. Enter 3, at the Enter
your choice prompt. Read the warning message and press Return
if you want to continue the installation in multi-user mode: Patch Kit Installation Menu:
-----------------------
1) Pre-Installation Check ONLY
2) Check & Install in single-user mode w/ network services
3) Check & Install in Multi-User mode
b) Back to Main Menu
q) Quit
Enter your choice: 3
*** Installation Warning ***
You have chosen to install the patch kit onto this system while it is
running in Multi-User mode. Some patches may directly affect core operating
system operations. To ensure the proper operation of all applications, it is
strongly suggested that you install these patches while the system is in
Single-User mode. If this cannot be done, install these patches when the
system is as lightly loaded as possible (i.e. not running production
environments, no users logged on, etc.).
Do you wish to continue? (y/n) [y]: |
|