What is ASMLib?
ASMLib is an optional support library for the Automatic Storage Management feature of the Oracle Database. It eliminates the need for the DBA to directly manage potentially thousands of Oracle database files, requiring only the management of groups of disks allocated to the Oracle Database.
How do I find my version of ASMLib?
Starting with Oracle ASMLib release 2.0. 0, all ASMLib installations require that the driver packages be named after the kernel that they support. Run the ” uname -r ” command on your computer to determine your kernel version. The corresponding package has the name oracleasm- .
What is KMOD Oracleasm?
The ASMLib kernel module (kmod-oracleasm) is available with Red Hat Enterprise Linux. Oracle will provide support for the other two required ASMLib components (oracleasm-support and oracleasmlib) on Red Hat Enterprise Linux 7.
How do I configure Oracleasm?
updating the configuration file /etc/sysconfig/oracleasm. Creating ASM disk groups….1. Install and configure ASMLIB software
- An open source (GPL) kernel module package: kmod-oracleasm.
- An open source (GPL) utilities package: oracleasm-support.
- A closed source (proprietary) library package: oracleasmlib.
How do I know if ASM is installed?
Verify the ASM setup
- Change to the Oracle Clusterware/Grid Infrastructure home directory: For Oracle RAC 10g Release 2/Oracle RAC 11g Release 1: # cd $CRS_HOME/bin.
- Verify the status of ASM on all the nodes in the cluster: # ./srvctl status asm ASM instance +ASM1 is running on node galaxy.
How do I know the size of my ASM file?
How To List Files and Sizes within an ASM Disk Group
- select f. group_number, f. file_number, bytes, space, space/(1024*1024) “InMB”, a. name “Name”
- from v$asm_file f, v$asm_alias a.
- where f. group_number=a. group_number and f. file_number=a. file_number.
- order by f. group_number, f. file_number;
Where is the physical path of ASM disk?
To identify the underlying physical device that the ASM disk point to, you can use the oracleasm querydisk command. The querydisk option will list the major and minor numbers that can be used to match the physical device.
How do I get ASM disk details?
To see all disks, use V$ASM_DISKGROUP instead. Contains one row for every Oracle ASM file in every disk group mounted by the Oracle ASM instance. In an Oracle ASM instance, contains one row for every active Oracle ASM long running operation executing in the Oracle ASM instance.
How do I uninstall Asmlib?
If Oracle ASM library driver (Oracle ASMLIB) is installed but you do not use it for device path persistence, then deinstall Oracle ASMLIB:
- Stop Oracle ASM and any running database instance:
- Log in as root .
- Stop the Oracle Restart stack:
- Stop Oracle ASMLIB:
- Remove the oracleasm library and tools RPMs:
Where is my ASM disk path?
How do I check ASM disks?
How do I view an ASM file?
Is the Oracle asmlib rpm available on ULN?
Systems with older versions of oracleasm-support can still use up2date to upgrade the kernel driver: While the driver and support tools are on the Oracle Linux installation media, the oracleasmlib RPM is not (this package allows Oracle to access the kernel driver). This package is only available on ULN.
Can you install Oracle asmlib on SUSE Linux?
Oracle ASMLIB is included with the Oracle Linux packages, and with SUSE Linux Enterprise Server. If you are a member of the Unbreakable Linux Network, then you can install the Oracle ASMLIB RPMs by subscribing to the Oracle Linux channel, and using yum to retrieve the most current package for your system and kernel.
Where can I get oracleasmlib rpm for Linux?
The only software not on the media is the library, the oracleasmlib RPM. This can only be installed from ULN. The oracleasmlib RPM is part of the “Oracle Software for Oracle Linux” channel. A system must be added to this channel to install the library package. Go to the ULN web site and log in.
Where can I get Oracle asmlib for Red Hat?
The kernel driver package ‘kmod-oracleasm’ is available directly from Red Hat, and can be installed from the “Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)” channel on Red Hat Network (RHN). Use the ASMLib kernel driver that corresponds to the version of the Red Hat Enterprise Linux kernel you’re running.