Oracle asmlib installation configuration and disk Creation

Source: Internet
Author: User

1. Install Oracle asmlib

Download the appropriate driver on oracle.com. The version must be the same as that of the operating system kernel.

Currently, only the linux operating system has the asmlib package, and other systems do not. Asmlib simplifies disk management and replaces rawdevices services that we used in linux.

The downloaded driver package name is consistent with the uname-r check result. Be sure !!!

[Root @ db2 ~] # Uname-r

2.6.18-238. el5

Here, I initially downloaded the package 2.6.18-238.12.1.el5, which failed to initialize the configuration after installation. Later, find a oracleasm-2.6.18-238.el5-2.0.5-1.el5 installation package, installation is successful.

[Root @ db2 ~] # Rpm-qa | grep asm

Oracleasm-2.6.18-238.el5-2.0.5-1.el5

Oracleasmlib-2.0.4-1.el5

Oracleasm-2.6.18-238.12.1.el5-2.0.5-1.el5

Oracleasm-support-2.1.7-1.el5

Oracleasm-2.6.18-238.12.1.el5-debuginfo-2.0.5-1.el5

The asmlib package to be installed is as follows:

Oracleasm-support-version.arch.rpm

Oracleasm-kernel-version.arch.rpm

Oracleasmlib-version. arch. rpm

Ii. Oracle asmlib Configuration
After the software package is installed, you must configure it to make it take effect.

[Root @ db2 ~] # Oracleasm configure

The execution result is as follows:

Processing the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library
Driver. The following questions will determine whether the driver is
Loaded on boot and what permissions it will have. The current values
Will be shown in brackets ('[]'). Hitting <ENTER> without typing
Answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface []: oracle
Default group to own the driver interface []: dba
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]

This script completes four tasks.

1. The configuration file/etc/sysconfig/oracleasm is created.

2. A mount point/dev/oracleasm is created.

3. Load the oracleasm kernel module

4. Mount the ASM function driver File System

  • 1
  • 2
  • Next Page

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.