查看ora.crf服务
grid@rac01 bin]$ ./crsctl stat res ora.crf -init -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.crf
1 ONLINE ONLINE rac01
[grid@dmsrac03 bin]$ pwd
/u01/11.2.0.3/grid/bin
停止ora.crf服务
[grid@rac01 rac01]# /u01/11.2.0/grid/bin/crsctl stop res ora.crf -init
CRS-2673: Attempting to stop 'ora.crf' on 'rac01'
CRS-2677: Stop of 'ora.crf' on 'rac01' succeeded
删除crf*.bdb文件
[root@rac01 ]# cd /u01/11.2.0/grid/crf/db/rac01
[root@rac01 rac01]# ll
total 32627372
-rw-r----- 1 root root 512355704 Feb 24 08:34 crfalert.bdb
-rw-r----- 1 root root 31426735308 Feb 24 08:34 crfclust.bdb
-rw-r----- 1 root root 9026 Jan 18 15:41 crfconn.bdb
-rw-r----- 1 root root 723432643 Feb 24 08:34 crfcpu.bdb
-rw-r----- 1 root root 432623436 Feb 24 08:34 crfhosts.bdb
-rw-r----- 1 root root 657323432 Feb 24 08:34 crfloclts.bdb
-rw-r----- 1 root root 783452344 Feb 24 08:34 crfts.bdb
-rw-r----- 1 root root 23562 Jan 18 15:39 __db.001
-rw-r----- 1 root root 235135 Feb 24 08:34 __db.002
-rw-r----- 1 root root 2674356 Feb 24 08:34 __db.003
-rw-r----- 1 root root 2513834 Feb 24 08:34 __db.004
-rw-r----- 1 root root 3059646 Feb 24 08:34 __db.005
-rw-r----- 1 root root 76834 Feb 24 08:34 __db.006
-rw-r--r-- 1 root root 120000000 Jan 18 15:40 rac01.ldb
-rw-r----- 1 root root 17324732 Feb 24 07:58 log.0000009450
-rw-r----- 1 root root 17324732 Feb 24 08:34 log.0000009451
-rw-r----- 1 root root 8192 Jan 18 15:39 repdhosts.bdb
[root@rac01 rac01]# rm -f *.bdb
启动ora.crf服务
[grid@rac01 rac01]# /u01/11.2.0.3/grid/bin/crsctl start res ora.crf -init
CRS-2672: Attempting to start 'ora.crf' on 'dmsrac03'
CRS-2676: Start of 'ora.crf' on 'dmsrac03' succeeded
验证crf.ora服务
[grid@rac01 bin]$ ./crsctl stat res ora.crf -init -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.crf
1 ONLINE ONLINE rac01