Configuring Oracle ASM Filter Driver After Installation

You can install and configure Oracle ASM Filter Driver for your system after installing Oracle Grid Infrastructure.

  1. As the grid user, update the Oracle ASM disk discovery string to enable Oracle ASMFD to discover devices in the future.
    1. Retrieve the current value of the Oracle ASM disk discovery string.
      $ $ORACLE_HOME/bin/asmcmd dsget
      The value of disk_string in the above command is the current Oracle ASM disk discovery string value retrieved by dsget. If the disks are in the default location for the operating system environment and disk discovery string has not been set, then the disk discovery string is empty.
    2. Update the Oracle ASM disk discovery string. If the string is empty, then update the value of the disk discovery string to include the default disk location.
      $ $ORACLE_HOME/bin/asmcmd dsset 'disk_string,AFD:*'
      
  2. As the grid user, list the nodes and node roles in your cluster.
    $ $ORACLE_HOME/bin/olsnodes -a
  3. Perform the following steps, either in rolling or non-rolling mode, on each cluster node.
    1. As the root user, stop the Oracle Clusterware stack.
      # $ORACLE_HOME/bin/crsctl stop crs
    2. Configure Oracle ASMFD to filter at the node level.
      # $ORACLE_HOME/bin/asmcmd afd_configure
    3. As the grid user, verify the status of Oracle ASMFD.
      $ $ORACLE_HOME/bin/asmcmd afd_state
      ASMCMD-9526: The AFD state is 'LOADED' and filtering is 'ENABLED' on host 'myhost'
    4. As the root user, label all the Oracle ASM disks for Oracle ASMFD.
      # $ORACLE_HOME/bin/asmcmd afd_label 'label_name' 'device_path' --migrate
    5. Scan all the Oracle ASM disks.
      $ $ORACLE_HOME/bin/asmcmd afd_scan disk_string
    6. Start the Oracle Clusterware stack on the node.
      # $ORACLE_HOME/bin/crsctl start crs
      
    7. As the grid user, set the Oracle ASMFD discovery disk string to the updated Oracle ASM disk discovery string value from Step 1.
      $ $ORACLE_HOME/bin/asmcmd afd_dsset disk_string
    With the Oracle ASMFD discovery disk string properly set, Oracle ASM Filter Driver should identify and start managing disks, including those previously managed by Oracle ASMLIB.