|
搭建RAC过程中,运行root.sh脚本,节点1报错如下:
CRS-2672: Attempting to start 'ora.asm' on 'db1'
CRS-2676: Start of 'ora.asm' on 'db1' succeeded
CRS-2672: Attempting to start 'ora.DATA.dg' on 'db1'
CRS-2676: Start of 'ora.DATA.dg' on 'db1' succeeded
PRCR-1079 : 无法启动资源 ora.scan1.vip
CRS-5017: The resource action "ora.scan1.vip start" encountered the following error:
CRS-5005: IP Address: 192.168.0.160 is already in use in the network
. For details refer to "(:CLSN00107:)" in "/u01/app/11.2.0/grid/log/db1/agent/crsd/orarootagent_root/orarootagent_root.log".
CRS-2674: Start of 'ora.scan1.vip' on 'db1' failed
CRS-2632: There are no more servers to try to place resource 'ora.scan1.vip' on that would satisfy its placement policy
start scan ... failed
FirstNode configuration failed at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 9379.
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
[root@db1 ~]#
解决办法:
首先检查scan IP状态,
[root@db1 ~]# su - grid
上一次登录:一 11月 5 16:23:11 CST 2018pts/1 上
[grid@db1 ~]$ srvctl status scan
SCAN VIP scan1 已启用
SCAN VIP scan1 未运行
[grid@db1 ~]$ srvctl config scan
SCAN 名称: db-scan, 网络: 1/192.168.0.0/255.255.255.0/ens33
SCAN VIP 名称: scan1, IP: /db-scan/192.168.0.160
[root@db1 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
#public ip
192.168.0.150 db1
192.168.0.151 db2
#VIP
192.168.0.152 db1-vip
192.168.0.153 db2-vip
#private ip
10.10.0.150 db1-priv
10.10.0.151 db2-priv
#scan ip
192.168.0.160 db-scan
[grid@db1 ~]$ srvctl remove scan_listener
Remove scan listener? (y/[n]) y
[grid@db1 ~]$ crsctl stop resource ora.scan1.vip
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'db1'
CRS-2677: Stop of 'ora.scan1.vip' on 'db1' succeeded
重启crs
[grid@db1 ~]$ crs_start -all
CRS-5702: Resource 'ora.DATA.dg' is already running on 'db1'
CRS-5702: Resource 'ora.LISTENER.lsnr' is already running on 'db1'
CRS-5702: Resource 'ora.asm' is already running on 'db1'
CRS-5702: Resource 'ora.asm' is already running on 'db1'
CRS-5702: Resource 'ora.LISTENER.lsnr' is already running on 'db1'
CRS-2501: Resource 'ora.gsd' is disabled
CRS-5702: Resource 'ora.ons' is already running on 'db1'
CRS-5702: Resource 'ora.db1.vip' is already running on 'db1'
CRS-5702: Resource 'ora.asm' is already running on 'db2'
CRS-5702: Resource 'ora.LISTENER.lsnr' is already running on 'db2'
CRS-2501: Resource 'ora.gsd' is disabled
CRS-5702: Resource 'ora.ons' is already running on 'db2'
CRS-5702: Resource 'ora.db2.vip' is already running on 'db2'
CRS-2501: Resource 'ora.gsd' is disabled
CRS-5702: Resource 'ora.net1.network' is already running on 'db1'
CRS-5702: Resource 'ora.ons' is already running on 'db1'
CRS-5702: Resource 'ora.scan1.vip' is already running on 'db2'
Attempting to start `ora.oc4j` on member `db1`
Attempting to start `ora.cvu` on member `db1`
Attempting to start `ora.LISTENER_SCAN1.lsnr` on member `db2`
Start of `ora.cvu` on member `db1` succeeded.
Start of `ora.LISTENER_SCAN1.lsnr` on member `db2` succeeded.
Start of `ora.oc4j` on member `db1` succeeded.
CRS-0223: Resource 'ora.DATA.dg' has placement error.
CRS-0223: Resource 'ora.LISTENER.lsnr' has placement error.
CRS-0223: Resource 'ora.asm' has placement error.
CRS-0223: Resource 'ora.db1.ASM1.asm' has placement error.
CRS-0223: Resource 'ora.db1.LISTENER_DB1.lsnr' has placement error.
CRS-2660: Resource 'ora.db1.gsd' or all of its instances are disabled
CRS-0223: Resource 'ora.db1.ons' has placement error.
CRS-0223: Resource 'ora.db1.vip' has placement error.
CRS-0223: Resource 'ora.db2.ASM2.asm' has placement error.
CRS-0223: Resource 'ora.db2.LISTENER_DB2.lsnr' has placement error.
CRS-2660: Resource 'ora.db2.gsd' or all of its instances are disabled
CRS-0223: Resource 'ora.db2.ons' has placement error.
CRS-0223: Resource 'ora.db2.vip' has placement error.
CRS-2660: Resource 'ora.gsd' or all of its instances are disabled
CRS-0223: Resource 'ora.net1.network' has placement error.
CRS-0223: Resource 'ora.ons' has placement error.
CRS-0223: Resource 'ora.scan1.vip' has placement error.
[grid@db1 ~]$ srvctl start scan;
PRCC-1014 : scan1 已在运行
PRCR-1004 : 资源 ora.scan1.vip 已在运行
PRCR-1079 : 无法启动资源 ora.scan1.vip
CRS-5702: Resource 'ora.scan1.vip' is already running on 'db2'
|
|