LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-26-2017, 08:16 AM   #1
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Rep: Reputation: 0
VIP is getting conflict


Dear Linux Expeerts,

Virtual IP(vip) for node 2 is mismatching on node2.
Please see VIP address of node2 (rac2-vip)

>> /etc/hosts on both nodes

PHP Code:
# cat /etc/hosts 
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain localhost
#::1            localhost6.localdomain6 localhost6

### PUBLIC
192.168.212.40   rac1   rac1.oracle.com
192.168.212.41   rac2   rac2
.oracle.com

### PRIVATE
192.168.10.1     rac1-priv
192.168.10.2     rac2
-priv

### VIRTUAL
192.168.212.50    rac1-vip
192.168.212.51    rac2
-vip

### SCAN
192.168.212.90   rac-scan
192.168.212.91   rac
-scan
192.168.212.92   rac
-scan 
eth0:1 on node1 and node2 following below


>> On Node 1

PHP Code:
[root@RAC1 ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:DE:ED:18  
          inet addr
:192.168.212.40  Bcast:192.168.212.255  Mask:255.255.255.0
          inet6 addr
fe80::20c:29ff:fede:ed18/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          RX packets
:851 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:807 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000 
          RX bytes
:190936 (186.4 KiB)  TX bytes:156289 (152.6 KiB)
          
Interrupt:51 Base address:0x2424 

eth0
:1    Link encap:Ethernet  HWaddr 00:0C:29:DE:ED:18  
          inet addr
:192.168.212.50  Bcast:192.168.212.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          Interrupt
:51 Base address:0x2424 

eth1      Link encap
:Ethernet  HWaddr 00:0C:29:DE:ED:22  
          inet addr
:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr
fe80::20c:29ff:fede:ed22/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          RX packets
:14158 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:12046 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000 
          RX bytes
:7844105 (7.4 MiB)  TX bytes:4505055 (4.2 MiB)
          
Interrupt:75 Base address:0x24a4 

eth2      Link encap
:Ethernet  HWaddr 00:0C:29:DE:ED:2C  
          inet addr
:192.168.159.133  Bcast:192.168.159.255  Mask:255.255.255.0
          inet6 addr
fe80::20c:29ff:fede:ed2c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          RX packets
:198 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:176 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000 
          RX bytes
:32093 (31.3 KiB)  TX bytes:32115 (31.3 KiB)
          
Interrupt:67 Base address:0x2824 

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
:9200 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:9200 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:
          RX bytes
:10865300 (10.3 MiB)  TX bytes:10865300 (10.3 MiB

>> On Node2

PHP Code:
# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:A8:6F:7B  
          inet addr
:192.168.212.41  Bcast:192.168.212.255  Mask:255.255.255.0
          inet6 addr
fe80::20c:29ff:fea8:6f7b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          RX packets
:567 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:288 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000 
          RX bytes
:111595 (108.9 KiB)  TX bytes:59689 (58.2 KiB)
          
Interrupt:51 Base address:0x2424 

eth0
:1    Link encap:Ethernet  HWaddr 00:0C:29:A8:6F:7B  
          inet addr
:192.168.212.60  Bcast:192.168.212.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          Interrupt
:51 Base address:0x2424 

eth1      Link encap
:Ethernet  HWaddr 00:0C:29:A8:6F:85  
          inet addr
:192.168.10.2  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr
fe80::20c:29ff:fea8:6f85/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          RX packets
:4874 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:5159 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000 
          RX bytes
:1765383 (1.6 MiB)  TX bytes:2902080 (2.7 MiB)
          
Interrupt:75 Base address:0x24a4 

eth2      Link encap
:Ethernet  HWaddr 00:0C:29:A8:6F:8F  
          inet addr
:192.168.159.132  Bcast:192.168.159.255  Mask:255.255.255.0
          inet6 addr
fe80::20c:29ff:fea8:6f8f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          RX packets
:207 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:179 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000 
          RX bytes
:35324 (34.4 KiB)  TX bytes:31577 (30.8 KiB)
          
Interrupt:67 Base address:0x2824 

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
:10611 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:10611 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:
          RX bytes
:9608745 (9.1 MiB)  TX bytes:9608745 (9.1 MiB
My question is
I want to to fix eth0:1 on node 2 will be 192.168.212.51

because i am getting problem , pls see attachment
Attached Thumbnails
Click image for larger version

Name:	ac.png
Views:	8
Size:	59.9 KB
ID:	26418  
 
Old 11-26-2017, 08:56 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,675

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by Joy Stick View Post
Dear Linux Expeerts,
Virtual IP(vip) for node 2 is mismatching on node2. Please see VIP address of node2 (rac2-vip)

My question is I want to to fix eth0:1 on node 2 will be 192.168.212.51 because i am getting problem , pls see attachment
Again, you need to read the LQ Rules about text-speak and not using it; it's "please" not "pls". And you have been asking about Oracle and networking configuration for a while now:
https://www.linuxquestions.org/quest...ac-4175618004/
https://www.linuxquestions.org/quest...se-4175613124/
https://www.linuxquestions.org/quest...eq-4175610987/
https://www.linuxquestions.org/quest...-x-4175594517/
https://www.linuxquestions.org/quest...es-4175607240/
https://www.linuxquestions.org/quest...db-4175602653/

Again, you say you are an Oracle DBA. Complete instructions on how to install Oracle RAC are (AGAIN) available on Oracle's website. AGAIN, the very first hit in Google for "how to install and configure oracle rac" is: https://docs.oracle.com/cd/B28359_01...c.htm#TDPRC003

If you want to change the IP addresses on your systems, great; go change them. Use the exact same method as you did to assign the addresses in the first place. You (again) don't tell us what version/distro of Linux you're using or what kind of hardware, but you're probably talking about the unpatched/unupdated RHEL that you're not paying for on VirtualBox again?
 
1 members found this post helpful.
Old 11-27-2017, 01:23 PM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I don't feel that all the referenced, former questions are duplicates of this question. Rather than make observations about former posts, please deal with the one question. If it is a duplicate, recommend people do not respond and instead click Report, while citing the duplicate question as part of the report. Then moderators can evaluate this clearly and close any duplicates.

The question is unclear. The image offered does not show a problem related to an IP address conflict problem.

The question seems to be asking how to configure an IP address for a particular node on an interface.

What I can say is that in the link provided as part of TB0ne's answer, you can eventually get to a section providing aid for how to configure the Ethernet. It would also seem that this set of documentation has been reviewed by you because much of the actions you're performing here are exactly what the recommended steps to take show.

Meanwhile the point being made here is that you've configured that node address for a static IP as of now and you wish to change it. Therefore please take the time to review the documentation and review how you accomplished this previously.

Or is this an incorrect assessment of your question?
 
1 members found this post helpful.
Old 11-27-2017, 01:40 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,675

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by rtmistler View Post
I don't feel that all the referenced, former questions are duplicates of this question. Rather than make observations about former posts, please deal with the one question. If it is a duplicate, recommend people do not respond and instead click Report, while citing the duplicate question as part of the report. Then moderators can evaluate this clearly and close any duplicates.
Apologies, I did not mean to imply they were duplicates, but rather all centered around one topic (how to install Oracle/Oracle RAC). While there may be 1,000 steps to install a certain program for instance, opening 1,000 different threads that only differ slightly from each other is onerous. Especially when someone who is ostensibly experienced in installing this software has the complete set of documentation available to them, which details the 1,000 steps.
Quote:
The question is unclear. The image offered does not show a problem related to an IP address conflict problem.

The question seems to be asking how to configure an IP address for a particular node on an interface.

What I can say is that in the link provided as part of TB0ne's answer, you can eventually get to a section providing aid for how to configure the Ethernet. It would also seem that this set of documentation has been reviewed by you because much of the actions you're performing here are exactly what the recommended steps to take show.

Meanwhile the point being made here is that you've configured that node address for a static IP as of now and you wish to change it. Therefore please take the time to review the documentation and review how you accomplished this previously. Or is this an incorrect assessment of your question?
Agreed.
 
2 members found this post helpful.
Old 11-27-2017, 02:52 PM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Correct TB0ne. It is a good point that not all the formerly cited questions are duplicates. I feel they do point out prior experience with related subjects.

Similar to my comment about duplicate questions, it also should be noted that if members continually post questions following a pattern which is not enabling LQ members to aid them and showing a reluctance to follow up on their threads, the same recommendation applies which is to report these behaviors. This will enable the site admins to point to a history when considering next actions.

At present, it will be helpful to see feedback from Joystick regarding a better clarification of this problem as well as things attempted to resolve this.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need NFS to use a VIP prowla Linux - Server 6 12-10-2013 04:02 AM
shorewwall forwad public vip to private vip on same box shorif2000 Linux - Networking 0 06-08-2011 07:51 AM
Keepalived redirect public vip to private vip shorif2000 Linux - Networking 1 06-07-2011 10:33 AM
VIP listener_it Linux - Newbie 1 04-11-2011 01:00 PM
How to Define VIP in Suse Ilya Rabinovich Linux - Networking 1 09-25-2006 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration