Diagnosing Relay Selection on Linux Endpoints

Wanted to know if anyone had any pointers on diagnosing relay autoselection issues for Linux endpoints. On the windows side you can run the client diagnostics with the -r option to run relay selection to log how the client runs through the relay list but I cannot find a similar command on the linux side.

Here is an example log retrieved from an endpoint where we forced a relay selection: (note the XXX which is masked data)

At 15:20:49 -0500 - 
   Beginning Relay Select
At 15:20:51 -0500 - 
   RegisterOnce: Attempting secure registration with 'https://XXX.XXX.XXX.XXX:52311/cgi-bin/bfenterprise/clientregister.exe?RequestType=RegisterMe60&ClientVersion=9.2.5.130&Body=4532810&SequenceNumber=641&MinRelayVersion=7.1.1.0&CanHandleMVPings=1&MinHops=1&MaxHops=6&Root=XXX.XXX.XXX.XXX%3a52311&AdapterInfo=00-50-56-8d-37-1a_10.53.10.0%2f24_10.53.10.12_0'
   Unrestricted mode
   Configuring listener without wake-on-lan
   Registered with url 'https://XXX.XXX.XXX.XXX:52311/cgi-bin/bfenterprise/clientregister.exe?RequestType=RegisterMe60&ClientVersion=9.2.5.130&Body=4532810&SequenceNumber=641&MinRelayVersion=7.1.1.0&CanHandleMVPings=1&MinHops=1&MaxHops=6&Root=http:/XXX.XXX.XXX.XXX%3a52311&AdapterInfo=00-50-56-8d-37-1a_10.53.10.0%2f24_10.53.10.12_0'
   Registration Server version 9.2.5.130 , Relay version 9.2.5.130
   Relay does not require authentication.
   Client has an AuthenticationCertificate
At 15:20:52 -0500 - 
   Relay selected: XXX.XXX.XXX.XXX. at: 10.183.174.31:52311 on: IPV4

http://www-01.ibm.com/support/docview.wss?uid=swg21696389

The key logging for troubleshooting this will be client debug logging

http://www-01.ibm.com/support/docview.wss?uid=swg21505873#clientdebuglogging

Activate client debug logging, get the client to go through its relay selection cycle and let’s look at the results.

You’ll see a series of rounds of ICMP pings (or not) to which you can see all the relays the client knows about in its Relays.dat file in the actionsite having ICMP pings sent to them. And the results of the ICMP conversation to determine which relay the client selected.