298
298
# Checks that the resources are running and started.
299
299
# Ensure that clones are excluded as the resource is
300
300
# not directly controllable (dealt with below)
301
303
if (res_name not in clones.values() and
302
305
not pcmk.crm_res_running(res_name)):
303
306
# Just in case, cleanup the resources to ensure they get
304
307
# started in case they failed for some unrelated reason.