In this article, we are going to have look on Oracleasm Utility For ASMLIB.These lines explain the technical definition of Oracleasm The oracleasm command utility is part of the Oracle ASMLib, and you only use oracleasm commands when you want Oracle ASMLib to be able to access your ASM disks.

Oracle notes that the ASMLib is an optional support library for the Automatic Storage Management feature of ASM.  They claim that ASMLib simplifies database administration and greatly reduces kernel resource usage, and eliminates the need for the DBA to directly manage potentially thousands of Oracle database files, requiring only the management of ASM disk groups.

ASMlib driver is required on Linux operating systems, to enable a disk readable by ASM. Without ASMLIB, disks can’t be used at asm disks.

Below are the steps for configuring ASMlib and marking disks as ASM.

Download Asmlib:
You can download these rpm packages directly from OTN:

http://www.oracle.com/technetwork/server-storage/linux/downloads/index-088143.html

Else, if your system is registered with ULN, then you can download directly using yum as below.

– Run as root on the database server

  2. Configure oracleasm:[ Do on all nodes if RAC]

   3. Start oracleasm:

Now as we have configured and started the oracleasm, we can proceed with making the disks as ASM disk.

4.Create ASM disk [ Do only from one node ]

Create disk need to be run only from one node

 5.Now list and scan the disks [ On both the nodes ]

Once disk is created, you need to scan the disks using scandisks on all the nodes,

Now, these ASM disks are ready to be added to ASM disk group.

Automatic start can be enabled or disabled with the ‘enable’ and ‘disable’ options to /etc/init.d/oracleasm:

Disable

Enable

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

Joel Perez’s LinkedIn: www.linkedin.com/in/SirDBaaSJoelPerez

Anuradha’s LinkedIn: https://www.linkedin.com/in/dbaanuradhamudgal/

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

About The Author

Comments

Leave a Reply