hit counter script

Verifying Database Synchronization; Synchronizing Databases - Cisco PGW 2200 Software Installation And Configuration Manual

Softswitch release 9.8
Table of Contents

Advertisement

Initializing the Call Screening Database
HOWDYDB
Last Msg Sent
-------------
Note
If the value for Last Msg Recv is more than a few seconds, or Logs is more than 1, then this indicates
that replication is not occurring.

Verifying Database Synchronization

The script db_count.sh provides the number of records configured in each of the database tables. This
is useful for checking whether two machines have the same database data configured in them.
Run the script by typing the following command:
% ./db_count.sh
The output shows the rows counted in each database table:
Counting the rows in each database table.
CISCO.ANNOUNCEMENT < 0 >
CISCO.A_CHARGE_ORIGIN < 0 >
CISCO.A_NUMBERDIALPLANSELECTION < 0 >
CISCO.BLACKLIST_A < 0 >
CISCO.BLACKLIST_B < 0 >
CISCO.CBBOOKINGINFO < 0 >
CISCO.CBMONITORINGINFO < 0 >
CISCO.CLIIPADDRESS < 0 >
CISCO.CLIPREFIX < 0 >
CISCO.FULLNUMBERTRANSLATION < 0 >
CISCO.H323IDDIVFROM < 0 >
CISCO.LIENTRIES < 0 >
CISCO.NUMBERTERM < 0 >
CISCO.PORTEDNUMBERS < 0 >
CISCO.SCRIPT < 0 >
CISCO.WHITELIST_A < 0 >
CISCO.WHITELIST_B < 0 >

Synchronizing Databases

If you have data in the databases in the active and standby hosts, but both databases are out of sync or
do not match, re-synchronize both databases by following the steps listed below. Otherwise, contact
Cisco TAC for assistance in merging the databases.
Assuming the active host is the "better" database, do the following on the standby host:
Step 1
Log in as root.
Stop the Cisco PGW 2200 Softswitch software by entering the following command:
Step 2
# /etc/init.d/CiscoMGC stop
Stop MMDB replication by entering the following command:
Step 3
# /etc/init.d/ttreplic stop
Cisco PGW 2200 Softswitch Release 9.8 Software Installation and Configuration Guide
4-94
VA-DEALE
Last Msg Recv
-------------
-
-
Chapter 4
Configuring the Cisco PGW 2200 Softswitch Software
Auto
Start
Latency
TPS
RecordsPS
-------
-------
---------
-1.00
-1
-1
5
Logs
----
1
OL-18083-14

Advertisement

Table of Contents
loading

Table of Contents

Save PDF