To configure Oracle ASMFD in an Oracle Clusterware environment, follow these steps:
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".
As the Oracle Grid Infrastructure owner list the nodes and node roles in your cluster:
$ $ORACLE_HOME/bin/olsnodes -a
On each Hub node, do the following, either in rolling or non-rolling mode:
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
As root
, configure Oracle ASMFD to filter at the node level:
# $ORACLE_HOME/bin/asmcmd afd_configure
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".
As root
, start the Oracle Clusterware stack on the node:
# $ORACLE_HOME/bin/crsctl start crs
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.