I'am trying to setup RAC with two virtual machines.
I made the softawre-only installation of grid infrastructure.
Then I'm trying to configure the cluster on the first VM. Then I lounched <Grid Inf home>/crs/config/config.sh, answered some questions, and started install. When I run <Grid Inf home>/root.sh, as root, the script works some time and then it failes with "PRCN-2051 : The requested VIP has the same network number and the same preferred node but different VIP name with the registered VIP". The full script output is here:
[root@odb1 ~]# /oracle-grid/product/grid/12.1.0/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /oracle-grid/product/grid/12.1.0
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Relinking oracle with rac_on option
Using configuration parameter file: /oracle-grid/product/grid/12.1.0/crs/install/crsconfig_params
2015/12/26 13:15:56 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2015/12/26 13:16:29 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2015/12/26 13:16:29 CLSRSC-363: User ignored prerequisites during installation
OLR initialization - successful
root wallet
root wallet cert
root cert export
peer wallet
profile reader wallet
pa wallet
peer wallet keys
pa wallet keys
peer cert request
pa cert request
peer cert
pa cert
peer root cert TP
profile reader root cert TP
pa root cert TP
peer pa cert TP
pa peer cert TP
profile reader pa cert TP
profile reader peer cert TP
peer user cert
pa user cert
2015/12/26 13:17:02 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-2672: Attempting to start 'ora.evmd' on 'odb1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'odb1'
CRS-2676: Start of 'ora.mdnsd' on 'odb1' succeeded
CRS-2676: Start of 'ora.evmd' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'odb1'
CRS-2676: Start of 'ora.gpnpd' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'odb1'
CRS-2672: Attempting to start 'ora.gipcd' on 'odb1'
CRS-2676: Start of 'ora.cssdmonitor' on 'odb1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'odb1'
CRS-2672: Attempting to start 'ora.diskmon' on 'odb1'
CRS-2676: Start of 'ora.diskmon' on 'odb1' succeeded
CRS-2676: Start of 'ora.cssd' on 'odb1' succeeded
PRCR-1158 : Directory /oracle-grid/cfgtoollogs/asmca in file path does not exist
PRCR-1154 : Failed to create file output stream with file name: /oracle-grid/cfgtoollogs/asmca/asmca-151226PM021816.logCouldn't get lock for /oracle-grid/cfgtoollogs/asmca/asmca-151226PM021816.log
ASM created and started successfully.
Disk Group DATA mounted successfully.
CRS-2672: Attempting to start 'ora.crf' on 'odb1'
CRS-2672: Attempting to start 'ora.storage' on 'odb1'
CRS-2676: Start of 'ora.storage' on 'odb1' succeeded
CRS-2676: Start of 'ora.crf' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'odb1'
CRS-2676: Start of 'ora.crsd' on 'odb1' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk cfa4eed66ab64f81bf9197062fa8df54.
Successfully replaced voting disk group with +DATA.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE cfa4eed66ab64f81bf9197062fa8df54 (/dev/mapper/ora_test) [DATA]
Located 1 voting disk(s).
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'odb1'
CRS-2673: Attempting to stop 'ora.crsd' on 'odb1'
CRS-2677: Stop of 'ora.crsd' on 'odb1' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'odb1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'odb1'
CRS-2673: Attempting to stop 'ora.evmd' on 'odb1'
CRS-2673: Attempting to stop 'ora.storage' on 'odb1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'odb1'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'odb1'
CRS-2677: Stop of 'ora.storage' on 'odb1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'odb1'
CRS-2677: Stop of 'ora.evmd' on 'odb1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'odb1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'odb1' succeeded
CRS-2677: Stop of 'ora.crf' on 'odb1' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'odb1' succeeded
CRS-2677: Stop of 'ora.asm' on 'odb1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'odb1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'odb1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'odb1'
CRS-2677: Stop of 'ora.cssd' on 'odb1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'odb1'
CRS-2677: Stop of 'ora.gipcd' on 'odb1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'odb1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.mdnsd' on 'odb1'
CRS-2672: Attempting to start 'ora.evmd' on 'odb1'
CRS-2676: Start of 'ora.mdnsd' on 'odb1' succeeded
CRS-2676: Start of 'ora.evmd' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'odb1'
CRS-2676: Start of 'ora.gpnpd' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'odb1'
CRS-2676: Start of 'ora.gipcd' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'odb1'
CRS-2676: Start of 'ora.cssdmonitor' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'odb1'
CRS-2672: Attempting to start 'ora.diskmon' on 'odb1'
CRS-2676: Start of 'ora.diskmon' on 'odb1' succeeded
CRS-2676: Start of 'ora.cssd' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'odb1'
CRS-2672: Attempting to start 'ora.ctssd' on 'odb1'
CRS-2676: Start of 'ora.ctssd' on 'odb1' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'odb1'
CRS-2676: Start of 'ora.asm' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'odb1'
CRS-2676: Start of 'ora.storage' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.crf' on 'odb1'
CRS-2676: Start of 'ora.crf' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'odb1'
CRS-2676: Start of 'ora.crsd' on 'odb1' succeeded
CRS-6023: Starting Oracle Cluster Ready Services-managed resources
CRS-6017: Processing resource auto-start for servers: odb1
CRS-2672: Attempting to start 'ora.net1.network' on 'odb1'
CRS-2676: Start of 'ora.net1.network' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.gns.vip' on 'odb1'
CRS-2672: Attempting to start 'ora.ons' on 'odb1'
CRS-2676: Start of 'ora.gns.vip' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.gns' on 'odb1'
CRS-2676: Start of 'ora.ons' on 'odb1' succeeded
CRS-2676: Start of 'ora.gns' on 'odb1' succeeded
CRS-2679: Attempting to clean 'ora.odb1.vip' on 'odb1'
CRS-2681: Clean of 'ora.odb1.vip' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.odb1.vip' on 'odb1'
CRS-5017: The resource action "ora.odb1.vip start" encountered the following error:
CRS-5015: Agent timed out waiting for a response from the DHCP server
. For details refer to "(:CLSN00107:)" in "/oracle-grid/diag/crs/odb1/crs/trace/crsd_orarootagent_root.trc".
CRS-2674: Start of 'ora.odb1.vip' on 'odb1' failed
CRS-2679: Attempting to clean 'ora.odb1.vip' on 'odb1'
CRS-2681: Clean of 'ora.odb1.vip' on 'odb1' succeeded
CRS-2672: Attempting to start 'ora.odb1.vip' on 'odb1'
CRS-5017: The resource action "ora.odb1.vip start" encountered the following error:
CRS-5015: Agent timed out waiting for a response from the DHCP server
. For details refer to "(:CLSN00107:)" in "/oracle-grid/diag/crs/odb1/crs/trace/crsd_orarootagent_root.trc".
CRS-2674: Start of 'ora.odb1.vip' on 'odb1' failed
CRS-2679: Attempting to clean 'ora.odb1.vip' on 'odb1'
CRS-2681: Clean of 'ora.odb1.vip' on 'odb1' succeeded
===== Summary of resource auto-start failures follows =====
CRS-2807: Resource 'ora.odb1.vip' failed to start automatically.
CRS-6016: Resource auto-start has completed for server odb1
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2015/12/26 13:28:50 CLSRSC-343: Successfully started Oracle Clusterware stack
PRCN-2051 : The requested VIP (nodename: odb1, VIP name: odb1-vip.oleg2-virt.oleghome, network number: 1) has the same network number and the same preferred node but different VIP name with the registered VIP (nodename: odb1, VIP name: odb1, network number: 1).
2015/12/26 13:28:56 CLSRSC-180: An error occurred while executing the command 'add vip -n odb1 -k 1 -A odb1-vip.oleg2-virt.oleghome/255.255.255.0/eth0 ' (error code 0)
2015/12/26 13:28:57 CLSRSC-286: Failed to add Grid Infrastructure node applications
Died at /oracle-grid/product/grid/12.1.0/crs/install/crsinstall.pm line 2392.
[root@odb1 ~]# The command '/oracle-grid/product/grid/12.1.0/perl/bin/perl -I/oracle-grid/product/grid/12.1.0/perl/lib -I/oracle-grid/product/grid/12.1.0/crs/install /oracle-grid/product/grid/12.1.0/crs/install/rootcrs.pl ' execution failed
I use the static ip addresses for all with DNS resolving and do not use GNS.
What is wrong in my configuration. What addition information should I provide?