This article mainly discusses the problems encountered during the entire RAC installation process and how to solve them.
Error 1:
Shared disk configuration issues. If the shared disk contains content, it may cause an error when executing root. sh after CLUSTERWARE is installed. The error message is: Failed to upgrade Oracle Cluster Registry configuration.
The dd command can be used to clear shared disks of ocr and voting disks. Similar commands:
Dd if =/dev/zero of =/dev/rdsk/c2t0d2s3 bs = 1073741824 count = 1
Where, of specifies the shared disk device to be cleared, and bs specifies the space size of the device.
Run root. sh again after cleanup, and the problem disappears.
Error 2:
Oracle does not use s0 partitions by default. If s0 partitions are specified as ocr or voting disk, the system will execute root. sh will also receive the same error message: Failed to upgrade Oracle Cluster Registry configuration.
In this case, you can specify other partitions to replace s0 partitions.
Error 3:
The vip cannot find the public interface. This is actually an Oracle bug.
Oracle considers 192. 168. *. *, 10. *. *, 172. 16. *. * -- 172. 31. *. * and other ip addresses as private IP addresses. Therefore, it cannot be automatically bound to the interface.
The following error occurs when you use the cluvfy tool for verification:
ERROR:
Cocould not find a suitable set of interfaces for VIPs.
After ClusterWare is installed, the following error occurs after the second node executes the root. sh script:
The given interface (s), "ce0" is not public. Public interfaces shoshould be used to configure virtual IPs.
The solution is to manually start VIPCA as the root user for manual configuration.
Oracle's detailed description of this problem IS: Doc ID: Note: 316583.1: Subject: vipca fails complaining that interface is not public.
The related bug information IS: Bug 4437727-vipca fails complaining that interface is not public.
Error 4:
If the default gateway information is not set, an error occurs when VIPCA is manually configured.
If/etc/defaultrouter is not correctly configured, perform the correct configuration after vipca is started. Oracle performs six steps: Create VIP application resource, Create GSD application resource, Create ONS application resource, Start VIP application resource, Start GSD application resource, and Start ONS application resource.
An error occurs when the fourth step Starting VIP application resource is executed. Error message:
CRS-1006: No more members to consider
CRS-0215: cocould not start resource 'racnode1-vip '.
CRS-1006: No more members to consider
CRS-0215: cocould not start resource 'racnode2-vip '.
You can solve this problem by configuring the default route.