Migrating from Oracle ASM Filter Driver to Oracle ASMLib

Oracle ASM filtering is disabled starting with kernel version 5.14. To avail the filtering functionality, migrate from Oracle ASMFD to Oracle ASMLIB 3.1 in rolling mode.

Prerequisites

  • If Oracle ASM Filter Driver (Oracle ASMFD) is installed and configured for an existing Oracle ASM installation, then you must explicitly deconfigure Oracle ASMFD filtering before installing and configuring Oracle ASMLib.
  • These steps apply to Oracle Linux 8 or later version servers that are running UEK6 or kernel version 5.4.17-2136.342.1 or later.
  1. Confirm if Oracle ASMFD is configured and running.
    # asmcmd lsdsk
    Path
    AFD:DATA1
    AFD:DATA2
    The AFD in the results indicate that the disks are configured using Oracle ASMFD.
  2. Apply the one-off patches for the following bugs to the specified homes:
    1. 37214236 (Oracle Grid Infrastructure home)
    2. 37347369 (Oracle Grid Infrastructure home)
    3. 37405185 (Oracle Grid Infrastructure home)
    4. 37230154 (Oracle Grid Infrastructure home and Oracle Database home)
  3. Shut down the Oracle Clusterware stack on the local node.
    # crsctl stop crs
  4. Stop Oracle ACFS kernel modules.
    # $ORACLE_HOME/bin/acfsload stop
  5. Deconfigure Oracle ASMFD filtering.
    # $ORACLE_HOME/bin/asmcmd afd_deconfigure
  6. Install Oracle ASMLib v3 by following the steps documented in Installing and Configuring Oracle ASMLib v3.
  7. Run the Oracle ASM initialization script and configure Oracle ASMLib on the local node.
    # /usr/sbin/oracleasm init
    # /usr/sbin/oracleasm configure -i
  8. Start the Oracle ASMLib service.
    # systemctl enable --now oracleasm
  9. Scan for Oracle ASM labeled disks on the local node.
    # /usr/sbin/oracleasm scandisks
  10. List Oracle ASMLib disks on the local node.
    # /usr/sbin/oracleasm listdisks

    Note:

    The list of disks must match the disk list in Step 1.
  11. Verify the status of the Oracle ASMLib disks on the local node.
    # /usr/sbin/oracleasm status
  12. Start Oracle ACFS kernel modules.
    # $ORACLE_HOME/bin/acfsload start

    Note:

    This step is required even if you do not use Oracle ACFS.
  13. Start the Oracle Clusterware stack on the local node.
    # crsctl start crs
  14. Confirm if Oracle ASMLib is configured and running.
    # asmcmd lsdsk
    Path
    ORCL:DATA1
    ORCL:DATA2
    The ORCL in the results indicate that the disks are configured using Oracle ASMLib.
  15. Repeat steps 1 through 14 on all other cluster nodes.