CN113448598A - Component upgrading method and device and server - Google Patents

Component upgrading method and device and server Download PDF

Info

Publication number
CN113448598A
CN113448598A CN202110595412.4A CN202110595412A CN113448598A CN 113448598 A CN113448598 A CN 113448598A CN 202110595412 A CN202110595412 A CN 202110595412A CN 113448598 A CN113448598 A CN 113448598A
Authority
CN
China
Prior art keywords
server
upgrade
processor
upgrading
storage medium
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.)
Pending
Application number
CN202110595412.4A
Other languages
Chinese (zh)
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.)
New H3C Information Technologies Co Ltd
Original Assignee
New H3C Information Technologies 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 New H3C Information Technologies Co Ltd filed Critical New H3C Information Technologies Co Ltd
Priority to CN202110595412.4A priority Critical patent/CN113448598A/en
Publication of CN113448598A publication Critical patent/CN113448598A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Abstract

The specification provides a component upgrading method, a component upgrading device and a server, and relates to the technical field of communication. A component upgrading method is applied to a processor in a server and comprises the following steps: in the process of starting the server, sending a reading request to a virtual storage medium in the server through the established access channel, wherein the virtual storage medium is established by a management controller in the server; acquiring a system mirror image corresponding to the reading request, and upgrading the components deployed in the server through an upgrade file acquired from the system mirror image; and after the upgrading is finished, disconnecting the access channel of the virtual storage medium and restarting the server. By the method, the flexibility of upgrading the deployed components by the server can be improved.

Description

