Configuring Oracle ASM in an Oracle Grid Infrastructure Standalone (Oracle Restart) Environment

To configure Oracle ASMFD in a standalone environment, follow these steps:

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

    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:*'
    
    

    Where old_diskstring is the current 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. Log in as the root user and stop Oracle Grid Infrastructure for a standalone server using the following command:

    # $ORACLE_HOME/bin/crsctl stop has -f
    
    
  3. As root, configure Oracle ASMFD using the following command:

    # $ORACLE_HOME/bin/asmcmd afd_configure
    
    

    This command configures Oracle ASMFD and deconfigures Oracle ASMLIB, if it exists.

  4. As the Oracle Grid Infrastructure standalone server owner verify the Oracle ASMFD status:

    $ $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".

  5. As root, start Oracle Grid Infrastructure for a standalone server:

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

    $ $ORACLE_HOME/bin/asmcmd afd_dsset disk_string
    
    

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