You can't get NetView to assign DNS hostnames to interfaces other than the
one which is the hostname for the box.. NetView only admits of one
hostname per node, the rest are just addresses. This is an architectural
restriction in the current database design. It has always been so. And
Interface cards are labeled either by their Interface Description (like tr0
or lan1), IP Address, or Physical Address. You can pick which of those
scheme's you want in Edit --> Modify/Describe --> Map --> Configure IP Map.
If you want to change a specific label then you can do that, right enough
but it is a manual process. You bring up the Node submap with the
interface card on it and right-click it, selecting Edit --> Modify/Describe
--> Symbol and change the label to anything you want. But there is no
automatic way to do this that I know of.
James Shanks
Team Leader, Level 3 Support
Tivoli NetView for UNIX and NT
"Stamper, Steve" <Steve_Stamper@foremost.com>@tkg.com on 06/22/2001
12:53:32 PM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
Sent by: owner-nv-l@tkg.com
To: "'IBM NetView Discussion'" <nv-l@tkg.com>
cc:
Subject: RE: [NV-L] Object Label
Ya but.... What if you have specific interfaces with labels in the DNS?
How can you get the interface to pickup the Name and not the IP Address?
Thanks² - Steve Stamper
-----Original Message-----
From: Davis, Donald [mailto:donald.davis@firstcitizens.com]
Sent: Friday, June 22, 2001 11:11 AM
To: 'IBM NetView Discussion'
Subject: RE: [NV-L] Object Label
Santosh,
Placing an entry in /etc/hosts will cause NetView to update the selection
name when the node is demand (or configuration) polled.
When you demand poll the node after putting the sysname in /etc/host, you
should see "New name found ...." in the output window.
The label of the node will change to this new name. The label of the
interface itself will Always be the IP Address.
I have been told that the label change may not happen immediately,
depending how busy NetView is doing other things.
This entry in /etc/hosts will cause the SelectionName and thus the label
to be updated with "SuperXyzRouter".
/etc/hosts
10.2.3.123 SuperXyzRouter # Comment
Be certain that you have an /etc/netsvc.conf file and it is configured
like this:
/etc/netsvc.conf
hosts=local,bind4
(The number after bind is the version of bind that you are running.)
If you have not configured /etc/resolv.conf for a nameserver, the
netsvs.conf file is not needed.
This will cause the OS to check /etc/hosts before going to DNS.
Don Davis
-----Original Message-----
From: z_esm_karekars [mailto:z_esm_karekars@bharatpetroleum.com]
Sent: Friday, June 22, 2001 4:00 AM
To: 'IBM NetView Discussion'
Subject: RE: [NV-L] Object Label
Hi Don,
Can U please be little clear on this, I could enter the Interface IP
addresses in /etc/hosts file locally ( Infact I had done it earlier but
could not work on that more that time. I tried demand poll after I did the
same which did not helped me) How will the interface pickup the Name from
hosts file then, please advice.
Regards,
Santosh
----------
From: Davis, Donald[SMTP:donald.davis@firstcitizens.com]
Reply To: IBM NetView Discussion
Sent: Thursday, June 21, 2001 7:47 PM
To: 'IBM NetView Discussion'
Subject: RE: [NV-L] Object Label
Santosh,
NetView does NOT do this natively (like HP OpenView does). NetView uses
only the resolved name.
The workaround is to write a script that does an SNMPGET for the
sysName and writes it to /etc/hosts so that NetView can resolve to that
insted of the DNS name. You will need to modify /etc/netsvcs.conf so
that local comes before bind.
Don Davis
-----Original Message-----
From: z_esm_karekars [mailto:z_esm_karekars@bharatpetroleum.com]
Sent: Thursday, June 21, 2001 9:59 AM
To: 'nv-l@tkg.com'
Subject: [NV-L] Object Label
Hi,
I had Netview 6.0.1 on AIX 4.3.3.
How can the Router Interfaces pick up the System Description
"RouterName:I/FName" in place of IP address which comes by default.
It's very very urgent.
Regards,
Santosh
------------------------------------------------------------------------------
This electronic mail and any files transmitted with it are confidential
and are intended solely for the use of individual or entity to whom
they are addressed. If you are not the intended recipient or the person
responsible for delivering the electronic mail to the intended
recipient, be advised that you have received this electronic mail in
error and that any use, dissemination, forwarding, printing, or copying
of this electronic mail is strictly prohibited. If you have received
this electronic mail in error, please immediately notify the sender by
return mail.
==============================================================================
|