Kbase P135610: How to set up UDP broadcasting with NameServer?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  7/13/2010 |
|
Status: Verified
GOAL:
How to setup UDP broadcasting with NameServer?
GOAL:
How to setup NameServer replication?
GOAL:
What is NameServer Replication?
GOAL:
What is NameServer broadcasting?
GOAL:
How does NameServer broadcasting work?
GOAL:
How does NameServer Replication work?
FACT(s) (Environment):
All Supported Operating Systems
Progress 9.x
OpenEdge 10.x
FIX:
When configuring NameServer broadcasting, the client or Unified Broker sends a message specifying the UDP broadcast address of the NameServer host and the UDP port number on which the NameServer is listening. The UDP broadcast address represents the entire subnet where a host is located, and you can determine this address using the appropriate operating system commands from any host on the subnet. When a client or Unified Broker sends a UDP broadcast request, every NameServer on any host in the subnet that is listening on the specified port receives the message.
UDP broadcasting supports NameServer replication by allowing a client or Unified Broker request to be received by multiple NameServer listening on the same UDP port and configured on different machines within the same subnet. Because every host on a subnet receives every broadcast request, one or more of these hosts can support a NameServer that receives and handles the same messages. This provides fault tolerance for both a client connection request and a Unified Broker registration request.
To configure and use replicated NameServer:
1. Run each NameServer instance on a separate host located within the same subnet.
2. Configure each NameServer instance to listen on the same UDP port.
3. Configure each client application to send its connection request and each Unified Broker to send its registration request using the subnet UDP broadcast address instead of the NameServer host address.
There is one broadcast address for each subnet. Using this address and the specified UDP port number, a client or Unified Broker sends a single request that is recognized by every NameServer listening on that port in the subnet.
Following shows a client, a Unified Broker, and two replicated NameServers. The NameServer configurations shown for NameServer NS1 (above the dotted line) appear as they might in the ubroker.properties file for each host.
Client:
location=local
hostName=172.20.255.255
---------------------------------------
NameServer on host1 that is remote to broker but local on host1
[NameServer .NS1]
location =local
portNumber =5162
hostName=172.20.255.255
--------------------------------------------
NameServer on host2 that is remote to broker but local on host2
[NameServer .NS1]
location =local
portNumber =5162
hostName=172.20.255.255
-----------------------------------------------
Broker's controlling name server definition[NameServer .NS1]
location =remote
portNumber =5162
hostName = 172 .20.255.255