Table Of Contents
Configuring the Cisco Media Gateway Controller Software Release 7.4
Adding a User with Full MML Privileges
Adding a User with Minimal MML Privileges
Configuring SNMP Support Resources
Configuring the Execution Environment
Changing XECfgParm.dat File Parameters
Changing XECfgParm.dat File Parameters in a Running Continuous-Service or High-Availability System
Configuring Basic System Information
Configuring Automatic Congestion Control
Overload Level Percentage Parameters
Configuring Call Detail Record File Output
Configuring the Clearing Location and Default Location Parameters
Configuring *.GWClearChannelAlgorithm Parameter
Initializing the Provisioning Object Manager
Configuring the trigger.dat File Attributes
Configuring the Global Title Translation Attribute
Configuring the Service Key Value Attribute
Configuring the Translation Type Attribute
Initializing the Call Screening Database
Initializing Database Replication
Initializing Replication and Copying the Database to Another Host
Verifying Database Replication
Configuring the Cisco Media Gateway Controller Software Release 7.4
This chapter describes how to configure Release 7.4 of the Cisco Media Gateway Controller (MGC) software.
This chapter contains the following sections:
•
Configuring SNMP Support Resources
•
Configuring the Execution Environment
•
Initializing the Call Screening Database
![]()
Note
For more information on configuring the Cisco MGC software, see the following publication: Cisco Media Gateway Controller Software Release 7 Provisioning Guide
Before You Start
Before you start, perform the following steps:
•
Review the hardware and software requirements found in the document Release Notes for
Cisco Media Gateway Controller Software Release 7.•
Have your company's internal support and Cisco support contact information readily available so you can get help with the configuration if needed. (If you have questions or need assistance, see the "Obtaining Technical Assistance" section of the Cisco support contact information.)
•
Ensure that you have access to the console port on your Cisco MGC host.
Perform your configuration according to the steps below.
![]()
Note
For the software to work properly, you must reboot the system every time you modify any file in the /etc directory.
Configuring Groups and Users
You must set up groups and users for the Cisco MGC software on each host server. A user must be a member of the "mgcgrp" group to use certain Cisco MGC software functions, such as Man-Machine Language (MML). (MML is an interface that enables you to communicate with the Cisco MGC. Users with full MML privileges have monitor and control access; users with minimal MML privileges have only monitor access. For more information on MML, see Cisco Media Gateway Controller Software Release 7 Provisioning Guide.
Verifying the mgcgrp Group
To verify the mgcgrp group, complete the following steps:
Step 1
Verify that you are logged in to the Cisco MGC host as root. At the # prompt, type the following command:
# cat /etc/passwdStep 2
Change to the /etc directory.
Step 3
Edit the group file to verify the entry for the mgcgrp group. The file should contain the following line:
mgcgrp::20000:Step 4
Add a user called "mgcusr" to the mgcgrp group. For example:
mgcgrp::20000:mgcusrStep 5
Save and close the group file.
Step 6
Edit the passwd file to verify the entry for the mgcusr user. The file should contain the following line:
mgcusr:x:20000:20000::/opt/CiscoMGC/local:/bin/cshIf the file does not contain the line, add it.
Step 7
Save and close the password file.
Adding a User with Full MML Privileges
To add a user with full MML privileges, complete the following steps:
Step 1
Log in to the Cisco MGC host as root.
Step 2
Enter the following command:
# useradd -u UID -g mgcgrp -d /opt/CiscoMGC/local -s /bin/csh -m usernameUID is a user ID that is an integer from 0 through 2147483647 (excluding the numbers 0, 1, 2, 3, 4, 5, 9, 37, 71, 60001, 60002, and 65534, because they are used by the operating system).
Step 3
Add the new username to the mgcgrp group in the group file:
# mgcgrp::20000:username![]()
Note
The group file is a comma-separated list of user names. If you add more than one user, use a comma (with no spaces) to separate consecutive names in the list from each other.
Step 4
Enter the following command and press Enter:
passwd usernameStep 5
Type the user's password and press Enter twice when prompted.
![]()
CautionIf your home directory differs from /opt/CiscoMGC/local, you must perform the following steps before using MML.Log in to the Cisco MGC.
Step 6
Enter the following command and press Enter:
cd /opt/CiscoMGC/localStep 7
Enter the following command and press Enter:
source .cshrcStep 8
Enter the following command and press Enter:
mml
Adding a User with Minimal MML Privileges
To add a user with minimal MML privileges, follow the steps in the "Adding a User with Full MML Privileges" section, but do not add the user to the mgcgrp group.
This completes the group and user configuration. Continue to the "Configuring SNMP Support Resources" section. If you have questions or need assistance, see the "Obtaining Technical Assistance" section.
Configuring SNMP Support Resources
The Cisco MGC software includes a Simple Network Management Protocol (SNMP) agent subsystem that provides an alarm management interface on the Cisco MGC. It uses SNMP to report events, or traps (such as alarms), to your SNMP Manager and to provide access to the Cisco MGC Management Information Base (MIB).
![]()
Note
See "Sample Cisco Media Gateway Controller Configuration Files" for an example of a configured snmpd.cnf file. This sample configuration enables both snmpv1 and snmpv2 traps. Therefore, you will see two coldStart traps when the software is initialized—one for version 1 and one for
version 2.
The SNMP agent subsystem reports the following event categories to your SNMP Manager:
1.
Communications
2.
Quality of Service
3.
Processing
4.
Equipment
5.
Environment
In a continuous-service or high-availability configuration, the SNMP agent subsystem runs on both the active and standby machines.
![]()
Note
SNMP MIB measurements are only valid only on the active node. They are not replicated on the standby node.
To configure the SNMP resources, complete the following steps:
Step 1
Log in to the Cisco MGC and change to the /etc directory.
Step 2
Verify that the services file lists the following default SNMP ports:
snmp 161/udpsnmp-trap 162/udpIf the ports are listed, proceed to Step 9. If not, continue to Step 3.
Step 3
If the default SNMP ports are not listed (not present), edit the /etc directory by using an editor such as vi to add these two lines for snmp and snmp-trap port information.
# vi servicessnmp 161/udpsnmp-trap 162/udpStep 4
Verify that the file is properly edited by typing the following command and pressing Enter:
#more servicesThe following lines should display among other port entries (otherwise, repeat Step 3):
snmp 161/udpsnmp-trap 162/udpStep 5
Verify that the SNMP process is running by entering the following command and pressing Enter:
ps -ef | grep snmpdStep 6
Stop the existing SNMP process by typing the following command then pressing Enter. This command automatically restarts the SNMP process with a new ID.
kill -HUP <process ID>Step 7
Verify that the SNMP process is running by entering the following command and pressing Enter:
ps -ef | grep snmpdStep 8
Verify that the SNMP process is no longer generating errors by checking the snmpd.log. Type the following command and press Enter:
# more/tmp/snmpd.logIf no errors are found, this means the process is working and you can use the ports for SNMP configuration and trap generation.
Step 9
Using FTP, transfer the following MIBs (located in /opt/CiscoMGC/snmp) from the Cisco MGC to the machine on which the SNMP Manager runs:
•
CISCO-SMI.my
•
v3-tgt.my
•
tp.my
•
provisioning.my
•
measurement.my
Step 10
Load the MIBs into the SNMP Manager. (For example, you can use the xnmnloadmib -load command from HP OpenView.)
![]()
Tips
For more detailed information about configuring HP OpenView, see "HP OpenView Sample SNMP Configuration."
![]()
Note
See your SNMP Manager documentation for more information. We do not recommend an SNMP Manager; however, this chapter gives examples using the Hewlett-Packard (HP) OpenView Network Node Manager.
Example 4-1 HP OpenView Example
If you are using HP OpenView Network Node Manager as your SNMP manager, follow these procedures to load your MIB:(a) Select Options from the File Menu and choose Load/Unload MIBs:SNMP.(b) From the Load/Unload MIBs: SNMP window (on the lower left of your screen).(c) Click the Load... button.(c) From the "Load/Unload MIBs:SNMP /Load MIB from File" window, select the MIB to load (for example, tp.my).(d) Click OK.Step 11
Connect the SNMP events to an event category to display the event. As Cisco MGC events are connected, you can alter the format of the event messages for easier viewing.
![]()
Note
On many SNMP Managers, event categories can be added so that customer-specific events can be mapped to corresponding categories.
Example 4-2 HP OpenView Event Configuration Example
If you are using HP OpenView Network Node Manager, follow these procedures to configure an event:(a) Select Options from the File Menu and choose Event Configuration.(b) From the Event Configuration window, in the Enterprise Identification list, select transpath.(c) In the Event Identification list, double click on each of the event types, one at a time.(d) If desired, change the event information display. To change the format of an event, from the Event Configurator / Modify Event window, enter a format in the Event Log Message Box to change the format and labels for received events of this type.The following example shows how an event can be reformatted using the HP OpenView Network Node Manager.ID# $13 Name $12 Set $10 MMLname $4 CatDesc $11 \nCompDesc $3 Severity $8 CompID $6 CompType $5 CatID $14\nAlarmNotify $9 AlarmTime$1 ParentID $2 AlarmReported $7\n$o![]()
Tips
For more detailed information about configuring HP OpenView, see "HP OpenView Sample SNMP Configuration."
Step 12
To verify that SNMP is working, log in to the Cisco MGC as root and enter the traprcv command.
The traprcv window shows traps being sent from the SNMP daemon. Following is an example of a traprcv session:
Traprcv Session
Waiting for traps.
Received SNMPv2c Trap:
Community: public
From: 127.0.0.1
sysUpTime.0 = 304785432
snmpTrapOID.0 = processingError
tpAlarmTime.0 = 0xef68e93c00159dc8
tpComponentParentId.0 = 131079
tpComponentDesc.0 = Measurement Manager
tpComponentName.0 = MM-01
tpComponentType.0 = 3
tpComponentId.0 = 196611
tpAlarmReported.0 = yes(2)
tpAlarmSeverity.0 = major(3)
tpAlarmNotify.0 = no(1)
tpAlarmSet.0 = clear(1)
tpAlarmCatDesc.0 = Required process MOOS
tpAlarmCatName.0 = MAJOR M-OOS
tpAlarmCatId.0 = 64
tpAlarmId.0 = 0
Received SNMPv2c Trap:
Community: public
From: 127.0.0.1
sysUpTime.0 = 304786908
snmpTrapOID.0 = processingError
tpAlarmTime.0 = 0xef68e93c00159dc8
tpComponentParentId.0 = 131079
tpComponentDesc.0 = Measurement Manager
tpComponentName.0 = MM-01
tpComponentType.0 = 3
tpComponentId.0 = 196611
tpAlarmReported.0 = yes(2)
tpAlarmSeverity.0 = major(3)
tpAlarmNotify.0 = no(1)
tpAlarmSet.0 = clear(1)
tpAlarmCatDesc.0 = Required Process Failure
tpAlarmCatName.0 = SOFTW REQ
tpAlarmCatId.0 = 5
tpAlarmId.0 = 0
_
Step 13
Verify that your SNMP Manager shows the same traps as the traprcv session. If you do not see the events in your SNMP Manager, you might have a port mismatch or an incorrect IP address in your configuration.
![]()
Note
Traprcv can receive trap events from multiple Cisco MGCs. To send trap events from a Cisco MGC to the machine where traprcv is running, set the SNMP target IP address (snmpTargetAddrEntry in the snmpd.cnf file) in the Cisco MGC Manager (CMM) and load the new configuration.
This completes the SNMP support resource configuration. Continue to the next section to configure the execution environment. If you have questions or need assistance, see the "Obtaining Technical Assistance" section.
Configuring the Execution Environment
This section provides instructions for configuring the Cisco MGC execution environment and contains the following topics:
•
Changing XECfgParm.dat File Parameters
•
Changing XECfgParm.dat File Parameters in a Running Continuous-Service or High-Availability System
•
Configuring Basic System Information
•
Configuring Engine Parameters
•
Configuring Call Detail Record File Output
•
Configuring the Clearing Location and Default Location Parameters
•
Initializing the Provisioning Object Manager
The configuration data file, or XECfgParm.dat file (located in /opt/CiscoMGC/etc/XECfgParm.dat), lists all of the components in the Cisco MGC and defines how it operates. You must manually edit the execution environment parameters in the XECfgParm.dat file to initialize and configure the Cisco MGC software application. (For more detailed information on XECfgParm.dat parameters, refer to "XECfgParm.dat File Parameters" and Cisco Media Gateway Controller Software Release 7 Operations, Maintenance, and Troubleshooting Guide.)
![]()
Note
For an example of a configured XECfgParm.dat file, see "Sample Cisco Media Gateway Controller Configuration Files".
![]()
CautionTo ensure that your system will work as intended, do not edit any XECfgParm.dat file parameters that are not listed below, and remember that all parameters are case-sensitive.
Do not modify the processes.dat file. This XECfgParm.dat file should remain unmodified, as delivered with the MGC software. If this file is modified, procM may core dump when you start the MGC software.
Changing XECfgParm.dat File Parameters
For a complete list of parameters, their functions, definitions, and sample values, see "XECfgParm.dat File Parameters".
If you have a continuous-service or high-availability system with two Cisco MGC hosts, the XECfgParm.dat files are different for each host. See "Sample Cisco Media Gateway Controller Configuration Files".
To change the XECfgParm.dat file parameters, perform the following steps:
Step 1
Log in as root and go to the # prompt.
Step 2
If the Cisco MGC software is running, enter the following command:
/etc/init.d/CiscoMGC stopWait until the system returns the following response:
Signalling procM to shut down...shutdown completeStep 3
Change to the /opt/CiscoMGC/etc directory, which contains the XECfgParm.dat file used by your system.
Step 4
Open the XECfgParm.dat file with any text editor, such as vi.
Step 5
Save your changes and close the editor.
Step 6
Restart the Cisco MGC software by entering the following command:
/etc/init.d/CiscoMGC start![]()
Note
Do not restart the software yet if you need to configure SCP queries or initialize the call screening database. Complete the instructions in the appropriate sections of this chapter before restarting the software.
This completes the XE configuration. Continue to the "Configuring SCP Queries" section to configure Service Control Point (SCP) queries using transaction capabilities application part (TCAP). If you have questions or need assistance, see the "Obtaining Technical Assistance" section.
Changing XECfgParm.dat File Parameters in a Running Continuous-Service or High-Availability System
To change parameters in a running continuous-service or high-availability system without call interruption, perform the following steps:
Step 1
Log in to the standby host (Host Y) and stop the Cisco MGC software by entering the following command:
/etc/init.d/CiscoMGC stopStep 2
Open the XECfgParm.dat file, change the parameters, and save your changes. See "Changing XECfgParm.dat File Parameters" section for more specific instructions.
Step 3
Restart the Cisco MGC software by entering the following command:
/etc/init.d/CiscoMGC startStep 4
Log in to the active host (Host X) and stop the Cisco MGC software by entering the following command:
/etc/init.d/CiscoMGC stopStopping the software on Host X causes switchover to the standby, Host Y. Host Y becomes active and takes over call processing.
![]()
Tips
If Host Y does not take over call processing after switchover, restart the software on Host X to take over the calls. Check the parameters you changed on Host Y and make sure you have the correct values.
Step 5
On Host X, open the XECfgParm.dat file, change the parameters, and save your changes. See the "Changing XECfgParm.dat File Parameters" section for more specific instructions.
Step 6
Restart the Cisco MGC software on Host X by entering the following command:
/etc/init.d/CiscoMGC startStep 7
On Host Y, the currently active host, enter the MML command SW-OVER::CONFIRM to switch call processing from Host Y to the newly changed Host X. Host X becomes active.
![]()
Tips
If Host X does not take over call processing after switchover, restart the software on Host Y to take over the calls. Check the parameters you changed on Host X and make sure you have the correct values.
Configuring Basic System Information
To configure basic system information required for your system to function, modify the following parameters in the first section of the XECfgParm.dat file:
Specifying IP Addresses
To specify IP addresses, modify the following parameters in the first section of the XECfgParm.dat file:
![]()
Note
If there are two Ethernet interfaces defined on the Cisco MGC, it is mandatory to have these on distinct subnets.
For example, consider the following configuration:
*.ipAddrLocalA = 172.22.119.108*.ipAddrLocalB = 172.22.119.54This is not a valid combination because the Ethernet interfaces are on the same subnet. The following example illustrates a valid combination:
*.ipAddrLocalA = 172.22.119.108*.ipAddrLocalB = 172.22.120.54If the two Ethernet interfaces are on the same subnet, then one of them must be physically disconnected from the existing subnet and then connected to a different subnet. The new IP address must be appropriately configured on the system. Refer to the manual pages for the UNIX command ifconfig for more information.
Configuring Engine Parameters
In order for the engine to run correctly, you must modify the following parameters in the Engine section of the XECfgParm.dat file:
Configuring Automatic Congestion Control
As of release 7.4(11), the Cisco MGC supports Automatic Congestion Control (ACC). ACC regulates traffic to levels that can be handled effectively by the network by rejecting traffic when the system is congested. This increases the throughput of completed calls through the telephone network during periods of overload.
When the Cisco MGC is congested, an Automatic Congestion Level (ACL) indication is sent to adjacent signaling points using SS7 ISUP. Until the congestion abates, a certain percentage of calls are rejected. Detection of congestion is based on the measurement of the Cisco MGC's CPU utilization level.
ACC is controlled by parameters that are found in the XECfgParm.dat file and by a property associated with the signaling service, which are described in the following sections:
•
Overload Level Percentage Parameters
Overload Level Percentage Parameters
Use the following XECfgParm.dat parameters to set the overload level percentages:
CPU Timer Interval Parameter
The CPUTimerInterval parameter is used to specify the interval, in milliseconds, at which the CPU utilization level of the Cisco MGC is sampled. The default value is 1000. We recommend that you stay within the range of 500 to 2000 milliseconds.
Maximum ACL Value
Another component in ACC is the maximum ACL value. Since ANSI- and ITU-based signaling points have different maximum ACL values, the Cisco MGC uses a property, MaxACL, associated with an SS7 signaling service or trunk group to map the internal maximum ACL value to the value used by the adjacent signaling point.
When the Cisco MGC is congested, its congestion level can be reported to adjacent signaling points by the ACL value in the release message. ANSI-based signaling points use a range of 0 through 3 to define congestion and ITU-based signaling points use a range of 0 through 2 to define congestion. When MaxACL is set to 3, the internal maximum ACL value is mapped to the ANSI standard (the default value for MaxACL is 3). When MaxACL is set to 2, the internal maximum ACL value is mapped to the ITU standard. MaxACL also has a third possible setting, 0, which disables the sending of ACL indications in the Release message.
The procedure to set this property can be found in the Cisco MGC Software Release 7 Operations, Maintenance, and Troubleshooting Guide.
Enabling Call Screening
To initialize the database that stores call screening information, modify the following parameter in the Engine section of the XECfgParm.dat file:
Configuring Call Detail Record File Output
To configure call detail record (CDR) file output, modify the following parameters in the Data Dumper and Engine sections of the XECfgParm.dat file:
Configuring the System Type
To configure system alarm information, modify the following parameter in the XE section of the XECfgParm.dat file:
Configuring the Clearing Location and Default Location Parameters
This property overrides the Clearing Location and Default Location fields in Call Context. Change the clearing location value if you need a value other than the default to be sent to the switch. Change the default location value if you need to define a customer-specific default location for your system that can differ from the default location set in the type definition of the protocol.
Configuring *.GWClearChannelAlgorithm Parameter
Clear channel calls get through only if you set the *.GWClearChannelAlgorithm parameter to a value other than null. This parameter is sent to the Cisco MGC when the connection is created and matches the Cisco MGC's clear channel parameter.
Configuring Switchover
To configure switchover, modify the following parameters in the Foverd section of the XECfgParm.dat file:
:
![]()
Note
For more information on switchover, see Cisco Media Gateway Controller Software Release 7 Operations, Maintenance, and Troubleshooting Guide.
Initializing the Provisioning Object Manager
To configure the Provisioning Object Manager (POM), modify the following parameters in the POM section of the XECfgParm.dat file:
Configuring SCP Queries
The SCP translates routing information for the Advanced Intelligent Network (AIN) database queries over TCAP. This section provides instructions for selecting the type of translation you use to enable SCP database queries. If your site or network requires changes, you can enable SCP queries by manually editing the parameters in the trigger.dat file. The trigger.dat file (located in /opt/CiscoMGC/etc) contains the message-sending table that contains translation values.
This section contains the following topics:
•
Configuring the trigger.dat File Attributes
![]()
Warning
Do not edit trigger.dat file parameters that are not listed below, and remember that all parameters are case-sensitive. Otherwise, your system might not work as intended.
Before You Start
If you are changing an ANSI query and you need a different Translation Type, you need to know the Translationtype value from the Global Title Translation tables on the Signal Transfer Point (STP). Get this value from the administrator of your STP.
Configuring the trigger.dat File Attributes
![]()
Note
The trigger.dat file is not overwritten during software installation. All changes to the trigger.dat file are contained in a file called trigger.template that is installed with the new software. If you modify the trigger.dat file after installing a new software release, you need to view the trigger.template file and copy any changes in that file to your trigger.dat file.
![]()
CautionImproper editing of the trigger.dat file can cause service interruption and prevent the Cisco MGC from correctly performing SCP database queries.
You can configure the following Cisco MGC trigger.dat file attributes to perform a Transaction Capabilities Application Part (TCAP) query:
•
Global Title Translation
•
Service Key Value
•
Translation Type
Configuring the Global Title Translation Attribute
Perform the following steps to configure the Global Title Translation attribute:
Step 1
Back up the trigger.dat file.
Step 2
Determine the Trigger Number that you need to edit. You can get this information from your network administrator.
Step 3
Navigate to directory /opt/CiscoMGC/etc.
Step 4
Open the trigger definition file in an ASCII text editor and search for the string $TriggerTable.
Step 5
Starting after the $TriggerTable line, count the number of rows equal to the TriggerType beginning from the number 1.
![]()
Note
Do not count any row that is blank or that begins with a pound sign (#).
Step 6
When you find your row, note down the second number in that row. This number is the index to the $MessageSending table.
Step 7
Edit the file as follows:
a.
In the $MessageSending table, select column 9, gtSsn (see Table 4-1).
b.
In the table for your translation type, change the Global Title Translation value (column F9) to either 0 or 1. You can get this information from your network administrator. If the number is 0, use GTT. If the number is 1, use PC/SSN.
c.
If you change the gtSsn value to 0, you must go to gtFormat in column 16 and reset the value to 0. If you set the value to 1, you must also set column 16 to a non-zero value.
![]()
Note
See Table 4-1 for table values.
Step 8
Save your changes and close the editor.
Step 9
For your changes to take effect you must reboot the Cisco MGC by entering the following command:
# /etc/init.d/CiscoMGC startConfiguring the Service Key Value Attribute
Perform the following steps to configure the Service Key Value (tcv_sk) attribute:
Step 1
Back up the trigger.dat file.
Step 2
Determine the Trigger Number that you need to edit. You can get this information from your network administrator.
Step 3
Navigate to directory /opt/CiscoMGC/etc.
Step 4
Open the trigger definition file in an ASCII text editor and search for the string $TriggerTable.
Step 5
Starting after the $TriggerTable line, count the number of rows equal to the TriggerType beginning from the number 1.
![]()
Note
Do not count any row that is blank or that begins with a pound sign (#).
Step 6
When you find your row, note down the second number in that row. This number is the index to the $MessageSending table.
![]()
CautionDo not change TCVs. You must verify that column 2 is equal to 1 before changing tcv_sk. If column 2 is not equal to 1, this is not an ETSI trigger and column 6 is a TCV, not an SK.
Step 7
Edit the file as follows:
a.
In the $MessageSending table, select tcv_sk, in column 6 (see Table 4-1).
b.
In the table, change the value for tcv_sk to a value from 0 through 255. You can get this information from your network administrator.
Step 8
Save your changes and close the editor.
Step 9
Restart the Cisco MGC software by entering the following command:
# /etc/init.d/CiscoMGC startConfiguring the Translation Type Attribute
Perform the following steps to configure the Translation Type (translationType) attribute:
Step 1
Back up the trigger.dat file.
Step 2
Determine the Trigger Number that you need to edit. You can get this information from your network administrator.
Step 3
Navigate to directory /opt/CiscoMGC/etc.
Step 4
Open the trigger definition file in an ASCII text editor and search for the string $TriggerTable.
Step 5
Starting after the $TriggerTable line, count the number of rows equal to the TriggerType beginning from the number 1.
![]()
Note
Do not count any row that is blank or that begins with a pound sign (#).
Step 6
When you find your row, note down the second number in that row. This number is the index to the $MessageSending table.
![]()
CautionYou must verify that column 2 is equal to 2 or 3 before changing Translation Type. If column 2 is not equal to 2 or 3, this is not an ANSI trigger and Translation Type is not used.
Step 7
Edit the file as follows:
a.
In the $MessageSending table, select translationType, in column 7 (see Table 4-1).
b.
In the table for your translation type, change the value for translationType to a value from 0 through 255. You can get this information from your network administrator.
Step 8
Save your changes and close the editor.
Step 9
For your changes to take effect you must reboot the Cisco MGC by entering the following command:
# /etc/init.d/CiscoMGC startTable 4-1
$MessageSending Table Values
Sample trigger.dat File
#--//******************************************************************************#--//* Table_9.trigger *#--//* *#--//* TRIGGER TABLES *#--//* *#--//* (c) 1999-2000 CISCO SYSTEMS, INC.. ALL RIGHTS RESERVED. *#--//* THIS SOFTWARE CONTAINS CONFIDENTIAL INFORMATION AND TRADE SECRETS OF *#--//* CISCO SYSTEMS, INC.. USE, DISCLOSURE, OR REPRODUCTION IS PROHIBITED *#--//* WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF THE CISCO SYSTEMS, INC.. *#--//* *#--//******************************************************************************# "$Id: Table_9.trigger,v 1.11.2.3 1999/09/20 18:20:51 xxxxxxxx Exp $";# "(c) 1999-2000 Cisco Systems, Inc.. All Rights Reserved."#############$TriggerTable############## All fields are pointers to records of other types# F1 F2 F3 F4 F5 F6 F7# MA MS RR1 RR2 RR3 RR4 RR5#----------------------------------# TT 1: xxxxxx LNP#----------------------------------1 1 1 2 0 0 0#----------------------------------# TT 2: Generic LNP#----------------------------------2 2 1 3 0 0 0#----------------------------------# TT 3: xxxxxxx 800#----------------------------------3 3 10 4 5 0 0#----------------------------------# TT 4: ANSI AIN 800 NPA#----------------------------------4 4 10 6 7 0 0#----------------------------------# TT 5: ANSI AIN 800 NPA-NXX#----------------------------------4 5 10 6 7 0 0#----------------------------------# TT 6: ANSI AIN 800 NPA-NXX-XXXX#----------------------------------4 6 10 6 7 0 0#----------------------------------# TT 7: ANSI AIN 800 Termination Information#----------------------------------5 7 10 0 0 0 0#----------------------------------# TT 8: ANSI PRE AIN AIN 800#----------------------------------4 8 10 8 9 0 0#----------------------------------# TT 9: ANSI PRE AIN 800 Termination Information#----------------------------------5 9 10 0 0 0 0##############$MessageAction################ F1 F2 F3 F4 F5 F6 F7 F8 F9 F10# ACT1 REQ ACT2 REQ ACT3 REQ ACT4 REQ ACT5 REQ#-------------------------------------------------# MA 1: xxxxxx LNP#-------------------------------------------------1 1 3 0 0 0 0 0 0 0#-------------------------------------------------# MA 2: Generic LNP#-------------------------------------------------1 1 2 1 3 0 0 0 0 0#-------------------------------------------------# MA 3: xxxxxxx 800#-------------------------------------------------1 1 3 0 0 0 0 0 0 0#-------------------------------------------------# MA 4: ANSI AIN 800 / ANSI PRE AIN 800#-------------------------------------------------1 1 3 0 0 0 0 0 0 0#-------------------------------------------------# MA 5: ANSI AIN 800 Termination Information / PRE AIN 800 Termination Information#-------------------------------------------------4 1 0 0 0 0 0 0 0 0###############$MessageSending################# gtFormat Values# GTFORMAT_DO_NOT_USE_GLOBAL_TITLE := 0# GTFORMAT_USE_GLOBAL_TITLE_TRANSLATION_TYPE_NUMBERING_SCHEME_ENCODING_SCHEME := 1# GTFORMAT_USE_GLOBAL_TITLE_TRANSLATION_TYPE := 2# GTFORMAT_USE_GLOBAL_TITLE_ONLY := 3# GTFORMAT_UNKNOWN := 4#![]()
Note
To see proper formatting for the table below, see Table 4-1.
# F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15 F16 F17 F18 F19 F20 F21# transport tcapType stpScpGroupIndex msg asn1Encoding tcv_sk translationType tcapBodyType gtSsn dpcPres ssnPres dpcNetwork dpcCluster dpcMember ssn gtFormat OS1 OS2 OS3 OS4 OS5#----------------------------------------------------------------------------------------# MS 1: xxxxxx LNP#----------------------------------------------------------------------------------------1 2 0 6 0 0 255 1 0 0 1 0 0 0 0 2 1 0 0 0 0#----------------------------------------------------------------------------------------# MS 2: Generic LNP#----------------------------------------------------------------------------------------1 2 6 37 255 0 1 0 0 2 0 0 0 0#----------------------------------------------------------------------------------------# MS 3: xxxxxxx 800#----------------------------------------------------------------------------------------2 1 1 0 1 0 0 0 2 0 0#----------------------------------------------------------------------------------------# MS 4: ANSI AIN 800 NPA#----------------------------------------------------------------------------------------1 2 0 6 0 4 255 1 0 0 1 0 0 0 0 2 4 0 0 0 0#----------------------------------------------------------------------------------------# MS 5: ANSI AIN 800 NPA-NXX#----------------------------------------------------------------------------------------1 2 0 0 255 0 1 0 0 4 0 0#----------------------------------------------------------------------------------------# MS 6: ANSI AIN 800 NPA-NXX-XXX#----------------------------------------------------------------------------------------1 2 0 6 0 8 255 1 0 0 1 0 0 0 0 2 4 0 0 0 0#----------------------------------------------------------------------------------------# MS 7: ANSI AIN 800 Termination information#----------------------------------------------------------------------------------------1 2 0 5 0 0 255 1 0 0 1 0 0 0 0 2 5 0 0 0 0#----------------------------------------------------------------------------------------# MS 8: ANSI PRE AIN 800#----------------------------------------------------------------------------------------1 3 0 6 0 0 254 2 0 0 1 0 0 0 0 2 6 0 0 0 0#----------------------------------------------------------------------------------------# MS 9: ANSI PRE AIN 800 Termination information#----------------------------------------------------------------------------------------1 3 0 5 0 0 254 2 0 0 1 0 0 0 0 2 7 0 0 0 0################$OperationSending################### F1 F2 F3 F4 F5# componentType opClass opCodeFamily opCodeSpecifier opCodeFlag# F6 F7# correlationRequired PS#----------------------------------------------------------------------------------------# OS 1: xxxxxx LNP#----------------------------------------------------------------------------------------6 1 3 0#----------------------------------------------------------------------------------------# OS 2: Generic LNP#----------------------------------------------------------------------------------------6 100 4 2#----------------------------------------------------------------------------------------# OS 3: xxxxxxx 800#----------------------------------------------------------------------------------------1 0 4 3#----------------------------------------------------------------------------------------# OS 4: ANSI AIN 800#----------------------------------------------------------------------------------------6 100 4 0 4#----------------------------------------------------------------------------------------# OS 5: ANSI AIN 800 Termination Information Should have correlationRequired = 1#----------------------------------------------------------------------------------------6 1 103 4 4 0 5#----------------------------------------------------------------------------------------# OS 6: ANSI PRE AIN 800#----------------------------------------------------------------------------------------6 1 3 1 3 0 6#----------------------------------------------------------------------------------------# OS 7: ANSI PRE AIN 800 Termination Information#----------------------------------------------------------------------------------------2 1 0 0 0 0 7################$ParameterSending################### F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15 F16 F17 F18# PA1 REQ PA2 REQ PA3 REQ PA4 REQ PA5 REQ PA6 REQ PA7 REQ PA8 REQ PA9 REQ# F19 F20# PA10 REQ#----------------------------------------------------------------------------------------# PS 1: xxxxxx LNP#----------------------------------------------------------------------------------------100 1 101 1 102 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0#----------------------------------------------------------------------------------------# PS 2: Generic LNP#----------------------------------------------------------------------------------------100 1 101 1 102 1 103 1 0 0 0 0 0 0 0 0 0 0 0 0#----------------------------------------------------------------------------------------# PS 3: xxxxxxx 800#----------------------------------------------------------------------------------------200 1 201 1 202 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0#----------------------------------------------------------------------------------------# PS 4: ANSI AIN 800 (All types)#----------------------------------------------------------------------------------------100 1 101 1 102 1 103 1 104 1 109 0 110 0 111 0 112 0 113 0#----------------------------------------------------------------------------------------# PS 5: ANSI AIN 800 Termination Information#----------------------------------------------------------------------------------------105 1 106 1 107 0 108 0 0 0 0 0 0 0 0 0 0 0 0 0#----------------------------------------------------------------------------------------# PS 6: ANSI PRE AIN 800#----------------------------------------------------------------------------------------17 1 2 1 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0#----------------------------------------------------------------------------------------# PS 7: ANSI PRE AIN 800 Termination Information#----------------------------------------------------------------------------------------21 1 20 1 22 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0#################$ReceivedResponse################### F1 F2# MR RA#----------------------------------------------------------------------------------------# RR 1: xxxxxx LNP / Generic LNP Default#----------------------------------------------------------------------------------------0 1#----------------------------------------------------------------------------------------# RR 2: xxxxxx LNP 1st expected#----------------------------------------------------------------------------------------1 2#----------------------------------------------------------------------------------------# RR 3: Generic LNP 1st expected#----------------------------------------------------------------------------------------1 3#----------------------------------------------------------------------------------------# RR 4: xxxxxxx 800 1st expected (Result)#----------------------------------------------------------------------------------------2 1#----------------------------------------------------------------------------------------# RR 5: xxxxxxx 800 2st expected (Error)#----------------------------------------------------------------------------------------3 4#----------------------------------------------------------------------------------------# RR 6: ANSI AIN 800 With termination status notification#----------------------------------------------------------------------------------------4 5#----------------------------------------------------------------------------------------# RR 7: ANSI AIN 800#----------------------------------------------------------------------------------------5 6#----------------------------------------------------------------------------------------# RR 8: ANSI PRE AIN 800 With termination status notification#----------------------------------------------------------------------------------------6 7#----------------------------------------------------------------------------------------# RR 9: ANSI PRE AIN 800#----------------------------------------------------------------------------------------7 8#----------------------------------------------------------------------------------------# RR 10: ANSI AIN 800 / PRE AIN 800 Default#----------------------------------------------------------------------------------------0 9#################$MessageReceiving################### F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11# MSG OR1 REQ OR2 REQ OR3 REQ OR4 REQ OR5 REQ#------------------------------------------------------# MR 1: xxxxxx LNP / Generic LNP#------------------------------------------------------8 1 1 0 0 0 0 0 0 0 0#------------------------------------------------------# MR 2: xxxxxxx 800 (Result)#------------------------------------------------------3 2 1 0 0 0 0 0 0 0 0#------------------------------------------------------# MR 3: xxxxxxx 800 (Error)#------------------------------------------------------3 3 1 0 0 0 0 0 0 0 0#------------------------------------------------------# MR 4: ANSI AIN 800 with termination status notification#------------------------------------------------------8 4 1 5 1 0 0 0 0 0 0#------------------------------------------------------# MR 5: ANSI AIN 800#------------------------------------------------------8 4 1 0 0 0 0 0 0 0 0#------------------------------------------------------# MR 6: ANSI PRE AIN 800 with termination status notification#------------------------------------------------------8 6 1 7 1 0 0 0 0 0 0#------------------------------------------------------# MR 7: ANSI PRE AIN 800#------------------------------------------------------8 6 1 0 0 0 0 0 0 0 0###################$OperationReceiving##################### F1 F2 F3 F4 F5 F6# componentType opClass opCodeFamily opCodeSpecifier opCodeFlag PR#----------------------------------------------------------------------# OR 1: xxxxxx LNP / Generic LNP#----------------------------------------------------------------------6 1 101 1 4 1#----------------------------------------------------------------------# OR 2: xxxxxxx 800 (Result)#----------------------------------------------------------------------1 1 0 20 4 2#----------------------------------------------------------------------# OR 3: xxxxxxx 800 (Error)#----------------------------------------------------------------------3 1 0 0 4 3#----------------------------------------------------------------------# OR 4: ANSI AIN 800#----------------------------------------------------------------------6 1 101 1 4 4#----------------------------------------------------------------------# OR 5: ANSI AIN 800 Request for status notification#----------------------------------------------------------------------6 1 103 5 4 5#----------------------------------------------------------------------# OR 6: ANSI PRE AIN 800#----------------------------------------------------------------------6 1 4 1 3 6#----------------------------------------------------------------------# OR 7: ANSI PRE AIN 800 Request for status notification#----------------------------------------------------------------------6 1 6 1 4 7###################$ParameterReceiving#################### F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15 F16# PA1 REQ ACT PA2 REQ ACT PA3 REQ ACT PA4 REQ ACT PA5 REQ ACT PA6REQ F17 F18 F19 F20 F21 F22 F23 F24 F25 F26 F27 F28 F29 F30ACT PA7 REQ ACT PA8 REQ ACT PA9 REQ ACT PA10 REQ ACT#----------------------------------------------------------------------------------------# PR 1: xxxxxx LNP / Generic LNP#----------------------------------------------------------------------------------------102 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0#----------------------------------------------------------------------------------------# PR 2: xxxxxxx 800 (Result)#----------------------------------------------------------------------------------------205 1 1 206 1 1 204 1 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0#----------------------------------------------------------------------------------------# PR 3: xxxxxxx 800 (Error)#----------------------------------------------------------------------------------------205 1 1 206 1 1 204 1 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0#----------------------------------------------------------------------------------------# PR 4: ANSI AIN 800 Result#----------------------------------------------------------------------------------------102 1 1 110 0 2 113 0 2 114 1 2 115 1 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0#----------------------------------------------------------------------------------------# PR 5: ANSI AIN 800 Status request#----------------------------------------------------------------------------------------- ------------------------------------------------------------105 1 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0#----------------------------------------------------------------------------------------- ------------------------------------------------------------# PR 6: ANSI PRE AIN 800 Result#----------------------------------------------------------------------------------------- ------------------------------------------------------------8 0 2 4 1 1 18 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0#----------------------------------------------------------------------------------------# PR 7: ANSI PRE AIN 800 Status request#----------------------------------------------------------------------------------------20 1 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0###############$ResponseAction################# F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15# ACT1 REQ DAT ACT2 REQ DAT ACT3 REQ DAT ACT4 REQ DAT ACT5 REQ DAT#--------------------------------------------------------------------------# RA 1: xxxxxx LNP Default & Generic LNP Default#--------------------------------------------------------------------------4 1 2 0 0 0 0 0 0 0 0 0 0 0 0#--------------------------------------------------------------------------# RA 2: xxxxxx LNP 1st Expected#--------------------------------------------------------------------------4 1 2 0 0 0 0 0 0 0 0 0 0 0 0#--------------------------------------------------------------------------# RA 3: Generic LNP 1st Expected#--------------------------------------------------------------------------1 1 0 4 1 2 0 0 0 0 0 0 0 0 0#--------------------------------------------------------------------------# RA 4: xxxxxxx (Error)#--------------------------------------------------------------------------0 0 0 0 0 0 0 0 0 0 0 0 0 0 0#--------------------------------------------------------------------------# RA 5: ANSI AIN 800 with termination status notification#--------------------------------------------------------------------------2 0 1 4 1 3 0 0 0 0 0 0 0 0 0#--------------------------------------------------------------------------# RA 6: ANSI AIN AIN 800#--------------------------------------------------------------------------4 1 3 0 0 0 0 0 0 0 0 0 0 0 0#--------------------------------------------------------------------------# RA 7: ANSI PRE AIN 800 with termination status notification#--------------------------------------------------------------------------2 0 4 4 1 3 0 0 0 0 0 0 0 0 0#--------------------------------------------------------------------------# RA 8: ANSI PRE AIN 800#--------------------------------------------------------------------------4 1 3 0 0 0 0 0 0 0 0 0 0 0 0#--------------------------------------------------------------------------# RA 9: 800 Default#--------------------------------------------------------------------------4 1 3 0 0 0 0 0 0 0 0 0 0 0 0###########$ActionData############# F1 F2 F3 F4 F5#-----------------------# AD 1: ANSI AIN 800 Data for RESULT_ACTION_RE_TRIGGER_VIA_LCM (to send termination information)# Trg Pic Null Null Null#--------------------------7 13 0 0 0# AD 2: ANSI LNP Data for RESULT_ACTION_SEND_ACTION_TO_LCM# Act Null Null Null NULL#--------------------------1 0 0 0 0# AD 3: ANSI AIN / PRE AIN 800 Data for RESULT_ACTION_SEND_ACTION_TO_LCM# Act Null Null Null NULL#--------------------------2 0 0 0 0# AD 4: ANSI PRE AIN 800 Data for RESULT_ACTION_RE_TRIGGER_VIA_LCM (to send termination information)# Trg Pic Null Null Null#--------------------------9 13 0 0 0
This completes the SCP configuration. Continue to the next section to initialize the call-screening database. If you have questions or need assistance, see the "Obtaining Technical Assistance" section.
Initializing the Call Screening Database
During installation, the installation script (install.sh) installs and initializes a database that the Cisco MGC can use to store call-screening information for calling- and called-number analysis.
You might want to perform white and black list screening to include or exclude calls from certain numbers. You can provision white lists that specify allowed A-numbers (calling numbers) or B-numbers (called numbers). Black lists block specified A-numbers (calling numbers) or B-numbers (called numbers).
The call screening database is stored in the /opt/TimesTen32/datastore directory. The database name is howdydb. The maximum database size, 256 MB, is specified in the .odbc.ini file shown in the ".odbc.ini File Information" section.
This section contains the following topics:
•
Verifying Database Replication
•
Installing and Removing Release 7.4(x) Patches Manually
•
Installing the Cisco MGC Software on a Separate Host
![]()
Note
You cannot change the database name.
.odbc.ini File Information
The .odbc.ini file specifies the location of the database storage. Unless you installed the software in other than the default directory, the .odbc.ini file is located in the /opt/CiscoMGC/local directory. The following is an example of an .odbc.ini file:
[ODBC Data Sources]howdydb=TimesTen 3.2 Driver[howdydb]Driver=/opt/TimesTen32/32/lib/libtten.soDataStore= /opt/TimesTen32/datastore/howdydbDurableCommits=0ExclAccess=0ThreadSafe=1WaitForConnect=0Size=256[ODBC]Trace=0TraceFile=Installdir=/opt/TimesTen32/32Setting Up Replication
If you have two Cisco MGC hosts in a continuous-service or high-availability system, you must set up database replication between the two hosts. During replication, any updates applied to the database on one host are replicated on the other. Data is transferred real time and does not require the committing or deploying of a configuration.
Replication copies data changes to either database after the initial setup. However, if you have data on one host, and you want the same data on another host, you must back up and move the data over, in addition to configuring replication.
If this is the initial installation of the software, and you do not have any data in the database, perform the following steps. If you do have data in one database, and want to copy it to the other host, proceed to the "Initializing Replication and Copying the Database to Another Host" section.
![]()
Note
Before you can initialize the databases, you must install the Cisco MGC software on both machines.
If you have data in both databases, and the databases do not match, contact the TAC for assistance in merging the databases.
Initializing Database Replication
To set up the initial replication, perform the following steps:
Step 1
Log in to the active host as the root user and enter the following command:
setup_replication.sh standbyhost howdydb
where standbyhost is the name (not IP address) of your standby host. In Example 3-8, the active host is hostx and the standby host is hosty.
![]()
CautionDo not use IP addresses when setting up database replication. If you do, replication fails.
Example 4-3 Initializing Database Replication on the Active Host
hostx% setup_replication.sh hosty howdydbSetting up replication to node hosty for DSN howdydbAdding cisco.whitelist_aAdding cisco.blacklist_aAdding cisco.whitelist_bAdding cisco.blacklist_bAdding cisco.portednumbersAdding cisco.numbertermRAM Residence Policy : inUseRAM Residence Grace (Secs) : 0Manually Loaded In Ram : FalsePurge Logs for Data Store : TrueLogging Enabled : TrueReplication Manually Started : TrueStep 2
Log in to the standby host as the root user and enter the following command:
setup_replication.sh activehost howdydb
where activehost is the name (not IP address) of your active host. In the Example 3-9, the active host is hostx and the standby host is hosty.
![]()
CautionDo not use IP addresses when setting up database replication. If you do, replication fails.
Example 4-4 Initializing Database Replication on the Standby Host
hosty% setup_replication.sh hostx howdydbSetting up replication to node hostx for DSN howdydbAdding cisco.whitelist_aAdding cisco.blacklist_aAdding cisco.whitelist_bAdding cisco.blacklist_bAdding cisco.portednumbersAdding cisco.numbertermRAM Residence Policy : inUseRAM Residence Grace (Secs) : 0Manually Loaded In Ram : FalsePurge Logs for Data Store : TrueLogging Enabled : TrueReplication Manually Started : True
Proceed to the "Verifying Database Replication" section.
Initializing Replication and Copying the Database to Another Host
If you have existing data in one database and want to copy the data to another machine—for example, from the active to standby machine—perform the following steps:
Step 1
Log in to the active host as the root user and enter the following command:
setup_replication.sh standbyhost howdydb
where standbyhost is the name (not IP address) of your standby host. In the Example 3-10, the active host is hostx and the standby host is hosty.
![]()
CautionDo not use IP addresses when setting up database replication. If you do, replication fails.
Example 4-5 Initializing Database Replication on the Active Host
hostx% setup_replication.sh hosty howdydbSetting up replication to node hosty for DSN howdydbAdding cisco.whitelist_aAdding cisco.blacklist_aAdding cisco.whitelist_bAdding cisco.blacklist_bAdding cisco.portednumbersAdding cisco.numbertermRAM Residence Policy : inUseRAM Residence Grace (Secs) : 0Manually Loaded In Ram : FalsePurge Logs for Data Store : TrueLogging Enabled : TrueReplication Manually Started : TrueStep 2
Create a directory for the database backup files using the mkdir command. For example:
mkdir /backupdb
Step 3
Create the backup files by entering the following command:
ttRepAdmin -dsn howdydb -receiver -name standbyhost -backup dirname
where standbyhost is the name (not IP address) of the standby host and dirname is the name of the directory you created in Step 2.
For example:
ttRepAdmin -dsn howdydb -receiver -name hosty -backup backupdbStep 4
Transfer the backup files from the active host to the standby host (for example, use FTP to transfer the directory).
Step 5
Log in to the standby host as the root user and destroy the database that has been created during the initial setup of replication. Enter the following command:
ttDestroy /opt/TimesTen32/datastore/howdydb
Step 6
Restore using the backed-up files from the active host that you transferred. Enter the following command:
ttRestore -fname replica -dir dirname DSN=howdydb
where dirname is the name of the directory you created. For example:
ttRestore -fname replica -dir backupdb DSN=howdydbThe restore process is being initiatedRestore completeStep 7
To set up replication of the standby host, enter the following commands:
ttRepAdmin -dsn howdydb -self -restored dirname
ttRepAdmin -dsn howdydb -self -swap standbyhost
For example:
hosty% ttRepAdmin -dsn howdydb -self -restored backupdbhosty% ttRepAdmin -dsn howdydb -self -swap hostySelf swap with peer hosty successfulStep 8
Enter the following commands to complete the restoration:
ttRepAdmin -dsn howdydb -table cisco.whitelist_a -sendto activehostttRepAdmin -dsn howdydb -table cisco.whitelist_b -sendto activehostttRepAdmin -dsn howdydb -table cisco.blacklist_b -sendto activehostttRepAdmin -dsn howdydb -table cisco.blacklist_a -sendto activehostttAdmin -repPolicy manual howdydbttAdmin -repStart howdydbFor example:
hosty% ttRepAdmin -dsn howdydb -table cisco.whitelist_a -sendto hostxhosty% ttRepAdmin -dsn howdydb -table cisco.whitelist_b -sendto hostxhosty% ttRepAdmin -dsn howdydb -table cisco.blacklist_b -sendto hostxhosty% ttRepAdmin -dsn howdydb -table cisco.blacklist_a -sendto hostxhosty% ttAdmin -repPolicy manual howdydbRAM Residence Policy : inUseRAM Residence Grace (Secs) : 0Manually Loaded In Ram : FalsePurge Logs for Data Store : TrueLogging Enabled : TrueReplication Manually Started : Falsehosty% ttAdmin -repStart howdydbRAM Residence Policy : inUseRAM Residence Grace (Secs) : 0Manually Loaded In Ram : FalsePurge Logs for Data Store : TrueLogging Enabled : TrueReplication Manually Started : TrueStep 9
Verify that the database replication is working. See the "Verifying Database Replication" section.
Verifying Database Replication
To verify that replication is working, perform the following steps:
Step 1
Log in to the active host and start an MML session by entering mml.
Step 2
Enter the prov-sta MML command to being a provisioning session. For example:
hostx mml> prov-sta::srcver="new",dstver="test",confirmVSC-01 - Media Gateway Controller 2000-08-30 11:31:15M COMPLD"PROV-STA";Step 3
Add an entry into the B white list database using the numan-add MML command. For example:
hostx mml> numan-add:bwhite:custgrpid="S018",svcname="testsvc",cli="9998"VSC-01 - Media Gateway Controller 2000-08-30 11:31:25M COMPLD"bwhite";Step 4
Enter the prov-stp MML command to end the provisioning session. For example:
hostx mml> prov-stpVSC-01 - Media Gateway Controller 2000-08-30 11:31:43M COMPLD"PROV-STP"Step 5
Log in to the standby host and start an MML session by entering mml.
Step 6
Enter the prov-sta MML command to being a provisioning session. For example:
hosty mml> prov-sta::srcver="new",dstver="test",confirmVSC-01 - Media Gateway Controller 2000-08-30 11:33:38M COMPLD"PROV-STA";Step 7
Enter the numan-rtrv MML command to verify the entry you added in Step 3 was replicated to the database on the standby host. For example:
hosty mml> numan-rtrv:bwhite:custgrpid="S018",svcname="testsvc",cli="9998"VSC-01 - Media Gateway Controller 2000-08-30 11:33:52M RTRV"session=test:bwhite"/* The cli :9998: exists. */;Step 8
Enter the prov-stp MML command to end the provisioning session. For example:
hosty mml> prov-stpVSC-01 - Media Gateway Controller 2000-08-30 11:35:33M COMPLD"PROV-STP"
Troubleshooting
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 stopStep 2
Restart the replication by entering:
# /etc/init.d/ttreplic start
If you still have problems, retry the commands listed in the "Verifying Database Replication" section. If your output differs from the example in that section, or if you suspect problems or errors in the database installation, try the following:
Step 1
Ensure that the database is installed in the /opt/TimesTen32 directory.
Step 2
Check the log file for installation errors. (The log file is in the directory /opt/TimesTen32/datastore.)
If necessary, remove and reinstall the CSCOga002 package. Use this procedure:
Step 1
Remove the CSCOga002 package using the pkgrm command. To remove the package file, type the following command and press Enter:
#
pkgrm CSCOga002Step 2
Reinstall the package using the pkgadd command by typing the following command and pressing Enter:
# pkgadd -d CSCOga002.pkg
This completes the Cisco MGC software configuration. If you have questions or need assistance, see the "Obtaining Technical Assistance" section. .