Cisco Systems PGW 2200 Switch User Manual


 
4-84
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
Network Requirements
In most replication schemes, you need to identify the name of the host machine on which your data store
resides. The operating system translates this host name to an IP address. This section describes how to
configure your host names to ensure they use the correct IP addresses.
Identifying data store hosts (UNIX and VxWorks)
If your Unix or VxWorks host has a single IP address and hostname, you can use the host name returned
by the hostname command on UNIX or the hostname() call on VxWorks. If a host contains multiple
network interfaces (with different IP addresses), TimesTen replication tries to connect to the IP address
in the same order as returned by the gethostbyname() call on UNIX or the hostGetByName() call on
VxWorks. It will try to connect using the first address; if a connection cannot be established, it tries the
remaining addresses in order until a connection is established. TimesTen replication uses this same
sequence each time it establishes a new connection to a host. If a connection to a host fails on one IP
address, TimesTen replication attempts to re-connect (or fall back) to another IP address for the host in
the same manner described above.
There are two basic ways you can configure a host to use multiple IP addresses on UNIX platforms: DNS
or /etc/hosts files. On VxWorks platforms you use the hostAdd() call. For example, the following entry
in the /etc/hosts file on a UNIX platform describes a server named Machine1 with two Ethernet IP
addresses:
10.10.98.102 Machine1
192.168.1.102 Machine1
To specify the same configuration for DNS, your entry in the domain zone file would look like:
Machine1 IN A 10.10.98.102
IN A 192.168.1.102
In either case, you only need to specify Machine1 as the hostname in your replication scheme and
replication will use the first available IP address when establishing a connection. In an environment in
which multiple IP addresses are used, you can also assign multiple host names to a single IP address in
order to restrict a replication connection to a specific IP address. For example, you might have an entry
in your /etc/hosts file that looks like:
10.10.98.102 Machine1
192.168.1.102 Machine1 RepMachine1
Or a DNS zone file that looks like:
Machine1 IN A 10.10.98.102
IN A 192.168.1.102
RepMachine1 IN A 192.168.1.102
Should you want to restrict replication connections to IP address 192.169.1.102 for this host, you can
specify RepMachine1 as the hostname in your replication scheme. (Another option is to simply specify
the IP address as the hostname in the CREATE REPLICATION statement used to configure your
replication scheme.)
The following are example hosts files from an active Cisco PGW 2200 Softswitch host and an associated
peer Cisco PGW 2200 Softswitch host:
Active Cisco PGW 2200 Softswitch Host /etc/hosts
27.0.0.1 localhost
192.168.11.1 UK-A-Netra1125-1 loghost
192.168.12.1 UK-A-Netra1125-1.hme1