Oracle RAC troubleshooting

Question 1. Tip: If the content of the file is wrong, it will not appear in the /dev/huawei directory. At this time, you need to modify it correctly, delete the device in the directory, and re-execute start_udev

KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -d /dev/$name", RESULT=="3618ded7100c077ffbbb30928000007a6", NAME="huawei/data01",

start_udev

cd /dev/huawei

rm -rf data02 ocr

rac_01.png


Question 2. Note: When prompted “cannot communicate with Cluster Ready Services”

CRS-4000: Command Status failed, or completed with errors.

When, use the root user to check and start the crs service

Start cluster service

rac_02.png


[root@racdb1 ~]# cd /u01/app/11.2.0/grid/bin/

[root@racdb1 bin]# ./crsctl start crs

CRS-4640: Oracle High Availability Services is already active

CRS-4000: Command Start failed, or completed with errors.

[root@racdb1 bin]#

[root@racdb1 bin]# ./crsctl check  crs

CRS-4638: Oracle High Availability Services is online

CRS-4535: Cannot communicate with Cluster Ready Services

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

[root@racdb1 bin]#

Both nodes need to be executed

[root@racdb1 bin]# ./crsctl start cluster -n racdb1

CRS-2672: Attempting to start 'ora.asm' on 'racdb1'

CRS-2676: Start of 'ora.asm' on 'racdb1' succeeded

CRS-2672: Attempting to start 'ora.crsd' on 'racdb1'

CRS-2676: Start of 'ora.crsd' on 'racdb1' succeeded

[root@racdb1 bin]#

Note: As long as the cluster services of 2 nodes are started, all services will be normal again. If only one node is started, only the services of this node will be started when the resource service is started.

Finally start all services

[root@racdb1 bin]#./crsctl start res -all

rac_03.png

rac_04.png


Question 3. It prompts address already in use, just go to the device catalog to delete the device, and then execute again.

rac_05.png


Question 4, start a single service on the specified host

crsctl start res ora.LISTENER.lsnr    -n racdb2

rac_06.png


Guess you like

Origin blog.51cto.com/heyuanqiang/2553616