Cisco Systems PGW 2200 Switch User Manual


 
4-87
Cisco PGW 2200 Softswitch Release 9.8 Software Installation and Configuration Guide
OL-18083-01
Chapter 4 Configuring the Cisco PGW 2200 Softswitch Software
Initializing the Call Screening Database
Step 5 Enter the numan-rtrv MML command to verify that the entry you added in Step 4 was replicated to the
database on the standby host. For example:
mml> numan-rtrv:bwhite:custgrpid="S018",svcname="testsvc",cli="9998"
Text similar to the following is displayed:
VSC-01 - Media Gateway Controller 2000-08-30 11:33:52
M RTRV
"session=test:bwhite"
/* The cli :9998: exists. */
;
Troubleshooting the Main Memory Database Replication
If you have problems during replication, try stopping and restarting the replication as follows:
Step 1 Stop the replication by entering:
# /etc/init.d/ttreplic stop
Step 2 Restart the replication by entering:
# /etc/init.d/ttreplic start
Displaying the Main Memory Database Replication Status
The script replication_status.sh displays the status of the MMDB replication, if it is configured.
Run the script by typing the following command:
% ./replication_status.sh
The output shows the following replication status:
Peer name Host name Port State Proto
---------------- ------------------------ ------ ------- -----
HOWDYDB VA-DEALE Auto Start 5
Last Msg Sent Last Msg Recv Latency TPS RecordsPS Logs
------------- ------------- ------- ------- --------- ----
- - -1.00 -1 -1 1
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: