SWA Catalog Download (289 Views)
Esteemed Contributor
Posts: 286
Registered: ‎06-06-1996
Message 1 of 2 (289 Views)
Accepted Solution

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.
Honored Contributor
Posts: 764
Registered: ‎03-31-2004
Message 2 of 2 (289 Views)

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:


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...\""
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.