Distributed Appium Execution Configuration

Hi Team,
I would like to know how can we implement Appium for Distributed execution .I am aware of Implementing appium parallel execution. All i did is created dynamic testng.xml with two s and adding different device id’s as a parameter in each and on giving Thread count to 2 i am able to achieve this Parallel execution task
Do we need to do anything in @BeforeMethod or anyother annotations?

Need your inputs and Suggestions on this.