Cisco Systems PGW 2200 Switch User Manual


 
4-85
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
192.168.11.2 UK-A-Netra1125-2
192.168.12.2 UK-A-Netra1125-2.hme1 UK-A-Netra1125-2 <----- Peer PGW hostname
Peer Cisco PGW 2200 Softswitch Host /etc/hosts
127.0.0.1 localhost
192.168.11.2 UK-A-Netra1125-2 loghost
192.168.12.2 UK-A-Netra1125-2.hme1
192.168.11.1 UK-A-Netra1125-1 1
92.168.12.1 UK-A-Netra1125-1.hme1 UK-A-Netra1125-1 <----- Peer PGW hostname
Initializing Database Replication
To set up the initial replication, perform the following steps:
Step 1 Log in to the active host as mgcusr and enter the following command:
% setup_replication.sh standbyhost active
Where standbyhost is the name (not IP address) of your standby host. In the example below, the active
host is hostx and the standby host is hosty.
Caution Do not use IP addresses when setting up database replication. If you do, replication will fail.
Note If the machine on which the Cisco PGW 2200 Softswitch software is installed has several different
names, make sure the argument that you supply to the setup_replication.sh script matches the output of
the Unix command hostname.
Example 4-1 Initializing Database Replication on the Active Host
hostx% setup_replication.sh hosty active
Setting up replication to node hosty for DSN howdydb
Adding cisco.whitelist_a
Adding cisco.blacklist_a
Adding cisco.whitelist_b
Adding cisco.blacklist_b
Adding cisco.portednumbers
Adding cisco.numberterm
RAM Residence Policy : inUse
RAM Residence Grace (Secs) : 0
Manually Loaded In Ram : False
Purge Logs for Data Store : True
Logging Enabled : True
Replication Manually Started : True
Step 2 Log in to the standby host as the root user and stop the Cisco PGW 2200 Softswitch software by entering
the following UNIX command:
# /etc/init.d/CiscoMGC stop
Step 3 Log back in to the standby host as mgcusr.
Step 4 At the standby host, enter the following command:
% setup_replication.sh activehost standby