Patent ID: 7490265

Claim:
A method of managing a computer infrastructure, the method comprising: obtaining a managed resource graph for the computer infrastructure, the managed resource graph including a set of resources and relationship data for the computer infrastructure, each resource comprising component of the computer infrastructure, the obtaining a managed resource graph including assigning each resource in the set of resources to one of a plurality of resource types, the plurality of resource types consisting of: a starting resource type, a transiting resource type, and a terminating resource type; determining a set of related resources based on the managed resource graph and the corresponding resource types, the determining including: selecting a first resource in the managed resource graph having the starting resource type; and traversing a set of branches in the managed resource graph from the first resource until each branch in the set of branches ends with a resource having the terminating resource type; generating a related resource graph based on the set of related resources, the related resource graph comprising the set of related resources for the computer infrastructure and relationship data for the set of related resources; obtaining a set of partition rules, the set of partition rules defining whether related resources in the related resource graph belong to the same recovery segment; generating a set of tentative recovery segments based on the related resource graph and the set of partition rules; obtaining a set of recovery segment templates, each recovery segment template in the set of recovery segment templates having a corresponding set of recovery characteristics that define requirements for managing the recovery segment template; generating a set of recovery segments based on the set of tentative recovery segments and the set of recovery segment templates, the generating a set of recovery segments including mapping at least one of the set of tentative recovery segments to a corresponding at least one of the set of recovery segment templates, each recovery segment comprising a set of resources in computer infrastructure that operate as an entity; assigning a set of recovery characteristics to each recovery segment in the set of recovery segments based on the set of tentative recovery segments; and storing the set of recovery segments and corresponding set of recovery characteristics for use in managing the computer infrastructure.