Use the db connection specified in configuration file to retrieve status of resources in COOL