How to guide for installation of patch or software on HPUX operating environment. This includes steps to install, configure and verify.
This post is how to guide which has steps to install, configure and verify patch or software on HPUX operating system. Before we begin with the patching process, one needs to finalize the downtime window for patching with concerned team. Also, if individual patches are planned to install then patch ID needs to be known to download from HP portal. HP Passport ID required to sign in on HP portal.
This post is how to guide which has steps to install, configure and verify patch or software on HPUX operating system. Before we begin with the patching process, one needs to finalize the downtime window for patching with concerned team. Also, if individual patches are planned to install then patch ID needs to be known to download from HP portal. HP Passport ID required to sign in on HP portal.
HPUX patching enables system with new features, enhancements and removes bugs if any. HP releases patch bundles for HPUX every 6 months i.e twice in a year. These bundles can be downloaded and applied on system. Also, individual patches can be downloaded. For individual patches one should know the patch ID first.
Pre -requisite :
- Login to HP portal and download required patches. HP provides facility to download your required patch along with its all dependencies so you need not to again search for dependencies separately. When prompted for download, select gzip bundle format.
- Upload the patch on server using ftp. Unzip patch file which will have
create_depot
script inside. When executed, this script will create$PWD/depot
directory which includes all patches to be installed. Make sure depot is created properly using:
- Server backup is important thing to be done before any activity. Take ignite backup over network or tape. Also collect nickel, sysinfo outputs from server. Ensure downtime window and other related ITIL processes are completed and approved.
Installation & configuration :
Before starting activity make sure all application on servers are brought down by respective parties. Once confirmed, proceed with patch installation. Install patch using below command:
This will start text based GUI. You can navigate in this GUI menu using
TAB
, arrow keys and SPACE
key. Select the all listed patches using arrow key and space bar to highlight them.
Once marked, select Install option from Actions menu.

This will take time to install and configure the patch in system depending upon the size of depot. This configuration happens in background with this command execution only.
If required system will be rebooted post installation. To check if patch needs a reboot after install, you can run above
swinstall
command with -p
preview option. Which will just check dependencies, depot health and show you report. This report includes if reboot is required or not. Even while downloading patch from HP portal, you can view its details which also includes information about reboot requirement.
Verification :
Once installation is complete, or after
reboot
, check if all installed patches are configured in kernel or not using below command :
Output of the above command should be blank. If there are any file sets left in unconfigured/installed state then above command’s output will reveal it. So, if output is not blank, you need to configure these unconfigured/installed state file sets manually. To configure all patches again use below command:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# /usr/sbin/swconfig \ *
======= 12/27/16 10:17:15 SST BEGIN swconfig SESSION
(non-interactive) (jobid=testsrv2-0396)
* Session started for user "root@testsrv2".
* Beginning Selection
* Target connection succeeded for "testsrv2:/".
----- output clipped -----
* Selection succeeded.
* Beginning Analysis
* Session selections have been saved in the file
"/home/user3/.sw/sessions/swconfig.last".
* "testsrv2:/": 2831 filesets have already been configured.
* Analysis succeeded.
* Beginning Execution
* "testsrv2:/": 2831 software objects were determined to be
skipped in the analysis phase.
* Execution succeeded.
NOTE: More information may be found in the agent logfile using the
command "swjob -a log testsrv2-0396 @ testsrv2:/".
======= 12/27/16 10:17:59 SST END swconfig SESSION (non-interactive)
(jobid=testsrv2-0396)
|
This command will try to configure remaining patches. After completion of this command, once again verify your installation.
0 comments:
Post a Comment