- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ways to verifying software install order
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
11-30-2001 01:24 AM
11-30-2001 01:24 AM
I've been wanting to ask this q for a few days, while the site was down, and still haven't figured out how it can be done best..
I've got a few products + patches, that must be installed in the correct order.
I want to write a script to verify that the s/w was installed in the correct order.
Is there a way using swverify or swlist to verify this..
The only way I can think of, that doesn't involve looking at logs is:
date of install using swlist
and
what string validation of installed s/w
The way that I prefer is the date/time..
Can you help me getting the swverify or ll command that'll find when the product was installed..
Thanks,
Bill
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2001 01:58 AM
11-30-2001 01:58 AM
SolutionHow about this:
swlist -l fileset -a install_date | grep ^# | tail +6 | sort +2n |
awk '{printf("%-30s\tinstalled on %s/%s/%s %s:%s\n",
$2,substr($3,1,4),substr($3,5,2),substr($3,7,2),substr($3,9,2),substr($3,11,2))}'
Rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2001 02:18 AM
11-30-2001 02:18 AM
Re: ways to verifying software install order
I think it is hard to verify the order of installation without checking logs, but if something went wrong You would be able to check it with:
- what (as you said)
- # swlist -l fileset -a state | grep -v ^# | grep -v conf - the result shuold be empty (I think if the order was wrong the state of fiilesets would be only installed or corrupted).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2001 02:24 AM
11-30-2001 02:24 AM
Re: ways to verifying software install order
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2001 08:00 AM
11-30-2001 08:00 AM
Re: ways to verifying software install order
this works fine..
ll -t /var/adm/sw/products/ | grep "OC-" | grep -v SUPP | grep -v SEC > /tmp/1
cat /tmp/1 | awk '{print $9}' > /tmp/install.order
Alternatively for patches..
ll -t /var/adm/sw/products/ | grep PHXYZ > file
ll -t /var/adm/sw/products/ | grep PH123 >> file
etc..
then
diff file good.way
Later,
Bill