setup clustering