Information processing apparatus, method, and computer program product for self-diagnosis for utilizing multiple diagnostic devices, each having exclusive access to a resource
First Claim
Patent Images
1. An information processing apparatus comprising:
- a first storage unit that stores therein a diagnosis program that is used to make a diagnosis whether units forming the information processing apparatus are normal;
a central processing unit that includesa plurality of command control units, each of which executes the diagnosis program independently; and
a common resource that is shared by the command control units; and
a second storage unit that stores therein a result of diagnosis that is obtained by the command control units, whereinthe central processing unit causes only one specific command control unit from among the command control units to execute the diagnosis program to make the diagnosis of the common resource at a given time point,the central processing unit monitors the second storage unit until the result of diagnosis is stored in the second storage unit, whereupon it is determined that another command control unit other than the specific command control unit is exclusively in charge of making diagnosis of the common resource that is shared by a plurality of command control units, andthe central processing unit selects a next target device from among the units forming the information processing apparatus when the result of the diagnosis is stored in the second storage unit.
1 Assignment
0 Petitions
Accused Products
Abstract
A logical central processing unit (logical CPU) selects a target device. When the target device is shared by another logical CPU, the logical CPU determines whether the logical CPU is in charge of exclusively making diagnosis of the target device. When the target device is not shared by another logical central processing unit or when the logical CPU is exclusively in charge of making diagnosis of the target device, the logical CPU makes diagnosis of the target device and stores a result of diagnosis in a storage unit.
13 Citations
9 Claims
-
1. An information processing apparatus comprising:
-
a first storage unit that stores therein a diagnosis program that is used to make a diagnosis whether units forming the information processing apparatus are normal; a central processing unit that includes a plurality of command control units, each of which executes the diagnosis program independently; and a common resource that is shared by the command control units; and a second storage unit that stores therein a result of diagnosis that is obtained by the command control units, wherein the central processing unit causes only one specific command control unit from among the command control units to execute the diagnosis program to make the diagnosis of the common resource at a given time point, the central processing unit monitors the second storage unit until the result of diagnosis is stored in the second storage unit, whereupon it is determined that another command control unit other than the specific command control unit is exclusively in charge of making diagnosis of the common resource that is shared by a plurality of command control units, and the central processing unit selects a next target device from among the units forming the information processing apparatus when the result of the diagnosis is stored in the second storage unit. - View Dependent Claims (2, 3)
-
-
4. A computer-readable, non-transitory medium storing a diagnosis program that causes an information processing apparatus to make a diagnosis as to whether units forming the information processing apparatus are normal, wherein the information processing apparatus includes a plurality of central processing unit cores functioning as logical central processing units each of which executes the diagnosis program independently, the diagnosis program causing a specific logical central processing unit from among the logical central processing units to execute:
-
selecting a target device, from among the units forming the information processing apparatus, based on a predetermined order; determining, when the target device is a device that is shared by another logical central processing unit, whether the specific logical central processing unit is exclusively in charge of making a diagnosis of the target device; making the diagnosis of the target device and storing a result of the diagnosis in a storage unit when the target device is a device that is not shared by any other logical central processing unit or when it is determined at the determining that the specific logical central processing unit is exclusively in charge of making the diagnosis of the target device monitoring, when it is determined at the determining that another logical central processing unit other than the specific logical central processing is exclusively in charge of making the diagnosis of the target device that is shared by a plurality of logical central processing units, the storage unit until the result of the diagnosis is stored in the storage unit at the storing; and selecting, when the result of the diagnosis is stored in the storage unit at the storing, a next target device from among the units forming the information processing apparatus. - View Dependent Claims (5, 6, 7)
-
-
8. A diagnosis method used in an information processing apparatus to make a diagnosis as to whether units forming the information processing apparatus are normal, wherein the information processing apparatus includes a plurality of central processing unit cores functioning as logical central processing units each of which executes the diagnosis program independently, the diagnosis method comprising:
-
first selecting including selecting a target device from among the devices forming the information processing apparatus based on a predetermined order; second selecting including selecting, when the target device is a device that is shared by a plurality of logical central processing units, a first logical central processing unit from among the logical central processing units; and first causing including causing the first logical central processing unit to make the diagnosis of the target device, wherein the second selecting includes monitoring, when it is determined at the determining that another logical central processing unit other than the first logical central processing unit is exclusively in charge of making the diagnosis of the target device that is shared by a plurality of logical central processing units, the storage unit until the result of the diagnosis is stored in a storage unit, and the second selecting includes selecting, when the result of the diagnosis is stored in the storage unit, a next target device from among the units forming the information processing apparatus. - View Dependent Claims (9)
-
Specification