Configuring Relay Central.

Configuring Relay Central.

Activate the RELAY CENTRAL SERVICE on the :8090 console on one of the webNetwork servers. This server should be where everyone will agree to copy the files that should be available on the webnetwork relay servers. 

The ip address requested should be an ip address bound to the box that you turn on the Relay Central Service on. 

Once configured and saved, restart the webnetwork server (not just the relay) When it comes back up, you should be able to go to Relay Central Service and click on restart and no errors should appear. 

Next step... 

Go to relay object of each relay that you wish to grab files from the Relay Central Service you configured. Use webadmin to edit the relay object and enter in the IP address of the Relay Central Service, enable it. Save the settings and restart the RELAY. 

After that you can go to the :8090 console of each relay, click on Run Crawler to have the relay go get the files from the Relay Central Server. 

Relay central by default listens on port 24000. The relay contacts the relay central server on port 24000 and gets the files back on a random high port. 

From each of the relay servers, you should be able to telnet to the Relay Central Service on port 24000 and type GET / and get back some HTML. If not, then things are not configured properly or there is a firewall blocking your connection. 

The com.stoneware.service.application.Relay[relayname].CentralCrawler logging can be set to debug on each relay to watch them grab files from the Relay Central Service when you click on the Run Crawler button.