Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
cancel
Showing results for 
Search instead for 
Did you mean: 

SWA Catalog Download

SOLVED
Go to solution
IT Response
Esteemed Contributor

SWA Catalog Download

With the new ITRC changes, is there a way to download the SWA catalog using a Windows PC?
All the HP-UX servers at this site have no internet connection.

https://:hp_pw@ftp.itrc.hp.com/wpsl/bin/getFile.pl?Path=/export/patches/swa_catalog.xml.gz doesn't work for me.

Thanks in advance.
1 REPLY
Highlighted
Bob E Campbell
Honored Contributor
Solution

Re: SWA Catalog Download

There is not an SWA-specific utility at this time, but there are two options.

1. Running SIM?

SWA has been integrated with HP SIM, and of course SWA will happily download a catalog. I should note that SIM prefers Windows Server so this might not be an option for your laptop.

2. Can an HP-UX box access your system?

The swa option "-x download_cmd=myScript" can be used to modify the way SWA contacts the ITRC. The script will be passed URLs and must return the content via stdout. And example myScript might look like:

#/usr/bin/sh

ssh user@otherbox wget -O - "$*"

Terribly over simplified, but hopefully gets the idea across. The URL will contain special characters, so keep escaping quotes for a multi-hop command:

ssh sys1 "ssh sys2 \"wget...\""