def config_show(argv): print "Cluster Name: %s" % utils.getClusterName() status.nodes_status(["config"]) print "" print "" config_show_cib() cluster.cluster_uidgid([], True)
def config_show(argv): print("Cluster Name: %s" % utils.getClusterName()) status.nodes_status(["config"]) print("") print("") config_show_cib() cluster.cluster_uidgid([], True)
def config_show(argv): print "Cluster Name: %s" % utils.getClusterName() status.nodes_status(["config"]) print "" print "" print "Resources: " utils.pcs_options["--all"] = 1 utils.pcs_options["--full"] = 1 resource.resource_show([]) print "" print "Stonith Devices: " resource.resource_show([], True) print "Fencing Levels: " print "" stonith.stonith_level_show() constraint.location_show([]) constraint.order_show([]) constraint.colocation_show([]) print "" del utils.pcs_options["--all"] prop.list_property([]) cluster.cluster_uidgid([], True)