This script creates a location.conf file based on
customization you did to the map (so you can reproduce it later) If you haven't
customized your map, this program does nothing.
If you have no locations defined, you haven't done any
customization, I think is where Paul is headed. Or you used a symbol other than
location for your containers.
Do you mean you have to:
1- have your predifine "Location" in the location.conf
2- run the script
3- then replace the old location.conf by the newly created
location.conf
Q1: Does this mean this script cannot be used for a not partitioned
Map?
Paul <pstroud@bellsouth.net> wrote:
Scott, I
got the file and looking at the script it is looking for a "Location"
keyword.
A grep of your file shows no match for "Location". What
are some of the names of the Locations on your map. I will take a look
and see what kind of identifier they have with
them.
Paul
Bursik, Scott {PBSG}
wrote:
>Yes. > > >Scott
Bursik >Enterprise Systems Management >PepsiCo Business
Solutions Group >(972)
963-1400 >scott.bursik@pbsg.com > >-----Original
Message----- >From: Paul [mailto:pstroud@bellsouth.net] >Sent:
Monday, May 24, 2004 12:37 PM >To:
nv-l@lists.us.ibm.com >Subject: Re: [nv-l]
build_location.pl > >Do you have locations on your map
currently? > >Paul > > >Meyos Yemveng
wrote: > > > >! ;>I indeed included the
redirection operator ">" >> >>*/Jane Curry
/* wrote: >> >>
Meyos, >> Can I just check you have the correct syntax here - you
need to >> redirect >> the output from the mapdump command
so you should have: >> ovmapdump -v >
ovmapdump.out >> >> The ">" is the redirection
operator. >> >> Cheers, >>
Jane >> >> Meyos Yemveng wrote: >> >>
> Certain I used ovmapdump -v ovmapdump.out >> > >>
> what OS and perl version are you having succes with? >>
> >> > */Paul /* wrote: >> > >> > Are
you sure you used ovmapdump and not ovtopodump? >> > You must
use the mapdump for it work properly. Take a >> > look at your
output from ovmapdump and make sure it is >> >
readable. >> > >> > Paul >>
> >> > >> > Meyos Yemveng wrote: >>
> >> > > I am having the same problem with the same
version .... >> > > Running on: >> > > 1-
Solaris 9 , Perl 5.6.1 >> > > 2! - Solaris 8, Perl
5.005_03 >> > > >> > > It only prints the
following: >> > > # location.conf file was autogenerated on
Friday May 21 17:48:01 >> > GMT 2004. >> > > #
Script completed processing on Friday May 21 17:48:05 GMT 2004 >>
> > >> > > >> > > */Paul /*
wrote: >> > > >> > > Scott, >> >
> Can you give a better description? What exactly is your
problem. >> > > I have used the script a number of times with
no problems on >> > > different versions of perl across
several platforms. What are >> > &! gt; you running into
thats causing a problem? >> > > >> > >
Paul >> > > >> > > >> >
> >> > > Bursik, Scott {PBSG} wrote: >> >
> >> > > > Actually the version I downloaded
from >> > > > >> > > >
http://www.nv-l.org/twiki/bin/view/Netview/LocationConf >> >
> > >> > > > was the version with the function and I
have the problem. >> > > > >> > >
> >> > > > >> > > > >> >
> > >> > > > Scott Bursik >> > >
> >> > > > Enterprise Systems Management >>
> > > >> > > > PepsiCo Business Solutions
Group >> > > > >> > > > (972)
963-1400 >> > > > >> > > >
scott.bursik@pbsg.com >> > > > >> > >
> >> > > >> > >> >>
>> >------------------------------------------------------------------------ >
> >> > > > >> > > > *From:* Barr,
Scott [mailto:Scott_Barr@csgsystems.com] >> > > > *Sent:*
Friday, May 21, 2004 3:55 PM >> > > > *To:*
nv-l@lists.us.ibm.com >> > > > *Subject:* RE: [nv-l]
build_location.pl >> > > > >> > ! >
> >> > > > >> > > > The new version I
have not yet posted uses that function. I >> > > > just
haven't had a time to post it to the NetView web home. Good >> >
> catc! h >> > > > Ray - thanks. >> > >
> >> > > > >> > > > >> >
> > >> > > >> > >> >>
>> >------------------------------------------------------------------------ >
> >> > > > >> > > > *From:*
owner-nv-l@lists.us.ibm.com >> > > >
[mailto:owner-nv-l@lists.us.ibm.com] *On Behalf Of >> > >
> *ray.smith@clorox.com >> > > > *Sent:* Friday, May
21, 2004 3:46 PM >> > > > *To:*
nv-l@lists.us.ibm.com >> > > > *Subject:* RE: [nv-l]
build_location.pl >> > > > >> > >
> >> > > > The problem of empty output is caused by the
readline >> function, a >> > > > seldom used Perl
function that apparently behaves differently in >> > > >
different versions of Perl. If you replace all instances of >> >
> > "rea! dline ($_! [0])" with "", the script should work
fine >> > > > ! in any version (or at least version 4 or
better, which is >> > all I've >> >! ; > >
ever worked with) of Perl. >> > > > >> > >
> >> > > > Ray Smith >> > > > IS
Engineer >> > > > The Clorox Services Company >>
> > > 925-425-4363 >> > > > >> > >
> >> > > > >> > > > >> >
> > >> > > > *"Bursik, Scott {PBSG}" * >>
> > > Sent by: owner-nv-l@lists.us.ibm.com >> > >
> >> > > > 05/21/2004 01:02 PM >> > >
> Please respond to nv-l >> > > > >> > >
> >> > > > >> > > > >> >
> > To: "'nv-l@lists.us.ibm.com'" >> >! ; > >
cc: >> > > > Subject: RE: [nv-l]
build_location.pl >> > > > >> > >
> >> > > > >> > > > >> >
> > Just for the record, I had the same problem and my perl
is >> at 5.6 >> > > > on AIX 4.3.3. >>
> > > >> > > > >> > > > Scott
Bursik >> > > > Enterprise Systems Managemen!
t >> > > > PepsiCo Business Solutions Group >>
> > > >> > > > >> > >
> >> > > > >> > > > >> >
> >> > >> >>
>> >------------------------------------------------------------------------ >
> >> > > > >> > > > >>
> > > *From:* Barr, Scott [mailto:Scott_Barr@csgsystems.com]
* >> > > > Sent:* Friday, May 21, 2004 2:46
PM* >> > > > To:* nv-l@lists.us.ibm.com* >> >
> > Subject:* RE: [nv-l] build_location.pl >> > >
> >> > > > I think 5.6 should work. I am on solaris 2.8
and had the issue >> > > > with PERL 5.05. Let me research
a bit and I'll post a response >> > here. >> > >
> >> > > > >> > > > >> >
> > >> > > > >> > > > >>
> > >> > >> >>
>> >------------------------------------------------------------------------ >
> >> > > > >> > > > >>
> > > *From:* owner-nv-l@lists.us.ibm.com >> >! ; >
> [mailto:owner-nv-l@lists.us.ibm.com] *On Behalf Of *Meyos >>
Yemveng* >>! ; > > > Sent:* Friday, May 21, 2004 2:28
PM* >> > > > To:* nv-l@lists.us.ibm.com* >> >
> > Subject:* RE: [nv-l] build_location.pl >> > > >
I am runn! ing perl v5.6.1 on Solaris 9 ... >> > > > Q:
what version is recommended? >> > > > >> >
> > >> > > > */ >> > > > "Barr,
Scott" /* wrote: >> > > > Your PERL version may be a
factor. Can you check what >> version you >> > >
> are using? >> > > > >> > > > perl
-version will tell you >> > > > >> > >
> >> > > > >> > > > >> >
> > >> > > >> > >> >>
>> >------------------------------------------------------------------------ >
> >> > > > >> > > > >>
> > > *From:* owner-nv-l@lists.us.ibm.com >> > >
> [mailto:owner-nv-l@lists.us.ibm.com] *On Behalf Of *Meyos >>
Yemveng* >> > >! ; > Sent:* Friday, May 21, 2004 1:20
PM* >> > > > To:* netview Tivoli* >> > >
> Subject:* [nv-l] build_location.pl >> > > > Hi
Folks, >> > > > I downloaded the build_location.pl
script >> > > > I then ran: >> > > >
ovmapdump -v > /tmp/ovmapdump.out >> > > >
build_location.pl /tmp/ovmapdump.out > /tmp/location.conf >>
> > > >> > > &g! t; my ovmapcount.out is about
7026770 bytes >> > > > my location.conf file generated is
141 bytes with only the >> > > > following
lines: >> > > > >> > > > # location.conf
file was autogenerated on Friday May 21 17:48:01 >> > > >
GMT 2004. >> > > > # Script completed processing on Friday
May 21 17:48:05 GMT 2004 >> > > > >> > >
> Q1: Any idea on what I did wrong? >> > > > Q2: Any
suggestions? >> > > > >> > >
> >> > > > >> > > > Thank
You, >> > ! > > Meyos >> > > > "ALLEZ
LES LIONS INDOMPTABLES" >> > > > >> > >
> >> > > > >> > > > >> >
> >> > >> >>
>> >------------------------------------------------------------------------ >
> >> > > > >> > > > >>
> > > Post your free ad now! *Yahoo! Canada Personals* >>
> > > >> > > > >! ;> > >
> >> > > > Thank You, >> > > >
Meyos >> > > > "ALLEZ LES LIONS INDOMPTABLES" >>
> > > >> > > > >> > >
> >> > > > >> > > >>
> >> >>
>> >------------------------------------------------------------------------ >
> >> > > > >> > > > >>
> > > Post your free ad now! *Yahoo! Canada Personals* >>
> > > >> > > > >> > > >>
> > >> > > >> > > Thank You, >>
> > Meyos >> > > "ALLEZ LES LIONS
INDOMPTABLES" >> > > >> > > >> >
> >> > >> >>
>> >------------------------------------------------------------------------!
> > >> > > Post your free ad now! *Yahoo!
Canada Personals* >> > > >> > >>
> >> > >> > Thank You, >> >
Meyos >> > "ALLEZ LES LIONS INDOMPTABLES" >>
> >> > >> > >> >>
>> >------------------------------------------------------------------------ >
> >> > Post your free ad now! *Yahoo! Canada
Personals* >> > >> >> >> --
>> Tivoli Certified Consultant & Instructor >> Skills
1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU, UK >> Tel: +44
(0)1628 782565 >> Copyright (c) 2004 Jane Curry . All rights
reserved. >> >> >> >>Thank
You, >>Meyos >>"ALLEZ LES LIONS
INDOMPTABLES" >> >> >>------------------------------------------------------------------------ >>Post
your free ad now! *Yahoo! Canada Personals* >> >> >> > > >
>
Thank You, Meyos "ALLEZ LES LIONS
INDOMPTABLES"
Post your free ad now! Yahoo!
Canada Personals
|