check master status to do configuration;