The present invention provides a contention arbitration apparatus and method which can fully utilize the advantages of physical devices and can be flexibly adapted to a change of the physical devices. A contention arbitration apparatus 1 includes: a resource information storing section 14 for storing resource information; a device information storing section 18 for storing device information indicating a correspondence between a logic device and resources; a used resource recognizing section 13 for recognizing a resource associated with the logic device; a resource access determining section 15 for determining by reference to the resource information which application program is allowed to access the resource recognized by the used resource recognizing section; and a device access determining section 16 for determining, based on a determination result provided by the resource access determining section, whether the application program which has specified the logic device is able to access a physical device which implements functions defined by the logic device.
A method of allocating programs to resources is provided. The method includes generating composition management information for a plurality of resources based on management information relating to performance and capacity of each of the resources. The composition management information includes identification information for the resources used by a plurality of programs. The method also includes searching for and locating the composition management information of a resource identified by the identification information for each of the programs, based on the composition management information of the resources. The method further includes generating program information which associates composition management information of the programs and the located resource together. Furthermore, the method includes outputting information indicating that a resource abnormality has occurred with one of the programs, where the composition management information of the resource associated with the program corresponds to one or more rules for detecting a resource abnormality in the program.