Agent configuration to connect both MPE and APE HA pools

I have two HA pools - one for MPE, one for APE.
I have ~300 linux hosts with installed agents.

How should I configure these linux agents to allow these hosts connect both - MPE and APE? (I want to easily change a polling engine of these nodes with Orion web console if need be)

Is this a legit configuration?

target=mpe.local, ape.local
There is nothing about ini configuration in docs.