Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am managing Single Instance Oracle Database
I have Installed Oracle RAC Database.
To install RAC, We need to configure Public,Private and Virtual IPs for both nodes. I am NOT using DNS setup.
IS it mandatory or highly recommended to configure different classes for Public and Private IP ?
>> IS this perfectly OK or Any changes are required ?
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.60 rac1.oel5.com rac1 192.168.212.61 rac2.oel5.com rac2
Dear Experts ,
I am managing Single Instance Oracle Database I have Installed Oracle RAC Database. To install RAC, We need to configure Public,Private and Virtual IPs for both nodes. I am NOT using DNS setup. IS it mandatory or highly recommended to configure different classes for Public and Private IP ? IS this perfectly OK or Any changes are required ?
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.60 rac1.oel5.com rac1 192.168.212.61 rac2.oel5.com rac2
When we set it up here we had the PUBLIC (individual node physical IPs), the VIPs and the SCAN IPs all in the same network (VLAN). Only the Private (interconnect IPs) were in a separate network.
The VIPs and SCAN IPs are virtual IPs that can float from one node to another so it is best to have them in the same VLAN as the nodes' main IPs. In a two node setup you would typically have one VIP on each node then 2 scan IPs on one node and the 3rd scan IP on the other node. In a failover the VIP and SCAN IPs on the node that went down will come up on the node that is still up so you'd end up with both VIPs and all 3 SCAN IPs on a single node and until you did fail back.
1) If i assign all IPs from same network,then any problem ?
2) Why do we need to specify different network for Private IP ?
>> On both nodes i assigned same network , but same time RAC configuration done - NO Problem.
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
# PUBLIC 192.168.233.42 rac1 rac1.oracle.com 192.168.233.43 rac2 rac2.oracle.com
Hi
1) If i assign all IPs from same network,then any problem ?
2) Why do we need to specify different network for Private IP ?
The private IPs are used for traffic between the RAC/GRID nodes only. As TB0ne points out the Oracle documentation has detail about this. Briefly the reason you want your Private IPs on a separate network is because it reduces the chance of issues due to other traffic on the same network. The documentation as I recall specifically suggests that you do this interconnect through a switch because direct connection is actually too fast.
Also just to note on the scan IPs - I'm not sure you can do those without DNS. The idea of scan IPs is that you tell any application that needs to reach the database the scan name and on doing lookup they will see the 3 IPs (in a 2 node setup) you assigned to scan and use any one of those. This is why the IPs failover when a node goes down.
From other servers do NOT point to your database via the VIP or Public (or Private which shouldn't be possible). Only point to it via the scan name. This insures things pointing to the database continue to work in failover.
Setting up RAC/GRID is non-trivial so you really do need to review the documentation before you start.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.