从Oracle ASMLIB迁移到ASM Filter Driver(2)

其他节点执行扫描操作:

[grid@odb03 ~]$ asmcmd afd_scan [grid@odb03 ~]$ asmcmd afd_lsdsk -------------------------------------------------------------------------------- Label Filtering Path ================================================================================ DATA01 ENABLED /dev/sdb1 FRA001 ENABLED /dev/sdc1

最后,更新/etc/oracleafd.conf的内容如下:

[root@odb02 ~]# cat /etc/oracleafd.conf afd_diskstring='/dev/sd* 11、RAC所有节点启动acfsload [root@odb02 ~]# acfsload start ACFS-9391: Checking for existing ADVM/ACFS installation. ACFS-9392: Validating ADVM/ACFS installation files for operating system. ACFS-9393: Verifying ASM Administrator setup. ACFS-9308: Loading installed ADVM/ACFS drivers. ACFS-9327: Verifying ADVM/ACFS devices. ACFS-9156: Detecting control device '/dev/asm/.asm_ctl_spec'. ACFS-9156: Detecting control device '/dev/ofsctl'. ACFS-9322: completed 12、RAC所有节点启动CRS [root@odb02 ~]# crsctl start crs [root@odb03 ~]# crsctl start crs

待所有服务启动后,检查下diskstring参数设置:

[grid@odb02 ~]$ asmcmd dsget parameter:/dev/oracleasm/disks/*, AFD:* profile:/dev/oracleasm/disks/*,AFD:* [grid@odb02 ~]$ asmcmd dsset 'AFD:*' [grid@odb02 ~]$ asmcmd dsget parameter:AFD:* profile:AFD:* [grid@odb02 ~]$ asmcmd lsdsk Path AFD:DATA01 AFD:FRA001

最后通过SQLplus执行下面的SQL进行验证:

set linesize 300 col PATH for a20 set pages 20 col LIBRARY for a45 col NAME for a15 select inst_id,group_number grp_num,name,state,header_status header,mount_status mount,path, library from gv$asm_disk order by inst_id,group_number,name;

Migrating from Oracle ASMLIB to ASM Filter Driver

参考文献:
1、Oracle ASM Filter Driver (ASMFD)
2、Migrating from ASMLIB to ASMFD

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/4080760618b9fbbab3e5ca83f6e93924.html