Skip to main content

developerWorks >  Tivoli  >  Forums  >  Netcool OMNIbus  >  developerWorks

OMNIbus v7.2.1.1: nco_confpack - Unable to import external file error    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 1 - Pages: 1 - Last Post: Nov 6, 2009 7:28 PM Last Post By: Daniel Perez Threads: [ Previous | Next ]
wilteen

Posts: 26
Registered: May 26, 2009 10:57:11 AM
OMNIbus v7.2.1.1: nco_confpack - Unable to import external file error
Posted: Jul 29, 2009 03:37:43 AM
Click to report abuse...   Click to reply to this thread Reply
Hi,

I'm attempted the task of importing a conf. package into an object server, but obtained the error message below:

bash-3.00$ $OMNIHOME/bin/nco_confpack -import -package $OMNIHOME/etc/NCOMS.zip -server BACKUP -user root -password ''
*********************************************************************
  • W A R N I N G *
  • *
  • This action may overwrite configuration currently in your system. *
  • *
  • It is recommended that a backup is made of the current data *
  • before importing new data. *
  • *
*********************************************************************

Do you want to continue (y/n) [N]? y

There is an id mismatch for the class Atrica, which needs to use id 40030
There is an id mismatch for the class Ciena (Lighthandler OA), which needs to use id 40503
There is an id mismatch for the class Ciena (Lightstack GSLAM), which needs to use id 40501
There is an id mismatch for the class Ciena (Lightstack MX), which needs to use id 40502
There is an id mismatch for the class Ciena (Lightstack MXA), which needs to use id 40500
There is an id mismatch for the class Ciena(Wavesmith), which needs to use id 40504
There is an id mismatch for the class NEC (Pasolink), which needs to use id 40480
There is an id mismatch for the class Nera Networks(NG-NMS), which needs to use id 40495
There is an id mismatch for the class Precision, which needs to use id 8000
Unable to import external file, /opt/netcool/omnibus/utils/postzmsg, it already exists
On import required OSFile item, /opt/netcool/omnibus/utils/postzmsg, not found

I've added some fields into the table alerts.status from the NCOMS Object Server and that these new columns are successfully copied into a new Object Server called BACKUP_SERV.

Tha BACKUP_SERV object server is already running:
bash-3.00$ ps -ef|grep BACKUP
netcool 11609 9108 0 12:47:37 pts/6 0:00 /opt/netcool/omnibus/platform/solaris2/bin/nco_objserv -name BACKUP
netcool 11648 9108 0 12:47:50 pts/6 0:00 grep BACKUP
bash-3.00$

Here're the steps prior to the executing the nco_confpack on the file import operation:
1) Build a confpack file:
nco_confpack -list -user root -password '' -server NCOMS -file $OMNIHOME/etc/configPack.out

2)Build an export archive:
nco_confpack -export -file $OMNIHOME/etc/configPack.out -package $OMNIHOME/etc/NCOMS.zip -user root -password ''

It produced the NCOMS.zip in the $OMNIHOME/etc/ directory with the .xml file as its sole content.

3) Executed nco_xigen &

4) Imported the exported NCOMS.zip into another Object Server called BACKUP_SERV:
$OMNIHOME/bin/nco_confpack -import -package $OMNIHOME/etc/NCOMS.zip -server BACKUP_SERV -user root -password ''

Step 4 above resulted in the error message shown above i.e. id mismatches and external file import error.

Could anyone help point out what is the causing the error above ? How do I fix it?

Thanks in advance,
Danny

Daniel Perez

Posts: 1
Registered: Nov 06, 2009 06:57:37 PM
OMNIbus v7.2.1.1: nco_confpack - Unable to import external file error
Posted: Nov 06, 2009 07:28:51 PM   in response to: wilteen in response to: wilteen's post
Click to report abuse...   Click to reply to this thread Reply
Hi,

Danny,

Try to do these steps:

----------------------------------------Class Error---------------------------------------
There is an id mismatch for the class Atrica, which needs to use id 40030
There is an id mismatch for the class Ciena (Lighthandler OA), which needs to use id 40503
There is an id mismatch for the class Ciena (Lightstack GSLAM), which needs to use id 40501
There is an id mismatch for the class Ciena (Lightstack MX), which needs to use id 40502
There is an id mismatch for the class Ciena (Lightstack MXA), which needs to use id 40500
There is an id mismatch for the class Ciena(Wavesmith), which needs to use id 40504
There is an id mismatch for the class NEC (Pasolink), which needs to use id 40480
There is an id mismatch for the class Nera Networks(NG-NMS), which needs to use id 40495
There is an id mismatch for the class Precision, which needs to use id 8000
----------------------------------------Class Error---------------------------------------

For this problem:

Edit the configPack.out file and remove the lines with the Class IDs that appears in the list error.

------------------------------import external file error-----------------------------------
Unable to import external file, /opt/netcool/omnibus/utils/postzmsg, it already exists
On import required OSFile item, /opt/netcool/omnibus/utils/postzmsg, not found
------------------------------import external file error-----------------------------------

For this problem:

Edit the file $NCHOME/omnibus/etc/exclusions.xml, and add the path where are the utils files.

This change must be made on the server that nco_confpack is used to export configuration information from.

Edit the appropriate platform section, for example:

<Platform Name="SunOS" Type="UNIX">
<Dir Name="/bin"/>
<Dir Name="/etc"/>
<Dir Name="/lib"/>
<Dir Name="/sbin"/>
<Dir Name="/usr"/>
<Dir Name="/opt/netcool/omnibus/utils"/>
</Platform>

For more information about, you can read this link:

http://www-01.ibm.com/support/docview.wss?uid=swg21294709

I hope to help you, and have a nice imports.

Best Regards.

Daniel Perez Rodriguez

Point your RSS reader here for a feed of the latest messages in all forums