Component upgrading method and device and server
Technical Field
The present specification relates to the field of communications technologies, and in particular, to a method and an apparatus for upgrading a component, and a server.
Background
With the popularization of the internet, the applications of servers bearing various services are gradually increased, and therefore, more demands are put on the maintenance and management of the servers. In the server, there are provided components such as a hard disk, a network card, and an array card, which all require periodic firmware upgrade for more reliable use.
In the server, a Management controller may be connected to each Component through a PCIE (Peripheral Component Interconnect Express) bus, and establishes a Management controller-to-Component channel based on a Management Protocol, for example, an MCTP Protocol (Management Component Transport Protocol). When the management controller receives the upgrade file from the management device at the far end, the upgrade file can be issued to the component for upgrading through the established channel. However, in the component upgrade process, the components are required to support the management protocol applied by the management controller, and in the case that the components do not support the management protocol, the upgrade of the components cannot be completed, which reduces the flexibility of upgrading the components in the server.
Disclosure of Invention
In order to overcome the problems in the related art, the specification provides a component upgrading method, a component upgrading device and a server.
In combination with the first aspect of the embodiments of the present specification, the present application provides a component upgrade method, applied to a processor in a server, including:
in the process of starting the server, sending a reading request to a virtual storage medium in the server through the established access channel, wherein the virtual storage medium is established by a management controller in the server;
acquiring a system mirror image corresponding to the reading request, and upgrading the components deployed in the server through an upgrade file acquired from the system mirror image;
and after the upgrading is finished, disconnecting the access channel of the virtual storage medium and restarting the server.
Further, upgrading the component deployed in the server by using the upgrade file acquired from the system image includes:
acquiring a component identifier of a component deployed in a server;
searching a corresponding upgrading file in the system mirror image according to the component identifier;
and sending the searched upgrade file to a corresponding component for upgrading.
Optionally, the method further includes:
and after the upgrade is finished, generating an upgrade log and transmitting the upgrade log to the management controller, wherein the upgrade log records the part identification of the part which finishes the upgrade.
In combination with the second aspect of the embodiments of the present specification, the present application provides a component upgrade method, applied to a management controller in a server, including:
in the starting process of the server, a virtual storage medium is established in the server, and an access channel with the virtual storage medium is established;
if a reading request sent to a virtual storage medium by a processor in a server is received, acquiring a system image corresponding to the reading request from a preset remote device;
and sending the received system image to a memory corresponding to the processor, so that the processor in the server is started based on the system image, and upgrading the components deployed in the server according to the upgrading file contained in the system image.
Optionally, after sending the received system image to the memory corresponding to the processor, the method further includes:
and receiving the upgrade log generated by the processor, and sending the upgrade log to the remote equipment.
In combination with the third aspect of the embodiments of the present specification, the present application provides a component upgrading apparatus, applied to a processor in a server, including:
the reading unit is used for sending a reading request to a virtual storage medium in the server through the established access channel in the starting process of the server, wherein the virtual storage medium is established by a management controller in the server;
the upgrading unit is used for acquiring a system mirror image corresponding to the reading request and upgrading the components deployed in the server through an upgrading file acquired from the system mirror image;
and the disconnection unit is used for disconnecting the access channel of the virtual storage medium and restarting the server after the upgrade is finished.
Optionally, the upgrade unit includes:
the identification module is used for acquiring the component identification of the component deployed in the server;
the searching module is used for searching a corresponding upgrading file in the system mirror image according to the component identifier;
and the issuing module is used for issuing the searched upgrade file to the corresponding component for upgrading.
Optionally, the apparatus further includes:
and the generation unit is used for generating an upgrade log after the upgrade is finished and sending the upgrade log to the management controller, wherein the upgrade log records the part identification of the part which finishes the upgrade.
In combination with the fourth aspect of the embodiments of the present specification, the present application provides a component upgrading apparatus, applied to a management controller in a server, including:
the creating unit is used for creating a virtual storage medium in the server and creating an access channel with the virtual storage medium in the starting process of the server;
the system comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring a system mirror image corresponding to a reading request from a preset remote device if the reading request sent to a virtual storage medium by a processor in a server is received;
and the mounting unit is used for sending the received system image to a memory corresponding to the processor so as to enable the processor in the server to be started based on the system image and upgrade the components deployed in the server according to the upgrade file contained in the system image.
Optionally, the apparatus further includes:
and the sending unit is used for receiving the upgrading log generated by the processor and sending the upgrading log to the remote equipment.
In combination with a fifth aspect of embodiments of the present specification, the present application provides a server, including a management controller and a processor;
in the process of starting the server, the management controller creates a virtual storage medium in the server and establishes an access channel with the virtual storage medium;
the management controller mounts the received system mirror image to a virtual storage medium and restarts the server;
the processor sends a reading request to the created virtual storage medium through the created access channel;
the management controller acquires a system mirror image corresponding to the reading request from a preset remote device according to the received reading request;
the management controller sends the received system image to a memory corresponding to the processor;
the processor is started according to the system mirror image, and upgrades the components deployed in the server through the upgrade files acquired from the system mirror image;
and after the upgrading is finished, the processor disconnects the access channel of the virtual storage medium and restarts the server.
Optionally, after the upgrade is completed, the processor generates an upgrade log and sends the upgrade log to the management controller, wherein a component identifier of a component which completes the upgrade is recorded in the upgrade log;
and if the management controller receives the upgrade log generated by the processor, sending the upgrade log to the remote equipment.
The technical scheme provided by the implementation mode of the specification can have the following beneficial effects:
in the embodiment of the present specification, a virtual storage medium is created in a server and an access channel with the virtual storage medium is established, when a read request of a processor for the virtual storage medium is received, a system image is obtained from a remote device, the processor is started according to the system image, and a component deployed in the server is upgraded based on an upgrade file included in the system image, so that the server can issue the upgrade file to the component through a loaded system after the system in the system image is loaded, a situation that a management controller needs to issue the upgrade file based on a management protocol is avoided, and flexibility of upgrading the component in the server is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the specification.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present specification and together with the description, serve to explain the principles of the specification.
FIG. 1 is a flow chart of a component upgrade method, as applied to a management controller, according to the present application;
FIG. 2 is a schematic diagram of a server according to the present application;
FIG. 3 is a flow chart of a component upgrade method, as applied to a processor, according to the present application;
FIG. 4 is a component upgrade apparatus for a management controller according to the present application;
fig. 5 is a component upgrade apparatus applied to a processor according to the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present specification.
The application provides a component upgrade method, which is applied to a management controller in a server, as shown in fig. 1, and includes:
s100, in the process of starting the server, a virtual storage medium is created in the server, and an access channel with the virtual storage medium is created.
On the motherboard in the server, as shown in fig. 2, a processor, a management controller and a boot chip may be provided, and the processor, the management controller and the boot chip may be connected via bridge chipsets (not shown), such as a south bridge chipset and a north bridge chipset, and the management controller may be based on I2The C bus is connected to the components. The management controller may be connected to component 1 and component 2 via a PCIE bus. The Management Controller may be a BMC (Baseboard Management Controller), and based on the configuration, the Management Controller may create a virtual storage medium in the server, such as a USB (Universal Serial Bus), an optical drive, and the like. The guide chip canFor example, a BIOS (Basic Input Output System) or the like. For example, if the created virtual storage medium is a USB, the access channel may be a USB access channel.
The creation process may be implemented based on a function preset in the management controller. For example, the creation process may be that, based on the pre-configuration, the management controller creates a virtual USB, sets the virtual USB to the connection state through the state parameter, and sets the state of the virtual USB to the connection state. So that the boot chip in the server can scan the virtual USB during the self-test. After that, a part of the memory space is divided in the memory of the management controller itself, and the connection between the management controller and the processor is established through the USB bus of the south bridge chipset, that is, the management controller and the processor are connected through the access channel.
Therefore, in the process of starting the server, the boot chip can scan the virtual USB as the USB of the server in the self-test process, and allocate a section of storage space for the USB in the memory corresponding to the processor, so that the storage space divided by the management controller can perform data interaction with the storage space of the memory corresponding to the processor.
S101, if a reading request sent to a virtual storage medium by a processor in a server is received, acquiring a system image corresponding to the reading request from a preset remote device.
During the process of starting the server, the processor can be guided from the virtual storage medium to load the operating system according to the setting of the management controller, and at the moment, the processor sends a reading request to the virtual storage medium. When a read request is sent to the management controller through the access channel, the management controller can determine that the virtual storage medium is accessed by the read request based on the analysis of the read request. The management controller may then determine that the processor needs to boot and acquire the system image needed at boot.
Thereafter, the management controller may access the remote device based on the pre-configuration. The specific access mode may be that a mapping relationship between a certain address in the virtual storage medium and a certain storage space of the remote device is established in the management controller. Through the mapping relationship, the management controller may request the system image from the remote device through a communication protocol adapted to the remote device. The communication Protocol may be a TCP/IP Protocol (Transmission Control Protocol/Internet Protocol), etc., and is not limited thereto, and only the management controller may perform data communication with the remote device.
And S102, sending the received system image to a memory corresponding to the processor, so that the processor in the server is started based on the system image, and upgrading the components deployed in the server according to the upgrading file contained in the system image.
The system image can be a small-sized operating system, which contains a boot program, a kernel program, an upgrade file for realizing component upgrade, and the like. The system image is from a remote device for management control of the server, such as a KVM (Keyboard, Video, Mouse) device, or other management device connected to the server through a network.
The bootstrap program is used for performing functions such as automatic detection and register setting during the process of restarting the server, for example, UEFI (Unified Extensible Firmware Interface), PXE (pre-boot eXecution Environment), BIOS, and other programs. The kernel program may be a driver (such as a PCIE driver) and a management tool applied to connect the components. The upgrade file is a file for upgrading a firmware in the component, and when the component in the server is upgraded, the upgrade file needs to be transmitted to the component, so that the component loads the upgrade file.
In the system image, an upgrade script may be further included, and the upgrade script may be used for implementing relevant execution steps and relevant configuration during the startup process of the server.
Of course, other files, configurations and drivers may be included in the system image, so that the server can load and execute the system, upgrade components and the like by loading the content in the system image.
After receiving the system image, the management controller in the server may send the system image to the memory corresponding to the processor through the access channel. Therefore, in the process of starting the server, the processor can load the system image from the memory to form a small-sized operating system, identify the component deployed in the server through the upgrade script, find the corresponding upgrade file in the system image and issue the upgrade file, and therefore the component can be upgraded based on the issued upgrade file.
Optionally, after the step S101 of mounting the received system image to the virtual storage medium, the method further includes:
s103, receiving the upgrade log generated by the processor, and sending the upgrade log to the remote equipment.
When the system image is sent to the server through the remote device, in order to enable the remote device to know the upgrading condition of the components in the server, the upgrading condition of the server can be recorded. As shown in fig. 2, when two components requiring upgrading, namely, a component 1 and a component 2, are arranged in a server, after an upgrading process is executed, it may be recorded whether the components have completed upgrading or failed to upgrade, for example, the component 1 completes upgrading, but the component 2 does not complete upgrading, and a processor of the server may record in an upgrade log manner, that is, a corresponding relationship between a component identifier, a slot position, and an upgrade result of the component may be recorded in the upgrade log.
After the server completes the upgrade process, the processor may feed back the upgrade log to the management controller for recording, and return the upgrade log to the remote device through the management controller. Therefore, after the remote equipment receives the upgrade log, the upgrade log can be displayed, so that remote workers can know the condition of the upgrade component, further operation of the next step is executed, and the maintenance and upgrade efficiency of the remote server is improved.
Correspondingly, the present application provides a component upgrade method, applied to a processor in a server, as shown in fig. 3, including:
s300, in the process of starting the server, sending a reading request to a virtual storage medium in the server through the established access channel.
When the server is started, the chip is guided to scan, various current devices on the server, such as a USB, an optical drive, a hard disk and the like, are detected, and a plurality of storage spaces are divided in a memory corresponding to the processor to realize mapping of the devices. The virtual storage medium created by the management controller may also be detected as a device, and a storage space in the memory is allocated to the device.
In the boot chip, the priority of the storage medium used for executing system boot may be configured, and the priority of the virtual storage medium may be set higher than that of other storage media so that boot can be performed using the virtual storage medium.
Due to the creation of the management controller, the virtual storage medium is considered by the boot chip and the processor as a physical device connected to the server, and the processor may send a read request based on an access channel with the virtual storage medium.
S301, acquiring a system image corresponding to the reading request, and upgrading the components deployed in the server through the upgrade file acquired from the system image.
When the management controller receives a read request for accessing the virtual storage medium, the management controller may obtain a system image from the remote device based on the preset setting, and send the system image to the memory corresponding to the processor, so that the processor loads the system image. The system image is similar to a small operating system, and after the small operating system is loaded, the upgrading of components can be carried out through the small operating system. Since the system image is already sent to the corresponding memory of the processor, the upgrade can be based on the upgrade operation performed by the in-band channel, and the channel between the processor and the component is not required to be communicated through the management controller based on a management protocol (such as an MCTP protocol).
The specific upgrading process may be that, in step S301, the component deployed in the server is upgraded by the upgrade file acquired in the system image, and the upgrading process includes:
S301A, acquiring the component identification of the component deployed in the server.
After the processor loads the mini operating system, the management controller may detect the components deployed in the server, and determine slot positions of the components and component identifiers of the components, where the component identifiers may be preset according to functions of the components, for example, component identifier 1 indicates that the component is a network card, and component identifier 2 indicates that the component is a hard disk management card.
S301, 301B, searching the corresponding upgrade file in the system image according to the component identification.
After the component identifier is obtained, the processor may search in the system image according to the component identifier, so as to find the upgrade file corresponding to the component identifier. For example, the component identifier 1 corresponds to the upgrade file 1, and the component identifier 2 corresponds to the upgrade file 2.
S301C, sending the searched upgrade file to the corresponding component for upgrading.
After finding the corresponding upgrade file, the processor can operate the small operating system, connect the processor and the component through the in-band channel, and issue the upgrade file to the corresponding component through the in-band channel, so that the component receiving the upgrade file can upgrade the firmware.
S302, after the upgrade is completed, the access channel of the virtual storage medium is disconnected, and the server is restarted.
After the component requiring the upgrade completes the execution of the upgrade and feeds back a notification of the completion of the upgrade to the processor, the processor determines whether all the components perform the operation of completing the upgrade.
After determining that all the components needing to be upgraded feed back the notification of completion of the upgrade, the processor may disconnect the access channel of the virtual storage medium. Wherein the way of disconnecting the access channel may be to eject the created virtual storage medium. In addition, the processor can also complete the disconnection operation through the management controller.
After disconnection, the server is restarted again. Because the access channel of the virtual storage medium is disconnected, the virtual storage medium cannot be detected by the guide chip, and at the moment, the restarting server is started based on the operating system in the server instead of being started through the system mirror image, so that the server returns to normal work.
The technical scheme provided by the implementation mode of the specification can have the following beneficial effects:
in the embodiment of the present specification, a virtual storage medium is created in a server and an access channel with the virtual storage medium is established, when a read request of a processor for the virtual storage medium is received, a system image is obtained from a remote device, the processor is started according to the system image, and a component deployed in the server is upgraded based on an upgrade file included in the system image, so that the server can issue the upgrade file to the component through a loaded system after the system in the system image is loaded, a situation that a management controller needs to issue the upgrade file based on a management protocol is avoided, and flexibility of upgrading the component in the server is improved.
Optionally, the method further includes:
and S303, after the upgrade is finished, generating an upgrade log and sending the upgrade log to the management controller.
Wherein, the upgrade log records the part identification of the part completing the upgrade.
After receiving the notification of the completion of the upgrade or the notification of the failure of the upgrade fed back by the component, the processor may record the correspondence between the component identifier, the slot position, and the upgrade result of the component based on the notification of the completion of the upgrade, that is, generate an upgrade log. By recording, the processor can know which parts are upgraded and which parts have errors in the upgrading process.
After the processor generates the upgrade log, the upgrade log can be sent to the management controller for storage, so that the management controller can display the upgrade log, and a worker can determine the upgrade condition of each component. And if the system image comes from the remote equipment, the upgrade log can be returned to the remote equipment through the management controller, so that a worker who operates the remote equipment at the remote end to upgrade the components can know the result of the component upgrade, and the efficiency of remotely upgrading the server is improved.
Correspondingly, the present application provides a component upgrading apparatus, applied to a processor in a server, as shown in fig. 4, including:
the reading unit is used for sending a reading request to a virtual storage medium in the server through the established access channel in the starting process of the server, wherein the virtual storage medium is established by a management controller in the server;
the upgrading unit is used for acquiring a system mirror image corresponding to the reading request and upgrading the components deployed in the server through an upgrading file acquired from the system mirror image;
and the disconnection unit is used for disconnecting the access channel of the virtual storage medium and restarting the server after the upgrade is finished.
Further, the upgrade unit includes:
the identification module is used for acquiring the component identification of the component deployed in the server;
the searching module is used for searching a corresponding upgrading file in the system mirror image according to the component identifier;
and the issuing module is used for issuing the searched upgrade file to the corresponding component for upgrading.
Optionally, the apparatus further includes:
and the generation unit is used for generating an upgrade log after the upgrade is finished and sending the upgrade log to the management controller, wherein the upgrade log records the part identification of the part which finishes the upgrade.
Correspondingly, the present application provides a component upgrading apparatus, applied to a management controller in a server, as shown in fig. 5, including:
the creating unit is used for creating a virtual storage medium in the server and creating an access channel with the virtual storage medium in the starting process of the server;
the system comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring a system mirror image corresponding to a reading request from a preset remote device if the reading request sent to a virtual storage medium by a processor in a server is received;
and the mounting unit is used for sending the received system image to a memory corresponding to the processor so as to enable the processor in the server to be started based on the system image and upgrade the components deployed in the server according to the upgrade file contained in the system image.
Optionally, the apparatus further includes:
and the sending unit is used for receiving the upgrading log generated by the processor and sending the upgrading log to the remote equipment.
Correspondingly, the present application provides a server, as shown in fig. 2, including a management controller and a processor;
in the process of starting the server, the management controller creates a virtual storage medium in the server and establishes an access channel with the virtual storage medium;
the management controller mounts the received system mirror image to a virtual storage medium and restarts the server;
the processor sends a reading request to the created virtual storage medium through the created access channel;
the management controller acquires a system mirror image corresponding to the reading request from a preset remote device according to the received reading request;
the management controller sends the received system image to a memory corresponding to the processor;
the processor is started according to the system mirror image, and upgrades the components deployed in the server through the upgrade files acquired from the system mirror image;
and after the upgrading is finished, the processor disconnects the access channel of the virtual storage medium and restarts the server.
Optionally, a virtual storage medium is created in the server, and after an access channel with the virtual storage medium is established, the management controller receives a system image sent by the remote device;
after the upgrade is finished, the processor generates an upgrade log and sends the upgrade log to the management controller, wherein the upgrade log records the part identification of the part which finishes the upgrade;
and if the management controller receives the upgrade log generated by the processor, sending the upgrade log to the remote equipment.
The technical scheme provided by the implementation mode of the specification can have the following beneficial effects:
in the embodiment of the present specification, a virtual storage medium is created in a server, an access channel with the virtual storage medium is established, and an acquired system image is mounted to the virtual storage medium, so that the server can load the system image to start up, and upgrade a component deployed in the server based on an upgrade file included in the system image, so that the server can issue the upgrade file to the component through the loaded system after the system in the system image is loaded, a situation that a management controller needs to issue the upgrade file based on a management protocol is avoided, and flexibility of upgrading the component in the server is improved.
It will be understood that the present description is not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof.
The above description is only for the purpose of illustrating the preferred embodiments of the present disclosure and is not to be construed as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (12)

