This discussion is archived
9 Replies Latest reply: Oct 7, 2012 8:44 PM by 871977 RSS

Host names from multiple domains entered

871977 Newbie
Currently Being Moderated
Hi all,

I'm installing clusterware in 2 nodes.

I received this error

Please see this link: http://nr6.upanh.com/b4.s32.d1/3d5583180def782cc0e4dc727ef76c8d_49752646.error.png


My installation info:

Node1:
IP: 192.168.1.110/24
[root@host1 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.


127.0.0.1 host1.localdomain localhost


Node2:
IP: 192.168.1.111/24
[root@host2 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.


127.0.0.1 host2.localdomain localhost


My DNS file on DNS Server :

[root@gnsserver ~]#cat /var/named/chroot/var/named/1.168.192.in-addr.arpa
$TTL 86400
@ IN SOA localhost root(
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS localhost
localhost IN A 127.0.0.1
host1 IN A 192.168.1.110
host2 IN A 192.168.1.111
host3 IN A 192.168.1.112
host1-priv IN A 192.168.0.110
host2-priv IN A 192.168.0.111
host3-priv IN A 192.168.0.112
host1-vip IN A 192.168.1.120
host2-vip IN A 192.168.1.121
host3-vip IN A 192.168.1.122
cluster01-scan.cluster01 IN A 192.168.1.230
cluster01-scan.cluster01 IN A 192.168.1.231
cluster01-scan.cluster01 IN A 192.168.1.232
cluster01-gns IN A 192.168.1.150


[root@gnsserver ~]#cat /var/named/chroot/var/named/1.168.192.in-addr.arpa

$ORIGIN 1.168.192.in-addr.arpa.
$TTL 1H
@ IN SOA maggie.gnsserver. root.gnsserver. ( 2
3H
1H
1W
1H )
1.168.192.in-addr.arpa. IN NS maggie.gnsserver.
110 IN PTR host1.example.com.
111 IN PTR host2.example.com.
112 IN PTR host3.example.com.
120 IN PTR host1-vip.example.com.
121 IN PTR host2-vip.example.com.
122 IN PTR host3-vip.example.com.
230 IN PTR cluster01-scan.cluster01.example.com.
231 IN PTR cluster01-scan.cluster01.example.com.
232 IN PTR cluster01-scan.cluster01.example.com.
150 IN PTR cluster01-sns.example.com.

Please help.

Thank you.

Edited by: Dan on 08:32 04-10-2012
  • 1. Re: Host names from multiple domains entered
    mseberg Guru
    Currently Being Moderated
    Dan

    I believe your public hostname is on different domain than hostname.

    Example:

    node1.us.yourhost.com is hostname but node1.at.yourhost.com is selected for public hostname

    There's also a section in this oracle note :

    TOP Note: Solutions for Typical 11gR2 Grid Infrastructure/RAC Database runInstaller Issues [ID 1056713.1]


    Best Regards

    mseberg

    Edited by: mseberg on Oct 4, 2012 11:57 AM
  • 2. Re: Host names from multiple domains entered
    Levi-Pereira Guru
    Currently Being Moderated
    Hi,

    [root@host1 ~]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 host1.localdomain localhost
    [root@host2 ~]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 host2.localdomain localhost
    110 IN PTR host1.example.com.
    111 IN PTR host2.example.com.
    Put here output of "$ hostname";

    Try remove the hostname/domain from /etc/hosts

    Try use:
    127.0.0.1               localhost.localdomain localhost 
    ::1             localhost6.localdomain6 localhost6
    or use this:
    127.0.0.1               localhost.localdomain localhost  <hostname> ##without domain
    ::1             localhost6.localdomain6 localhost6  <hostname> ##without domain
    Edited by: Levi Pereira on Oct 4, 2012 3:48 PM
  • 3. Re: Host names from multiple domains entered
    onedbguru Pro
    Currently Being Moderated
    You MUST put all IP addresses for all nodes and all VIPS correctly in the /etc/hosts file, not just in DNS. The only exception is the SCAN.
  • 4. Re: Host names from multiple domains entered
    Levi-Pereira Guru
    Currently Being Moderated
    Configure IP address on host file is mandatory only to manual IP address configuration.
    Is not explicit, but I believe he is using GNS. When using Grid Naming Service these IP's are resolved by GNS (except GNS VIP which is resolved by DNS).
  • 5. Re: Host names from multiple domains entered
    871977 Newbie
    Currently Being Moderated
    Hi Levi Pereira,

    My hostname as below:

    [root@host1 ~]# echo $HOSTNAME
    host1.localdomain

    I defined in /etc/hosts as you suggested but still got the same error.

    Thank you.
  • 6. Re: Host names from multiple domains entered
    871977 Newbie
    Currently Being Moderated
    Hi mseberg,

    Please advise me more on this.

    Thank you.

    Dan.
  • 7. Re: Host names from multiple domains entered
    mseberg Guru
    Currently Being Moderated
    Sorry for delay Dan;


    Issue

    Vip and Public hostnames are on different sub domains ( [INS-40909] )


    Example



    The following is an example on a two-node Linux system:

    [aultlinux1]/etc> more /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    138.1.137.45 aultlinux1.acme.com aultlinux1
    138.1.137.46 aultlinux2.acme.com aultlinux2
    192.168.0.10 int-aultlinux1.acme.com int-aultlinux1
    192.168.0.20 int-aultlinux2.acme.com int-aultlinux2
    138.1.137.25 aultlinux1-v.acme.com aultlinux1-v
    138.1.137.26 aultlinux2-v.acme.com aultlinux2-v
    127.0.0.1 aultlinux1 localhost.localdomain localhost

    In this example, the int-* addresses are private and the *-v addresses are for the virtual IP's.

    To identify the interface name and associated IP address for every network adapter, the following command can be entered:

    # /sbin/ifconfig -a
    ...or /usr/bin/netstat -in on HP-UX
    ...or ipconfig on Windows

    The virtual IP's do not have to be added to IFCONFIG. This is because the VIPCA takes care of it.

    Best Regards

    mseberg
  • 8. Re: Host names from multiple domains entered
    Levi-Pereira Guru
    Currently Being Moderated
    DNS and DHCP Setup Example for Grid Infrastructure GNS [ID 946452.1]

    Or

    Follow this setup:
    http://gjilevski.files.wordpress.com/2011/10/build-two-node-oracle-rac-11gr2-11-2-0-3-with-gns-dns-dhcp-and-haip1.pdf
  • 9. Re: Host names from multiple domains entered
    871977 Newbie
    Currently Being Moderated
    Hi Levi Pereira,

    Thanks for your suggestiong: Put here output of "$ hostname";

    My result after echo $HOSTNAME: host1.localdomain and i fixed and echo $HOSTNAME: result is: host1.example.com.

    I worked for me.

    Thank you!

Legend

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