Can't ping eth1 in both nodes

Questions relating to Oracle Real Application Clusters (RAC) and Clusterware.

Moderator: Tim...

Can't ping eth1 in both nodes

Postby beto1988 » Wed Oct 03, 2012 4:10 pm

Hello Tim,

I'm following http://www.oracle-base.com/articles/11g ... ualbox.php and when I ping private ip (eth1) of the other node, I can't reach it. But I can ping the other node's public ip. The host is Windows 7 with 8GB of memory.

In the RAC1 node:
Code: Select all
[root@ol6-112-rac1 Desktop]# hostname
ol6-112-rac1.localdomain
[root@ol6-112-rac1 Desktop]# ping -c 3 ol6-112-rac2-priv
PING ol6-112-rac2-priv.localdomain (192.168.1.112) 56(84) bytes of data.
From ol6-112-rac1.localdomain (192.168.0.111) icmp_seq=1 Destination Host Unreachable
From ol6-112-rac1.localdomain (192.168.0.111) icmp_seq=2 Destination Host Unreachable
From ol6-112-rac1.localdomain (192.168.0.111) icmp_seq=3 Destination Host Unreachable

--- ol6-112-rac2-priv.localdomain ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3002ms
pipe 3

[root@ol6-112-rac1 Desktop]# ping -c 3 ol6-112-rac2
PING ol6-112-rac2.localdomain (192.168.0.112) 56(84) bytes of data.
64 bytes from ol6-112-rac2.localdomain (192.168.0.112): icmp_seq=1 ttl=64 time=0.864 ms
64 bytes from ol6-112-rac2.localdomain (192.168.0.112): icmp_seq=2 ttl=64 time=0.568 ms
64 bytes from ol6-112-rac2.localdomain (192.168.0.112): icmp_seq=3 ttl=64 time=0.584 ms

--- ol6-112-rac2.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.568/0.672/0.864/0.135 ms
[root@ol6-112-rac1 Desktop]#

[root@ol6-112-rac1 Desktop]# ping -c 3 ol6-112-rac1-priv
PING ol6-112-rac1-priv.localdomain (192.168.1.111) 56(84) bytes of data.
64 bytes from ol6-112-rac1-priv.localdomain (192.168.1.111): icmp_seq=1 ttl=64 time=0.089 ms
64 bytes from ol6-112-rac1-priv.localdomain (192.168.1.111): icmp_seq=2 ttl=64 time=0.076 ms
64 bytes from ol6-112-rac1-priv.localdomain (192.168.1.111): icmp_seq=3 ttl=64 time=0.061 ms

--- ol6-112-rac1-priv.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 0.061/0.075/0.089/0.013 ms


Following are some details of the network in RAC1 vm:
Code: Select all
-- RAC1
[root@ol6-112-rac1 ~]# more /etc/hosts
#127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
127.0.0.1       localhost.localdomain   localhost
# Public
192.168.0.111   ol6-112-rac1.localdomain        ol6-112-rac1
192.168.0.112   ol6-112-rac2.localdomain        ol6-112-rac2
# Private
192.168.1.111   ol6-112-rac1-priv.localdomain   ol6-112-rac1-priv
192.168.1.112   ol6-112-rac2-priv.localdomain   ol6-112-rac2-priv
# Virtual
192.168.0.113   ol6-112-rac1-vip.localdomain    ol6-112-rac1-vip
192.168.0.114   ol6-112-rac2-vip.localdomain    ol6-112-rac2-vip
# SCAN
192.168.0.115   ol6-112-scan.localdomain ol6-112-scan
192.168.0.116   ol6-112-scan.localdomain ol6-112-scan
192.168.0.117   ol6-112-scan.localdomain ol6-112-scan


[root@ol6-112-rac1 ~]# ifconfig -a | grep eth
eth0      Link encap:Ethernet  HWaddr 08:00:27:F5:1E:A4 
eth1      Link encap:Ethernet  HWaddr 08:00:27:5A:A7:1B 
[root@ol6-112-rac1 ~]#


