I have worked through this and I think I figured out what was wrong.
I had my location.conf file created by our DNS group becuase they
tracked the IP addresses that are used at each location. They created
this file in Notepad on a Windows NT PC. I then cleaned it up a
little, again on a PC. Then, I copied the file to our AIX box via ftp.
when looking at it with VI, everything looked great, but all locations
were still not being created.
I wanted my locations to be created in alphabetical order, so I
decided to alphabetize the location.conf file. To do this, I edited
the location.conf in Microsoft Excel and sorted by location name. I
then saved it as a text file and copied it back to the AIX box. When I
opened it in VI, I saw a bunch of special charaters that Excel put in
the file. That made me think could there be special characters that
Notepad put in the file, that VI couldn't display, that were hosing up
my object creation.
So, I have a Windows based UNIX file editor that I pulled the
alphabetized location.conf into. I saved the file in UNIX format and
then copied it back to the AIX box. Everything works fine now!
Just wanted to give an update in case someone else comes across a
similar problem,
______________________________ Reply Separator _________________________________
Subject: [NV-L] More Location.conf woes
Author: "IBM NetView Discussion" <nv-l@tkg.com> at smtplink
Date: 11/29/00 11:22 AM
Thank you for all of the help you have given me the last couple
of months with Netview. I really appreciate it! I am fairly new to
Netview and so I have a lot questions. The mailing list has really
helped me out.
I have been working with Tivoli support on a problem I have with the
location.conf file. They have fixed the problem in 6.0.1 and my
locations are all created successfully now.
The problem I am having is that only a few of the networks get placed
in their correct location container when I do a mapgen. Some networks
end up in locations that they shouldn't be in and most of them just
end up on the IPMap.
Here is a snippet of my location.conf file:
North_East 0 Site
South_East 0 Site
North_West 0 Site
South_West 0 Site
North_Central 0 Site
South_Central 0 Site
JFK007 10.157.192.0-7 Site North_East
JFK007 10.128.0.24-27 Site North_East
JFK007 10.128.2.128-175 Site North_East
JFK003 10.157.192.8-15 Site North_East
JFK003 10.128.0.40-43 Site North_East
JFK003 10.128.3.128-175 Site North_East
JFK005 10.157.192.16-23 Site North_East
JFK005 10.128.0.48-51 Site North_East
JFK005 10.128.4.0-47 Site North_East
JFK001 10.157.192.72-79 Site North_East
JFK001 10.128.0.72-75 Site North_East
JFK001 10.128.10.0-127 Site North_East
JFK031A 10.157.192.24-31 Site North_East
JFK031A 10.128.0.80-83 Site North_East
JFK031A 10.128.16.0-255 Site North_East
JFK032A 10.157.192.88-95 Site North_East
JFK032A 10.128.0.88-91 Site North_East
Notice I have 6 parent locations. After that I have about 3000 lines
of nested locations that are formatted exactly like what you see. My
question is, are my IP ranges formatted correctly? In the manual, they
only specify the range up to the third octet of the IP address. Is it
ok to use the fourth octet if you are subnetting at that level?
I would appreciate any comments you might have on how I could improve
this process. I am discovering the network in pieces via the seedfile
per you recommendations and that works great! This location stuff is
holding me up a little though.
Thanks again!
Chance
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|