- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need single file depot that installs exactly l...
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
06-17-2005 07:39 AM
06-17-2005 07:39 AM
I want to be able to pull down selected patches, bundle them all into a single .depot file, then install them through the command line with a single swinstall command. Most of the examples I've come across create a working directory, then install from there.
This might be easier than it seems, but my testing so far has not been successful. Some of the links in previous threads no longer work, so any suggestions are appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 07:50 AM
06-17-2005 07:50 AM
Re: Need single file depot that installs exactly like prepackaged bundles
swcopy -s "source" "product-name" @ /tmp/patch
Do so for all patches you need.
Or you can do interactive swcopy. swcopy -i -s "source"
Than swinstall -s /tmp/patch
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 08:18 AM
06-17-2005 08:18 AM
Re: Need single file depot that installs exactly like prepackaged bundles
Otherwise, if you have patches here and there scattered on your disks, in different depots, follow Anil's directions and you should be good to go.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 09:12 AM
06-17-2005 09:12 AM
Re: Need single file depot that installs exactly like prepackaged bundles
itrc -> maintenance -> path_firmware_database
Loop Here:
enter Patch
select: Add_to_Selected_Patch_List
** choose "Add Patches", not the "Down_Load Selected"..
End Loop:
now do the Down_Load_Selected - gets all the patches..
gunzip, and extract the entire .tar file into a new directory, say: /tmp/newdir_name
then run the create_depot script:
# ./create_depot_hp-ux_11
# ll depot
there is a BUNDLE directory created under here.
# swinstall -s /tmp/newdir_name/depot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 09:29 AM
06-17-2005 09:29 AM
Solution1. download patches and create the sw depot as already mentioned (into /tmp/patch for example)
2. package into a single depot file using;
swpackage -d "| gzip -c > /tmp/patch.depot.gz" -x target_type=tape -s /tmp/patch \*
This will create a single gzip'd .depot file.
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 09:45 AM
06-17-2005 09:45 AM
Re: Need single file depot that installs exactly like prepackaged bundles
Thanks for paying attention to the requirements doc!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 10:46 AM
06-17-2005 10:46 AM
Re: Need single file depot that installs exactly like prepackaged bundles
Using either Anil's or my/Tom's suggestion, if you compiled everything into a single depot *directory*, you can use the following command to install them without even needing the graphical interface:
(this assumes, your depot directory is /tmp/patch/patches)
swinstall -x match_target=true \
-x mount_all_filesystems=false \
-x autoreboot=true \
-s /tmp/patch/patches PH*
everyn patch which matches your target will install automatically.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 11:00 AM
06-17-2005 11:00 AM
Re: Need single file depot that installs exactly like prepackaged bundles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 02:45 PM
06-17-2005 02:45 PM
Re: Need single file depot that installs exactly like prepackaged bundles
you can do a network-access to this depot "directory" using swinstall on another system. simply bring up the GUI interface or Curser based interface (last resort)..
enter the system name that has the downloaded patches..
enter the path to the downloaded BUNDLE directory (or "depot" path: /tmp/dir/depot).
and that's it, all network based.. this is part of the behavior of SWINSTALL..
my point is: you don't have to push or rcp or copy the tar'ed directory and then un-tar it on the other servers.. it's network based.
best of luck,
Tom