Added define to automatically configure replica agreement pairs