• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 582
  • Last Modified:

RAC VMWARE IP setup

I have windows 7 with vmware server
I want to assigen th publice and private IP as per
http://www.oracle-base.com/articles/11g/OracleDB11gR1RACInstallationOnOEL5UsingVMwareServer2.php

when I do ipconfig from the host

Windows IP Configuration


Ethernet adapter Local Area Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::dfb:9859:bdbe:da2c%11
   IPv4 Address. . . . . . . . . . . : 192.168.1.64
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

Ethernet adapter VMware Network Adapter VMnet1:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::c9ed:b7a1:4cb5:ca03%16
   IPv4 Address. . . . . . . . . . . : 192.168.216.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet8:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::4181:6879:8104:b90%18
   IPv4 Address. . . . . . . . . . . : 192.168.222.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :


what should I use as IP's here on my rac setup.

thanks
0
it-rex
Asked:
it-rex
  • 4
  • 4
  • 2
2 Solutions
 
slightwv (䄆 Netminder) Commented:
Use whatever ip addresses you want.  The 192.168 range is a reserved range for local networks.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
For RAC, you need 3 sets of IPs and you need 2 sets of ethernet interfaces.

1) The public, stationary IPs for the "RAC service" that Oracle clients see remotely. (eth0)
2) The public VIP (cluster IPs) that migrate between RAC nodes in case of failure. (eth0)
3) The private, heartbeat IP addresses (interconnect) that the Oracle clusterware / RAC instances uses between nodes. These are not visible externally (or don't have to be). (eth1)

I would follow these guides
http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php
 http://www.puschitz.com/InstallingOracle10gRAC.shtml

For the guide you are using:

# Public
192.168.2.101   rac1.localdomain        rac1
192.168.2.102   rac2.localdomain        rac2
#Private
192.168.0.101   rac1-priv.localdomain   rac1-priv
192.168.0.102   rac2-priv.localdomain   rac2-priv
#Virtual
192.168.2.111   rac1-vip.localdomain    rac1-vip
192.168.2.112   rac2-vip.localdomain    rac2-vip


So for example:
Set one subnet to 192.168.0.0 / 255.255.255.0
Set second subnet to 192.168.2.0 / 255.255.255.0

0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
if you want to assign the IP addresses as per document, you will need to run the Network Setup and change the IP addresses to match vmnet1 and vmxnet8

see here

http://www.carbonwind.net/VMware/VMwareServerNetworkingOptions/VMwareServerNetworkingOptions.htm
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
it-rexAuthor Commented:
so without changing network setup will this work?


# Public
192.168.216.101   rac1.localdomain        rac1
192.168.216.102   rac2.localdomain        rac2
#Private
192.168.222.101   rac1-priv.localdomain   rac1-priv
192.168.222.102   rac2-priv.localdomain   rac2-priv
#Virtual
192.168.216.111   rac1-vip.localdomain    rac1-vip
192.168.216.112   rac2-vip.localdomain    rac2-vip

0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
yes.
0
 
it-rexAuthor Commented:
Great
now back to my Q
@ this link
http://www.oracle-base.com/articles/11g/OracleDB11gR1RACInstallationOnOEL5UsingVMwareServer2.php

if you look when he was installing vmware server vmnetx was assigened to different ip networks
search the doc for

192.168.130.0
and
192.168.129.0

then he started to use

# Public
192.168.2.101   rac1.localdomain        rac1
192.168.2.102   rac2.localdomain        rac2
#Private
192.168.0.101   rac1-priv.localdomain   rac1-priv
192.168.0.102   rac2-priv.localdomain   rac2-priv
#Virtual
192.168.2.111   rac1-vip.localdomain    rac1-vip
192.168.2.112   rac2-vip.localdomain    rac2-vip


Does this mean he has changed these ip's for VMNETx,without mentioning this here in the doc?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
It's possible that he did this, but he may have decided it was easier to statically allocate everything, and not use DHCP, and if he did not use DHCP he would not have got the IP addresses 192.168.130.0
and 192.168.129.0.

So I would follow his lead and use static IP addresses.
0
 
slightwv (䄆 Netminder) Commented:
>>if you look when he was installing vmware server
Look at the text for those subnets:  Probing for an unused private subnet (this can take some time)...

That was just the software going out and 'checking' for an unused subnet.

They just chose to use a different one.  The subnets you use is up to you.

0
 
it-rexAuthor Commented:
@slightwv:
I have confirmed from Tim Hall at his forum;and the subnet I should use for Public and the VIP
should be on the same subnet as my physical machine if I will be using his approach of doing both as Bridged networks.
at this case
192.168.1.x

and for private something disfferent like
192.168.3.X.

====================

the other doc with the rac attack is not using brideged for both so he is using whatever is for vmnetx
1 for each public and private.

So if you follow Tim Hall doc and you do not make sue that the ip range you use is in your IPconfig outout of subnet it will fail.

thanks
0
 
it-rexAuthor Commented:
thanks all
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 4
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now