Running two appium servers on two mac machines sequentially from a windows machine

Hi,

I want to test automate a native chat application on two ios devices

How to start the appium servers on two mac machines using java from windows machine progrmatically
and how to test a single test case sequentially in both the above said devices

Thanks,
Sugu