Topic
  • 2 replies
  • Latest Post - ‏2013-03-20T08:55:42Z by SystemAdmin
SystemAdmin
SystemAdmin
1316 Posts

Pinned topic Help with hostname compare failed

‏2013-03-11T11:51:12Z |
Hi we have an issue with a CD connection attempting a pull initiating from an AIX box to get a file from a windows box. The error i am seeing is remote node not seen in the netmap but when i run a trace i get the following

03/11 11:05:08 00001894 SM > | | | | sdip_verify_addr entered
03/11 11:05:08 00001894 SM | | | | phone: 0x007B6B38
03/11 11:05:08 00001894 SM | | | | adj : 0x00B01E50
03/11 11:05:08 00001894 SM > | | | | | sdip_tcp_verify_addr entered
03/11 11:05:08 00001894 SM | | | | | Netmap Node: CD.AIX.XXXXXXXX
03/11 11:05:08 00001894 SM | | | | | getpeername returned: 10.245.4.160
03/11 11:05:08 00001894 SM | | | | | gethostbyaddr(peername: 10.245.4.160) returned: YYYYYYYYY.machine.test.group
03/11 11:05:08 00001894 SM | | | | | gethostbyname(netmap: XXXXXXXX.service.test.group) returned: XXXXXXXX.service.test.group
03/11 11:05:08 00001894 SM | | | | | hostname compare failed, host: YYYYYYYYY.machine.test.group, length: 31, netmap: XXXXXXXX.service.test.group
03/11 11:05:08 00001894 SM < | | | | sdip_tcp_verify_addr exited unsuccessfully
03/11 11:05:08 00001894 SM < | | | sdip_verify_addr: unsuccessful
03/11 11:05:08 00001894 SM > | | | | cd_error_set
03/11 11:05:08 00001894 SM | | | | msgid: LSMI012E
03/11 11:05:08 00001894 SM | | | | feedback: 0
03/11 11:05:08 00001894 SM | | | | rc: 8
Now when we ping XXXXXXXX.service.test.group we get 10.245.5.161
The netmap contains the DNS name of the server
DNS is XXXXXXXX.service.test.group
Physical server name is YYYYYYYYY.machine.test.group

where is this "getpeername returned: 10.245.4.160" getting its info from to return the 160 address when my CD box only knows about the DNS XXXXXXXX.service.test.group which resolves to the 161 address.
Is this soemthing the initiating server is passing to my server?
Updated on 2013-03-20T08:55:42Z at 2013-03-20T08:55:42Z by SystemAdmin
  • VolkerFriedrich
    VolkerFriedrich
    175 Posts

    Re: Help with hostname compare failed

    ‏2013-03-11T12:50:51Z  
    The getpeername IP address shows the source IP address derived directly from the incoming TCP/IP connection.
    Typically this means C:D UNIX is sending through a NIC on the AIX that owns this IP address (unless you're doing NAT).

    There are various ways to resolve this:

    • Configure C:D Windows to accept additional incoming addresses for the netmap.check.
    Add 10.245.4.160 or YYYYYYYYY.machine.test.group as Alternate Comminfo (Alternate Netmap-Checked addresses) to the netmap entry for your AIX node.

    • Configure C:D UNIX to always send from a particular IP address.
    If the system owns multiple IP addresses and you want C:D UNIX to only send from 10.245.5.161, then configure outgoing.address=10.245.5.161 in netmap.cfg in C:D UNIX.
  • SystemAdmin
    SystemAdmin
    1316 Posts

    Re: Help with hostname compare failed

    ‏2013-03-20T08:55:42Z  
    The getpeername IP address shows the source IP address derived directly from the incoming TCP/IP connection.
    Typically this means C:D UNIX is sending through a NIC on the AIX that owns this IP address (unless you're doing NAT).

    There are various ways to resolve this:

    • Configure C:D Windows to accept additional incoming addresses for the netmap.check.
    Add 10.245.4.160 or YYYYYYYYY.machine.test.group as Alternate Comminfo (Alternate Netmap-Checked addresses) to the netmap entry for your AIX node.

    • Configure C:D UNIX to always send from a particular IP address.
    If the system owns multiple IP addresses and you want C:D UNIX to only send from 10.245.5.161, then configure outgoing.address=10.245.5.161 in netmap.cfg in C:D UNIX.
    Thank you for this information.