Patent ID: 7293255

Claim:
A method for automatic generation of a resource type for an application, said resource type to be installed on one or more nodes of a clustered computer system, said method comprising: a. accepting user specified characteristics of said application and said clustered computer system, wherein said application has multiple independent process trees; b. determining if said application can be wrapped in said resource type; c. receiving a user-supplied selection of a programming language; d. automatically generating a code in the user-supplied selected programming language for at least one resource type based on at least one of said input user specified characteristics; e. creating a file specifying, for each process tree of the multiple independent process trees, a command to start each process tree of the multiple process trees; f. wrapping said application in the at least one resource type; g. installing said generated code of said at least one resource type and said application on at least one node of said clustered computer system; h. automatically generating a configuration file separate from the code, wherein the configuration file stores user-supplied configuration information which allows the generated code to be configured after it is installed, and wherein the user-supplied information includes at least one of a resource type name, a vendor ID, an indication of whether the resource type is failover or scalable, an indication of whether the base application is network aware, and a selected language for the generated code; and i. automatically generating customized utility scripts, wherein the customized utility scripts enable starting, stopping, and removing an instance of the resource type on at least one node of said clustered computer system.