Configuring Oracle ASM in an Oracle Grid Infrastructure Clusterware Environment

To configure Oracle ASMFD in an Oracle Clusterware environment, follow these steps:

  1. As the Oracle Grid Infrastructure owner update the Oracle ASM disk discovery string to enable Oracle ASMFD to discover devices in the future.

    For example, check the current value of the Oracle ASM disk discovery string and then update the value.

    $ $ORACLE_HOME/bin/asmcmd dsget
    
    $ $ORACLE_HOME/bin/asmcmd dsset old_diskstring, 'AFD:*'
    

    The value of old_diskstring is the current Oracle ASM disk discovery string value.

    For information about updating the Oracle ASM discovery string, refer to "Updating the Oracle ASM ASM_DISKSTRING Parameter for Oracle ASM Filter Driver Disks".

  2. As the Oracle Grid Infrastructure owner list the nodes and node roles in your cluster:

    $ $ORACLE_HOME/bin/olsnodes -a
    
  3. On each Hub node, do the following, either in rolling or non-rolling mode:

    1. Log in as the root user and stop Oracle Grid Infrastructure:

      # $ORACLE_HOME/bin/crsctl stop crs
      

      If the command returns an error, then stop Oracle Grid Infrastructure forcibly as follows:

      # $ORACLE_HOME/bin/crsctl stop crs -f
      
    2. As root, configure Oracle ASMFD to filter at the node level:

      # $ORACLE_HOME/bin/asmcmd afd_configure
      
    3. As the Oracle Grid Infrastructure owner 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'
      

      For information about checking on the state of the Oracle ASM Filter Driver, refer to "Determining Whether Oracle ASM Filter Driver Has Been Configured".

    4. As root, start the Oracle Clusterware stack on the node:

      # $ORACLE_HOME/bin/crsctl start crs
      
    5. As the Oracle Grid Infrastructure owner set the Oracle ASMFD discovery disk string to the original Oracle ASM disk discovery string value that was retrieved in Step 1:

      $ $ORACLE_HOME/bin/asmcmd afd_dsset old_diskstring
      

      The value of old_diskstring is the old disk discovery string value without the AFD: (Oracle ASMFD) path.

      For information about updating the Oracle ASM Filter Driver discovery disk discovery string, refer to "Updating the Oracle ASM Filter Driver AFD_DISKSTRING Parameter".

      For information about updating the Oracle ASM discovery disk discovery string, refer to "Updating the Oracle ASM ASM_DISKSTRING Parameter for Oracle ASM Filter Driver Disks".

Oracle ASM Filter Driver should identify and start managing disks previously managed by Oracle ASMLIB.