Allow to change Connection Default Preference for all AF SDK applications
If the user wants his custom applications running on a particular client machine to connect to the secondary server of a collective, he could of course hard-code that. But that becomes impractical if there are a lot of custom programs or they are deployed on several client machines, some of which he might prefer to connect to the primary. It would be more flexible if there was some global setting to control this.
The first thing to do is to change priorities for the primary and secondary by assigning the former a bigger number. This can already be done in PSE, and this change gets indeed picked up by other AF SDK applications.
Next you want to change the default preference for connections to a collective to Any instead of PreferPrimary. PSE already has a server option to do just this, but unfortunately it only seems to apply to PSE itself, not to other AF SDK applications. There also doesn't appear to be a config file or registry key that can be changed to accomplish this.
I would prefer that PSE gives me the option to persist the setting to all AF SDK applications running on that machine.
Note: You also need the Any setting for round-robin to work when all collective members have the same priority. This change would be beneficial in this scenario too.