add configuration to ease primary/secondary setup

COOK-2562