Information
We are currently investigating an issue with the editor of some pages. Please save your work and avoid to create new pages until this banner is gone.
When and how NDDS_DISCOVERY_PEERS env. variable should be used?
NDDS_DISCOVERY_PEERS is an environment variable used by RTI DDS (and consequently by BDNT) used in the discovery process to find the peers (in case of BDNT senders and receivers). In BDNT it is used the phase of connecting of senders and receiver.
The varaible can be used in several cases:
If the sender(s) and receiver(s) do not connect it is very likely that multi-cast does not work (is not supported) of either of hosts. Probably it is disabled in the kernel. In this case we can specify the hosts that run sender/receivers in the NDDS_DISCOVERY_PEERS environment variable.
An example from cob-cdpm-b
from AOS
export DISCOVERY_PEERS=cob-cpn-01,cob-cpn-02,cob-cpn-03,cob-cpn-04,cob-cpn-05,cob-cpn-06,cob-cpn-07,cob-cpn-08,cob-cpn-09,cob-cpn-10,cob-cpn-11,cob-cpn-12,cob-cpn-13,cob-cpn-14,cob-cpn-15,cob-cpn-16,gas03,gas06
-- BogdanJeram - 2014-01-17