- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Patch Application help
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 04:53 AM
12-01-2003 04:53 AM
I need to apply a patch onto a HP server and could use a little help.
I have never applied an OS patch to the server before and am looking for help/suggestions with this task.
Thanks!
Jody
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 05:01 AM
12-01-2003 05:01 AM
Re: Patch Application help
Installing a patch is very easy with a HP-UX server as you can use the SD utility. So, depending on where you're at exactly in your process (meaning do you already have the patch? Is it on a CD or you downloaded it? etc). After that all you need to do, almost, is type :
swinstall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 05:11 AM
12-01-2003 05:11 AM
Re: Patch Application help
> gunzip patches.tgz
> tar xvf patches.tar
That will unzip a package of files. One of them will be "create_depot_hp-ux_11". So just run
> ./create_depot_hp-ux_11
And it will create a registered depot of your patch(es) within your current directory.
Next, run swinstall:
> unset DISPLAY
> swinstall
(Turning off the DISPLAY variable ensures it won't try to run the X windows variant of swinstall, which is slow and no easier to use than regular swinstall.)
Set "Source Depot Type" to "Local Directory" and then tab the cursor down to "Source Depot Path" and hit enter. Then select your patch depot directory from the list. (It will probably be the path where you ran the create script with "/depot" stuck on the end.)
Tab down to OK and hit enter. you'll get your list of patches. Select each one by going to it and hitting the space bar. Then hit Tab (to get to the menus), A (for actions), and I (for install).
It will go through the standard checks. When it's done, just hit O (for OK) and it will continue. It may prompt you to advise on a possible required reboot.
When it's done, you're done! Just hit Tab, F, E to exit the program.
There are manuals on this around, but I of course don't have the links handy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 05:19 AM
12-01-2003 05:19 AM
Re: Patch Application help
http://www2.itrc.hp.com/service/patch/mainPage.do
Enter your patch number and when the patch is listed, read the installation instructions by selecting it. Then download it to your server and follow the installation procedure.
You may also download multiple patches and make them a single patch bundle. You can download this bundle from HP site and 'untar' it to the server. The small script (create_depotXXXXX) will create a patch depot on your system and then you can use 'swinstall' command to install it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 05:28 AM
12-01-2003 05:28 AM
Re: Patch Application help
If it is a single patch that you need to install read the .txt file, it will have install instructions in it, usually towards the end. It will also let you know if you need a reboot, other dependencies, etc. If you have to download it, put it in /tmp, that is usually setup as a depot directory.
If it's multiple patches, then go to the Maintenance and Support section of the ITRC and look into patch bundles. They have instructions on how to create a custom bundle for your system, download and install them.
Good luck.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 08:06 AM
12-01-2003 08:06 AM
Re: Patch Application help
/tmp # ./create_depot_hp-ux_11
DEPOT: /tmp/depot
BUNDLE: BUNDLE
TITLE: Patch Bundle
UNSHAR: y
PSF: depot.psf
Expanding patch shar files...
x - PHSS_26946.text
x - PHSS_26946.depot [compressed]
Copying PHSS_26946 into depot /tmp/depot
======= 12/01/03 12:42:40 CST BEGIN swcopy SESSION (non-interactive)
* Session started for user "root@doorsmf4".
* Beginning Selection
* "doorsmf4:/tmp/depot": This target does not exist and will be
created.
* Source: /tmp/PHSS_26946.depot
* Targets: doorsmf4:/tmp/depot
* Software selections:
PHSS_26946.CORE-64SLIB,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=H
P-UX_B.11.11_32/64
PHSS_26946.CORE-SHLIBS,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=H
P-UX_B.11.11_32/64
PHSS_26946.LANG-64ALIB,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=H
P-UX_B.11.11_32/64
PHSS_26946.LANG-MIN,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-U
X_B.11.11_32/64
* Selection succeeded.
* Beginning Analysis
* Session selections have been saved in the file
"/root/.sw/sessions/swcopy.last".
* "doorsmf4:/tmp/depot": There will be no attempt to mount
filesystems that appear in the filesystem table.
ERROR: "doorsmf4:/tmp/depot": This operation will exceed the
absolute limit of disk space on 1 volumes.
* The analysis phase failed for "doorsmf4:/tmp/depot".
* Analysis had errors.
NOTE: More information may be found in the agent logfile (location
is doorsmf4:/tmp/depot/swagent.log).
======= 12/01/03 12:42:46 CST END swcopy SESSION (non-interactive)
ERROR: Could not swcopy PHSS_26946 into depot.
Bundling patches in depot
======= 12/01/03 12:42:46 CST BEGIN swpackage SESSION
* Session started for user "root@doorsmf4.mdrsys.com".
* Source: doorsmf4:depot.psf
* Target: doorsmf4:/tmp/depot
* Software selections:
*
* Beginning Selection Phase.
* Reading the Product Specification File (PSF) "depot.psf".
* Reading the bundle "BUNDLE" at line 13.
NOTE: Creating new target depot "/tmp/depot".
* Selection Phase succeeded.
* Beginning Analysis Phase.
* Analysis Phase succeeded.
* Beginning Package Phase.
* Packaging the bundle
"BUNDLE,r=B.11.11,a=HP-UX_B.11.11_32/64,v=HP".
* Package Phase succeeded.
NOTE: You must register the new depot "/tmp/depot" to make it
generally available as a source for swinstall and swcopy
tasks. To register it, execute the command
swreg -l depot /tmp/depot
======= 12/01/03 12:42:48 CST END swpackage SESSION
Verifying the depot.
======= 12/01/03 12:42:48 CST BEGIN swverify SESSION
(non-interactive)
* Session started for user "root@doorsmf4".
* Beginning Selection
* Target connection succeeded for "doorsmf4:/tmp/depot".
* Software selections:
BUNDLE,r=B.11.11,a=HP-UX_B.11.11_32/64,v=HP
* Selection succeeded.
* Beginning Analysis
* Session selections have been saved in the file
"/root/.sw/sessions/swverify.last".
* "doorsmf4:/tmp/depot": There will be no attempt to mount
filesystems that appear in the filesystem table.
* Verification succeeded.
NOTE: More information may be found in the agent logfile (location
is doorsmf4:/tmp/depot/swagent.log).
======= 12/01/03 12:42:49 CST END swverify SESSION (non-interactive)
doorsmf4
/tmp #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 08:22 AM
12-01-2003 08:22 AM
Solutionabsolute limit of disk space on 1 volumes."
This means you donot have enough space to perform this operation. Check your file system free spaces:
# bdf
Check for /, /var, /opt, /tmp, /usr etc. If you find any of these is not sufficient, add more space or remove unwanted files from it.