Scenario:
DBA wanted to create the ACFS but got the Volume and Cluster File System grayed out.
Solution:
The modules are installed during Clusterware installation, but except they are not started at system boot by default.
Run acfsload and try again with ASMCA.
[root@SN3-IUB-RV-OD03 dev]# cd /u02/app/11.2.0/grid/bin/
[root@SN3-IUB-RV-OD03 bin]# ./acfsload start -s
DBA wanted to create the ACFS but got the Volume and Cluster File System grayed out.
Solution:
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
Run acfsload and try again with ASMCA.
[root@SN3-IUB-RV-OD03 dev]# cd /u02/app/11.2.0/grid/bin/
[root@SN3-IUB-RV-OD03 bin]# ./acfsload start -s
You can check currently loaded modules as root user.
[root@SN3-IUB-RV-OD03 bin]# lsmod |grep oracle
oracleacfs 1788888 0
oracleadvm 270720 0
oracleoks 420496 2 oracleacfs,oracleadvm
oracleasm 84136 1
You can configure init script to load ACFS modules at system reboot
[root@SN3-IUB-RV-OD03 dev]# vi /etc/init.d/acfsload
#! /bin/ksh
#chkconfig: 2345 30 21
# description: Load Oracle ACFS drivers at system boot
/u02/app/11.2.0/grid/bin/acfsload start -s
#chkconfig: 2345 30 21
# description: Load Oracle ACFS drivers at system boot
/u02/app/11.2.0/grid/bin/acfsload start -s
[root@SN3-IUB-RV-OD03 bin]# chmod u+x /etc/init.d/acfsload
[root@SN3-IUB-RV-OD03 bin]# chkconfig --add acfsload
[root@SN3-IUB-RV-OD03 bin]# chkconfig --list acfsload
acfsload 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@SN3-IUB-RV-OD03 bin]#
Note: the above test done on the non-RAC system, for the RAC you have to do the steps for all involved nodes.
No comments:
Post a Comment