Operating System - HP-UX
1833785 Members
2349 Online
110063 Solutions
New Discussion

Stripping UX 10.20 down to OS

 
SOLVED
Go to solution
Wouter Sonneveldt
Occasional Advisor

Stripping UX 10.20 down to OS

Hi all,

Is there an easy way (other than a reinstall) to "strip" an HP-UX 10.20 server so that installed software like Oracle and Uniface is removed and only the OS remains?

Kind Regards,
Wouter Sonneveldt
3 REPLIES 3
Michael Tully
Honored Contributor
Solution

Re: Stripping UX 10.20 down to OS

You could remove the logical volumes that these applications reside on if, they are not part of any operating system volumes. The opeerating system is usually part of /dev/vg00 but this is not always guaranteed.

The best way would be to run uninstall of each of these applications should there be one.

Depending also on the application, ther could be remnants of the install in places like /etc (/etc/oratab) /etc/services /etc/passwd /etc/group and various others.
Anyone for a Mutiny ?
Leif Halvarsson_2
Honored Contributor

Re: Stripping UX 10.20 down to OS

Hi,
There is not an easy way but most Unix applications is rather easy to uninstall. If the application is installed as an SD depot, swremove can be used. If not, you have to find out which directorys is created when the application is installed and remove this directorys.
Tim Sanko
Trusted Contributor

Re: Stripping UX 10.20 down to OS

If your Oracle server has only one database, it may be simple enough to remove
$ORACLE_HOME, and any .dbf files.

if you are familiar with sqlplus just query the database for its database tables. Or login as oracle and export as system the database prior to deleting it.
If it generates a small < 2 GB expdat.dmp it should be easy enough to grep for the tablespace names. This becomes important for machines with multiple databases more than for a database with only one database in it. Then I would sort unique on the grep output
and run that into my list to be deleted. If you compress your expdat.dmp, the process has to be extracted from the database via query on the DBA datafiles.

Once these files are known
remove them.