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 - getting patches

SOLVED
Go to solution
harshman1958
Advisor

SWA - getting patches

I'm trying to use SWA to "get" patch bundles.  I have an issue that it is trying to put it in my "Hom" directory which is not big enough for the download.  Is there a way i can re-direct to a different directory?  I am running HPUX 11.31 on blade servers. 

 

Thanks

 

5 REPLIES
Patrick Wallek
Honored Contributor

Re: SWA - getting patches

Add the directory you want to download to via the '-x swcache=<dirname>' to your 'swa get' command.

 

For example:

 

# swa get -x swcache=/some/large/dir

harshman1958
Advisor

Re: SWA - getting patches

Thanks,  I did this and it still tells me i need to increase space in my /home dir.    any other ideas?

Bill Hassell
Honored Contributor

Re: SWA - getting patches

Not sure what else it is looking for, so do this:

cd /var/tmp
mkdir SWAfiles
HOME=/var/tmp/SWAfiles swa ...options for swa...

 Note: put the HOME= text on the same line. It will tell swa where $HOME is located but only while swa is running.



Bill Hassell, sysadmin
Patrick Wallek
Honored Contributor
Solution

Re: SWA - getting patches

You may have to add the '-t' switch to tell swa where to put the depot when it tries to create your patch depot.

 

For example:

 

# swa get -t /some/large/dir/mydepot -x swcache=/some/large/dir/swcache

Highlighted
harshman1958
Advisor

Re: SWA - getting patches

i was able to get it to work finally.  Another related question.  I tried to download my SEC patches, using the same option, and it downloaded the SEC stuff under my .SWA directory.  Any thoughts?  thanks for the help.