Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Multihomed Install
dg wrote:
> I am trying to do a new install (10g on Sun V480 running Solaris 10) on
> a multihomed machine. It has two IP addresses.
>
> According to the documentation, as I am aware of and understand it, if
> the ORACLE_HOSTNAME env var is not set, the first entry in the
> /etc/hosts file is used.
>
> I did both-- I made sure that the host name I desired to use preceded
> the second host name in the /etc/hosts file, and I also set and
> exported ORTACLE_HOSTNAME. At the end of the install, OUI displays the
> URLs of the installed J2EE apps (iSQLPlus and iSQLPlus DBA) and it
> shows the wrong host name. That is, it used the host name which
> appeared second in the /etc/hosts file, as well as seeming to ignore
> the ORACLE_HOSTNAME env var.
>
> Does anyone have any tips for installing Oracle on a multihomed
> machine?
>
> Thank you.
>
> DG
Without a bit of context it is hard to tell what you did and what isn't doing what you want it to do.
Here's a typical, for me, /etc/hosts file
#Public Physical Port Addresses
192.168.1.211 alpha1.psoug.org alpha1 192.168.1.212 alpha2.psoug.org alpha2 192.168.1.221 beta1.psoug.org beta1 192.168.1.222 beta2.psoug.org beta2 192.168.1.231 gamma1.psoug.org gamma1 192.168.1.232 gamma2.psoug.org gamma2 192.168.1.241 delta1.psoug.org delta1 192.168.1.242 delta2.psoug.org delta2 192.168.1.213 alpha3.psoug.org alpha3 192.168.1.214 alpha4.psoug.org alpha4 192.168.1.223 beta3.psoug.org beta3 192.168.1.224 beta4.psoug.org beta4 192.168.1.233 gamma3.psoug.org gamma3 192.168.1.234 gamma4.psoug.org gamma4
# Private Interconnect Addresses
10.0.1.1 node1_alpha 10.0.1.2 node2_alpha 10.0.2.1 node1_beta 10.0.2.2 node2_beta 10.0.3.1 node1_gamma 10.0.3.2 node2_gamma 10.0.4.1 node1_delta 10.0.4.2 node2_delta 10.0.1.3 node3_alpha 10.0.1.4 node4_alpha 10.0.2.3 node3_beta 10.0.2.4 node4_beta 10.0.3.3 node3_gamma 10.0.3.4 node4_gamma
# Shared Storage NetApp NAS Server
192.168.2.200 netapp1 192.168.1.200 netappweb 192.168.2.201 ntap270a 192.168.2.202 ntap270b
# Oracle VIP Addresses
192.168.1.11 vipalpha1.psoug.org vipalpha1 192.168.1.12 vipalpha2.psoug.org vipalpha2 192.168.1.21 vipbeta1.psoug.org vipbeta1 192.168.1.22 vipbeta2.psoug.org vipbeta2 192.168.1.31 vipgamma1.psoug.org vipgamma1 192.168.1.32 vipgamma2.psoug.org vipgamma2 192.168.1.41 vipdelta1.psoug.org vipdelta1 192.168.1.42 vipdelta2.psoug.org vipdelta2 192.168.1.13 vipalpha3.psoug.org vipalpha3 192.168.1.14 vipalpha4.psoug.org vipalpha4 192.168.1.23 vipbeta3.psoug.org vipbeta3 192.168.1.24 vipbeta4.psoug.org vipbeta4 192.168.1.33 vipgamma3.psoug.org vipgamma3 192.168.1.34 vipgamma4.psoug.org vipgamma4192.168.1.43 vipdelta3.psoug.org vipdelta3 192.168.1.44 vipdelta4.psoug.org vipdelta4
# PSOUG Class Support Addresses
192.168.1.251 red.psoug.org red 192.168.1.252 blue.psoug.org blue 192.168.1.51 vipred.psoug.org red 192.168.1.52 vipblue.psoug.org blue
And it works just fine. What you you doing differently?
-- Daniel A. Morgan http://www.psoug.org damorgan_at_x.washington.edu (replace x with u to respond)Received on Tue Apr 11 2006 - 16:27:48 CDT