Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to remove and uninstall oracle 11g rac

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail how to delete and uninstall oracle 11g rac. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

Operating system linux 64 bit

# # Note: the following operations need to be performed on both nodes! #

# # deleting users and user groups

View users and their corresponding groups

Id oracle

Id grid

The delete command is as follows

/ usr/sbin/userdel-r user name

/ usr/sbin/groupdel user group name

/ usr/sbin/userdel-r grid

/ usr/sbin/userdel-r oracle

If the user group includes oinstall,dba,asmdba,asmadmin

/ usr/sbin/groupdel dba

/ usr/sbin/groupdel asmdba

/ usr/sbin/groupdel asmadmin

/ usr/sbin/groupdel oinstall

# # deleting database software and grid installation directory

Rm-rf / space/sys_software/oracle/

Rm-rf / space/sys_software/oragrid/

Rm-rf / space/sys_software/oraInventory/

# # deleting files automatically installed by oracle

Delete files or directories at the beginning of ora under / etc

Rm-rf / etc/ora*

Rm-rf / tmp/.oracle

Rm-rf / var/tmp/.oracle

Delete / etc/inittab.crs and overwrite / etc/inittab with / etc/inittab.no_crs (optional)

Rm-f / etc/inittab.crs

Cp / etc/inittab.no_crs / etc/inittab

# # format has been used for the storage of asm disk groups. Check the disk plan in the work order if necessary

View Stora

Ls-l / dev/sddlma* # destination is a disk that has already been granted permission

Format the disks that have been paid permission above. Note * indicates all. Here, only the disks of rac, archive and grid are deleted according to the storage plan. You must be careful here and don't delete them incorrectly.

Dd if=/dev/zero of=/dev/emcpoweri bs=1024 count=5000

Dd if=/dev/zero of=/dev/emcpowerl bs=1024 count=5000

Dd if=/dev/zero of=/dev/emcpowerk bs=1024 count=5000

Dd if=/dev/zero of=/dev/emcpowerd bs=1024 count=500

Dd if=/dev/zero of=/dev/emcpowere bs=1024 count=500

Dd if=/dev/zero of=/dev/emcpowerf bs=1024 count=500

Rm-rf / etc/init.d/init.ohasd

Rm-rf / etc/init.d/ohasd

Rm-rf / tmp/CVU_*

Rm-rf / tmp/OraInsta*

Rm-rf / opt/ORCLfmap

Rm-rf / usr/local/bin/dbhome

Rm-rf / usr/local/bin/oraenv

Rm-rf / usr/local/bin/coraenv

# # restart server

Reboot

After restarting, view the relevant processes

Ps-ef | grep ora # cannot have a listening process

Ps-ef | grep smon # cannot have an instance process

This is the end of this article on "how to delete and uninstall oracle 11g rac". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report