BES Client using manual selection to Relays

(imported topic written by ckcheong)

Hello,

Does anyone having this problem?

In my environment, we don’t allow PING. That’s why we apply manual relay selection on every BES Client.

Clients report to Relay1 when Relay1 goes off, Clients report directly to BES Server (If secondary relay not defined).

When Relay1 back online, some clients will report to Relay1 however some of them still reporting to BES Server. I send refresh to them, doesn’t make any different.

I found out a solution but seem doesn’t look good. I apply automatic relay selection setting on those clients pointing to BES Server and then change it back to manual setting. After changes, clients reporting to Relay1.

Hope someone have better solution…

Regards,

CK

(imported comment written by jessewk)

CK,

You can target a custom action to the clients you’d like to have reselect their primary relay. The script of the action is very simple: relay select

That’s it. Just 2 words.

-Jesse

(imported comment written by BenKus)

Hey ckcheong,

Also…

The agents will re-check periodically if their relay is available again. The agent by default will check every 6 hours. So the agent will recover to its relay in a relatively short amount of time.

Do you have relays going offline often?

Ben

(imported comment written by ckcheong)

Yes I do have relays go offline often. Customer refuse to use local server to be a relay.

When BES Client restart, will it select the relay or have to wait for the default interval?

(imported comment written by BenKus)

Hi ckcheong,

It is highly recommended that BES Relays be on computers that tend to be powered on. The reason is basically the exact issue that you are describing.

I believe the BES Client will continue to wait for its default interval to check for better relays even if it is restarted.

Ben

(imported comment written by ckcheong)

Hi Ben,

Thanks for your answer. Btw, I want to display the BES Primary Relay and Secondary Relay at the computers tab console.

Currently I have to right click every single computer to check either BES Client is pointing to correct BES Relay.

Does anyone know how to create the relevance?

CK

(imported comment written by jessewk)

CK,

Try this:

("Primary: " & (it as string) of value of setting “__RelayServer1” of client ; "Secondary: " & (it as string) of value of setting “__RelayServer2” of client)

-Jesse