nv-l

Re: [nv-l] I want an easy move of NetView from AIX to Solaris

2004-05-20 03:28:26
Subject: Re: [nv-l] I want an easy move of NetView from AIX to Solaris
From: Jane Curry <jane.curry AT skills-1st.co DOT uk>
To: nv-l AT lists.us.ibm DOT com
Date: Thu, 20 May 2004 08:17:28 +0100
Hi Tom,
Not my script!! A different public-spirited citizen who prefers to remain anonymous. However, I did test it. You need to redirect the output of the script to a file, so the method would be:
ovmapdump -v > /tmp/ovmapdump.out            (this dumps the default map)
build_location.pl /tmp/ovmapdump.out > /tmp/location.conf
Check /tmp/location.conf
cd /usr/OV/conf
cp location.conf location.bak         (for safety)
cp /tmp/location.conf location.conf

Cheers,
Jane

Tom.Gebhart AT conagrafoods DOT com wrote:

Jane,

        Thanks for the info (and the fine public-spirit).  And thanks to the 
others here who have responded so quickly already as well.  I will collect 
everyone's suggestions and probably use them all as I move forward.

I downloaded the perl script but am having trouble getting the output.
        I ran the ovmapdump -v and directed the output to a cleverly named file 
in /tmp.  Then I ran the build_location_conf_pl /tmp/dump.tom and got the 
screen messages that indicate successful completion.  But I can't find the new 
location.conf.  I thought it might overwrite my old one, but no.

        What am I doing wrong?  Thanks again to all, Tom G.

-----Original Message-----
From: owner-nv-l AT lists.us.ibm DOT com [mailto:owner-nv-l AT lists.us.ibm DOT 
com]On
Behalf Of Jane Curry
Sent: Wednesday, May 19, 2004 1:41 PM
To: nv-l AT lists.us.ibm DOT com
Subject: Re: [nv-l] I want an easy move of NetView from AIX to Solaris


Hi Tom,
Please see inserts - and good luck!
Cheers,
Jane

Tom.Gebhart AT conagrafoods DOT com wrote:

Greetings all,

We are planning to move our NetView (currently v7.1.2 on AIX 4.3.3, ml10) to a new server. The current server can't support AIX 5.x.
The new server will be Solaris 2.8. I would like to upgrade NetView
to v7.1.4 at the same time. I have a case open with support for
help/advice but would like to get this group's help/advice as well.
 Q1 - Has anyone ever (successfully) migrated their databases
from AIX to Solaris? We have a lot of ipmap customizing that I would
like to keep in tact if possible.


I believe you have at least half a chance with moving your NetView database from AIX to Solaris - that's the only good possibility between different architectures - never actually tried it though...


Q2 - Would location.conf be any help if new discovery is required? I can't find any doc on how to create a location.conf of my current ipmap short of the tool some people call "vi" (I call it lots of other things whenever I have to use it).


If you can't get your databases over, I'd make sure I took netmon.seed, location.conf and lots of the other files in /usr/OV/conf. Your loaded up MIBs are in snmpmib / snmpmib.bin / snmpmib2 / snmpmib2.bin. Your SNMP data collection info is in snmpCol.conf and make sure you take mibExpr.conf if you use MIB expressions. If you use rulesets take the conf/rulesets directory and ESE.automation. Take communityNames.conf and ovsnmp.conf. Also take your oid_to_type and oid_to_sym (from conf/C) if you have done customisation of them. Take your TEC adapter file, tecint.conf if you use that and take your trap customisation file from C/trapd.conf.
If you don't have a location.conf there is a sample script on the
NetView Tivoli User Group website (donated by a public-spirited
citizen!) which creates a location.conf from your current
configuration. You will need to register on this website to download
but you should be able to inspect it easily at
http://www.nv-l.org/twiki/bin/view/Netview/LocationConf

Q3 - I could upgrade to v7.1.3 plus fixpack vice v7.1.4 plus fixpack. Any reason to NOT go with v7.1.4 on Solaris?


Don't know of any reasons not to go to 7.1.4. I've also had the 7.1.4 Fixpack 1 on my Solaris box for a week now and not found any new glitches - some of the new servmon / itmquery stuff has been fixed in the Fixpack.


Thanks in advance for any and all comments, Tom G.



*Tom Gebhart*
*Enterprise Technology Services*
*(402) 577-3677*





--
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 <jane.curry AT skills-1st.co DOT uk>.  All rights 
reserved.