Check configuration for roles and ports