Installing ASM on Oracle 11g (RHEL5)

Source: Internet
Author: User
Tags perl script


1. Oracle 11g Installation

Slightly

For detailed procedures, please refer to:

Http://blog.sina.com.cn/s/blog_7c5a82970101excf.html


2. Install the ORACLEASM package

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

Altogether three

Download location:

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


3. Configure oracleasm and install disk groups

/etc/init.d/oracleasm Configure

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

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

4. Install Oracle Grid Infrastructure

(1) Configuring a grid user


Vim/etc/security/limits.conf

------------------------------------------

#Oracle Configure Shell Parameters

Oracle Soft Nofile 65536

Oracle Hard Nofile 65536

Oracle Soft Nproc 16384

Oracle Hard Nproc 16384

Grid Soft Nofile 65536

Grid hard Nofile 65536

Grid Soft Nproc 16384

Grid hard Nproc 16384


Vim/home/grid/.bashrc


Export Oracle_home=/u01/app/11.2.0/grid

Export path= $ORACLE _home/bin: $PATH

Export Oracle_owner=oracle

Export Oracle_sid=+asm

Export ld_library_path= $ORACLE _home/lib: $LD _library_path

Export path= $ORACLE _home/bin: $PATH

Export Lang=en_us

Alias sqlplus= ' Rlwrap sqlplus '

Alias lsnrctl= ' Rlwrap lsnrctl '

Alias asmcmd= ' Rlwrap asmcmd '


(2) Oracle and grid users belong to the appropriate user group respectively

USERADD-G oinstall-g Dba,oper,asmdba,asmadmin Oracle

Useradd-g oinstall-g dba,asmadmin,asmdba,asmoper Grid


(3) Installing the Software

./runinstaller

Select Install and Configure gride Infrastructure for a Standalone Server

(4) Specify the disk location

/dev/oracleasm/disks

5. Using DBCA to create an ASM-based instance

Attention:

Make sure that Oracle is in both the Oinstall and asmadmin groups and ASMDBA, or that creating a database under an Oracle user will not recognize the ORACLEASM disk group

If there is an error ASMCA needs Oracle Grid infrastructure to configure ASM. That's usually because of a common problem with the single node installation grid, one way is to rerun the Runinstaller (not recommended) at the bottom of the grid.

Another way is to execute a perl script after installation/u01/app/grid/product/11.2.0/grid/perl/bin/perl-i/u01/app/grid/product/11.2.0/grid/perl/ lib/-i/u01/app/11.2.0/grid/crs/install/u01/app/11.2.0/grid/crs/install/roothas.pl

That's all you can do.


Installing ASM on Oracle 11g (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.