adding --apply parameter and adding check for pmons that are not in clusterware