Oracle 10g installation ASM (RHEL5)

Source: Internet
Author: User

1. Install oracleasm required packages on the system

Viewing the system version

Uname-r

The current environment is

2.6.18-164.el5

Download the appropriate package for installation

Http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel5-084877.html

Download

oracleasm-support-2.1.7-1.el5.x86_64.rpm

oracleasmlib-2.0.4-1.el5.x86_64.rpm

oracleasm-2.6.18-164.el5-2.0.5-1.el5.x86_64.rpm

Then install the

RPM-IVH oracleasm-support-2.1.7-1.el5.x86_64.rpm oracleasmlib-2.0.4-1.el5.x86_64.rpm oracleasm-2.6.18-164.el5-2.0.5-1.el5.x86_64.rpm

2. Prepare the disk

Fdisk/dev/sdb

Fdisk/dev/sdc

Fdisk/dev/sdd

Fdisk/dev/sde

Produce

/dev/sdb1/dev/sdc1/dev/sdd1/dev/sde1

3. Initialization

/etc/init.d/oracleasm Enable

/etc/init.d/oracleasm Configure

Default user to own the driver interface [Oracle]:

Default Group to own the driver interface [Oinstall]:

Start Oracle ASM Library driver on Boot (y/n) [y]:

Fix Permissions of Oracle ASM disks on Boot (y/n) [y]:

Writing Oracle ASM Library driver configuration: [OK]

Scanning system for ASM disks: [OK]

4. Making ASM Disk

/etc/init.d/oracleasm Createdisk D1/DEV/SDB1

/etc/init.d/oracleasm Createdisk D2/DEV/SDC1

/etc/init.d/oracleasm Createdisk D3/DEV/SDD1

/etc/init.d/oracleasm Createdisk D4/dev/sde1

5. Create an ASM instance using DBCA

Depending on the DBCA prompt, you need to execute under the root user

/u01/app/oracle/product/10.2.0/db_1/bin/localconfig add

If the boot is not normal, or if the disk is not recognized, you will need

/u01/app/oracle/product/10.2.0/db_1/bin/localconfig Reset

and set the recognition position in DBCA change Disk Discovery Path, set it to

/dev/oracleasm/disks/*

Select 4 disks and make normal mode (one redundant)

That's it.

Error:

Check if SELinux is turned on if you can't identify the disk, and turn off SELinux if you turn it on

If you encounter ora-00600:internal error code when creating an ASM disk group, arguments: [Kfmnew], [2], [], [], [], [], [], []

Check to see if the ASM instance has been started, and if it starts, you need to close it and then restart the ASM instance for creation.

At this point, if you view the log/u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/trace.log you will see

ASM M_breaderstarted:false.


Oracle 10g installation ASM (RHEL5)

Related Article

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.