-----:) create raw partion which you use in asm disk configuration.
----:) install oracle asm packages.
[root@db11g Packages]# yum install oracleasm*
Loaded plugins: refresh-packagekit, security, ulninfo
Setting up Install Process
Examining oracleasm-support-2.1.8-1.el6.x86_64.rpm: oracleasm-support-2.1.8-1.el6.x86_64
Marking oracleasm-support-2.1.8-1.el6.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package oracleasm-support.x86_64 0:2.1.8-1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===========================================================================================
Package Arch Version Repository Size
===========================================================================================
Installing:
oracleasm-support x86_64 2.1.8-1.el6 /oracleasm-support-2.1.8-1.el6.x86_64 216 k
Transaction Summary
===========================================================================================
Install 1 Package(s)
Total size: 216 k
Installed size: 216 k
Is this ok [y/N]: u
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : oracleasm-support-2.1.8-1.el6.x86_64 1/1
Verifying : oracleasm-support-2.1.8-1.el6.x86_64 1/1
Installed:
oracleasm-support.x86_64 0:2.1.8-1.el6
Complete!
[root@db11g Packages]#
[root@db11g ~]# oracleasm init
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Configuring "oracleasm" to use device physical block size
Mounting ASMlib driver filesystem: /dev/oracleasm
[root@db11g ~]# oracleasm createdisk ASMDISK1 /dev/sda4
Writing disk header: done
Instantiating disk: done
[root@db11g ~]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@db11g ~]# oracleasm listdisks
ASMDISK1
[root@db11g ~]#
No comments:
Post a Comment