BCV (Business Continuance Volume ) is the target volume for EMC Symmetrix TimeFinder/Mirror process. When a BCV is fully synchronized with a data device, the BCV is separated or split, thus becomes available to a host for backup or other host processes. In short, a BCV split is a device to be a clone of […]
ASM
Unable to instantiate disk “ASM_DISK” – error on running ‘oracleasm scandisks’ command
The Problem The new disk has been assigned to a host and the user needs to run a scandisk. But the command fails to instantiate new disks with the below error. # oracleasm scandisks Reloading disk partitions: done Cleaning any stale ASM disks… Scanning system for ASM disks… Instantiating disk “ASM_DISK_01” Unable to instantiate disk […]
Understanding Device Persistence and Oracle ASMLib
Basics This post describes some advantages the Linux specific ASM library provided by Oracle (herein “ASMLib”) brings to the administration of a Linux system running Oracle. Linux often presents the challenge of disk name persistence. Change the storage configuration and a disk that appeared as /dev/sdg yesterday can appear as /dev/sdh after a reboot today. […]
ASMLib-Managed Disks on Multipathed iSCSI Targets are not Discovered after Server Reboot in CentOS/RHEL 7
The Problem Oracle Real Application Clusters (RAC) servers run on CentOS/RHEL 7 and utilizing ASMLib-managed iSCSI multipathed disks. Upon server reboot, Oracle ASMLib disks are not automatically discovered at boot time causing Oracle Cluster Ready Services (CRS) to fail to start. ASM disks are, however, correctly discovered when manually running the oracleasm scandisks command soon […]
How to load SELinux Module For Oracleasm
Question: How to load the SELinux module for oracleasm? When searching for the selinux oracleasm module with the locate command it may return as if the file exists: # locate /oracleasm.pp /etc/selinux/targeted/modules/active/modules/oracleasm.pp However, when running the command semodule to load the oracleasm.pp module it fails: # semodule –verbose -i /etc/selinux/targeted/modules/active/modules/oracleasm.pp Attempting to install module ‘/etc/selinux/targeted/modules/active/modules/oracleasm.pp’: […]
How to extend ASM disk from OS level in CentOS/RHEL
Question: How to expand the physical raw disk which is part of ASM diskgroup? Below are the steps to extend the physical disk which is part of ASM diskgroup. 1. First, you have to unmount the disk you want to extend at the ASM level. 2. Check the disks present at the OS level and […]
Beginners Guide to Automatic Storage Management (ASM)
The Basics Automatic Storage Management (ASM) provides vertical integration of the file system and the volume manager for Oracle database files. ASM can provide management for single symmetric multiprocessing (SMP) machines or across multiple nodes of a cluster for Oracle Real Application Clusters (RAC) support. Oracle ASM Cluster File System (ACFS) is a multi-platform, scalable […]
Beginners Guide to Working with spfile in Oracle ASM
Introduction Starting with ASM version 11.2, the ASM spfile can be stored in an ASM disk group. Indeed, during a new ASM installation, the Oracle Universal Installer (OUI) will place the ASM spfile in the disk group that gets created during the installation. This is true for both Oracle Restart (single instance environments) and Cluster […]
How to Manage Oracle database Audit File Directory Growth with cron (ASM Instances Only)
The audit file destination directories for an ASM instance can grow to contain a very large number of files if they are not regularly maintained. Having a very large number of files can cause the file system to run out of free disk space or inodes, or can cause Oracle to run very slowly due […]
How to Force ASM to Scan the Multipathed Device First using ASMLIB/oracleasm
ASMLib/oracleasm can only be implemented on Linux OS. When using multipathing, you want to FORCE oracleasm to scan the multipathed devices first. This reduces the scan time as by default oracleasm tries to scan each and every device including the multiple paths to it. On all nodes: 1. Shutdown all (DB and ASM): You should […]