01.06.2013 Views

OpenEdge Getting Started: Installation and Configuration - Product ...

OpenEdge Getting Started: Installation and Configuration - Product ...

OpenEdge Getting Started: Installation and Configuration - Product ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Client<br />

Port >5162<br />

Host >172.20.255.255<br />

Underst<strong>and</strong>ing server-level <strong>and</strong> connection-level fault tolerance<br />

UDP broadcasting insulates the client <strong>and</strong> Unified Broker from having to know the<br />

exact host location of the NameServer. If there is some reason that you need to move<br />

the NameServer to a different machine in the same subnet, you can safely do it without<br />

having to change your client application or your Unified Broker configuration.<br />

Figure 10 shows a client <strong>and</strong> Unified Broker using UDP broadcasting to communicate<br />

with the NameServer. Using the UDP broadcast address, 172.20.255.255, this client<br />

<strong>and</strong> Unified Broker can communicate with a NameServer running on any host in the<br />

172.20 subnet.<br />

Thus, you can use UDP broadcasting to support location transparency for a single<br />

NameServer. However, as Figure 10 implies, you can also use UDP broadcasting as<br />

the basis to support fault-tolerant NameServers using NameServer replication.<br />

NameServer<br />

[NameServer .NS1]<br />

location =local<br />

portNumber =5162<br />

Host=172.20.0.7<br />

Broadcast =<br />

172 .20.255.255<br />

Figure 10: NameServer replication<br />

Using NameServer replication<br />

NameServer<br />

[NameServer .NS1]<br />

location =local<br />

portNumber =5162<br />

Host =172 .20.16.12<br />

Broadcast =<br />

172 .20.255.255<br />

UDP broadcasting supports NameServer replication by allowing a client or Unified<br />

Broker request to be received by multiple NameServers listening on the same UDP port<br />

<strong>and</strong> configured on different machines within the same subnet. Because every host on<br />

a subnet receives every broadcast request, one or more of these hosts can support a<br />

NameServer that receives <strong>and</strong> h<strong>and</strong>les the same messages. This provides fault<br />

tolerance for both a client connection request <strong>and</strong> a Unified Broker registration request.<br />

To configure <strong>and</strong> use replicated NameServers:<br />

Unified Broker<br />

[NameServer .NS1]<br />

location =remote<br />

portNumber =5162<br />

hostName =<br />

172 .20.255 .255<br />

1. Run each NameServer instance on a separate host located within the same<br />

subnet.<br />

2. Configure each NameServer instance to listen on the same UDP port.<br />

3. Configure each client application to send its connection request <strong>and</strong> each Unified<br />

Broker to send its registration request using the subnet UDP broadcast address<br />

instead of the NameServer host address.<br />

There is one broadcast address for each subnet. Using this address <strong>and</strong> the specified<br />

UDP port number, a client or Unified Broker sends a single request that is recognized<br />

by every NameServer listening on that port in the subnet.<br />

<strong>OpenEdge</strong> <strong>Getting</strong> <strong>Started</strong>: <strong>Installation</strong> <strong>and</strong> <strong>Configuration</strong> 495

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!