Configuring the TCP socket connection between the domains

A TCP socket connection is required between the Virtual Domain processes in the primary and backup domains so that the topology data and topology updates can be copied to the backup domain.

About this task

To configure the TCP connection:

Procedure

  1. On the primary Network Manager server, manually start the ncp_virtualdomain process from the $NCHOME/precision/bin directory:

    ncp_virtualdomain -domain PRIMARYDOMAIN_NAME

    When the ncp_virtualdomain process starts for the first time, it writes a line to the $NCHOME/etc/precision/ServiceData.cfg file, which lists TCP and multicast connection information for Network Manager processes. This line references ncp_virtualdomain, and includes the port on which the Virtual Domain component on the primary server accepts TCP connections from the backup server. For example:

    SERVICE: ncp_virtualdomain DOMAIN: VIRTUAL ADDRESS: 127.123.209.55 PORT: 1234 SERVERNAME: myhostname DYNAMIC: NO
    Tip: The DYNAMIC:NO setting forces the ncp_virtualdomain process to use the same address and port the next time that it starts.
  2. Save the file.
  3. Stop the ncp_virtualdomain process.
  4. Copy the SERVICE: ncp_virtualdomain DOMAIN: VIRTUAL ... line from the $NCHOME/etc/precision/ServiceData.cfg file on the primary server into the $NCHOME/etc/precision/ServiceData.cfg file on the backup server. Ensure that only a single SERVICE: ncp_virtualdomain DOMAIN: VIRTUAL ... line is present in the file.
    Important: The SERVICE: ncp_virtualdomain DOMAIN: VIRTUAL ... line must be identical in the $NCHOME/etc/precision/ServiceData.cfg file in both domains.