1. A component upgrading method is applied to a processor in a server and comprises the following steps:
in the process of starting the server, sending a reading request to a virtual storage medium in the server through the established access channel, wherein the virtual storage medium is established by a management controller in the server;
acquiring a system mirror image corresponding to the reading request, and upgrading the components deployed in the server through an upgrade file acquired from the system mirror image;
and after the upgrading is finished, disconnecting the access channel of the virtual storage medium and restarting the server.
2. The method of claim 1, wherein upgrading the component deployed in the server via the upgrade file obtained from the system image comprises:
acquiring a component identifier of a component deployed in the server;
searching a corresponding upgrading file in the system mirror image according to the component identification;
and sending the searched upgrade file to a corresponding component for upgrading.
3. The method of claim 1, further comprising:
and after the upgrade is finished, generating an upgrade log and sending the upgrade log to the management controller, wherein the upgrade log records the part identification of the part which finishes the upgrade.
4. A component upgrading method is applied to a management controller in a server, and comprises the following steps:
in the process of starting the server, creating a virtual storage medium in the server, and establishing an access channel with the virtual storage medium;
if a reading request sent to the virtual storage medium by a processor in the server is received, acquiring a system image corresponding to the reading request from a preset remote device;
and sending the received system image to a memory corresponding to the processor, so that the processor in the server is started based on the system image, and upgrading the components deployed in the server according to the upgrading file contained in the system image.
5. The method of claim 4, wherein after sending the received system image to the memory corresponding to the processor, further comprising:
and receiving the upgrade log generated by the processor, and sending the upgrade log to the remote equipment.
6. A component upgrading device, which is applied to a processor in a server, and comprises:
a reading unit, configured to send a reading request to a virtual storage medium in the server through the established access channel in a process of starting the server, where the virtual storage medium is created by a management controller in the server;
the upgrading unit is used for acquiring a system mirror image corresponding to the reading request and upgrading the components deployed in the server through an upgrading file acquired from the system mirror image;
and the disconnection unit is used for disconnecting the access channel of the virtual storage medium and restarting the server after the upgrade is finished.
7. The apparatus of claim 6, wherein the upgrade unit comprises:
a recognition module for obtaining component identifications of components deployed in the server;
the searching module is used for searching a corresponding upgrading file in the system mirror image according to the component identifier;
and the issuing module is used for issuing the searched upgrade file to the corresponding component for upgrading.
8. The apparatus of claim 6, further comprising:
and the generating unit is used for generating an upgrade log after the upgrade is finished and sending the upgrade log to the management controller, wherein the upgrade log records the part identification of the part which finishes the upgrade.
9. A component upgrading device is characterized in that the device is applied to a management controller in a server and comprises:
the creating unit is used for creating a virtual storage medium in the server and creating an access channel with the virtual storage medium in the starting process of the server;
an obtaining unit, configured to obtain, from a preset remote device, a system image corresponding to a read request sent to the virtual storage medium by a processor in the server if the read request is received;
and the mounting unit is used for sending the received system image to a memory corresponding to the processor so as to enable the processor in the server to be started based on the system image and upgrade the components deployed in the server according to the upgrade file contained in the system image.
10. The apparatus of claim 9, further comprising:
and the sending unit is used for receiving the upgrade log generated by the processor and sending the upgrade log to the remote equipment.
11. A server comprising a management controller and a processor;
in the process of starting the server, the management controller creates a virtual storage medium in the server and establishes an access channel with the virtual storage medium;
the management controller mounts the received system mirror image to the virtual storage medium and restarts the server;
the processor sends a reading request to the created virtual storage medium through the created access channel;
the management controller acquires a system mirror image corresponding to a read request from a preset remote device according to the received read request;
the management controller sends the received system image to a memory corresponding to the processor;
the processor is started according to the system mirror image, and upgrades the components deployed in the server through the upgrade files acquired from the system mirror image;
and after the upgrading is finished, the processor disconnects the access channel of the virtual storage medium and restarts the server.
12. The server according to claim 11, wherein after the upgrade is completed, the processor generates an upgrade log in which component identifiers of components that have completed the upgrade are recorded, and transmits the upgrade log to the management controller;
and if the management controller receives the upgrade log generated by the processor, sending the upgrade log to the remote equipment.
CN202110595412.4A 2021-05-28 2021-05-28 Component upgrading method and device and server Pending CN113448598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110595412.4A CN113448598A (en) 2021-05-28 2021-05-28 Component upgrading method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110595412.4A CN113448598A (en) 2021-05-28 2021-05-28 Component upgrading method and device and server