[root@ol6-112-rac1 ~]# more /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT="no"
HWADDR=08:00:27:F5:1E:A4
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.0.111
PREFIX=24
GATEWAY=192.168.0.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
[root@ol6-112-rac1 ~]#


[root@ol6-112-rac1 ~]# more /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth1"
NM_CONTROLLED="yes"
ONBOOT="no"
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.1.111
PREFIX=32
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth1"
UUID=9c92fad9-6ecb-3e6c-eb4d-8a47c6f50c04
HWADDR=08:00:27:5A:A7:1B
[root@ol6-112-rac1 ~]#


[root@ol6-112-rac1 ~]#  more /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=ol6-112-rac1.localdomain
GATEWAY=192.168.0.1
[root@ol6-112-rac1 ~]#


[root@ol6-112-rac1 ~]# netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     *               255.255.255.0   U         0 0          0 eth0
default         192.168.0.1     0.0.0.0         UG        0 0          0 eth0
[root@ol6-112-rac1 ~]#


[root@ol6-112-rac1 ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 08:00:27:F5:1E:A4 
          inet addr:192.168.0.111  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fef5:1ea4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:259 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:23652 (23.0 KiB)  TX bytes:4369 (4.2 KiB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:5A:A7:1B 
          inet addr:192.168.1.111  Bcast:192.168.1.111  Mask:255.255.255.255
          inet6 addr: fe80::a00:27ff:fe5a:a71b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:247 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20679 (20.1 KiB)  TX bytes:4369 (4.2 KiB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:960 (960.0 b)  TX bytes:960 (960.0 b)

[root@ol6-112-rac1 ~]#


In the RAC2 vm, the error during the ping RAC1 private network (eth1):
Code: Select all
[root@ol6-112-rac2 Desktop]# hostname
ol6-112-rac2.localdomain
[root@ol6-112-rac2 Desktop]#
[root@ol6-112-rac2 Desktop]# ping -c 3 ol6-112-rac1
PING ol6-112-rac1.localdomain (192.168.0.111) 56(84) bytes of data.
64 bytes from ol6-112-rac1.localdomain (192.168.0.111): icmp_seq=1 ttl=64 time=0.723 ms
64 bytes from ol6-112-rac1.localdomain (192.168.0.111): icmp_seq=2 ttl=64 time=0.489 ms
64 bytes from ol6-112-rac1.localdomain (192.168.0.111): icmp_seq=3 ttl=64 time=0.569 ms

--- ol6-112-rac1.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.489/0.593/0.723/0.101 ms
[root@ol6-112-rac2 Desktop]# ping -c 3 ol6-112-rac1-priv
PING ol6-112-rac1-priv.localdomain (192.168.1.111) 56(84) bytes of data.
From ol6-112-rac2.localdomain (192.168.0.112) icmp_seq=1 Destination Host Unreachable
From ol6-112-rac2.localdomain (192.168.0.112) icmp_seq=2 Destination Host Unreachable
From ol6-112-rac2.localdomain (192.168.0.112) icmp_seq=3 Destination Host Unreachable

--- ol6-112-rac1-priv.localdomain ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3001ms
pipe 3
[root@ol6-112-rac2 Desktop]#


And network details of RAC2.
Code: Select all
‘-- RAC2
[root@ol6-112-rac2 ~]# more /etc/hosts
#127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
127.0.0.1       localhost.localdomain   localhost
# Public
192.168.0.111   ol6-112-rac1.localdomain        ol6-112-rac1
192.168.0.112   ol6-112-rac2.localdomain        ol6-112-rac2
# Private
192.168.1.111   ol6-112-rac1-priv.localdomain   ol6-112-rac1-priv
192.168.1.112   ol6-112-rac2-priv.localdomain   ol6-112-rac2-priv
# Virtual
192.168.0.113   ol6-112-rac1-vip.localdomain    ol6-112-rac1-vip
192.168.0.114   ol6-112-rac2-vip.localdomain    ol6-112-rac2-vip
# SCAN
192.168.0.115   ol6-112-scan.localdomain ol6-112-scan
192.168.0.116   ol6-112-scan.localdomain ol6-112-scan
192.168.0.117   ol6-112-scan.localdomain ol6-112-scan
[root@ol6-112-rac2 ~]#


[root@ol6-112-rac2 ~]#
[root@ol6-112-rac2 ~]# ifconfig -a | grep eth
eth0      Link encap:Ethernet  HWaddr 08:00:27:90:C1:3B 
eth1      Link encap:Ethernet  HWaddr 08:00:27:2E:08:D1 
[root@ol6-112-rac2 ~]#


[root@ol6-112-rac2 ~]# more /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT="no"
HWADDR=08:00:27:90:C1:3B
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.0.112
PREFIX=24
GATEWAY=192.168.0.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
[root@ol6-112-rac2 ~]#


[root@ol6-112-rac2 Desktop]# more /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth1"
NM_CONTROLLED="yes"
ONBOOT="no"
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.1.112
PREFIX=32
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth1"
HWADDR=08:00:27:2E:08:D1
[root@ol6-112-rac2 Desktop]#




[root@ol6-112-rac2 ~]# more /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=ol6-112-rac2.localdomain
GATEWAY=192.168.0.1


[root@ol6-112-rac2 ~]# netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     *               255.255.255.0   U         0 0          0 eth0
default         192.168.0.1     0.0.0.0         UG        0 0          0 eth0
[root@ol6-112-rac2 ~]#


[root@ol6-112-rac2 ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 08:00:27:90:C1:3B 
          inet addr:192.168.0.112  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe90:c13b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:990 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:89220 (87.1 KiB)  TX bytes:4747 (4.6 KiB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:2E:08:D1 
          inet addr:192.168.1.112  Bcast:192.168.1.112  Mask:255.255.255.255
          inet6 addr: fe80::a00:27ff:fe2e:8d1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:987 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:86787 (84.7 KiB)  TX bytes:4369 (4.2 KiB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:21 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1728 (1.6 KiB)  TX bytes:1728 (1.6 KiB)



Can you please assist me please with it?

I have another question: I performed another install before this one, and did not have any network issue. But during the clusterware installation, the copy files to another node step took more than 9 hours and seemed to be frozen (Runistaller window froze at 67% of installing completed), then I had to cancel it to turn off the notebook, to go to the office. I had to start this second installation. The question is: How long does it take to complete te copy process in the clusterware installation?

Thanks in advance.
beto1988
Member
 
Posts: 2
Joined: Thu Sep 27, 2012 9:02 pm

Re: Can't ping eth1 in both nodes

Postby Tim... » Wed Oct 03, 2012 4:37 pm

Hi.

I can't see a problem with your configuration. I think you just need to go through making sure your /etc/hosts and network adapter settings are consistent on both machine.

Also, make sure the adapters are enabled are reboot. The network configuration screen allows you to check the "start on boot" option for the network adapter definition within the VM.

Regarding the copy time, it really depends on what is happening on your machine. Let's assume all your virtual machines are on the same disk, and you've over-allocated memory, so your machine is swapping like crazy, it's going to take an absolute age to do anything with the disks, like copy the Oracle installation...

Cheers

Tim...
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog
Tim...
Site Admin
 
Posts: 17940
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK

Re: Can't ping eth1 in both nodes

Postby beto1988 » Thu Oct 04, 2012 11:39 pm

Tim, Thanks for the quick answer and also for the articles.
beto1988
Member
 
Posts: 2
Joined: Thu Sep 27, 2012 9:02 pm

Re: Can't ping eth1 in both nodes

Postby Tim... » Sat Oct 06, 2012 7:51 am

:)
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog
Tim...
Site Admin
 
Posts: 17940
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK


Return to Oracle RAC and Clusterware

Who is online

Users browsing this forum: No registered users and 1 guest

cron