HP-UX Software Assistant Administration Guide (5900-3003, March 2013)

3 Quick Start
Steps to using SWA
To get started using Software Assistant right away, follow these steps:
1. Make sure you have your active HP support agreement that includes Software Updates linked
to your HPSC profile to access patch content and services.
2. Create a config file that contains your HPSC login information.
3. Run the initial report with the command swa report.
4. Review recommended actions, especially the manual actions, written to standard output.
5. Download patches and make a depot with the command swa get.
6. Read the readBeforeInstall.txt file and take appropriate actions.
7. Install the depot.
8. Generate a second report.
9. Put appropriate actions in the ignore file.
Create a config file
Copy the configuration file template to a new location for editing.
# cp /etc/opt/swa/swa.conf.template <my_conf_file>
Set the file permissions appropriately so the configuration file is not readable by others.
Edit your configuration file and add your HPSC user ID and password. The syntax will be
hp_id = <HPSC user ID>
hp_pw = <HPSC password>
Run the initial report
Issue the following command:
# swa report -X <my_conf_file>
SWA first builds an inventory of the software currently installed on the system. Then, the catalog
is downloaded from HPSC.
======= 02/05/08 15:52:35 MST BEGIN Report on Issues and New Software
<user=username> <jobid=systemname>
* Gathering Inventory
* Getting Catalog of Recommended Actions and Software
NOTE:
If the system does not have direct access to the web, you can specify a proxy server with the swa
report extended option proxy. For more information, see Appendix B (page 45) and
swa-report(1M). SWA supports HTTP basic authentication only. If you do not have a standard
proxy, you can also specify an arbitrary command for downloading files. See the extended option
download_cmd.
After the catalog is downloaded, the analysis is performed and reports are generated. An HTML
report is written to the file indicated in the standard output messaging, and an Actions Summary
Report is written to standard output. (Use the -r option to swa report and swa step report
to specify the report type written to standard output: action (default), issue, detail, html or
none.)
* Using existing local catalog file
* Performing Analysis
* Generating Reports
NOTE: See HTML-formatted report "$HOME/.swa/report/swa_report.html"
Steps to using SWA 11