Oracle 12.1.0.2.0 ACFS on Linux 7 don’t work

I installed OEL 7.1…

uname -a
Linux rac12c01 3.8.13-55.1.6.el7uek.x86_64

Then I installed Grid Infrastructure and Database 12.1.0.2.0 and looked to configure ACFS for the database files, ready for DB create. And it won’t let me. In asmca, the tabs are greyed-out.

Lets just investigate that:

acfsdriverstate supported
ACFS-9459: ADVM/ACFS is not supported on this OS version: 'unknown'

Unknown! Great. This means…patching. After a bit of searching, I need:

Patch 20485724 – Oracle Grid Infrastructure Patch Set Update 12.1.0.2.3 (Apr2015) [p20485724_121020_Linux-x86-64.zip]

So, patch downloaded and onto each node to run:

/u01/app/grid/OPatch/opatchauto apply /u01/sw/20485724 -ocmrf *omf_reposnse*file*

Oh. An OMF response file is now mandatory for patching, and that’s new to me. Off to MOS Doc 966023.1 to find out how I do that!

First I need to download the latest Opatch, as the default install doesn’t have the binaries (emocmrsp) I need. Download and install Opatch: 6880880 (p6880880_121010_Linux-x86-64.zip) into the grid home.

Now, lets create an OCM response file:

ORACLE_HOME=/u01/app/grid
$ORACLE_HOME/OPatch/ocm/bin/emocmrsp -no_banner -output /u01/sw/grid_ocm.rsp

So lets check current releases before we start (note the versions and patching level):

/u01/app/grid/OPatch/opatch lsinventory  -oh /u01/app/grid
Oracle Interim Patch Installer version 12.1.0.1.8
Copyright (c) 2015, Oracle Corporation.  All rights reserved.

Oracle Home       : /u01/app/grid
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/grid/oraInst.loc
OPatch version    : 12.1.0.1.8
OUI version       : 12.1.0.2.0
Log file location : /u01/app/grid/cfgtoollogs/opatch/opatch2015-07-11_17-19-01PM_1.log

Lsinventory Output file location : /u01/app/grid/cfgtoollogs/opatch/lsinv/lsinventory2015-07-11_17-19-01PM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: rac12c02
ARU platform id: 226
ARU platform description:: Linux x86-64

Installed Top-level Products (1):

Oracle Grid Infrastructure 12c                                       12.1.0.2.0
There are 1 products installed in this Oracle Home.

There are no Interim patches installed in this Oracle Home.

Patch level status of Cluster nodes :

 Patching Level                  Nodes
 --------------                  -----
 0                               rac12c03,rac12c02,rac12c01
--------------------------------------------------------------------------------

And so let’s patch!

/u01/app/grid/OPatch/opatchauto apply /u01/sw/20485724 -ocmrf /u01/sw/grid_ocm.rsp
OPatch Automation Tool
Copyright (c)2014, Oracle Corporation. All rights reserved.

OPatchauto Version : 12.1.0.1.8
OUI Version        : 12.1.0.2.0
Running from       : /u01/app/grid

opatchauto log file: /u01/app/grid/cfgtoollogs/opatchauto/20485724/opatch_gi_2015-07-11_17-10-25_deploy.log

Parameter Validation: Successful

Configuration Validation: Successful

Patch Location: /u01/sw/20485724
Grid Infrastructure Patch(es): 19872484 20299018 20299022 20299023
DB Patch(es): 20299022 20299023

Patch Validation: Successful
Grid Infrastructure home:
/u01/app/grid


Performing prepatch operations on CRS Home... Successful

Applying patch(es) to "/u01/app/grid" ...
Patch "/u01/sw/20485724/19872484" successfully applied to "/u01/app/grid".
Patch "/u01/sw/20485724/20299018" successfully applied to "/u01/app/grid".
Patch "/u01/sw/20485724/20299022" successfully applied to "/u01/app/grid".
Patch "/u01/sw/20485724/20299023" successfully applied to "/u01/app/grid".

Performing postpatch operations on CRS Home... Successful

Apply Summary:
Following patch(es) are successfully installed:
GI Home: /u01/app/grid: 19872484,20299018,20299022,20299023

opatchauto succeeded.

on each node in turn…. then a quick check to make sure they are all patched to the same level:

/u01/app/grid/OPatch/opatch lsinventory  -oh /u01/app/grid
Oracle Interim Patch Installer version 12.1.0.1.8
Copyright (c) 2015, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/grid
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/grid/oraInst.loc
OPatch version    : 12.1.0.1.8
OUI version       : 12.1.0.2.0
Log file location : /u01/app/grid/cfgtoollogs/opatch/opatch2015-07-11_20-34-00PM_1.log

