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

  • From: "Billy Verreynne (JW)" <VerreyB@xxxxxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 22 Jul 2005 07:51:48 +0200

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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
//www.freelists.org/webpage/oracle-l

Other related posts: