Configuring a Packet Forwarder Receiver and the DNCA to Receive Forwarded Packets

To process web traffic in a cloud-based environment, Packet Forwarder receiver instances must be deployed to the central cloud-based DNCA that is operating on a virtual machine.

Before you begin

Complete the following steps to configure the settings for a packet receiver.

Procedure

  1. Log in to DNCA web console.
    See DNCA Web Console Login for more information.
  2. Change the number of pipelined instances in the Pipeline tab as desired.
    Depending on whether DNCA privacy rules have been applied, the default number of DNCA pipelined processes is set to one. This might be insufficient and can be increased to handle the processing load. This assumes that the VM instance has sufficient resources such as enough processor cores to support the increase.
  3. Save the changes to the DNCA but do not restart the DNCA at this time.
  4. Edit the DNCA configuration file dcx-conf.xml.
    For more information, see DNCA Configuration File dcx-conf.xml.
  5. Locate the Capture tag section in the configuration file and change the content of this section to:
    <ListenerSocketEnabled>true</ListenerSocketEnabled>
    <TransparentLoadBalancingEnabled>false</TransparentLoadBalancingEnabled>
    <SslSessionInfoOnMemcachedServer>false</SslSessionInfoOnMemcachedServer>
    Note: If the DNCA is configured to decrypt SSL traffic from the packet forwarder, then set <SslSessionInfoOnMemcachedServer> to true.
  6. Locate the socket receiver settings and edit the settings for your network environment.

    The following example displays the default socket receiver settings:

    <Listener>
    <Module>pktr</Module>
    <Logfile>/var/log/Discover/listener.log</Logfile>
    <BasePort>1888</BasePort>
    <Instances>1</Instances>
    <Options>
    	<Option>
    		<Value>-p</Value>
    	</Option></Options>
    </Listener>

    The BasePort tag defines the base port number that is used by the packet forwarders. This must be the same port number for the DNCA to correctly capture traffic from the packetforwarder or packet forwarders. The default setting is to use a base port of 1888 and only receive from one packet forwarder.

    The Instances tag defines the maximum number of packet forwarders that the DNCA will connect to. Set this value according to the total or maximum number as determined by the number of deployed packet forwarders.

  7. Save your changes to dcx-conf.xml.
  8. Start the DNCA.
    For more information, see Start DNCA.
  9. After the DNCA has restarted, you can start your web server tier and any deployed packet forwarder. Run service pktfwdr start to start the packet forwarder daemon.

What to do next

Once the packet forwarder receiver is running, you can also perform the following actions:

  • Check the status of a packet forwader, by running service pktfwdr status.
  • Stop a packet forwarder, by running service pktfwdr stop.
  • View the statistics for a packet forwarder, by running dcxstats -p.