Lsinventory Output file location : /u01/app/grid/cfgtoollogs/opatch/lsinv/lsinventory2015-07-11_20-34-00PM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: rac12c01
ARU platform id: 226
ARU platform description:: Linux x86-64

Installed Top-level Products (1):

Oracle Grid Infrastructure 12c                                       12.1.0.2.0
There are 1 products installed in this Oracle Home.


Interim patches (4) :

Patch  20299023     : applied on Sat Jul 11 17:33:30 BST 2015
Unique Patch ID:  18703022
Patch description:  "Database Patch Set Update : 12.1.0.2.3 (20299023)"
   Created on 16 Mar 2015, 22:21:54 hrs PST8PDT
Sub-patch  19769480; "Database Patch Set Update : 12.1.0.2.2 (19769480)"
   Bugs fixed:
     19189525, 19065556, 19075256, 19723336, 19077215, 19865345, 18845653
[snip]
     19885321, 19163887, 19820247, 18715868, 18852058, 19538241, 19804032

Patch  20299018     : applied on Sat Jul 11 17:26:39 BST 2015
Unique Patch ID:  18582442
Patch description:  "ACFS Patch Set Update : 12.1.0.2.3 (20299018)"
   Created on 4 Mar 2015, 23:52:42 hrs PST8PDT
   Bugs fixed:
     19452723, 19078259, 19919907, 18900953, 20010980, 19127216, 18934139
[snip]
     18510745, 18915417, 19134464, 19060056, 18955907

Patch  19872484     : applied on Sat Jul 11 17:21:04 BST 2015
Unique Patch ID:  18291456
Patch description:  "WLM Patch Set Update: 12.1.0.2.2 (19872484)"
   Created on 2 Dec 2014, 23:18:41 hrs PST8PDT
   Bugs fixed:
     19016964, 19582630



Patch level status of Cluster nodes :

 Patching Level                  Nodes
 --------------                  -----
 3467666221                      rac12c03,rac12c02,rac12c01

--------------------------------------------------------------------------------

OPatch succeeded.

Well that looks good. All patching is complete, can we use ACFS?

[oracle@rac12c01 ~]$ acfsdriverstate supported
ACFS-9200: Supported
[oracle@rac12c01 ~]$ acfsdriverstate version
ACFS-9325:     Driver OS kernel version = 3.8.13-35.3.1.el7uek.x86_64(x86_64).
ACFS-9326:     Driver Oracle version = 150210.
[oracle@rac12c01 ~]$ acfsdriverstate installed
ACFS-9203: true
[oracle@rac12c01 ~]$ acfsdriverstate loaded
ACFS-9203: true

Sweet.

After creating a DG, creating a volume in the DG and mounting it on all nodes:

df -h
Filesystem             Size  Used Avail Use% Mounted on
/dev/mapper/ol00-root   20G  1.3G   19G   7% /
devtmpfs               2.2G     0  2.2G   0% /dev
tmpfs                  2.2G  1.3G  992M  56% /dev/shm
tmpfs                  2.2G  8.6M  2.2G   1% /run
tmpfs                  2.2G     0  2.2G   0% /sys/fs/cgroup
/dev/sdb1               52G   30G   23G  58% /u01
/dev/mapper/ol00-home   20G   33M   20G   1% /home
/dev/sda1              497M  140M  357M  29% /boot
/dev/asm/acfs_u02-433   19G  153M   19G   1% /u02

3 Responses to Oracle 12.1.0.2.0 ACFS on Linux 7 don’t work

  1. Allan Graves says:

    Please check ACFS Support On OS Platforms (Certification Matrix). (Doc ID 1369107.1) for the latest support information for ACFS.

  2. Williams says:

    [grid@]$ uname -a
    Linux dlvep006 3.8.13-98.1.2.el7uek.x86_64 #2 SMP Thu Aug 13 12:21:30 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
    [grid@]$ /u01/app/11.2.0/grid/bin/acfsdriverstate supported
    ACFS-9459: ADVM/ACFS is not supported on this OS version: ‘unknown’
    ACFS-9201: Not Supported
    [grid@]$ /u01/app/11.2.0/grid/bin/acfsdriverstate version
    ACFS-9129: ADVM/ACFS not installed

    Adding Clusterware entries to inittab
    ohasd failed to start
    Failed to start the Clusterware. Last 20 lines of the alert log follow:
    [client(32380)]CRS-10001:12-Nov-15 10:31 ACFS-9459: ADVM/ACFS is not supported on this OS version: ‘unknown’
    [client(32382)]CRS-10001:12-Nov-15 10:31 ACFS-9201: Not Supported

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: