I hesiate to reply to this at all because, unless you have written your own
map update program similar to ipmap, what you are doing here is not
supported. I am surprised you or someone in your organization is not
calling Support and complaining that the status of the objects on your
custom maps is incorrect. This is because ipmap only synchronizes the IP
Internet map. If you want him to synchronize your stuff, then your maps
have to be submaps of ipmap, not of the root map. One way out of this I
have seen some people use is to rebuild them frequently because the status
will be correct at build time if it is taken from the topology database.
But that is a kludge.
Be that as it may, your question was "how can I tell what submaps my
servers are on?". The answer I believe is ovmapdump. You will not find
this info in the object database nor the topology database; it is unique to
your map. That is why you must do a map dump. Since submaps are known
internally by number your would have to do 2 greps -- one with the submap
name to find its number and one for the number to find everything that is
on it. Like this:
Suppose my submap was named "Chicago". My first command would be:
ovmapdump -m <mapname> | grep Chicago
This should return something like this:
Symbol 123456 Chicago Shared 485833 Point-to-Point
(the 485833 is the parent of this submap and its layout is point-to-point).
The next command would be
ovmapdump -m <mapname> | grep 123456
This would return the preceding entry plus entries of each of the icons and
connections on that submap.
Hope this helps
James Shanks
Tivoli (NetView for UNIX) L3 Support
gorans@US.IBM.COM on 06/16/98 11:06:38 AM
Please respond to NV-L@UCSBVM.UCSB.EDU
To: NV-L@UCSBVM.UCSB.EDU
cc: (bcc: James Shanks)
Subject: NetView DataBase Dump of the Specific SubMaps
Hey Dave, what do you think about this. Make corrections in blue!
Hi,
my question may be off in a tangent but someone may have delt with a
similar problem before. This has to do with the management of servers that
NetView monitors. First of all, in NetView we copy the servers from an
Internet map to the custom maps that make it easier for Operations to
locate down servers once they are paged. So we have around 1500 servers
that are split in their subnets on the Internet map and also on the custom
maps they are logically ordered in geographical and their meaning submaps.
Question:
The question is whether or not is it possible to get a list of servers
(through a database dump such as 'ovtopodump') that are located in those
custom maps and submaps which we created to order servers logically rather
then by subnets as it is done on the IP map? When I say "list" I mean like
a flat file. I would use this file then to identify if all servers and in
the right place, I would prefer to do it with a script, comparing this
database file against customer assigned file, instead of manually verifying
from each map since there is a number of them.
Attempts:
I tried using ovtopodump or ovmapdump and all I would get is a list of
servers that had no relation to submaps.
Does anybody have any ideas on how to talk to the database to retrieve this
specific information???
Thanks,
Goran
---------------------------------------------------------------------------
--------------------------
Goran Saradzic - IBM Global Services Network Management Group
email: gorans@us.ibm.com phone: (303)
924-2444
|