![Cisco BTS 10200 Softswitch Troubleshooting Manual Download Page 768](http://html.mh-extra.com/html/cisco/bts-10200-softswitch/bts-10200-softswitch_troubleshooting-manual_67550768.webp)
16-20
Cisco BTS 10200 Softswitch Troubleshooting Guide, Release 5.0.x
OL-8723-19
Chapter 16 Disaster Recovery Procedures
Recovering the Element Management System Database from Another Database
e.
Change to the CD Build directory and run
install.sh
with the -upgrade option. Enter the following
command:
# ./install.sh -upgrade
Note
For procedures on how to mount the installation CD and load or untar the software packages to
/opt/Build
,
see the following sections in “
Application Installation Procedure (Release 4.4)
”:
- “Load the K9-opticall.tar(.gz) File on the EMS and CA/FS Platforms” on page 15
- “Load the K9-oracle.tar(.gz) File on the EMS” on page 23
f.
After the corrupted EMS system is reinstalled, enter the commands below to shut down the platform
and only start up Oracle listener and database:
# platform stop all
# su - oracle
# dbinit -L -E -i start
Continue to
Step 5
Reload the database from cold backup to the corrupted EMS site.
If the EMS system is intact, but only the Oracle database is corrupted, you can use the cold backup tar
file to restore the database data files. The cold backup tar file
optical1_DB_upd.tar.gz
is for the primary
EMS, and
optical2_DB_upd.tar.gz
is for the secondary EMS.
•
If the tar file is not in
/opt/oraback
directory and the same file still exists in the
/opt/oracle/tmp
directory, copy this file from
/opt/oracle/tmp to /opt/oraback
directory.
•
If the file does not exist on either directory, restore this file from remote FTP server to /opt/oraback
directory, then execute the steps in this section to restore database data files from the cold backup
tar file.
Note
If there is no cold backup database tar file, you can restore database from hot backup. Refer to
the
“Element Management System Database Recovery from Hot Backup” section on page 16-10
to recover your database from hot backup.
a.
Restore the database from the cold backup tar file. Log in as
oracle
:
If the corrupted database is the primary EMS database use the
optical1_DB_upd.tar.gz
file:
$ cd /data1/oradata/optical1
$ rm -r data/* db1/* db2/* index/*
$ gzip -cd /opt/oraback/optical1_DB_upd.tar.gz | tar xvf -
If the corrupted database is the secondary EMS database, use the
optical2_DB_upd.tar.gz
file:
$
cd /data1/oradata/optical2
$
rm –r data/* db1/* db2/* index/*
$
gzip –cd /opt/oraback/optical2_DB_upd.tar.gz | tar xvf -
b.
Start the database restore process. After the database data files are re-stored, execute the following
command to start up the EMS database process:
$ dbinit -L -E -i start