|
The SNMP AM makes a high level 'gethostbyaddr' call which is resolved
by UCX. UCX determines where to look for the host information. Normally,
it should look in the local host database and if it could not find
the information, then only should it try accessing the BIND
server.
This problem has been mentioned by some other people. Hopefully,
the UCX folks will have this problem fixed in their next release.
Rahul.
|
| I don't know how this works on UCX, but on real Ultrix or OSF/1 systems
the search order is user settable via parameters in file /etc/svc.conf.
It is perfectly possible to specify bind then local as a search order
even though local,bind is more typical. Is this adjustable with UCX?
|
| I used the following register command to register my SNMP entity with Bind
Resolver disabled and a empty local host database, i.e. I have no registered
IpName in the local MIR.
MCC> REGISTER SNMP fullname ADDRESS IpAddress
I disabled the Bind Resolver during the registration process, because the Bind
Server has no entry for my SNMP entity.
Then I enabled Bind Resolver and did the following command:
MCC> TEST SNMP IpAddress
If I understand reply .1 correctly, the SNMP AM does a 'gethostbyaddr' call
each time there is a SNMP directive like REGISTER, TEST, SHOW, SET etc.
Does the above mcc "Ping" command invoke the ucx bind resolver?
I understand, why the SNMP AM does a 'gethostbyaddress' call during the
registration process.
What I don't understand at all, why the SNMP AM also should do a 'gethostbyaddr'
call after the entity is registered, i.e. has a registered fullname and an
IpAddress.
Regards,
Roland
|
|
RE -1
>>If I understand reply .1 correctly, the SNMP AM does a 'gethostbyaddr' call
>>each time there is a SNMP directive like REGISTER, TEST, SHOW, SET etc.
>>Does the above mcc "Ping" command invoke the ucx bind resolver?
>>I understand, why the SNMP AM does a 'gethostbyaddress' call during the
>>registration process.
>>What I don't understand at all, why the SNMP AM also should do a 'gethostbyaddr'
>>call after the entity is registered, i.e. has a registered fullname and an
>>IpAddress.
Whenever an IPAddress is specified in the TEST,SHOW, and SET commands,
the SNMP AM does a gethostbyaddress to resolve the host name. This is
done in a common initialization phase, although it may be argued
that the host name is not used at all and hence, need not be resolved.
It is true that the information is also stored in the name space for
a registered entity, but we end up looking for it in the Domain
Name Server.
The question is why should UCX look for the information in the BIND
server if it is present in the local host database? However, if
there is no entry at all for a particular host, a gethostbyaddress
will cause UCX to always go to the BIND server, since an entry will
not be found in the local database.
Rahul.
|