Reinstall 11gr2 RAC to quickly clear the original error Installation

Source: Internet
Author: User

Cleaning before Oracle RAC 11g R2 is reinstalled in Linux

 

1. Clear the installation directories of grid and Oracle

CD/u01/APP

Rm-rf grid/

Rm-RF Oracle/

 

2. Delete Files And Directories starting with/etc/ora

Find/etc/-name 'ora * '-print

Rm-RF 'Find/etc/-name 'ora * '-print'

 

3. Delete the/etc/init. d/ohasd file.

CD/etc/init. d/

Ls | grep ohasd

Rm-RF 'ls | grep ohasd'

 

4. Convert the ASM disk to a common disk in Linux

Echo ''>/etc/udev/rules. d/99-oracle-asmdevices.rules

Start_udev

Ls-L/dev/ASM *

Ls-L/dev/SD *

 

5. Clear the header data of the original ASM Disk

Warning do not use the following commands unless you understand them.

Dd If =/dev/Zero of =/dev/sdb bs = 8192 COUNT = 1

**************************************** *****************************

For I in B c d e f g h I;

Do

Echo "dd If =/dev/Zero of =/dev/SD $ I BS = 8192 COUNT = 1"

Done

**************************************** *****************************

 

Start_udev

Ls-L/dev/ASM *

Ls-L/dev/SD *

 

Cleared.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.