This discussion is archived
2 Replies Latest reply: Jul 11, 2012 3:45 AM by smaoz RSS

11gR2 RAC One VM Template Install fails to configure private network

VM_MySQL Newbie
Currently Being Moderated
created two virtual machines viha01, viha02 using OVM_OL5U7_X86_64_11203RA_PVM template. changes second virtual circuit to xenbr1
added xvdc-xvdg shared disks to both VMs
powered on both VMs, opened vncviewer sessions to complete template interview.
have netconfig.ini:
NODE1=viha01 NODE2-viha02
NODE1IP=10.172.164.201 NODE2-10.172.164.202
NODE1PRIV=viha01-priv NODE2-viha02-priv
NODE1PRIVIP=10.172.1.224 NODE2PRIVIP=10.172.1.226
NODE1VIP=viha01-vip NODE2VIP=viha02-vip
NODE1VIPIP=10.172.164.225 NODE2VIPIP=10.172.164.227
PUBADAP=eth0 PRIVADAP=eth1
PUBMASK=255.255.248.0 PRIVMASK=255.255.255.0
RACCLUSTERNAME=viha01c
DOMAINNAME=no.or.com
DNSIP=192.135.82.60
SCANNAME=viha01-scan
SCANIP=10.172.164.221

when i subsequently run /u01/app/buildcluster.sh
it fails indicating it can not reach viha02-priv.

at the prompt level, ifconfig eth1 shows
viha01:: HWaddr 00:16:3E:5D:5C:F0 inet addr: 10.172.1.224
viha02:: HWaddr 00:16:3E:5D:5C:F1 inet addr: 10.172.1.226

and as reported by buildcluster.sh, ping -I eth1 viha02-priv returns network unreachable, as does the reverse from viha02.

at the physical node level, i have two NICs configured, one is public, one private, comunicatino across the two networks work as expected.
the VM generated images however do not create the private network configuration so that it works. the public network configuration
works as expected.

i've tried reconfiguring the private netork by hand, as if i was just native h/w, in an attempt to discover the issue:: failure

the whole issue started when the private IP was 'accidently' registered with the generated MSC address in the local DNS to avoid Ip assignment conflicts. rebuilding from scratch with IP/MAC not registered in DNS have proved fruitless.

--thomas anderson                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
  • 1. Re: 11gR2 RAC One VM Template Install fails to configure private network
    smaoz Newbie
    Currently Being Moderated
    Thomas,

    I hope your netconfig.ini is different than what it appears on this post. It must be a valid 'bash' script, that gets sourced, so each line has a value with equalsign, no spaces, e.g.

    NODE1=viha01
    NODE2=viha02

    etc.

    I'm assuming this is OVM2? If so, then look at page 11 of 34 of this doc:

    http://www.oracle.com/technetwork/products/clustering/overview/rac11203-ovm-tmplt-test-config-439679.pdf

    Did you map the second nic to xenbr1?

    The templates cannot configure the network if the infrastructure is not setup right at dom0 level.

    You should provide vm.cfg and output from ifconfig.. but really, put the templates aside, this is really an OVM/configuration issue. For RAC to function, 2 nics are needed for each node, and pings should work on both of the NICs from all nodes to all nodes.

    Saar.
  • 2. Re: 11gR2 RAC One VM Template Install fails to configure private network
    smaoz Newbie
    Currently Being Moderated
    Logged on to environment, it was some wiring issue, not related to OVM or RAC Templates. Once wiring is fixed all works fine.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points