rac日志目录较多,纯靠人力手动收集较为麻烦,且容易遗漏。最好借助工具收集日志。 11g rac收集日志方法:
diag collection.pl --collect -beforetime 20160113210000 --aftertime 20160112050000 $ORA_CRS_HOME/bin/diagcollection.pl -collect 12c以上 rac 数据库收集日志方法:
/u01/app/12.1.0.2/grid/tfa/bin/tfactl diagcollect -from "Sep/3/2016 12:00:00" -to "Sep/4/2016 08:00:00"
