Clients won't use relay the first time when setting manually

(imported topic written by murtasma91)

I’m trying to direct certian clients to use a particular relay using the manual relay selection. When I send the action out to change from automatic to manual and specfic the Primary and Secondary relay the workstations will not registry with the primary or secondary relay. Instead they randomly select one of our other available relays. Once I deploy this setting to the client I even tried runing the following script without sucess.

relay select

notify client forceRefresh

The clients would still communicate with a relay that was not part a primary or secondary. When I view the action results for the action that sets the relay configuration options I see the following which looks correct.

Completed setting “__RelaySelect_Automatic”=“0” on “Fri, 01 Jul 2011 20:08:28 +0000” for client

Completed setting “__RelayServer1”=“http%3a%2f%2fumd-caslrelay%2eadsroot%2eitcs%2eumich%2eedu%3a52311%2fbfmirror%2fdownloads%2f” on “Fri, 01 Jul 2011 20:08:28 +0000” for client

Completed setting “__RelayServer2”=“http%3a%2f%2fBFIT-CPPMTS03%2eadsroot%2eitcs%2eumich%2eedu%3a52311%2fbfmirror%2fdownloads%2f” on “Fri, 01 Jul 2011 20:08:28 +0000” for client

If I change the settings twice they seem to stick properly. These log snipets are from the same client.

1st time I attempted to set relay manually.

At 17:37:55 -0400 - actionsite (http://cppmservice.umich.edu:52311/cgi-bin/bfgather.exe/actionsite)

Relevant - Change Multiple Settings (fixlet:109975)

BackgroundAdviceEvaluation NonTargetedFile optimization of C:\Program Files\BigFix Enterprise\BES Client__BESData\actionsite\Action 109971.fxf

At 17:37:55 -0400 -

ActionLogMessage: (action 109975 ) Action signature verified

ActionLogMessage: (action 109975 ) starting action

At 17:37:56 -0400 - actionsite (http://cppmservice.umich.edu:52311/cgi-bin/bfgather.exe/actionsite)

Command succeeded setting “__RelaySelect_Automatic”=“0” on “Fri, 01 Jul 2011 20:08:28 +0000” for client (fixlet 109975)

Command succeeded setting “__RelayServer1”=“http%3a%2f%2fumd-caslrelay%2eadsroot%2eitcs%2eumich%2eedu%3a52311%2fbfmirror%2fdownloads%2f” on “Fri, 01 Jul 2011 20:08:28 +0000” for client (fixlet 109975)

Command succeeded setting “__RelayServer2”=“http%3a%2f%2fBFIT-CPPMTS03%2eadsroot%2eitcs%2eumich%2eedu%3a52311%2fbfmirror%2fdownloads%2f” on “Fri, 01 Jul 2011 20:08:28 +0000” for client (fixlet 109975)

At 17:37:56 -0400 -

ActionLogMessage: (action 109975 ) ending action

At 17:37:56 -0400 - actionsite (http://cppmservice.umich.edu:52311/cgi-bin/bfgather.exe/actionsite)

Not Relevant - Change Multiple Settings (fixlet:109975)

At 17:38:18 -0400 -

Report posted successfully.

At 17:38:20 -0400 -

RegisterOnce: Attempting to register with ‘http://BFIT-CPPMREL03.adsroot.itcs.umich.edu:52311/cgi-bin/bfenterprise/clientregister.exe?RequestType=RegisterMe60&ClientVersion=8.0.627.0&Body=608975&SequenceNumber=162&MinRelayVersion=6.0.0.0&CanHandleMVPings=1&Root=http://cppmservice.umich.edu%3A52311&AdapterInfo=00-23-ae-98-88-96_141.215.162.0%2F23_141.215.163.170_1

Unrestricted mode

Configuring listener as wake-on-lan forwarder(AdapterInfo=00-23-ae-98-88-96_141.215.162.0/23_141.215.163.170_1).

Registered

2nd time which stuck

At 11:09:25 -0400 - actionsite (http://cppmservice.umich.edu:52311/cgi-bin/bfgather.exe/actionsite)

Relevant - Change Multiple Settings (fixlet:110142)

At 11:09:25 -0400 -

ActionLogMessage: (action 110142 ) Action signature verified

ActionLogMessage: (action 110142 ) starting action

At 11:09:25 -0400 - actionsite (http://cppmservice.umich.edu:52311/cgi-bin/bfgather.exe/actionsite)

Command succeeded setting “__RelayServer1”=“http%3a%2f%2fumd-caslrelay%2eadsroot%2eitcs%2eumich%2eedu%3a52311%2fbfmirror%2fdownloads%2f” on “Tue, 05 Jul 2011 14:29:13 +0000” for client (fixlet 110142)

Command succeeded setting “__RelayServer2”=“http%3a%2f%2fBFIT-CPPMTS03%2eadsroot%2eitcs%2eumich%2eedu%3a52311%2fbfmirror%2fdownloads%2f” on “Tue, 05 Jul 2011 14:29:13 +0000” for client (fixlet 110142)

At 11:09:25 -0400 -

ActionLogMessage: (action 110142 ) ending action

At 11:09:25 -0400 - actionsite (http://cppmservice.umich.edu:52311/cgi-bin/bfgather.exe/actionsite)

Not Relevant - Change Multiple Settings (fixlet:110142)

At 11:09:57 -0400 -

Report posted successfully.

At 11:09:58 -0400 -

RegisterOnce: Attempting to register with ‘http://umd-caslrelay.adsroot.itcs.umich.edu:52311/cgi-bin/bfenterprise/clientregister.exe?RequestType=RegisterMe60&ClientVersion=8.0.627.0&Body=608975&SequenceNumber=168&MinRelayVersion=6.0.0.0&CanHandleMVPings=1&Root=http://cppmservice.umich.edu%3A52311&AdapterInfo=00-23-ae-98-88-96_141.215.162.0%2F23_141.215.163.170_1

Unrestricted mode

Configuring listener as wake-on-lan forwarder(AdapterInfo=00-23-ae-98-88-96_141.215.162.0/23_141.215.163.170_1).

Registered

(imported comment written by BenKus)

Hmm… Was the relay it a random relay or the relay that it was previously reporting to?

And does this happen on many computers or just a few?

Ben

(imported comment written by murtasma91)

It’s a random relay and it happens to all workstaitons that I attempt to registr this particlar relay as the primary.

(imported comment written by BenKus)

If you don’t mess with them for a day or so, do they switch to the primary by themselves? or do you need to send another action?

Ben

(imported comment written by murtasma91)

I have to send them another action. What happens is I send the action that sets the machine to use manual relay assignment.

Primary Relay: Relay1

Secondardy Relay: Relay 2

When I check the logs after the action runs it says it completed sucessfully and the relay path is correct in the log files. If I right click and open the computer properites however I see

Primary Relay: Relay 3

Secondary Relay: Main BES Machine

(imported comment written by BenKus)

It is very strange…

To debug further, you might need to work with support…

Ben