I want to change the relay on the machine immediately.
So I hope that I can run “relay select” command directly on the machine.
Please tell me if you know the way.
Thank you,
.
I want to change the relay on the machine immediately.
So I hope that I can run “relay select” command directly on the machine.
Please tell me if you know the way.
Thank you,
.
I think stop and start Agent will initiate relay selection.
Dear Akira-san,
Thank you for your reply.
When agent restart , the agent checks whether the relay used before rebooting is usable.
So agent can’t initiate relay re-selection .
You can initiate it by action script
relay select
notify client forceRefresh
One option would be to stop the BES Client service then delete the two Registry Key values that keep track of the Relays. No need to delete the Keys, just set the Value properties to blank strings.
HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client\__RelayServer1
HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client\__RelayServer2
You may also need to clear the values from the following …
HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client\__Relay_Control_Server1
HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client\__Relay_Control_Server2
Then restart the BES Client service.
I like Tim’s suggestion, but in my environment we restrict access to regedit, and normal users would not have access to modify the HKLM keys in any case. If this is only being reset by privileged users that shouldn’t be a problem.
Another option to consider is that you could create an Offer to perform the Relay Select action. Then an end-user could select it from the Offers tab of the BES Client UI. You’d need to configure the action settings to “Reapply while relevant, waiting X minutes” so that the offer will reappear again after it’s been executed. You could use the Action Settings to limit which groups see the offer, if you want.
This is one option that I do have content for and make available to all my systems for debugging. You might not want to have it reappear too often for a regular user since they may run it inappropriately.
@yasano another option is to have a policy action that creates a file in /tmp
or /Windows/Temp
and runs a relay selection and is only relevant if that file doesn’t exist. Then you can delete that file from the system itself and trigger a relay selection at any time. This would be the easiest way to do it from a script but have it be cross platform.
I don’t love restarting the client service unless it is for debugging reasons.