System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure swa in hpunix 11.23

Sreer
Valued Contributor

How to configure swa in hpunix 11.23

Hi Gurus ,
I need to work on swa well.Could you pls tell me how can I configure this in my server?its ina test environment.
Do I need to configure internet in server for this? If so How?

I checked options in man page not working hope it is not configured well.

Thanks in advance for your help
Regds Sree
4 REPLIES
James R. Ferguson
Acclaimed Contributor

Re: How to configure swa in hpunix 11.23

Hi:

If you don't have direct internet access you will need to a a proxy server to the configuration.


Begin with the standard template, '/etc/opt/swa/swa.conf.template'; make a copy as '/etc/opt/swa/swa.conf' and modify the copy according to your needs:

My '.swa.conf' file looks like this:

user_dir = /var/opt/swa/.swa
analyzers = QPK CRIT PCW SEC
catalog_max_age = 0
inventory_max_age = 0
html_report = ~/.swa/report/swa_report.html
allow_existing_depot = false

...This allows me to report (and later collect) the Quality Packs, critical patches, patches with warnings and security-relatated information for a server.

Once configured, I do:

# swa clean all -v

...to cleanup from previous runs...

# swa report

...which builds '.swa/report/swa_report.html' --- the reported analysis

# swa get -v -t /patches/swdepot

...which fetches the QPK patch bundles, replacement patches *and* any other patches as performed by the ' swa report ' above. The downloaded software is cached in '/var/opt/swa/cache'. A log 'var/opt/swa/swa.log' is created. After the software is downloaded, it is copied to the 'swdepot' depot and registered. My '/patches' directory is a mounted filesystem of about 4GB.

Excellent documentation may be found hbere:

http://docs.hp.com/en/5992-6588/5992-6588.pdf

Regards!

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: How to configure swa in hpunix 11.23

Hi (again):

I need to add that if you have neither direct internet access or a proxy server through which you can gain access, all is not lost.

See the comments by Patrick and Bob Campbell in this thread.

SWA is very flexible!

Regards!

...JRF...
Sreer
Valued Contributor

Re: How to configure swa in hpunix 11.23

Hi,
Thanks for your valuable information.
I have a broadband internet connection in my computer [not in server] The server is in a remote location.So how can I configure internet in my server?To proceed further.
I have changed my swa.conf like this:
# more swa.conf
###############################################################################
#
# SwAssistant configuration file: /etc/opt/swa/swa.conf
#
# To use: Copy and uncomment option settings from the
# SWA configuration template file located here:
#
# /etc/opt/swa/swa.conf.template
#
# and place the option settings in this file.
#
# Or place the option settings in:
#
# /.swa.conf
#
# (C) Copyright 2005-2006 Hewlett-Packard Development Company, L.P.
#
###############################################################################
user_dir = /var/opt/swa/.swa
analyzers = QPK CRIT PCW SEC
catalog_max_age = 0
inventory_max_age = 0
html_report = ~/.swa/report/swa_report.html
allow_existing_depot = false
swa.conf: END




but while running swa report -Iam getting the following error:
# swa report

======= 09/13/09 14:36:23 EDT BEGIN Report on Issues and New Software (user=root) (jobid=rx260-18)

* Gathering Inventory
* Getting Catalog of Recommended Actions and Software
ERROR: Unexpected error while downloading CRL from "http://crl.verisign.com/RSASecureServer.crl" specified by extended option "crl_url". It may be necessary to specify a
proxy. Alternatively, you may choose to disable CRL checking. Error was "Connection timed out (errno:238)".

======= 09/13/09 14:37:46 EDT END Report on Issues and New Software failed with 1 error. (user=root) (jobid=rx260-18)

NOTE: More information may be found in the Software Assistant logfile "/var/opt/swa/swa.log".
[rx260-18]/var/opt/swa/.swa



Pls tellme where I will configure the internet Ip?


Rgds Sree
James R. Ferguson
Acclaimed Contributor

Re: How to configure swa in hpunix 11.23

Hi (again) Sree:

See Bob Campbell's comments here:

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1285345

Regards!

...JRF...