12.2 ASM Filter Driver

xychong123發表於2017-06-05
在安裝grid 叢集軟體之前配置 (ASMFD): 可以在未安裝grid 之前配置磁碟屬性。
==========
Starting with Oracle Grid Infrastructure 12c Release 2 (12.2), Oracle ASM Filter Driver (Oracle ASMFD) cannot be installed and configured if Oracle ASMLIB has been installed on the system. If you want to install and configure Oracle ASMFD, you must first uninstall Oracle ASMLIB.
==========

Configure the shared disks for use with Oracle ASM Filter Driver:
  1. Log in as the root user and set the environment variable $ORACLE_HOME to the location of the Grid home and the environment variable $ORACLE_BASE to a temporary location.
    su root
    set ORACLE_HOME=/u01/app/12.2.0/grid
    set ORACLE_BASE=/tmp
    
    You set $ORACLE_BASE to a temporary location to avoid creating diagnostic or trace files in the Grid home before the Oracle Grid Infrastructure installation.
  2. Use Oracle ASM command line tool (ASMCMD) to provision the disk devices for use with Oracle ASM Filter Driver.
    ./u01/app/12.2.0/grid/bin/asmcmd afd_label DATA1 /dev/sdb --init
    ./u01/app/12.2.0/grid/bin/asmcmd afd_label DATA1 /dev/sdc --init
    ./u01/app/12.2.0/grid/bin/asmcmd afd_label DATA1 /dev/sdd --init
    
  3. Verify the device has been marked for use with Oracle ASMFD.
    ./u01/app/12.2.0/grid/bin/asmcmd afd_lslbl /dev/sdb
    ./u01/app/12.2.0/grid/bin/asmcmd afd_lslbl /dev/sdc
    ./u01/app/12.2.0/grid/bin/asmcmd afd_lslbl /dev/sdd
    
  4. Unset the ORACLE_BASE environment variable.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20747382/viewspace-2140282/,如需轉載,請註明出處,否則將追究法律責任。

相關文章