- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swmodify question
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
05-04-2009 01:22 AM
05-04-2009 01:22 AM
swmodify question
on my depot server (original):
[u51cf28:/root]# swlist -l product @ /tmp/RAF/rafdepot/ | more
# Initializing...
# Contacting target "u51cf28"...
#
# Target: u51cf28:/tmp/RAF/rafdepot/
#
BindUpgrade C.9.3.2.3.0 BIND special release upgrade
Lsof A.12.00-4.81.001 Tool to report a list of all open files and theprocesses that opened them
PHNE_33766 1.0 Bind 8.1.2 Patch
WBEMServices A.02.07.04 WBEM Services CORE Product for hp 9000 servers
WBEMServices A.02.07.04 WBEM Services CORE Product
WBEMServices A.02.05.08 WBEM Services CORE Product
Then I tried:
[u51cf28:/root]# swmodify -d -a title="test1" WBEMServices @ /tmp/RAF/rafdepot/
[u51cf28:/root]# swlist -l product @ /tmp/RAF/rafdepot/ | more
# Initializing...
# Contacting target "u51cf28"...
#
# Target: u51cf28:/tmp/RAF/rafdepot/
#
BindUpgrade C.9.3.2.3.0 BIND special release upgrade
Lsof A.12.00-4.81.001 new string
PHNE_33766 1.0 Bind 8.1.2 Patch
WBEMServices A.02.07.04 test1
WBEMServices A.02.07.04 test1
WBEMServices A.02.05.08 test1
So that worked.
Question: how to use swmodify to only change an attribute of 1 target ?
Reason for asking: we are using software X; However, X has 2 different versions (1 for PA, 1 for IA64) but both look identical in swlist.
So I would like to "rename" X to Y for the PA version and X to Z for the IA64 version.
(more or less the same here with WBEM, but for WBEM the versions do differ; in my case, even the versions are the same)
could you help ?
(so in brief: how to use swmodify to change an attribute (name, title) of a particular product in a depot ?
thx,
Raf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2009 01:39 AM
05-04-2009 01:39 AM
Re: swmodify question
>Question: how to use swmodify to only change an attribute of 1 target?
You need to specify the software_spec on the end of "WBEMServices".
>we are using software X; However, X has 2 different versions (1 for PA, 1 for IA64) but both look identical in swlist.
Why do you need to change the title? swinstall knows to install the proper version. No need to have humans involved.
You need to tell swlist to list the software_spec, which mentions PA or IPF.
swlist -l fileset -a software_spec -s /tmp/RAF/rafdepot/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2009 03:13 AM
05-04-2009 03:13 AM
Re: swmodify question
[u51cf28:/root]# swmodify -d -a title="test4" WBEMServices,r=A.02.05.08 @ /tmp/RAF/rafdepot/
[u51cf28:/root]# swlist -l product @ /tmp/RAF/rafdepot/
# Initializing...
# Contacting target "u51cf28"...
#
# Target: u51cf28:/tmp/RAF/rafdepot/
#
BindUpgrade C.9.3.2.3.0 BIND special release upgrade
Lsof A.12.00-4.81.001 new string
PHNE_33766 1.0 Bind 8.1.2 Patch
WBEMServices A.02.07.04 test3
WBEMServices A.02.07.04 test3
WBEMServices A.02.05.08 test4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2009 03:14 AM
05-04-2009 03:14 AM
Re: swmodify question
This software is designed, one version per system.
Trying to run two versions on the same system will likely leave you with nothing working at all.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2009 06:27 PM
05-04-2009 06:27 PM
Re: swmodify question
>swmodify -d -a title="test4" WBEMServices,r=A.02.05.08 @ /tmp/RAF/rafdepot/
Yes, that ",r=" was what I was referring to.