- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Add entries to swlist for reference ???
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
08-07-2003 09:53 AM
08-07-2003 09:53 AM
Add entries to swlist for reference ???
But what we have is a script that runs a swlist on the servers and does a diff command to see what is installed on one versus the other.
We may of installed several patch levels on development for certain issues and when it came time for moving to production, installed the latest only, thus leaving the possibility of patches on development but not on production.
Is there some way to make some sort of "Reference Patch" that we can install on production that simply is a comment saying supperceedecd by xxxx.
i.e.: If the most current libc cumulative patch on the server is PHCO_19491, can I create a dummy patch for, PHCO_18103 that would simply be a comment saying, libc cumulative superceded by PHCO_19491 ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 10:00 AM
08-07-2003 10:00 AM
Re: Add entries to swlist for reference ???
# swlist -v -l fileset | grep PHCO_XXXX
Here, if PHCO_XXXX has been superceded by another installed patch PHCO_YYYY, then the above command will rpeort it.
Not sure if this is what you are looking for ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 10:08 AM
08-07-2003 10:08 AM
Re: Add entries to swlist for reference ???
Probably the easist way to address this is to use the 'show_patches' utility. This uses the 'patch_state' and 'superseded_by' patch attributes.
# show_patches -a
...shows only active patches, hiding superseded ones.
# show_patches -s
...shows superseded patches.
Do a man 'show_patches' for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 10:16 AM
08-07-2003 10:16 AM
Re: Add entries to swlist for reference ???
What we would want to do is create a patch, PHCO_XXXXX, that would be nothing more that placing a "Comment Patch" out there stating it was superceded by PHCO_YYYYY. Once creating what we need to for PHCO_XXXXX we would then do a swinstall on PHCO_XXXXX. Then if we were to later do a swlist for PHCO_XXXXX instead of it not being there it would find it but it's description would only state that it was superceeded by PHCO_YYYYY.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 10:26 AM
08-07-2003 10:26 AM
Re: Add entries to swlist for reference ???
The 11x versions of the SD utilities have the information you want already built it.
Try this:
# swlist -l patch -a patch_state -a superseded_by
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 10:27 AM
08-07-2003 10:27 AM
Re: Add entries to swlist for reference ???
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 10:49 AM
08-07-2003 10:49 AM
Re: Add entries to swlist for reference ???
On the development and production servers we have a script that does an:
swlist -l product | grep -e PHCO_ -e PHSS_ -e PHKL_ | sort -u > production_swlist.out
Than the same is done on development and a diff command is done against the two files producing a list of patches that are installed on development but not on production..
i.e.:
PHCO_17601 1.0 libc cumulative patch
PHCO_18103 1.0 libc cumulative patch
PHCO_19391 1.0 libc cumulative patch
PHCO_19491 1.0 libc cumulative patch
PHCO_22314 1.0 libc cumulative patch
For whatever reason, say that on both servers the most current patch for the above is PHCO_99999, and since it is installed on both servers does not show up on the difference report.
What we, "The Boss" whats is a clean difference's report except for what patches may be currently being tested in development.
So on the Production server we would like some way to apply the above patches, PHCO_17601 ... etc... but only as "Comment type patches, NO CODE RELATED CHANGE"
HJope this better explains..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 10:59 AM
08-07-2003 10:59 AM