added logic and logging to cluster startup checking