Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Multiple Virtual IP Addresses in 10g RAC on Linux

RE: Multiple Virtual IP Addresses in 10g RAC on Linux

From: Billy Verreynne (JW) <VerreyB_at_telkom.co.za>
Date: Fri, 22 Jul 2005 07:51:48 +0200
Message-ID: <445F36B0271AE1419CEE0B9589044B43374791@TYGRRA01-XCS00.telkom.co.za>

Dubovecky, Jeffrey P wrote:

> I'm looking for assistance in configuring multiple virtual IP
addresses for
> my Linux Oracle 10g RAC environment.

Two interfaces, eth0 and eth1, I assume? Having a 2nd VIP on a single interface does not make sense as it does not provide any failover.

A VIP is nothing but a second IP stack on the interface. Interestingly, this was also possible back in Win95. Though I'm not sure if this was a Microsoft feature, or a bug that really worked well. ;-)

To add a protocol stack to an interface, you use the ifconfig command. In it's most basic form:
# ifconfig eth0:1 10.0.0.1

A VIP has been added.

To add another one (which will be useless for failover): # ifconfig eth0:2 10.1.1.1

To list what you have done:
# ifconfig

Do a manpage on ifconfig for additional configuration details. Of course, you also need to make this config change permanent. In the RAC environment, I believe this is done dynamically by CRS as there is no config file entry in /etc/sysconfig/network-script for the VIP.. exactly how to add another VIP to CRS, I'm not sure (dig around its conf files). However, to emulate that (taking over a VIP of a node that fails) can be bash'ed together in a few minutes.

--
Billy

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
http://www.freelists.org/webpage/oracle-l
Received on Fri Jul 22 2005 - 00:53:55 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US