Patent ID: 8892702

Claim:
A method comprising: receiving at least one policy definition defined by a user, wherein the at least one policy definition includes at least one conditional relationship specification, and wherein the at least one policy definition programmatically specifies relationships between at least two resources in a set of resources in an autonomic computing system and defines at least one desired end state therefore, and wherein the at least one conditional relationship specification indicates a relationship between at least two resources based on a state associated with each of the at least two resources, and wherein the at least on conditional relationship specification comprises at least one conditional statement, and wherein the at least one policy definition programmatically specifies relationships by using states associated with the at least two resources, wherein the state of one of the at least two resources depends on the state of the other resource, and indicating a decision sequence that is to be followed to reach the at least one desired end state based on the at least one conditional relationship specification; harvesting implicit relationships among the set of resources via self-discovery, wherein the set of implicit relationships at least indicate one or more of a set of resource dependencies for at least one resource in the set of resources and location requirements for at least one resource in the set of resources, and wherein self-discovery includes automatically discovering the set of implicit relationships without the user explicitly specifying the implicit relationships; determining, by the autonomic computing system, that a state of at least one resource in the set of resources substantially satisfies a predetermined requirement of the at least one conditional relationship specification and dependencies and requirements of the set of implicit relationships that have been harvested, wherein the set of resources includes any resources identified based on the set of implicit relationships that have been harvested; determining, by the autonomic computing system in response to the state of the at least one resource substantially satisfying the predetermined requirement, that the desired end state can be reached by applying the at least one policy definition conditioned by the at least one conditional relationship specification; and placing the autonomic computing system in the desired end state by applying the at least one policy definition.