process each cluster and database, exit with failure when everything has ran