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