Rhel5 the ASM creation of Oracle 10g

Source: Internet
Author: User

1. Add disk to system, create partition

#fdisk/DEV/SDD


2. Create a raw device

#vi/etc/udev/rules.d/60-rw.rules

action== "Add", kernel== "Sdd1", run+= "/bin/raw/dev/raw/raw1%N"

kernel== "raw*", owner= "Oracle" group= "DBA", mode= "0660"//modify owner, genus, and access rights


To execute a build command:

#start_udev

To view a disk mapping relationship:

#raw-qa


3. Build the library (switch to Oracle user)

#dbca

Set Password

Configure Disk Group DG

Create new

-〉dgname

-〉external

Raw Equipment for hook selection

->ok

->finsh


4. Managing ASM Disks

Export Oracle_sid=+asm

#asmcmd

Contains commonly used Unix-like commands


5. Enter the ASM Disk Management database

Export Oracle_sid=asmdb

Sqlplus/as SYSDBA


Rhel5 the ASM creation of Oracle 10g

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.