CN112732478B - Modification method, device, equipment and storage medium of server parameters - Google Patents

Modification method, device, equipment and storage medium of server parameters Download PDF

Info

Publication number
CN112732478B
CN112732478B CN202110024928.3A CN202110024928A CN112732478B CN 112732478 B CN112732478 B CN 112732478B CN 202110024928 A CN202110024928 A CN 202110024928A CN 112732478 B CN112732478 B CN 112732478B
Authority
CN
China
Prior art keywords
server
parameters
server parameters
pnor
preset memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110024928.3A
Other languages
Chinese (zh)
Other versions
CN112732478A (en
Inventor
李先刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Power Commercial Systems Co Ltd
Original Assignee
Inspur Power Commercial Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Power Commercial Systems Co Ltd filed Critical Inspur Power Commercial Systems Co Ltd
Priority to CN202110024928.3A priority Critical patent/CN112732478B/en
Publication of CN112732478A publication Critical patent/CN112732478A/en
Application granted granted Critical
Publication of CN112732478B publication Critical patent/CN112732478B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a method for modifying server parameters, which is applied to BMC and comprises the following steps: obtaining server parameters of a target server, and writing the server parameters into a preset memory; when the target server is restarted to run to the hostboot stage, receiving an acquisition request for acquiring server parameters, which is sent by the PONR; and reading the server parameters from a preset memory according to the acquisition request, and sending the server parameters to the PNOR so that the PNOR writes the server parameters into the corresponding target registers. In the method, the modification of the server parameters can be realized by only editing the server parameters in a data calling mode, and compared with the mode of modifying the server parameters by using an in-band tool pflash in the prior art, the operation process is more convenient. The application also discloses a device, equipment and a computer readable storage medium for modifying the server parameters, which have the beneficial effects.

Description

Modification method, device, equipment and storage medium of server parameters
Technical Field
The present invention relates to the field of servers, and in particular, to a method, an apparatus, a device, and a computer readable storage medium for modifying server parameters.
Background
With the rapid development and popularization of information technology, the application of servers is becoming more and more widespread. The server software mainly comprises an in-band part and an out-of-band part, wherein in-band firmware of the OpenPOWER server is called PNOR (Parallel NOR Flash, parallel flash memory), and out-of-band firmware of the OpenPOWER server is called BMC (Baseboard Management Controller ); the PNOR is mainly responsible for the related part initialization, parameter maintenance and other works of the OpenPOWER server; the BMC is mainly responsible for monitoring the running state of the OpenPOWER server and provides necessary technical support for the PNOR.
In the prior art, setting the server parameters of the OpenPOWER server is generally that the parameters are solidified into software through PNOR when compiling, but the parameters of the server are difficult to modify in the mode; the other method is to use an in-band tool pflash to set in the running of the server, but the method needs to set corresponding documents according to the parameters of the server which need to be set, then convert the documents into bin files, and then import the bin files by using the in-band tool pflash. Therefore, in the prior art, the operation and maintenance personnel responsible for parameter maintenance have difficulty in conveniently modifying the parameters of the server.
Therefore, how to improve the convenience of modifying the server parameters is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
Therefore, the present invention aims to provide a method for modifying server parameters, which can improve the convenience of modifying server parameters; another object of the present invention is to provide a device, apparatus and computer readable storage medium for modifying server parameters, which have the above advantages.
In order to solve the above technical problems, the present invention provides a method for modifying server parameters, applied to a BMC, comprising:
obtaining server parameters of a target server, and writing the server parameters into a preset memory;
when the target server is restarted to run to a hostboot stage, receiving an acquisition request which is sent by the PONR and used for acquiring the server parameters;
and reading the server parameters from the preset memory according to the acquisition request, and sending the server parameters to the PNOR so that the PNOR writes the server parameters into the corresponding target registers.
Preferably, the process of obtaining the server parameter of the target server and writing the server parameter into the preset memory specifically includes:
acquiring the server parameters of the target server;
calculating a check value of the server parameter;
writing the server parameter and the check value into the preset memory;
correspondingly, after the server parameter is read from the preset memory according to the acquisition request, the method further comprises:
and verifying whether the check value is accurate, and entering the step of sending the server parameter to the PNOR under the condition that the check value is accurate so that the PNOR writes the server parameter into a corresponding target register.
Preferably, the process of calculating the check value of the server parameter specifically includes:
and calculating the CRC value of the server parameter.
Preferably, after the reading the server parameter from the preset memory according to the acquisition request, and sending the server parameter to the PNOR, so that the PNOR writes the server parameter into a corresponding destination register, the method further includes:
and sending out corresponding prompt information.
Preferably, after the reading the server parameter from the preset memory according to the acquisition request, and sending the server parameter to the PNOR, so that the PNOR writes the server parameter into a corresponding destination register, the method further includes:
and displaying the server parameters.
Preferably, after the reading the server parameter from the preset memory according to the acquisition request, and sending the server parameter to the PNOR, so that the PNOR writes the server parameter into a corresponding destination register, the method further includes:
recording the updated server parameters and the operation time for updating the server parameters.
Preferably, the process of writing the server parameter into the corresponding target register by the PNOR specifically includes:
the PNOR verifies the validity of the server parameters, and writes the server parameters into corresponding target registers under the condition that verification is passed.
In order to solve the above technical problem, the present invention further provides a device for modifying parameters of a server, including:
the acquisition module is used for acquiring server parameters of the target server and writing the server parameters into a preset memory;
the receiving module is used for receiving an acquisition request which is sent by the PONR and used for acquiring the server parameters when the target server is restarted to run to a hostboot stage;
and the sending module is used for reading the server parameters from the preset memory according to the acquisition request and sending the server parameters to the PNOR so that the PNOR writes the server parameters into the corresponding target registers.
In order to solve the above technical problem, the present invention further provides a device for modifying parameters of a server, including:
a memory for storing a computer program;
and a processor for implementing the steps of any one of the above-mentioned server parameter modification methods when executing the computer program.
To solve the above technical problem, the present invention further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the method for modifying any one of the server parameters described above.
According to the server parameter modification method provided by the invention, firstly, server parameters of a target server are acquired through the BMC, and the server parameters are written into a preset memory; then when the target server is restarted to run to the hostboot stage, receiving an acquisition request for acquiring server parameters sent by the PONR; and reading the server parameters from a preset memory according to the acquisition request, and sending the server parameters to the PNOR so that the PNOR writes the server parameters into corresponding target registers, thereby realizing the modification of the server parameters of the target server. In the method, the modification of the server parameters can be realized by only editing the server parameters in a data calling mode, and compared with the mode of modifying the server parameters by using an in-band tool pflash in the prior art, the operation process is more convenient.
In order to solve the technical problems, the invention also provides a device, equipment and a computer readable storage medium for modifying the server parameters, which have the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for modifying server parameters according to an embodiment of the present invention;
FIG. 2 is a block diagram of a device for modifying server parameters according to an embodiment of the present invention;
fig. 3 is a block diagram of a server parameter modification device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The core of the embodiment of the invention is to provide a method for modifying server parameters, which can improve the convenience of modifying the server parameters; another core of the present invention is to provide a device, apparatus and computer readable storage medium for modifying server parameters, which have the above advantages.
In order that those skilled in the art will better understand the present invention, the following description of the present invention will be taken with reference to the accompanying drawings and detailed description.
Fig. 1 is a flowchart of a method for modifying server parameters according to an embodiment of the present invention. As shown in fig. 1, a method for modifying server parameters is applied to a BMC, and includes:
s10: and acquiring server parameters of the target server, and writing the server parameters into a preset memory.
Specifically, in this embodiment, the operator may input server parameters through IPMI tool or BMC web, and the BMC may obtain corresponding server parameters by receiving data information input by the operator; after the BMC acquires the server parameters, checking whether the format of the server parameters accords with the standard format, and storing the server parameters in a preset memory under the condition that the format accords with the standard format. In practice, the preset memory is typically a memory in the BMC, such as an EEPROM (Electrically Erasable Programmable read only memory ).
S20: when the target server is restarted to run to the hostboot stage, receiving an acquisition request for acquiring server parameters, which is sent by the PONR;
s30: and reading the server parameters from a preset memory according to the acquisition request, and sending the server parameters to the PNOR so that the PNOR writes the server parameters into the corresponding target registers.
After the BMC stores the server parameters in the preset memory, the target server is restarted. When the target server restarts to run to the hostboot stage, receiving an acquisition request for acquiring server parameters, which is sent by the PONR; and reading the server parameters from a preset memory according to the acquisition request. Specifically, after receiving an IPMI command input by an operator, the BMC obtains pre-stored server parameters from a preset memory according to the IPMI command, generates corresponding response information, and feeds back the response information according to the IPMI command. The IPMI command may be set according to actual requirements, and the specific content of the IPMI command is not limited in this embodiment.
After acquiring the server parameters from the preset memory according to the acquisition request sent by the PNOR, the BMC sends the server parameters to the PNOR, the PNOR sets the server parameters in the corresponding target memories after receiving the server parameters, and the updated server parameters, namely the server parameters, are used to take effect when the target registers are operated.
In addition, it should be noted that, in this embodiment, the server parameter of the target server can be modified by using the BMC, that is, the server parameter is modified out of band, and for the prior art, the convenience of modifying the server parameter by the operation and maintenance personnel is further improved in the mode that the server parameter can only be modified in band generally.
According to the server parameter modification method provided by the embodiment of the invention, firstly, the server parameters of a target server are obtained through the BMC, and the server parameters are written into a preset memory; then when the target server is restarted to run to the hostboot stage, receiving an acquisition request for acquiring server parameters sent by the PONR; and reading the server parameters from a preset memory according to the acquisition request, and sending the server parameters to the PNOR so that the PNOR writes the server parameters into corresponding target registers, thereby realizing the modification of the server parameters of the target server. In the method, the modification of the server parameters can be realized by only editing the server parameters in a data calling mode, and compared with the mode of modifying the server parameters by using an in-band tool pflash in the prior art, the operation process is more convenient.
On the basis of the above embodiment, the present embodiment further describes and optimizes the technical solution, and specifically, in this embodiment, the process of obtaining the server parameter of the target server and writing the server parameter into the preset memory specifically includes:
obtaining server parameters of a target server;
calculating a check value of the server parameter;
writing the server parameters and the check values into a preset memory;
correspondingly, after reading the server parameters from the preset memory according to the acquisition request, the method further comprises:
and verifying whether the check value is accurate, and if so, entering a step of sending the server parameter to the PNOR so that the PNOR writes the server parameter into a corresponding target register.
Specifically, in this embodiment, after obtaining the server parameter of the target server, the BMC further calculates the check value of the server parameter, and writes the server parameter and the corresponding check value into the preset memory. In actual operation, the method of calculating the check value of the server parameter may be to calculate the corresponding hash value as the corresponding check value by a hash algorithm, or may calculate the corresponding check value by a CRC algorithm, which is not limited in this embodiment.
As a preferred embodiment, the process of calculating the check value of the server parameter is specifically:
a CRC check value of the server parameter is calculated.
It should be noted that in this embodiment, it is preferable to calculate the corresponding CRC check value according to the server parameter, and write the server parameter and the corresponding CRC check value into the preset memory. It can be understood that the CRC check value, that is, the cyclic redundancy check code CRC, is abbreviated as cyclic code, which is a commonly used check code having the capability of error detection and error correction.
Correspondingly, when the target server restarts to operate to the hostboot stage, after receiving an acquisition request for acquiring the server parameters sent by the PONR, the BMC reads the server parameters from the preset memory according to the acquisition request and further verifies whether the check value is accurate or not, specifically, the check value acquired from the preset memory is compared with a preset standard check value, and if the check value is consistent with the preset standard check value, the check value stored in the preset memory is accurate. Under the condition that the check value is accurate, the method enters a step of sending the server parameter to the PNOR so that the PNOR writes the server parameter into a corresponding target register; if the check value is inaccurate, the invalid value is responded.
Therefore, in this embodiment, by further calculating the corresponding check value for the server parameter, and storing the server parameter and the corresponding check value in the preset memory, when the server parameter is obtained from the preset memory, the integrity of the server parameter is verified according to the check value, so that the availability and reliability of the server parameter set for the target server can be further ensured.
As a preferred embodiment, the process of writing the server parameter into the corresponding target register by the PNOR specifically includes:
PNOR verifies the validity of the server parameters and writes the server parameters into the corresponding destination registers if verification passes.
After the PNOR acquires the server parameters from the BMC, further verifying the validity of the server parameters, wherein the verification of the validity may include the source of the server parameters, whether the server parameters carry digital certificates, etc., and if the verification passes, the PNOR writes the server parameters into the corresponding target registers; if the verification is not passed, ending the modification flow of the server parameters.
That is, the modification method of the server parameter in this embodiment further verifies the validity of the server parameter before the PNOR writes the server parameter into the corresponding target register, thereby further guaranteeing the security of the target server.
On the basis of the above embodiment, the technical solution is further described and optimized in this embodiment, and specifically, after the server parameter is read from the preset memory according to the acquisition request, and the server parameter is sent to the PNOR, so that the PNOR writes the server parameter into the corresponding target register, this embodiment further includes:
and sending out corresponding prompt information.
Specifically, in this embodiment, after the server parameter is read from the preset memory according to the acquisition request, and the server parameter is sent to the PNOR, so that the PNOR writes the server parameter into the corresponding target register, the prompting device is further triggered to send corresponding prompting information. It should be noted that, the prompting device may be specifically a buzzer and/or an indicator light and/or a display, and the corresponding prompting information, such as a buzzer/a flashing light/a text or an image, is sent out by triggering the prompting device such as the buzzer/the indicator light/the display, so as to intuitively prompt the operation and maintenance personnel that the modification of the server parameter of the target server is completed at present, thereby further improving the use experience of the user.
On the basis of the above embodiment, the technical solution is further described and optimized in this embodiment, and specifically, after the server parameter is read from the preset memory according to the acquisition request, and the server parameter is sent to the PNOR, so that the PNOR writes the server parameter into the corresponding target register, this embodiment further includes:
server parameters are displayed.
Specifically, in this embodiment, after the server parameter is read from the preset memory according to the acquisition request, and the server parameter is sent to the PNOR, so that the PNOR writes the server parameter into the corresponding target register, the server parameter that is currently modified is displayed by using the preset display device. In this embodiment, the specific form of the display server parameter is not limited, and in this embodiment, the specific type of the display device is not limited, and may be, for example, a liquid crystal display or a touch screen.
Therefore, the server parameters are further displayed, so that operation and maintenance personnel can conveniently and intuitively check the condition of the currently modified server parameters, and the use experience of a user is further improved.
On the basis of the above embodiment, the technical solution is further described and optimized in this embodiment, and specifically, after the server parameter is read from the preset memory according to the acquisition request, and the server parameter is sent to the PNOR, so that the PNOR writes the server parameter into the corresponding target register, this embodiment further includes:
the updated server parameters and the operation time for updating the server parameters are recorded.
Specifically, in this embodiment, when the modification of the server parameter of the target server is completed, the time for writing the server parameter into the corresponding target register, that is, the operation time for updating the server parameter, is obtained, and then the updated server parameter and the operation time for updating the server parameter are recorded. In the actual operation, the specific recording mode may be a text recording mode, an excel recording mode or a database recording mode, which is not limited in this embodiment, and is selected according to the actual requirement.
In this embodiment, by further recording the updated server parameter and the operation time for updating the server parameter, it is convenient for the operation and maintenance personnel to check the modification condition of the server parameter of the target server, thereby further improving the use experience of the user.
The embodiments of the method for modifying server parameters provided in the present invention are described in detail above, and the present invention also provides a device, an apparatus, and a computer readable storage medium for modifying server parameters corresponding to the method.
Fig. 2 is a block diagram of a device for modifying server parameters according to an embodiment of the present invention, where, as shown in fig. 2, the device for modifying server parameters includes:
an obtaining module 21, configured to obtain a server parameter of the target server, and write the server parameter into a preset memory;
a receiving module 22, configured to receive an acquisition request sent by the PONR to acquire a server parameter when the target server restarts to run to the hostboot stage;
the sending module 23 is configured to read the server parameter from the preset memory according to the obtaining request, and send the server parameter to the PNOR, so that the PNOR writes the server parameter into the corresponding target register.
The device for modifying the server parameters has the beneficial effects of the method for modifying the server parameters.
As a preferred embodiment, the obtaining module specifically includes:
the acquisition sub-module is used for acquiring server parameters of the target server;
the computing sub-module is used for computing the check value of the server parameter;
the writing sub-module is used for writing the server parameters and the check values into a preset memory;
correspondingly, the method further comprises the steps of:
and the verification sub-module is used for verifying whether the check value is accurate or not and calling the sending module under the condition that the check value is accurate.
As a preferred embodiment, a modification apparatus of a server parameter further includes:
the prompt module is used for reading the server parameters from a preset memory according to the acquisition request, and sending the server parameters to the PNOR so that the PNOR can send corresponding prompt information after writing the server parameters into the corresponding target registers.
As a preferred embodiment, a modification apparatus of a server parameter further includes:
and the display module is used for reading the server parameters from the preset memory according to the acquisition request, and sending the server parameters to the PNOR so that the PNOR can display the server parameters after writing the server parameters into the corresponding target registers.
As a preferred embodiment, a modification apparatus of a server parameter further includes:
and the recording module is used for recording the updated server parameters and the operation time for updating the server parameters after reading the server parameters from the preset memory according to the acquisition request and sending the server parameters to the PNOR so that the PNOR writes the server parameters into the corresponding target registers.
Fig. 3 is a block diagram of a server parameter modification device according to an embodiment of the present invention, where, as shown in fig. 3, the server parameter modification device includes:
a memory 31 for storing a computer program;
a processor 32 for implementing the steps of the method for modifying server parameters as described above when executing a computer program.
The server parameter modification device provided by the embodiment of the invention has the beneficial effects of the server parameter modification method.
To solve the above technical problem, the present invention further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method for modifying server parameters as described above.
The computer readable storage medium provided by the embodiment of the invention has the beneficial effects of the method for modifying the server parameters.
The method, apparatus, device and computer readable storage medium for modifying server parameters provided by the present invention are described in detail above. The principles and embodiments of the present invention have been described herein with reference to specific examples, which are intended to be merely illustrative of the methods of the present invention and their core ideas. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.
In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.

Claims (9)

1. The method for modifying the server parameters is applied to a Baseboard Management Controller (BMC), and is characterized by comprising the following steps:
obtaining server parameters of a target server, and writing the server parameters into a preset memory, wherein the method specifically comprises the following steps: acquiring the server parameters of the target server, wherein the target server is an OpenPOWER server; calculating a check value of the server parameter; writing the server parameters and the check values into the preset memory, wherein the preset memory is a memory in a BMC (baseboard management controller);
when the target server is restarted to run to a hostboot stage, receiving an acquisition request which is sent by a PNOR and used for acquiring the server parameters;
acquiring the server parameters from a preset memory according to an Intelligent Platform Management Interface (IPMI) command input by an operation and maintenance person, and generating corresponding response information;
feeding back the response information to the PNOR according to the IPMI command of the intelligent platform management interface;
and reading the server parameters from the preset memory according to the acquisition request, verifying whether the check value is accurate, and sending the server parameters to the PNOR under the condition that the check value is accurate, so that the PNOR writes the server parameters into corresponding target registers.
2. The method according to claim 1, wherein the process of calculating the check value of the server parameter is specifically:
and calculating the CRC value of the server parameter.
3. The method of claim 1, further comprising, after the reading the server parameters from the preset memory according to the fetch request and sending the server parameters to the PNOR so that the PNOR writes the server parameters into the corresponding destination registers:
and sending out corresponding prompt information.
4. The method of claim 1, further comprising, after the reading the server parameters from the preset memory according to the fetch request and sending the server parameters to the PNOR so that the PNOR writes the server parameters into the corresponding destination registers:
and displaying the server parameters.
5. The method of claim 1, further comprising, after the reading the server parameters from the preset memory according to the fetch request and sending the server parameters to the PNOR so that the PNOR writes the server parameters into the corresponding destination registers:
recording the updated server parameters and the operation time for updating the server parameters.
6. The method according to any one of claims 1 to 5, wherein the process of the PNOR writing the server parameters into the corresponding destination registers, in particular comprises:
the PNOR verifies the validity of the server parameters, and writes the server parameters into corresponding target registers under the condition that verification is passed.
7. A device for modifying parameters of a server, the device being a baseboard management controller BMC, comprising:
the acquisition module is used for acquiring server parameters of the target server and writing the server parameters into a preset memory, wherein the preset memory is a memory in the BMC;
the acquiring module is specifically configured to acquire the server parameter of the target server, where the target server is an OpenPOWER server; calculating a check value of the server parameter; writing the server parameter and the check value into the preset memory;
the receiving module is used for receiving an acquisition request which is sent by the PNOR and used for acquiring the server parameters when the target server is restarted to run to a hostboot stage;
the receiving module is further used for acquiring the server parameters from a preset memory according to an Intelligent Platform Management Interface (IPMI) command input by an operation and maintenance person and generating corresponding response information;
the sending module is used for reading the server parameters from the preset memory according to the acquisition request, verifying whether the check value is accurate, and sending the server parameters to the PNOR under the condition that the check value is accurate so that the PNOR writes the server parameters into corresponding target registers;
and the sending module is further configured to feed back the response information to the PNOR according to the IPMI command of the intelligent platform management interface.
8. A device for modifying a server parameter, comprising:
a memory for storing a computer program;
processor for implementing the steps of the method for modifying server parameters according to any one of claims 1 to 6 when executing said computer program.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method of modifying server parameters according to any one of claims 1 to 6.
CN202110024928.3A 2021-01-08 2021-01-08 Modification method, device, equipment and storage medium of server parameters Active CN112732478B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110024928.3A CN112732478B (en) 2021-01-08 2021-01-08 Modification method, device, equipment and storage medium of server parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110024928.3A CN112732478B (en) 2021-01-08 2021-01-08 Modification method, device, equipment and storage medium of server parameters

Publications (2)

Publication Number Publication Date
CN112732478A CN112732478A (en) 2021-04-30
CN112732478B true CN112732478B (en) 2023-05-16

Family

ID=75589904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110024928.3A Active CN112732478B (en) 2021-01-08 2021-01-08 Modification method, device, equipment and storage medium of server parameters

Country Status (1)

Country Link
CN (1) CN112732478B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113656339B (en) * 2021-07-14 2024-02-02 浪潮商用机器有限公司 NVME hot plug processing method, BMC, device, equipment and medium
CN113655846B (en) * 2021-07-14 2023-05-26 浪潮商用机器有限公司 OpenPOWER server time synchronization method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108519883A (en) * 2018-03-26 2018-09-11 平安普惠企业管理有限公司 Parameter amending method, device, terminal device and storage medium
CN109800029A (en) * 2019-01-02 2019-05-24 郑州云海信息技术有限公司 Batch sets method, apparatus, terminal and the storage medium of server B IOS parameter
CN109960535A (en) * 2019-03-20 2019-07-02 浪潮商用机器有限公司 A kind of server parameter acquisition methods and device
CN110032399A (en) * 2019-04-15 2019-07-19 苏州浪潮智能科技有限公司 A kind of TPM initial method and relevant apparatus

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2016228155B2 (en) * 2004-02-25 2018-03-29 Cfph, Llc System and method for convenience gaming
CN102541681A (en) * 2010-12-24 2012-07-04 鸿富锦精密工业(深圳)有限公司 CMOS (Complementary Metal-Oxide-Semiconductor) data recovery system and method
US9946868B2 (en) * 2015-10-12 2018-04-17 Dresser, Inc. Device functionality control
CN107861760A (en) * 2017-11-24 2018-03-30 联想(北京)有限公司 BIOS collocation method, terminal and server
US10649656B2 (en) * 2017-12-28 2020-05-12 Micron Technology, Inc. Techniques to update a trim parameter in non-volatile memory
CN110647343B (en) * 2019-09-26 2024-01-12 浪潮商用机器有限公司 OpenPower server and system deployment method thereof
CN111158984B (en) * 2019-12-29 2023-08-18 浪潮商用机器有限公司 Method, device, equipment and storage medium for monitoring server hardware
CN111694587A (en) * 2020-06-10 2020-09-22 浪潮商用机器有限公司 Server PNOR firmware upgrading method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108519883A (en) * 2018-03-26 2018-09-11 平安普惠企业管理有限公司 Parameter amending method, device, terminal device and storage medium
CN109800029A (en) * 2019-01-02 2019-05-24 郑州云海信息技术有限公司 Batch sets method, apparatus, terminal and the storage medium of server B IOS parameter
CN109960535A (en) * 2019-03-20 2019-07-02 浪潮商用机器有限公司 A kind of server parameter acquisition methods and device
CN110032399A (en) * 2019-04-15 2019-07-19 苏州浪潮智能科技有限公司 A kind of TPM initial method and relevant apparatus

Also Published As

Publication number Publication date
CN112732478A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
TWI540424B (en) Method, device and system of repairing software run-time error
CN107122301B (en) Interface testing method and device
CN112732478B (en) Modification method, device, equipment and storage medium of server parameters
CN109634841B (en) Electronic device, interface automatic test method and storage medium
US20190317755A1 (en) Method for upgrading software of pos terminal, pos terminal, and storage medium
CN108319575B (en) Page component checking method, device, server and storage medium
WO2019037418A1 (en) Code management method and apparatus, computer device and computer-readable storage medium
US20100312541A1 (en) Program test device and program
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN110262948B (en) Page data monitoring method, device and equipment
CN114647548A (en) Log generation method and device
CN111475188A (en) Power module firmware updating method, device, equipment and storage medium
CN114253642B (en) System information processing method, device, electronic equipment and medium
CN110991147B (en) Font detection method and device, electronic equipment and storage medium
CN109828752B (en) Project code automatic generation method, device, computer equipment and storage medium
CN112947964A (en) Chip firmware updating method, device, equipment and storage medium
CN110908818A (en) Verification method, device, equipment and storage medium
CN110704262A (en) Dynamic service logic debugging method, system, storage medium and intelligent device
CN109271188A (en) A kind of CPLD upgrade method and relevant apparatus
CN110674622B (en) Visual chart generation method and system, storage medium and electronic equipment
WO2019085353A1 (en) Test case migration terminal, test case migration method, and storage medium
WO2020220889A1 (en) Method and device for generating script program, and script program processing system
CN117707423A (en) Parameter calibration method and device, electronic equipment and storage medium
CN112732346A (en) Method, device, equipment and medium for setting PCIE (peripheral component interface express) configuration information
CN112650524A (en) Characteristic branch pipeline configuration method and characteristic branch code submitting method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant