Detailed management of Oracle10gRAC (Linux) ASM shared storage

Source: Internet
Author: User
Detailed management of Oracle10gRAC (Linux) ASM shared storage

Detailed management of Oracle 10g RAC (Linux) ASM shared storage

Management of ASM (Management of Shared disks)
1. Manage the ASM in instance mode. Before starting the database, you must first start the ASM instance. After the ASM instance is started, the ASM disk is mounted.
--------- Install the ASM management software and driver
1. view the operating system Kernel version (OS Kernel version)
[Root @ rac11 ~] # Uname-
Linux rac11 2.6.9-67. ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux
2. Check whether ASM-related software is installed on the OS.
[Root @ rac01 ~] # Rpm-qa | grep asm
Oracleasm-2.6.9-67.EL-2.0.3-1 (same as OS kernel version)
Oracleasmlib-2.0.4-1.el4
Oracleasm-support-2.1.4-1.el4
Install the ASM package
[Root @ rac22 asm] # rpm-Uvh oracleasm-support-2.1.4-1.el4.i386.rpm


[Root @ rac22 asm] # rpm-Uvh oracleasm-2.6.9-67.EL-2.0.3-1.i686.rpm


[Root @ rac22 asm] # rpm-Uvh oracleasmlib-2.0.4-1.el4.i386.rpm


[Root @ rac22 asm] # rpm-Uvh oracleasm-2.6.9-67.ELsmp-2.0.3-1.i686.rpm


[Root @ rac11 ~] # Service oracleasm
Usage:/etc/init. d/oracleasm {start | stop | restart | enable | disable | configure | createdisk | deletedisk | querydisk | listdisks | scandisks | status}


[Root @ rac22 asm] # service oracleasm status
Checking if ASM is loaded: no
Checking if/dev/oracleasm is mounted: no
[Root @ rac22 asm] # service oracleasm enable
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [OK]
Scanning the system for Oracle ASMLib disks: [OK]
[Root @ rac22 asm] # service oracleasm status
Checking if ASM is loaded: yes
Checking if/dev/oracleasm is mounted: yes
[Root @ rac11 ~] # Chkconfig oracleasm on

---------- View the ASM instance initialization parameter file

[Oracle @ rac22 dbs] $ cat init + ASM2.ora | grep-v '^ #'


Cluster_database = true

Background_dump_dest =/u01/app/oracle/admin/+ ASM/bdump
Core_dump_dest =/u01/app/oracle/admin/+ ASM/cdump
User_dump_dest =/u01/app/oracle/admin/+ ASM/udump

Instance_type = asm

Large_pool_size = 12 M

Remote_login_passwordfile = exclusive

Asm_diskgroups = 'data1', 'fra'


+ ASM2.instance _ number = 2
+ ASM1.instance _ number = 1

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.