It's not much different than deploying standard syncrepl, and then adding in server IDs...
Personally, I just scripted it:
The script is great but I'm trying to understand the process of it all, so that I can troubleshoot it as thing happen or as I add more masters to group.