Forum Stats

  • 3,768,513 Users
  • 2,252,804 Discussions
  • 7,874,602 Comments

Discussions

19c ASMFD Driver and Oracle Linux 8

JonathanWhitehead
JonathanWhitehead Member Posts: 3 Red Ribbon

Can anybody tell me if ASMFD is supported on Oracle Linux 8.2

My kernel version is

# uname -r

4.18.0-193.14.3.el8_2.x86_64

and I'm trying to install 19C GI standalone, so I installed the 19.3 release and patched up RU 19.8

However when I run gridSetup it refuses to install the afd lib driver and reports that is it unsupported by the OS.

running afddriverstate give the following result :

# ./afddriverstate supported

AFD-620: AFD is not supported on this operating system version: 'unknown'

AFD-9201: Not Supported

AFD-9294: updating file /etc/sysconfig/oracledrivers.conf

Thanks,

Jonathan

«1

Answers

  • Markus Flechtner
    Markus Flechtner Member Posts: 501 Bronze Trophy
    edited Aug 4, 2020 12:33AM

    Hi,

    as per MOS certification information, the mininium required version resp. release update (RU) of Oracle 19c for OL 8 is RU 19.7 and minimum kernel version is .18.0-80.el8.x86_64 or later. The RUs are available on My Oracle Support.

    So you have to patch your software to RU 19.7 (or higher) before running gridSetup.sh.

    It's basically running "gridSetup.sh --applyRU ..."

    Please see https://docs.oracle.com/en/database/oracle/oracle-database/19/cwlin/applying-patches-during-oracle-grid-infrastructure-install-or-upgrade.html#GUID-D10C7B8D-A120-48A2-8237-36809D0DB21E for more information on applying patches before running gridSetup.sh

    HTH

    Markus

    robinsc
  • JonathanWhitehead
    JonathanWhitehead Member Posts: 3 Red Ribbon
    edited Aug 4, 2020 4:29AM

    Hi Markus,

    Thanks for the reply.   I did apply this patch  Database Patch 31305339 - GI Release Update 19.8.0.0.200714, but I didn't do it as part of the install as you showed, I did a SW only install and then patched the new GI home.  Would this make a difference?

    I'm also wary of the fact that the afddriverstate utility isn't identifying the OS version and is returning unknown for the kernel

    Thanks,

    Jonathan

  • Markus Flechtner
    Markus Flechtner Member Posts: 501 Bronze Trophy
    edited Aug 4, 2020 4:34AM

    Yes, I will think this would make a difference.

    Regards

    Markus

  • LaserSoft
    LaserSoft Member Posts: 260 Silver Badge
    edited Sep 1, 2020 12:17PM

    Hi Jonathan

    I am also on the same situation.

    Configuration:

    ===========

    1. OS: Oracle Linux 8.0

    2. Env: 3-Node RAC

    3. GI: Installed 19.3 SW Only and After that applied 19.8 (31305339) patch.

    Still facing the same issue.

    [[email protected] bin]# afddriverstate supported

    bash: afddriverstate: command not found...

    [[email protected] bin]# ./asmcmd afd_lslbl /dev/sdc1

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

    Label                     Duplicate  Path

    ================================================================================

    DATADG02                              /dev/sdc1

    [[email protected] bin]# afddriverstate supported

    bash: afddriverstate: command not found...

    [[email protected] bin]# ./afddriverstate supported

    AFD-620: AFD is not supported on this operating system version: 'unknown'

    AFD-9201: Not Supported

    AFD-9294: updating file /etc/sysconfig/oracledrivers.conf

    [[email protected] bin]#

    [[email protected] bin]#

    [[email protected] bin]# cat /etc/os-release

    NAME="Oracle Linux Server"

    VERSION="8.0"

    ID="ol"

    ID_LIKE="fedora"

    VARIANT="Server"

    VARIANT_ID="server"

    VERSION_ID="8.0"

    PLATFORM_ID="platform:el8"

    PRETTY_NAME="Oracle Linux Server 8.0"

    ANSI_COLOR="0;31"

    CPE_NAME="cpe:/o:oracle:linux:8:0:server"

    HOME_URL="https://linux.oracle.com/"

    BUG_REPORT_URL="https://bugzilla.oracle.com/"

    ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"

    ORACLE_BUGZILLA_PRODUCT_VERSION=8.0

    ORACLE_SUPPORT_PRODUCT="Oracle Linux"

    ORACLE_SUPPORT_PRODUCT_VERSION=8.0

    [[email protected] bin]#

    [[email protected] bin]# ./asmcmd afd_lslbl /dev/sdc1

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

    Label                     Duplicate  Path

    ================================================================================

    DATADG02                              /dev/sdc1

    [[email protected] bin]#

    [[email protected] bin]# ./asmcmd afd_lslbl /dev/sdb1

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

    Label                     Duplicate  Path

    ================================================================================

    DATADG01                              /dev/sdb1

    [[email protected] bin]#

    [[email protected] bin]#

    [[email protected] bin]# ./asmcmd afd_configure

    [[email protected] bin]#

    [[email protected] bin]# uname -r

    4.18.0-80.el8.x86_64

    [[email protected] bin]#

    Let me try this and update

    1. While ./gridSetup.sh - -- > ApplyPSU (I mean while installation 19.3 first apply the 19.8 patch followed by GRID installation)..... Let see

    Hope it Helps...

    Thanks

    LaserSoft

  • LaserSoft
    LaserSoft Member Posts: 260 Silver Badge
    edited Sep 1, 2020 3:23PM

    Hi Jonathan

    Second try: No luck with Oracle 19c (19.8) with OEL 8.0

    Please have a look: ACFS Support On OS Platforms (Certification Matrix). (Doc ID 1369107.1)

    1. OS:         Oracle Linux 8.0

    2. Kernel:    4.18.0-80.el8.x86_64

    3. GRID: 19c (19.3) applied 19.8 patch (while installation)

    [[email protected] ~]$ export CV_ASSUME_DISTID=OEL7.6

    [[email protected] ~]$ export ORACLE_HOME=/u01/app/19.3.0/grid/

    [[email protected] ~]$ cd /u01/app/19.3.0/grid/

    [[email protected] grid]$ ./gridSetup.sh -applyPSU /home/oracle/31305339/

    Preparing the home to patch...

    Applying the patch /home/oracle/31305339/...

    Successfully applied the patch.

    The log can be found at: /tmp/GridSetupActions2020-09-01_02-50-10PM/installerPatchActions_2020-09-01_02-50-10PM.log

    Launching Oracle Grid Infrastructure Setup Wizard...

    4. See the below information.

    [[email protected] ~]# export ORACLE_BASE=/u01/app/oracle

    [[email protected] ~]# export ORACLE_HOME=/u01/app/19.3.0/grid

    [[email protected] ~]# cd $ORACLE_HOME/bin

    [[email protected] bin]# ./asmcmd afd_lslbl '/dev/sd*'

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

    Label                     Duplicate  Path

    ================================================================================

    DATADG01                              /dev/sdb1

    DATADG02                              /dev/sdc1

    [[email protected] bin]#

    [[email protected] bin]# ./afddriverstate supported

    AFD-620: AFD is not supported on this operating system version: 'unknown'

    AFD-9201: Not Supported

    AFD-9294: updating file /etc/sysconfig/oracledrivers.conf

    [[email protected] bin]#

    [[email protected] bin]# cat /etc/sysconfig/oracledrivers.conf

    AFD-9201: Not Supported

    [[email protected] bin]#

    [[email protected] bin]# ls -alrt /dev/oracleafd/disks/*

    ls: cannot access '/dev/oracleafd/disks/*': No such file or directory

    [[email protected] bin]#

    [[email protected] bin]#

    [[email protected] bin]# ./asmcmd afd_configure

    [[email protected] bin]#

    [[email protected] bin]# ls -alrt /dev/oracleafd/disks/*

    ls: cannot access '/dev/oracleafd/disks/*': No such file or directory

    [[email protected] bin]#

    Note: Please check the below Oracle 19c with ASMFD

    19c.JPG


    Hope it helps...

    Thanks

    LaserSoft.

  • JonathanWhitehead
    JonathanWhitehead Member Posts: 3 Red Ribbon
    edited Sep 8, 2020 9:35AM

    We reverted to using oracle 7.8 to get around the issue.  Not the preferred method but the quickest.

    LaserSoft
  • User_ODB72
    User_ODB72 Member Posts: 1 Red Ribbon
    edited Sep 24, 2020 4:02PM

    In order to install Oracle 19.6 or higher on RHEL 8, Oracle provides an additional version-specific patch. (19.8 = 29557768)

    p29557768_198000ACFSRU_Linux-x86-64.zip

    the following file is also required:

    /boot/symvers-(kernel version).el8.x86_64.gz

    https://access.redhat.com/solutions/5174441

    You can copy it from another location in RHEL 8

    sudo cp /usr/lib/modules/4.18.0-80.el8.x86_64/symvers.gz /boot/symvers-4.18.0-80.el8.x86_64.gz

    I got it all running on RHEL 8.0, but then we patched up to 8.2 and it's once again saying that it's not supported, however this time it knows the version of the OS.

  • LaserSoft
    LaserSoft Member Posts: 260 Silver Badge

    Hi

    Latest update !!!

    1. Installed OEL 8.2

    2. Upgraded Kernel "kernel-uek-4.18.0-193.13.2.el8_2.x86_64" to kernel-uek-5.4.17-2036.100.6.1.el8uek.x86_64

    3. Installed GI 19.3 (while GI installation applied Oracle 19c GI (19.8) RU)

    [[email protected] ~]$ cd /u01/app/19.3.0/grid/

    [[email protected] grid]$ ./gridSetup.sh -applyPSU /home/oracle/31305339/

    Preparing the home to patch...

    Applying the patch /home/oracle/31305339/...

    Successfully applied the patch.

    The log can be found at: /tmp/GridSetupActions2020-11-12_09-01-20PM/installerPatchActions_2020-11-12_09-01-20PM.log

    Launching Oracle Grid Infrastructure Setup Wizard...

    The response file for this session can be found at:

     /u01/app/19.3.0/grid/install/response/grid_2020-11-12_09-01-20PM.rsp

    You can find the log of this install session at:

     /tmp/GridSetupActions2020-11-12_09-01-20PM/gridSetupActions2020-11-12_09-01-20PM.log

    Moved the install session logs to:

     /u01/app/oraInventory/logs/GridSetupActions2020-11-12_09-01-20PM

    [[email protected] grid]$

    [[email protected] bin]$ afddriverstate installed

    AFD-620: AFD is not supported on this operating system version: 'unknown'

    AFD-9204: AFD device driver installed status: 'false'

    [[email protected] bin]$

    [[email protected] bin]$ afddriverstate loaded

    AFD-620: AFD is not supported on this operating system version: 'unknown'

    AFD-9206: AFD device driver loaded status: 'false'

    [[email protected] bin]$

    [[email protected] bin]$ afddriverstate version

    AFD-620: AFD is not supported on this operating system version: 'unknown'

    AFD-642: AFD not installed

    [[email protected] bin]$

    [[email protected] bin]$ cat /etc/oracle-release

    Oracle Linux Server release 8.2

    [[email protected] bin]$

    [[email protected] bin]$ uname -r

    5.4.17-2036.100.6.1.el8uek.x86_64

    [[email protected] bin]$

    [[email protected] bin]$ acfsload start

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

    ACFS-9130: Root access required

    [[email protected] bin]$

    [[email protected] bin]$ su - root

    Password:

    [[email protected] ~]# . oraenv

    ORACLE_SID = [root] ? +ASM1

    ORACLE_HOME = [/home/oracle] ? /u01/app/19.3.0/grid

    The Oracle base has been set to /u01/app/oracle

    [[email protected] ~]#

    [[email protected] ~]# cd $ORACLE_HOME/bin

    [[email protected] bin]#

    [[email protected] bin]# ./afddriverstate supported

    AFD-620: AFD is not supported on this operating system version: 'unknown'

    AFD-9201: Not Supported

    AFD-9294: updating file /etc/sysconfig/oracledrivers.conf

    [[email protected] bin]#

    [[email protected] bin]# ./acfsdriverstate -orahome /u01/app/19.3.0/grid installed

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

    ACFS-9204: false

    [[email protected] bin]#

    [[email protected] bin]# ./acfsdriverstate -orahome /u01/app/19.3.0/grid loaded

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

    ACFS-9204: false

    [[email protected] bin]#

    [[email protected] bin]# ./acfsdriverstate -orahome /u01/app/19.3.0/grid supported

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

    ACFS-9201: Not Supported

    ACFS-9294: updating file /etc/sysconfig/oracledrivers.conf

    [[email protected] bin]#

    [[email protected] bin]# ./acfsdriverstate -orahome /u01/app/19.3.0/grid version

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

    ACFS-9129: ADVM/ACFS not installed

    [[email protected] bin]#

    [[email protected] bin]# asmcmd afd_configure

    ASMCMD-9520: AFD is not 'supported'

    [[email protected] bin]#

    [[email protected] bin]# acfsroot install

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

    [[email protected] bin]#

    [[email protected] bin]# cat /etc/oracle-release

    Oracle Linux Server release 8.2

    [[email protected] bin]#

    [[email protected] bin]# uname -r

    5.4.17-2036.100.6.1.el8uek.x86_64

    [[email protected] bin]#

    [[email protected] bin]# uname -a

    Linux 19c-rac1.localdomain 5.4.17-2036.100.6.1.el8uek.x86_64 #2 SMP Thu Oct 29 17:06:00 PDT 2020 x86_64 x86_64 x86_64 GNU/Linux

    [[email protected] bin]#

    [[email protected] bin]# exit

    logout

    [[email protected] ~]$ . oraenv

    ORACLE_SID = [cdbrac1] ? +ASM1

    ORACLE_HOME = [/home/oracle] ? /u01/app/19.3.0/grid

    The Oracle base remains unchanged with value /u01/app/oracle

    [[email protected] ~]$

    [[email protected] ~]$ cd $ORACLE_HOME

    [[email protected] grid]$ cd OPatch/

    [[email protected] OPatch]$ ./opatch lspatches

    31335188;TOMCAT RELEASE UPDATE 19.0.0.0.0 (31335188)

    31305087;OCW RELEASE UPDATE 19.8.0.0.0 (31305087)

    31304218;ACFS RELEASE UPDATE 19.8.0.0.0 (31304218)

    31281355;Database Release Update : 19.8.0.0.200714 (31281355)

    OPatch succeeded.

    [[email protected] OPatch]$


    Thanks LaserSoft.

  • LaserSoft
    LaserSoft Member Posts: 260 Silver Badge

    Hi Team


    Oracle 19c (19.8) with ASMFD, Kernel 5.4.17 & Oracle Linux 8.2 (3-Node RAC)

    Oracle has released the patches for Oracle 19c (19.8) and 19c (19.9) for ACFS/AFD drivers.

    1. 30590023 UEK6 SUPPORT FOR ACFS/AFD (System Patch) - > 19.9.0.0.0ACFSRU

    2. 30590023 UEK6 SUPPORT FOR ACFS/AFD (System Patch) - > 19.8.0.0.0ACFSRU

    Please refer for more details:

    ACFS Support On OS Platforms (Certification Matrix). (Doc ID 1369107.1)

    Click Additional notes: 

    OL8 UEK6: 30590023 OL8 UEK6 SUPPORT FOR ACFS/AFD (NOTE: 19.x and later Grid only)

    Environment:

    1. Installed OEL 8.2

    2. Upgraded Kernel "kernel-uek-4.18.0-193.13.2.el8_2.x86_64" to kernel-uek-5.4.17-2036.100.6.1.el8uek.x86_64

    3. Installed GI 19.3 (while GI installation applied Oracle 19c GI (19.8) RU)

    4. Applied "p30590023_198000ACFSRU_Linux-x86-64.zip" patch on Oracle 19c (19.8) for GRID


    Please refer for more details:

    Thanks

    LaserSoft

  • Harrison Han
    Harrison Han Member Posts: 1 Green Ribbon

    Hi, all,

    Just successfully installed Oracle 19c on RHEL 8.2 with ASMFD.

    Oracle 19c+ RU(19.9) + one-off patch: 31480077

    Applied RU+ patch during the installation.$

    ./gridSetup.sh -applyRU patch_directory_location -applyOneOffs comma_seperated_list_of_patch_directory_locations


    But failed to install Oracle 19c on RHEL 8.3, by now (Jan 4, 2021), there is no AFD driver for RHEL 8.3.