Operating System - HP-UX
1846873 Members
4111 Online
110256 Solutions
New Discussion

recovering software depot from tape to new system

 
SOLVED
Go to solution
Eileen Millen
Trusted Contributor

recovering software depot from tape to new system

Our 11.00 system with software depots for 10.20 and 11.00 failed. We setup an 11i system with the same name and IP address and have recovered the software depot directories from backup tape.
Is there a file in /var/adm/sw that we can recover that will let this system know where the depots are?
I am hoping that we do not have to swreg all of the depots.
Thanks,
Eileen
5 REPLIES 5
Paula J Frazer-Campbell
Honored Contributor

Re: recovering software depot from tape to new system

Hi

If you fire up
swinstall

you can tell it where the depot is.

Paula
If you can spell SysAdmin then you is one - anon
Stefan Farrelly
Honored Contributor
Solution

Re: recovering software depot from tape to new system


Just edit the file; /var/adm/sw/host_object and add in your depots in the same format as exsiting ones there (if non swreg one so you can see the format).
Im from Palmerston North, New Zealand, but somehow ended up in London...
Eileen Millen
Trusted Contributor

Re: recovering software depot from tape to new system

Thanks Paula,
The problem is that we have a depot structure for 10.20 with all the HP apps, patches and third party software and have the same for 11.00. I would have to tell it about every depot path.
We have something like this
/depot/10.20/800/hp and nonhp and patches
/depot/10.20/700/hp and nonhp and patches
/depot/11.00/800/hp and nonhp and patches

under patches we have infastructure, oracle and
other specific application patches.

Eileen
Stefan Farrelly
Honored Contributor

Re: recovering software depot from tape to new system


After youve edited host_object restart swagentd to see them via swlist -l depot (sbin/init.d/swagentd stop then start)
Im from Palmerston North, New Zealand, but somehow ended up in London...
Eileen Millen
Trusted Contributor

Re: recovering software depot from tape to new system

Thanks Stefan,
The file is being restored from a backup.
If it works, it will save a lot of time.
This is likely an undocumented life saver.

Eileen