Configuring Oracle ASM Filter Driver After Installation

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

  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 root user, stop Oracle Grid Infrastructure for a standalone server.
    # $ORACLE_HOME/bin/crsctl stop has
  3. Configure Oracle ASMFD.
    # $ORACLE_HOME/bin/asmcmd afd_configure
  4. 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'
  5. As the root user, label all the Oracle ASM disks for Oracle ASMFD.
    # $ORACLE_HOME/bin/asmcmd afd_label 'label_name' 'device_path' --migrate
  6. Start Oracle Grid Infrastructure for a standalone server.
    # $ORACLE_HOME/bin/crsctl start has
  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