ASM Cluster File System is disabled

This article assumes that an Active-Passive Cluster was created on 11.2 Grid Infrastructure that protects a standalone database 11gr2.

Role separation is deployed in this environment where user grid is the Grid Infrastructure owner and user ‘oracle’ is Oracle database owner.

An ASM diskgroup ORA_HOME_ACFS is ready to assign dynamic volume and mount it to ACFS storage.  This will be used as a shared ORACLE_HOME.

A shared ORACLE_HOME is required to use EM Database Control in Active-Passive Cluster. Refer to Oracle Support Note: Configure DB Control 10.2, 11g for use in Active/Passive High Availability Environments [ID 362524.1]

1. As Grid Infrastructure owner ‘grid’, run ‘asmca’ from Grid Home

[grid@guang ~]$ dbselect
1) +ASM1
2) DB11GR2
Select the database: 1
The Oracle base for ORACLE_HOME=/u01/app/11.2.0/grid is /u01/app/oracle

[grid@guang ~]$ which asmca

[grid@guang ~]$ asmca

as you see the tabs “Volumes” and “ASM Cluster File System” are disabled.

2. load ACFS file system modules

Some file system modules must be loaded before using ACFS. On linux these drivers include:

  • oracleasm, the ASM module;
  • oracleadvm, the ASM dynamic volume manager module;
  • oracleoks, the kernel services module;
  • oracleacfs, the ASM file system module

The modules are installed during Clusterware installation, but except they are not started at system boot by default.

Check currently loaded modules as ‘root’ user.

[root@guang ~]# lsmod |grep oracle
oracleasm              84136  1

Manually load these modules as root user (on all nodes in the cluster)

[root@guang ~]# /u01/app/11.2.0/grid/bin/acfsload start -s

If you meet an error “ADVM/ACFS is not supported on centos-release-5-5.el5.centos” as I did on Centos 5.5 64bit Linux, refer to article Load ACFS Modules on CentOS 5 for the fix.

Check that the modules are now loaded on this node

[root@guang ~]# lsmod | grep oracle
oracleacfs            877320  0
oracleadvm            221760  0
oracleoks             276880  2 oracleacfs,oracleadvm
oracleasm              84136  1

Configure init script to load ACFS modules at system reboot

[root@guang ~]# vi /etc/init.d/acfsload
#! /bin/ksh

#chkconfig: 2345 30 21
# description: Load Oracle ACFS drivers at system boot
/u01/app/grid/product/11.2.0/grid/bin/acfsload start -s

[root@guang ~]# chmod u+x /etc/init.d/acfsload

[root@guang ~]# chkconfig --add acfsload
[root@guang ~]# chkconfig --list acfsload

3. Now run ‘asmca’ as user ‘grid’ user

[grid@guang ~]$ dbselect
1) +ASM1
2) DB11GR2
Select the database: 1
The Oracle base for ORACLE_HOME=/u01/app/11.2.0/grid is /u01/app/oracle

[grid@guang ~]$ which asmca

[grid@guang ~]$ asmca

as you see, the ASM Cluster System and Volumes tabs are now available.

You should repeat the above steps in all other nodes in the cluster before creating ACFS volumes.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: