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?

[parameters]
target=mpe.local, ape.local
port=17778
ipaddress=192.168.1.100,192.168.1.101,192.168.1.102,192.168.1.200,192.168.1.201,192.168.1.202
server_http_port=17790
There is nothing about ini configuration in docs.