This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2009-161654, filed on Jul. 8, 2009, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to configuration-information setting methods and information processing devices.
In computer systems, such as mainframes in particular, it is necessary to initialize system configuration information during initial activation of the computer system. Examples of system configuration information include information indicating whether hardware, including a central processing unit (CPU) and a memory, is set in an enabled mode or a non-enabled mode, information indicating whether input-and-output (I/O) channels are set in an enabled mode, and information related to, for example, physical mounted positions of I/O channels to be used. When activating the computer system, initialization is performed during the activation on the basis of the system configuration information.
In computer systems of the related art, it is necessary for an operator to manually set the system configuration information during initial activation of the computer system on the basis of a device configuration information file and an I/O configuration information file. A device configuration information file is a file that stores encrypted data containing the device configuration of the computer system determined in accordance with a contract made with a client (vendor/customer/user). When the computer system is in operation, this encrypted data is opened so as to activate the computer system on the basis of the device configuration determined in accordance with the contract. On the other hand, an I/O configuration information file is a file that stores configuration information of I/O units to be used in the computer system. Information in an I/O configuration information file includes, for example, channel types to be used and logical mounted positions.
In S4, the operator initializes the system configuration information on the basis of the device configuration information file and the selected I/O configuration information file. Initializing the system configuration information involves, for example, setting a CPU to be used, setting a CPU to be set on standby, setting a memory to be used, setting I/O channels to be used, setting physical mounted positions of the I/O channels to be used, and setting system options in an enabled mode or a non-enabled mode (so-called optional settings).
After S4, the operator reactivates the computer system in S5. In S6, the operator determines whether or not the system activation is successful. If the determination result in S6 is “NO”, the process proceeds to S7 where the operator determines whether or not there is an error in the initialization. If the determination result in S7 is “YES”, the process returns to S4. If the determination result in S7 is “NO”, the process proceeds to S8 where the operator determines whether or not there is an error in the selection of the I/O configuration information file. If the determination result in S8 is “YES”, the process returns to S3. If the determination result in S8 is “NO”, the process proceeds to S9 where the operator determines whether or not there is an error in the device configuration information file. If the determination result in S9 is “NO”, the process proceeds to S10 where the operator recognizes a malfunction in the hardware and determines whether to repair or replace the hardware. If the determination result in S9 is “YES”, the process proceeds to S11 where the operator re-creates a device configuration information file. On the other hand, if the determination result in S6 is “YES”, the process for setting the configuration information ends.
Since substantially the entire process for setting the configuration information is manually performed by the operator in this manner, the process is time-consuming. In addition, there is a possibility that the operator may make an operation error while setting the configuration information. Moreover, if the activation of the computer system fails due to an operation error, it is necessary to investigate the causes of the failure by, for example, checking the validity of the configuration information and the optional setting values, thus requiring time until the computer system can be restored to an operable state again.
The aforementioned problems similarly occur when the reconfiguration of the system configuration information is needed as the device configuration information file is changed.
Therefore, the configuration-information setting method and the information processing device of the related art had a problem in setting the configuration information within a relatively short time.
According to an aspect of the embodiments, a configuration-information setting method and apparatus is provided for setting system configuration information of a computer server within an information processing device by recognizing a mounted hardware configuration in the information processing device using a computer processor within the information processing device, using the computer processor to read device configuration information file indicating a device configuration of the information processing device and input-and-output configuration information file indicating configuration information of an input-and-output unit to be used in the information processing device from a storage unit and to compare device configuration information in the device configuration information file with input-and-output configuration information in the input-and-output configuration information file, and to set the system configuration information by using the computer processor when the mounted hardware configuration satisfies the device configuration information indicated in the device configuration information file and/or the input-and-output configuration information indicated in the input-and-output configuration information file. For example, the system configuration information can be one or more of information related to whether hardware is set in an enabled mode or a non-enabled mode, information related to whether an input-and-output channel is set in an enabled mode, and/or information related to a physical mounted position of the input-and-output channel to be used.
The object and advantages of the various embodiments will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the various embodiments, as claimed.
In a configuration-information setting method and an information processing device disclosed here, system configuration information including information indicating whether hardware is set in an enabled mode or a non-enabled mode, information indicating whether input-and-output channels are set in an enabled mode, and information related to physical mounted positions of input-and-output channels to be used is set in a server within the information processing device. A processor within the information processing device automatically recognizes a mounted hardware configuration that indicates hardware mounted in the information processing device. The processor reads out a device configuration information file, which indicates the device configuration of the information processing device, and an input-and-output configuration information file, which indicates the configuration information of input-and-output units to be used in the information processing device, from a storage unit and compares recognized mounted hardware configuration with the device configuration information in the device configuration information file and/or with the input-and-output configuration information in the input-and-output configuration information file. When the mounted hardware configuration satisfies the device configuration information indicated by the device configuration information file and/or the input-and-output configuration information indicated by the input-and-output configuration information file, the processor automatically sets the system configuration information of a system configuration information file.
By automatically setting the system configuration information, the system configuration information can be set within a relatively short time, and an operation error by an operator, which may occur in the case where the system configuration information is manually set by the operator, can be prevented. In addition, automatically setting the system configuration information allows for reduction of time for setting up the information processing device in an operable state.
Embodiments of the disclosed configuration-information setting method and the disclosed information processing device will be described below with reference to the drawings.
The server 111 has a configuration in which M CPUs 21-1 to 21-M (M being a positive integer), N I/O channels 23-1 to 23-N (N being a positive integer), and a memory 22 are connected with each other via a bus 24. The M, N, and L values can be arbitrarily set and do not need to satisfy a specific relationship.
In
In S24, the service processor 112 commences an automatic initialization process. In S25, the controller 31 executes an automatic hardware-recognizing process for automatically recognizing the mounted hardware configuration 344.
In
Referring to
After S30 or after S29 in the case where S30 is omitted, the process proceeds to S31 where the operator reactivates the information processing device 1. In S32, the operator determines whether or not the activation of the information processing device 1 is successful. If the determination result in S32 is “NO”, the process proceeds to S33 where the operator determines whether or not there is an error in the selection of the I/O configuration information file 342. If the determination result in S33 is “YES”, the process returns to S23. If the determination result in S33 is “NO”, the process proceeds to S34 where the operator determines whether or not there is an error in the device configuration information file 341. If the determination result in S34 is “NO”, the process proceeds to S35 where the operator recognizes a malfunction in the hardware and determines a repair or replacement of the hardware. If the determination result in S34 is “YES”, the process proceeds to S36 where the operator re-creates a device configuration information file 341. On the other hand, if the determination result in S32 is “YES”, the process for setting the configuration information ends.
In S135, the controller 31 of the service processor 112 confirms the mounted state of the hardware for automatically recognizing the mounted hardware configuration 344. In S136, it is determined whether or not the hardware is connected to the interface of the server 111 by a known method, such as an interface connection test, so as to read out the mounted state of the hardware in the information processing device 1. In S137, the controller 31 of the service processor 112 is notified of the mounted state of the hardware read out in S136. In S138, the controller 31 of the service processor 112 stores mounted hardware information indicating the mounted state of the hardware, that is, the mounted hardware configuration 344, in the memory 33. S135 to S138 correspond to S25 illustrated in
In S139, if the information processing device 1 is in operation and/or not in operation, the CPU 32 reads out the device configuration information file 341 and/or the I/O configuration information file 342 from the storage unit 34 and also reads out the mounted hardware configuration 344 from the memory 33. Moreover, in S139, the CPU 32 compares the read and/or detected mounted hardware configuration 344 with the device configuration information in the device configuration information file 341 and/or with the I/O configuration information in the I/O configuration information file 342. In S140, when the mounted hardware configuration 344 satisfies the device configuration information indicated in the device configuration information file 341 and/or the I/O configuration information indicated in the I/O configuration information file 342, the CPU 32 sets or updates the system configuration information of the system configuration information file 343. In S141, the CPU 32 stores the set or updated system configuration information of the system configuration information file 343 into the storage unit 34. In S142, the CPU 32 displays a message or the like indicating that the automatic initialization process is completed so as to inform the operator of the completion of the automatic initialization process. The message or the like may be displayed on any display portion of I/O unit 12-i (i=1 to N) or may be displayed on the display unit (not illustrated) connected to the maintenance I/O port 35 of the service processor 112. S139 corresponds to S26, S27, and S28 illustrated in
Therefore, according to an aspect of the embodiments of the invention, any combinations of one or more of the described features, functions, operations, and/or benefits can be provided. A combination can be one or a plurality. The embodiments can be implemented as an apparatus (a machine) that includes computing hardware (i.e., computing apparatus), such as (in a non-limiting example) any computer that can store, retrieve, process and/or output data and/or communicate (network) with other computers. According to an aspect of an embodiment, the described features, functions, operations, and/or benefits can be implemented by and/or use computing hardware and/or software. The apparatus (e.g., the information processing device 1, the SVP 112, . . . , etc.) comprises a computer processor (CPU) (e.g., a hardware logic circuitry based computer processor that processes or executes instructions, namely software/program), computer readable recording media, transmission communication media interface (network interface), and/or a display device, all in communication through a data communication bus. In addition, an apparatus can include one or more apparatuses in computer network communication with each other or other apparatuses. In addition, a computer processor can include one or more computer processors in one or more apparatuses or any combinations of one or more computer processors and/or apparatuses. An aspect of an embodiment relates to causing one or more apparatuses and/or computer processors to execute the described operations. The results produced can be displayed on the display.
A program/software implementing the embodiments may be recorded on computer-readable recording media. Examples of the computer-readable recording media include a magnetic recording apparatus, an optical disk, a magneto-optical disk, and/or volatile and/or non-volatile semiconductor memory (for example, RAM, ROM, etc.). Examples of the magnetic recording apparatus include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape (MT). Examples of the optical disk include a DVD (Digital Versatile Disc), DVD-ROM, DVD-RAM (DVD-Random Access Memory), BD (Blue-ray Disk), a CD-ROM (Compact Disc-Read Only Memory), and a CD-R (Recordable)/RW.
The program/software implementing the embodiments may also be included/encoded as a data signal and transmitted over transmission communication media. A data signal moves on transmission communication media, such as wired network or wireless network, for example, by being incorporated in a carrier wave. The data signal may also be transferred by a so-called baseband signal. A carrier wave can be transmitted in an electrical, magnetic or electromagnetic form, or an optical, acoustic or any other form.
Although embodiments of the disclosed configuration-information setting method and the disclosed information processing device have been described above, the present invention is not limited to the above embodiments, and it is needless to say that various changes and modifications are permissible within the scope of the invention.
All examples and conditional language recited herein are intended for pedagogical objects to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiment(s) of the present inventions have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2009-161654 | Jul 2009 | JP | national |