BUG-12265 -factor out cluster creation logic -using same wrapper methods as in the minicluster