Something went wrong ( errors during installation process? ) and you have to deinstall Oracle CRS related software? How?
Yes.., of course! You can use Universall installer to stand up the trouble.. but unfortunetly, in most circumstances it's simply unhelpful.
So, is there any possibility to completly clean up crs software from your system?
Sure, and all you have to do is ( example based on Solaris 10 OS, but you can easily port it to all kind of Unix/Linux based database systems ) to:
Stop node related applications:
srvctl stop nodeapps -n node_name
Remove files:
/etc/init.d/init.cssd
/etc/init.d/init.crs
/etc/init.d/init.crsd
/etc/init.d/init.evmd
/etc/rc3.d/K96init.crs
/etc/rc3.d/S96init.crs
/etc/inittab.crs
And directories:
/var/opt/oracle/scls_scr
/var/opt/oracle/oprocd
Replace inittab:
/etc/inittab.orig => /etc/inittab
Kill all of CRS daemons:
You can find them in processlist using
ps -ef | egrep 'crs|evm|css'
command.
Remove directories:
/var/tmp/.oracle
/tmp/.oracle
/oracle/crs
And finally, clear data on devices used for OCR ( Oracle Cluster Registry ) and VD ( Voting Disk ).
# dd if=/dev/zero of=/dev/rdsk/XXXXXXXXX count=10240
# dd if=/dev/zero of=/dev/rdsk/XXXXXXXXX count=10240
As you can see on presented example, there is no need overwrite whole devices.
Subskrybuj:
Komentarze do posta (Atom)
Brak komentarzy:
Prześlij komentarz