Publications (1)

Publication Number Publication Date
CN113448598A true CN113448598A (en) 2021-09-28

Family

ID=77810365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110595412.4A Pending CN113448598A (en) 2021-05-28 2021-05-28 Component upgrading method and device and server

Country Status (1)

Country Link
CN (1) CN113448598A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113885921A (en) * 2021-11-09 2022-01-04 南京慧尔视智能科技有限公司 Method and equipment for updating embedded system
CN115061701A (en) * 2022-08-16 2022-09-16 新华三信息技术有限公司 Out-of-band installation method and device for server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113885921A (en) * 2021-11-09 2022-01-04 南京慧尔视智能科技有限公司 Method and equipment for updating embedded system
CN115061701A (en) * 2022-08-16 2022-09-16 新华三信息技术有限公司 Out-of-band installation method and device for server

Similar Documents

Publication Publication Date Title
US8997090B2 (en) Installing an operating system in a host system
US20090106753A1 (en) Method and apparatus for automatically installing operating system onto computer
US20070174033A1 (en) Remote control device and method for accessing peripheral device remotely
US20060271773A1 (en) Maintenance device for remotely accessing and repairing failed computer systems
US9727507B2 (en) USB device remote control method and system
CN109426613B (en) Method for retrieving debugging data in UEFI and computer system thereof
CN110908753B (en) Intelligent fusion cloud desktop server, client and system
CN113448598A (en) Component upgrading method and device and server
CN106980493B (en) Firmware management method and device
US20030200428A1 (en) Method and system for booting a client computer system over a network
CN112732289A (en) Server management method and server
CN112527328A (en) System cloning method, device, electronic equipment and computer readable storage medium
CN111782283A (en) Automatic management method, device and medium for bare metal server
CN107220085B (en) Method for automatically upgrading RAID card firmware
CN106547645B (en) Method for automatically restoring image file and server system
CN106528226B (en) Installation method and device of operating system
JP2006338225A (en) Automatic installation method of computer
CN116627472A (en) Firmware program upgrading method and server of high-speed peripheral component equipment
CN109471665B (en) Method for automatically installing Windows operating system
CN111078305A (en) Information acquisition method and device, server and information management system
CN115658582A (en) PCIE equipment scanning method and server
CN115291951A (en) UEFI (unified extensible firmware interface) starting method and device, electronic equipment and storage medium
CN103902344A (en) Electronic device for installation of operating system automatically and continuously and related method thereof
CN114443148A (en) Method for starting disk by centralized management server and server
CN109254800B (en) Equipment information processing method, electronic equipment and server

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