- Grid Infrastructure Installation and Upgrade Guide
- Configuring Storage for Oracle Grid Infrastructure
- Configuring Storage Device Path Persistence Using Oracle ASMFD
- Configuring Oracle ASM Filter Driver
- Configuring Oracle ASM Filter Driver After Installation
Configuring Oracle ASM Filter Driver After Installation
You can install and configure Oracle ASM Filter Driver for your system after installing Oracle Grid Infrastructure.
- As the
grid
user, update the Oracle ASM disk discovery string to enable Oracle ASMFD to discover devices in the future.- Retrieve the current value of the Oracle ASM disk discovery
string.
$ $ORACLE_HOME/bin/asmcmd dsget
The value ofdisk_string
in the above command is the current Oracle ASM disk discovery string value retrieved bydsget
. 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. - 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:*'
- Retrieve the current value of the Oracle ASM disk discovery
string.
- As the
grid
user, list the nodes and node roles in your cluster.$ $ORACLE_HOME/bin/olsnodes -a
- Perform the following steps, either in rolling or non-rolling mode, on each
cluster node.
- As the
root
user, stop the Oracle Clusterware stack.# $ORACLE_HOME/bin/crsctl stop crs
- Configure Oracle ASMFD to filter at the node level.
# $ORACLE_HOME/bin/asmcmd afd_configure
- 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'
- As the
root
user, label all the Oracle ASM disks for Oracle ASMFD.# $ORACLE_HOME/bin/asmcmd afd_label 'label_name' 'device_path' --migrate
The
afd_label
command sets a user-defined label to the Oracle ASMFD disk that you specify. - Scan all the Oracle ASM disks.
$ $ORACLE_HOME/bin/asmcmd afd_scan disk_string
The
afd_scan
command scans for Oracle ASMFD disks using the discovery string that you specify. If you run the command without specifying a disk discovery string, thenafd_scan
uses the Oracle ASMFD disk discovery string value in theafd.conf
file. - Start the Oracle Clusterware stack on the node.
# $ORACLE_HOME/bin/crsctl start crs
- 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
After you set the Oracle ASMFD discovery disk string, Oracle ASMFD will identify and start managing disks, including those previously managed by Oracle ASMLIB.See Also:
Oracle Automatic Storage Management Administrator's Guide for information about Oracle ASMFD management commands. - As the
Parent topic: Configuring Oracle ASM Filter Driver