![Cisco BTS 10200 Softswitch Скачать руководство пользователя страница 766](http://html.mh-extra.com/html/cisco/bts-10200-softswitch/bts-10200-softswitch_troubleshooting-manual_67550766.webp)
16-18
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
Recovery Procedures
The steps in this section show you how to recover a corrupted EMS database from the other active peer
database assuming the following scenarios (this procedure applies to both scenarios):
Step 1
On the active EMS site, terminate the DBHeartBeat process and disable PUSH job (job 2).
a.
On the active EMS site, log in as
oracle
, or
su - oracle.
b.
Enter the following command to terminate DBHeartBeat process:
$ dbinit -H -i stop
$ ps -ef | grep hbmgr | grep -v grep
c.
Disable PUSH job (job 2).
$ dbadm -A disable_push_job
d.
Respond
y
at the prompt and enter the following:
$ dbadm –r get_broken_jobs
Text similar to the following is displayed:
2 Y
0
declare rc binary_integer; begin rc := sys.dbms_defer_s
ys.push(destination=>'OPTICAL1',
stop_on_error=>FALSE,
delay_seconds=>0, parallelism=>1); end;
Step 2
Shut down all processes on the corrupted EMS site:
a.
On the corrupted EMS site, login as
root
.
b.
Stop the cron process and shut down the platform:
# svcadm disable svc:/system/cron
# platform stop all
# nodestat
Verify whether all database processes are terminated:
#
nodestat
#
ps –ef | grep ora_
#
ps –ef | grep hbmgr
#
ps –ef | grep tnslsnr
Tip
You can use
kill –9
to kill any process not being terminated by
platform stop all
.
#
ipcs –p | grep oracle
Tip
You can use the
ipcrm
command to remove any shared memory or semaphore still allocated to
oracle
now. For example: ipcrm –m <identification (ID)>, ipcrm –s <ID>
Scenario 1
The primary EMS database is corrupted. You would like to restore data from the
secondary EMS database.
Scenario 2
The secondary EMS database is corrupted. You would like to restore data from the
primary EMS database.