CN107980119B - Server management method and server - Google Patents

Server management method and server Download PDF

Info

Publication number
CN107980119B
CN107980119B CN201680033973.2A CN201680033973A CN107980119B CN 107980119 B CN107980119 B CN 107980119B CN 201680033973 A CN201680033973 A CN 201680033973A CN 107980119 B CN107980119 B CN 107980119B
Authority
CN
China
Prior art keywords
connector
computing component
memory
computing
component
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
CN201680033973.2A
Other languages
Chinese (zh)
Other versions
CN107980119A (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.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011583673.6A priority Critical patent/CN112732289A/en
Publication of CN107980119A publication Critical patent/CN107980119A/en
Application granted granted Critical
Publication of CN107980119B publication Critical patent/CN107980119B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/18Packaging or power distribution
    • G06F1/183Internal mounting support structures, e.g. for printed circuit boards, internal connecting means
    • G06F1/187Mounting of fixed and removable disk drives
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • 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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • 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/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1456Hardware arrangements for backup
    • 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/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0607Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0619Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0632Configuration or reconfiguration of storage systems by initialisation or re-initialisation of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/065Replication mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0665Virtualisation aspects at area level, e.g. provisioning of virtual or logical volumes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0689Disk arrays, e.g. RAID, JBOD
    • 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
    • G06F9/4406Loading of operating system

Abstract

The embodiment of the invention discloses a server management method and a server, wherein the server is divided into a computing component and a storage component according to the maintenance period of a component, the computing component and the storage component are connected in a detachable mode, the computing component comprises a component with a short maintenance period, and the storage component comprises a component with a long maintenance period, so that the computing component or the storage component can be flexibly replaced when the server is maintained, and the maintenance efficiency is high.

Description

Server management method and server
Technical Field
The invention relates to the field of computers, in particular to a server management method and a server.
Background
With the increase of services, the processing capability of the server can not meet the problem of service processing, and the server needs to be upgraded at regular intervals and the components with stronger processing capability are replaced. The server comprises a plurality of components such as a fan, a memory, a network card, a magnetic disk, a processor and the like, and all the components of the server are integrally arranged on a mainboard. The upgrade cycle of each component is different, for example: the motherboard, processor and memory upgrade periods are short, typically 2 to 3 years, while the disk upgrade periods are long, typically 5 to 7 years. According to the architecture of the existing server, all components of the server are integrally arranged on one mainboard, and under the condition of maintaining a plurality of components on the mainboard, maintenance personnel sequentially plug and unplug the plurality of components on the mainboard, so that the maintenance efficiency is low.
Disclosure of Invention
The application discloses a server management method and a server, which can flexibly replace a computing component or a storage component of the server and improve the maintenance efficiency.
In a first aspect, the present application discloses a server, where the server includes a computing component and a storage component, and the computing component includes a BMC (Baseboard Management Controller, BMC for short), a processor system, a computing motherboard computing component, and a first connector. The computing motherboard is a carrier of each component in the computing assembly, and the BMC, the processor system, the computing component, and the first connector may be disposed on the computing motherboard. The processor system is a processor network formed by one or more processors, and the processors can be single-core processors or multi-core processors. The computing component is a component for executing a specific service function, and the computing component may be a network card, a sound card, a MEZZ card, a graphics processing card, or the like. The processor system is connected with the BMC and the first connector respectively. The storage assembly comprises a magnetic disk, a storage mainboard, a second memory and a second connector, the storage mainboard is a carrier of each component in the storage assembly, and the magnetic disk, the second memory and the second connector are arranged on the storage mainboard. The number of the disks can be one or more, the type of the disk can be HDD or SDD, in the case that the number of the disks is multiple, the multiple disks can form RAID, the second storage stores the computing unit backup configuration information, and the computing unit backup configuration information is used to restore the configuration parameters of the computing unit. The second memory is a nonvolatile memory and has the characteristic of no loss of power-down data. Calculate mainboard and storage mainboard and be two independent mainboards, calculate mainboard and storage mainboard and connect with the second connector with detachable mode through first connector, first connector and second connector match each other, for example: the first connector is a USB (Universal Serial Bus, USB for short) plug, and the second connector is a USB socket; or the first connector is a USB socket, and the second connector is a USB plug; or, the first connector is a PCIE (Peripheral Component Interconnect Express, dedicated Peripheral Component Interconnect standard, PCIE for short) male header, and the second connector is a PCIE female header; or the first connector is a PCIE female connector, and the second connector is a PCIE (Serial Advanced Technology Attachment, SATA for short) male connector; or, the first connector is an SATA header, and the second connector is an SATA socket, it can be understood that the first connector and the second connector may be in the above-mentioned male-female connection mode, also may be in a cable connection mode, or in other detachable connection modes, and the application is not limited thereto. With the first and second connectors mated, the BMC is coupled to the second memory via the first and second connectors, and the processor system is coupled to the disk via the first and second connectors.
According to the embodiment, the server is divided into the computing assembly and the storage assembly according to the maintenance period of the components, the computing assembly and the storage assembly are connected in a detachable mode, the components with short maintenance periods are included in the computing assembly, and the components with long maintenance periods are included in the storage assembly, so that the computing assembly or the storage assembly can be flexibly replaced when the server is maintained, and the maintenance efficiency is high.
In one possible implementation of this aspect, the functions of the components in the server are:
the BMC is used for recovering the configuration parameters of the computing component according to the backup configuration information of the computing component stored in the second memory under the condition that the computing component is replaced;
and the processor system is used for copying the drive package of the computing component stored in the preset first memory into the disk, and starting the drive package from the disk after copying is finished.
By implementing the embodiment, the processor system configures the computing component according to the service channel of the processor system, so that the occupation of resources is reduced, and the computing component can be quickly restored to a normal state.
In a possible implementation manner of this aspect, the processor system is configured to, when the computing component is replaced, restore the configuration parameters of the computing component according to the backup configuration information of the computing component stored in the second memory, copy a drive package of the computing component stored in a preset first memory to the disk, and start the drive package from the disk after the copy is completed.
According to the embodiment, under the condition that the computing component is updated, the computing component is driven according to the drive package of the first storage, and the computing component is configured according to the backup configuration information pre-stored in the second storage, so that the server automatically restores to a normal state, an operating system does not need to be reinstalled, the configuration information is quickly restored, plug and play of the computing component is realized, the upgrading maintenance time of the server is shortened, and the maintenance difficulty is reduced.
In a possible implementation manner of the present invention, the BMC is configured to determine whether the computing component is replaced, and if so, set a preset first memory as a first boot device, and restart the first memory, where the first memory stores a driver package of the computing component, and the driver package of the computing component is used for driving the computing component;
the processor system is used for restarting from the first memory, reading the drive package of the computing component from the first memory after restarting, and copying the drive package of the computing component to a disk;
the BMC is also used for setting the disk as the first starting device and restarting the disk under the condition that copying is finished;
the processor system is also used for restarting from the disk, and driving the computing component according to the drive package of the computing component stored in the disk after restarting.
In one possible implementation of the present aspect, the first memory is located in the computing component of the server, that is, the computing component includes a first memory, the BMC is connected to the first memory, and the processor system is connected to the first memory; or the first memory is located in the management server, the processor system and the BMC are both connected to the first memory, and the management server manages a plurality of servers, where the server in this embodiment is any one of the plurality of servers managed by the management server. In the embodiment, the deployment mode that the first storage is located in the computing component is suitable for a single machine scene, and the recovery time is short. The arrangement mode that the first storage is located in the management server is suitable for cluster scenes, the occupation of a drive package of the computing component on the storage space can be effectively reduced, and the centralized management is facilitated.
In a possible implementation manner of this aspect, the second memory further stores computing motherboard backup configuration information, and the BMC is further configured to read the computing motherboard backup configuration information from the second memory, and configure the computing motherboard according to the computing motherboard backup configuration information. For example, the backup configuration information of the computing motherboard includes BIOS (Basic Input Output System, BIOS for short) configuration information.
In a possible implementation manner of this aspect, the second storage further stores the computing component backup identity information and the computing motherboard backup identity information.
The BMC performing the determining whether the computing component is updated includes:
the BMC acquires the identity information of the computing component and acquires the backup identity information of the computing component from the second memory; the identity information includes, but is not limited to, one or more of a model number, a serial number, a MAC address.
Comparing whether the identity information of the computing component and the backup identity information of the computing component are the same;
if not, determining that the computing component is updated.
According to the embodiment, after the computing component is in butt joint with the storage component, whether the computing mainboard and the network card are updated or not can be automatically identified, and the method has the characteristics of high detection speed and less occupied resources.
In one possible embodiment of this aspect, the BMC is further configured to: and under the condition that the computing mainboard is replaced, updating the identity information of the computing mainboard according to the identity information of the computing mainboard.
And in the case of replacement of the computing assembly, updating the backup identity information of the computing component stored in the second memory according to the identity information of the computing component.
In a possible implementation manner of this aspect, the disks further store RAID configuration information, the number of disks in the storage component is multiple, and the processor system is further configured to: and reading RAID configuration information from the disk, and configuring the disk according to the RAID configuration information.
In one possible implementation of this aspect, the storage assembly further includes a RAID card, the RAID card is disposed on the storage motherboard, the RAID card is connected to the disk and the second connector, and the processor system is connected to the RAID card through the first connector and the second connector in a case where the first connector and the second connector are mated. The processor system is further configured to: and reading RAID configuration information from the RAID card, and configuring the disk according to the RAID configuration information.
In a second aspect, the present application discloses a server management method, and an upgrade method is applied to a server, where the server includes, but is not limited to, a video server, a web server, a file server, or a data center server. The computing component comprises a BMC, a computing mainboard, a processor system, a computing component and a first connector, the storage component comprises a magnetic disk, a storage mainboard, a second memory and a second connector, the first connector and the second connector are matched with each other, so that the computing component and the storage component are connected in a detachable mode, and when any one of the computing component and the storage component needs to be upgraded, the old computing component or the storage component can be directly pulled out to be replaced by a new computing component or a new storage component. In the computing assembly, the processor system is respectively connected with the BMC, the computing component and the first connector, the computing mainboard is used as a carrier of each component in the computing assembly, and the BMC, the computing component, the processor system and the first connector are arranged on the computing mainboard. In the storage assembly, a storage main board is a carrier of each component in the storage assembly, a second connector, a disk and a second memory are arranged on the storage main board, the second connector is respectively connected with the disk and the second memory, under the condition that the first connector is butted with the second connector, the BMC is connected with the second memory through the first connector and the second connector, and a processor system is connected with the disk through the first connector and the second connector. The computing component mainly executes computing functions, and the computing functions comprise but are not limited to data processing, sound processing, word processing, control and other functions; accordingly, the computing component may be a network card, a video card, an image processing card, a MEZZ card, or other type of component. The storage assembly is mainly used for storing large-capacity data, the type of the disks in the storage assembly is not limited, and the number of the disks may be one or more, and in the case of multiple disks, the Disk types of the multiple disks may all be HDDs (Hard Disk Drives, HDD for short), all SSDs (Solid State Drives), or a mixture of HDDs and SSDs. The first Memory and the second Memory are non-volatile memories (NVM), the NVM has the characteristic of not losing data after power failure, and the NVM includes but is not limited to ROM (Read Only Memory), EPROM (Erasable Programmable Read Only Memory) and Flash Memory. The first memory stores a drive package of the computing component, the drive package of the computing component is used for driving the computing component, the first memory can be arranged outside a computing assembly of the server or the server, the second memory stores backup configuration information of the computing component, and the backup configuration information of the computing component is used for restoring configuration parameters of the computing component. The server management method comprises the following steps that a computing main board and a storage main board are two independent main boards, the computing main board and the storage main board are connected in a detachable mode through a first connector and a second connector, and the server management method comprises the following steps: and in the case of replacement of the computing component, restoring the configuration parameters of the computing component according to the computing backup configuration information stored in the second memory, and driving the computing component according to the driving package of the computing component stored in the first memory.
In a possible implementation manner of this aspect, in the case of a replacement of a computing component, the BMC restores the configuration parameters of the computing component according to the computing backup configuration information stored in the second memory;
the processor system drives the computing component according to the drive package of the computing component stored in the first memory.
In one possible implementation manner of the present aspect, when the computing component is replaced, the processor system restores the configuration parameters of the computing component according to the backup configuration information of the computing component stored in the second memory, copies a preset drive package of the computing component stored in the first memory to the disk, and starts up the drive package from the disk after the copy is completed.
In one possible implementation of this aspect, copying the driver package of the computing unit stored in the preset first memory to the disk includes: and starting from the first memory, reading the drive package of the computing component from the first memory after starting, and copying the drive package of the computing component to the disk.
In one possible implementation of this aspect, the BMC determines whether the computing component is updated, if so, continues to determine whether the computing component supports out-of-band configuration, and if so, the BMC can directly configure the computing component, and the BMC reads the backup configuration information of the computing component from the second memory, and performs related configuration on the computing component according to the backup configuration information of the computing component, for example: the computing component is a network card, and configures Media Access Control (MAC) addresses, IP addresses, gateway addresses or other addresses and the like of the network card according to the network card backup configuration information; the BMC sets the First memory as a First Boot Device (First Boot Device) and restarts the First Boot Device. And the processor system restarts from the first memory, reads the drive package of the computing part in the first memory after the restart and copies the drive package to the disk. After the copying operation is finished, the BMC sets the disk as the first starting device and restarts the disk; the processor system is started in the hard disk, searches a drive package of the computing component in the disk, and drives the computing component according to the drive package.
In the embodiment, when the computing component of the server is replaced, the computing component is driven according to the drive packet in the first storage, and the computing component is configured according to the backup configuration information pre-stored in the second storage, so that the server automatically restores to a normal state, an operating system does not need to be reinstalled, the configuration information is quickly restored, plug and play of the computing component is realized, the maintenance time for upgrading the server is reduced, and the maintenance difficulty is reduced.
In a possible implementation manner of this aspect, the BMC determines whether the computing component is updated, and if so, reads the computing component backup configuration information from the second memory, stores the read computing component backup configuration information in the first memory, and sets the first memory as a first boot device, and restarts the first memory. The processor system is restarted from the first memory, the first memory stores a simplified operating system and management software, the simplified operating system only reserves basic functions and has the characteristics of small volume and less occupied resources, the simplified operating system can be a Linux operating system, a Unix operating system or a Windows PE operating system or other operating systems, the application is not limited, the management software in the operating system is operated after the processor system is restarted, the management software reads a drive package of the computing component from the first memory, copies the drive package of the computing component to a disk, reads backup configuration information of the computing component from the first memory, and configures the computing component according to the backup configuration information of the computing component. Under the condition of finishing copying and configuring, the BMC sets the disk as first starting equipment and restarts the disk; and the processor system is restarted from the disk, and drives the computing component according to the drive package of the computing component stored in the disk after the restart.
In a possible implementation manner of this aspect, the first storage stores computing motherboard backup configuration information, and the server management method further includes: and the BMC reads the backup configuration information of the computing mainboard from the second memory and configures the computing mainboard according to the backup configuration information of the computing mainboard. In the above embodiment, after the configuration information of the computing motherboard is changed, the original computing motherboard backup configuration information stored in the second storage area is updated according to the changed configuration information, so as to backup the configuration information of the computing motherboard in time.
In a possible implementation manner of this aspect, the second memory further stores computing component backup identity information and computing motherboard backup identity information, and the BMC obtains the identity information of the computing motherboard, reads the computing motherboard backup identity information from the second memory, and temporarily stores the read computing motherboard backup identity information at an assigned position in the computing component, for example: and storing the identity information in the first memory, comparing whether the identity information of the computing mainboard is the same as the read backup identity information of the computing mainboard by the BMC, and if not, determining that the computing mainboard is replaced, namely the current computing mainboard is the replaced computing mainboard and the corresponding whole computing component is also replaced. And the BCM acquires the identity information of the computing component, reads the backup identity information of the computing component from the second memory, temporarily stores the read backup identity information of the computing component at the specified position of the computing assembly, compares whether the backup identity information of the computing component and the backup identity information of the computing assembly are the same or not, and determines that the current computing component is updated if the backup identity information of the computing component and the backup identity information of the computing assembly are not the same.
In one possible implementation of this aspect, the method further includes: under the condition that the computing mainboard is replaced, updating the computing mainboard backup identity information stored in the second memory according to the identity information of the computing mainboard; and in the case of updating of the computing component, updating the backup identity information of the computing component in the second memory according to the identity information of the computing component.
In one possible implementation of this aspect, the method further includes: under the condition that the configuration information of the computing mainboard is changed, updating the computing mainboard backup configuration information stored in the second memory according to the changed configuration information;
when the configuration information of the computing component is changed, the backup configuration information of the computing component stored in the second memory is updated according to the changed configuration information.
In one possible implementation manner of this aspect, the storage component includes a plurality of Disks, the plurality of Disks form a RAID (Redundant Arrays of Independent Disks, RAID for short) in a software manner, RAID configuration information is stored in the Disks, the processor system reads the RAID configuration information from the Disks, and configures the Disks according to the RAID configuration information, where the RAID configuration information includes RAID levels, such as RAID0 to RAID 50.
In one possible implementation manner of the present invention, the number of the disks in the storage component is multiple, the multiple disks form a RAID by a hardware method, the storage component further includes a RAID card, and the processor system reads RAID configuration information from the RAID card and configures the disks according to the RAID configuration information.
In a third aspect, the present embodiment provides a business system including a management server and at least one business server, the management server including a first memory that stores a driver package of a computing component included in each business server; each business server comprises a storage component and a calculation component, the calculation component comprises a BMC, a processor system, a calculation mainboard, a calculation component and a first connector, the BMC, the processor system, the calculation component and the first connector are arranged on the calculation mainboard, and the processor system is respectively connected with the BMC, the first memory, the calculation component and the first connector; the storage assembly comprises a second storage, a storage mainboard, a magnetic disk and a second connector, the second storage, the magnetic disk and the second connector are arranged on the storage mainboard, and the second connector is respectively connected with the magnetic disk and the second connector; the first connector and the second connector are matched with each other, when the first connector and the second connector are in butt joint, the BMC is connected with the second memory through the first connector and the second connector, and the processor system is connected with the disk through the first connector and the second connector. For each service server, the functions of each component in the service server are as follows:
the BMC of the service server is used for judging whether the computing component is updated or not, identifying whether the computing component supports out-of-band configuration or not if the computing component supports out-of-band configuration, acquiring backup configuration information of the computing component from a second memory if the computing component supports out-of-band configuration, configuring the computing component according to the backup configuration information of the computing component, setting the first memory as first starting equipment, and restarting the first memory;
the processor system of the service server is used for restarting from the first memory, reading the drive package of the computing component from the first memory after restarting, and copying the drive package of the computing component to a disk of the service server;
the BMC of the service server is also used for setting the disk as the first starting device and restarting the disk under the condition that copying is finished;
and the processor system of the service server is also used for restarting from the disk, and driving the network card according to the drive packet of the network card stored in the disk after restarting.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a server according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of another server according to an embodiment of the present invention;
fig. 3a is a schematic flow chart illustrating a structure of a service system according to an embodiment of the present invention;
FIG. 3b is a schematic structural diagram of another server according to the embodiment of the present invention;
fig. 3c is a schematic structural diagram of a server according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a server management method according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating another server management method according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a further method for managing a server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
The embodiment of the invention discloses a server management method, a server and a service system, wherein the server comprises a computing component and a storage component, the computing component and the storage component are connected in a detachable mode, the computing component comprises a component with a short maintenance period, and the storage component comprises a component with a long maintenance period, so that the computing component or the storage component can be flexibly replaced when the server is maintained, and the maintenance efficiency is high.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a server according to an embodiment of the present invention. In an embodiment of the present invention, a server includes: a computing component and a storage component. The computing component comprises a computing mainboard 10, a first Memory 11, a processor system 12, a computing part 13, a substrate controller 14 and a first connector 15, wherein the first Memory 11 is a nonvolatile Memory, the first Memory 11 can be a ROM, an EPROM, an EEPROM or a Flash Memory, a drive package of the computing part 13 is stored in the first Memory 11, and the drive package of the computing part 13 is used for driving the computing part 13; the processor system 12 is a processor network composed of one or more processors, each processor may be a single-core processor or a multi-core processor, and when the processor system 12 is a plurality of processors, the processors communicate with each other through an interconnection channel, and the interconnection channel may be a QPI (Quick Path Interconnect, Quick interconnection channel, QPI for short) or a Hyper Transport; the computing component 13 is a component that performs specified computing tasks including, but not limited to, data packet processing, image processing, audio processing, or video processing, and the computing component 13 includes, but not limited to, a network card, a sound card, a MEZZ card, or a graphics processing card; the first memory 11, the processor system 12, the computing component 13, the baseboard management controller 14, and the first connector 15 are disposed on the computing motherboard 10, wherein the first connector 15 is disposed on the computing motherboard 10. The processor system 12 is connected to the first memory 11, the board management controller 14, the calculation part 13, and the first connector 15, respectively, and the board controller 14 is connected to both the first connector 15 and the first memory 11.
The storage component comprises a second connector 16, a storage main board 17, a disk 18 and a second memory 19 which are connected, wherein the second connector 16, the disk 18 and the second memory 19 are arranged on the storage main board 17, the second connector 16 and the first connector 15 are matched with each other, the second memory 19 stores backup configuration information of the computing component, and the backup configuration information of the computing component is used for restoring configuration parameters of the computing component 13. The specific structure of the first connector 15 and the second connector 16 may be: the first connector 15 is a male USB connector, and the second connector 16 is a female USB connector; or the first connector 15 is a USB male connector, and the second connector 16 is a USB female connector; or the first connector 15 is a PCIE male connector, and the second connector 16 is a PCIE female connector; or the first connector 15 is a PCIE female header, and the second connector 16 is a PCIE male header. The number of the disks 18 may be one or more, and in the case that the number of the disks 18 is multiple, the disk types of the disks 18 may all be HDDs, or all be SSDs, or a mixture of HDDs and SSDs, which is not limited in this application, and the multiple disks may form a RAID in a software manner; the second Memory 19 is a non-volatile Memory, the second Memory 19 may be a ROM, an EPROM, an EEPROM, or a Flash Memory, and the second Memory 19 stores backup configuration information of the computing components. The computing motherboard 10 and the storage motherboard 17 are two separate motherboards, and in the case where the first connector 15 and the second connector 16 are mated, the processor system 12 is connected to the disk 18 through the first connector 15 and the second connector 16, and the board controller 14 is connected to the second memory 19 through the first connector 15 and the second connector 16. Referring to the embodiment shown in fig. 1, the processor system 12 is connected to the P1 pin of the first connector 15, the substrate controller 14 is connected to the P2 pin of the first connector 15, the disk 18 is connected to the P1 pin of the second connector 16, the second memory 19 is connected to the P2 pin of the second connector 16, the P1 pin of the first connector 15 is connected to the P1 pin of the second connector 16, and the P2 pin of the first connector 15 is connected to the P2 pin of the second connector 16 when the first connector 15 and the second connector 16 are mated.
In one possible implementation, the functions of the individual components in the server are:
a baseboard management controller 14 for restoring the configuration parameters of the computing unit 13 according to the backup configuration information stored in the second memory 19 when the computing unit 13 is replaced;
and the processor system 12 is configured to copy the drive package of the computing unit 13 stored in the first memory 11 to the disk 18, and boot the drive package from the disk 18 after the copy is completed.
In one possible implementation, the functions of the various components in the server are:
and the processor system 12 is configured to, when the computing unit 13 is replaced, restore the configuration parameters of the computing unit 13 according to the computing unit backup configuration information stored in the second memory 19, copy the drive package of the computing unit 13 stored in the first memory 11 to the disk 18, and start up the drive package from the disk 18 after the copy is completed.
In one possible embodiment, the processor system 12 executing the copy of the driver package of the computing unit 13 stored in the preset first memory 11 to the disk 18 includes:
the boot is performed from the first memory 11, and after the boot, the drive package of the computing unit 13 is read from the first memory 11, and the drive package of the computing unit 13 is copied to the disk 18.
In one possible implementation, the functions of the various components in the server are:
and the baseboard management controller 14 is used for judging whether the computing part 13 is updated or not, if so, identifying whether the computing part 13 supports out-of-band configuration or not, if so, the baseboard management controller 14 reads the computing part backup configuration information from the second memory 19, configures the computing part 13 according to the computing part backup configuration information, sets the first memory 11 as a first starting device, and restarts the device. The out-of-band configuration represents a control mode of separating a management channel and a service channel, wherein the management channel is used for transmitting control data, and the service channel is used for transmitting service data. The baseboard management controller 14 can obtain the identity information of the computing component 13 according to the mapping relationship between the pre-stored identity information and the status flag bit of whether the out-of-band configuration is supported, and the baseboard management controller 14 can query the associated status flag bit according to the mapping relationship to determine whether the computing component 13 supports the out-of-band configuration.
In a possible embodiment, the baseboard management controller 14 may determine whether the computing main board 10 is replaced before determining whether the computing component 13 is replaced, and continue to determine whether the computing component 13 is replaced if the computing main board 10 is updated.
And the processor system 12 is used for restarting the first memory 11, reading the drive package of the computing part 13 stored in the first memory 11 after restarting, copying the drive package of the computing part 13 to the disk 18, and notifying the baseboard management controller 14 after copying is completed. The first memory stores a simplified operating system, the simplified operating system only has reserved basic functions, the simplified operating system has the characteristics of small size and less occupied resources, the processor system 12 is restarted from the first memory 11 and then runs the operating system, and the copy of the driver package of the computing part 13 is executed in the environment of the operating system.
And the baseboard management controller 14 is further configured to set the disk 18 as a first boot device and restart the disk in a case where the copy and configuration of the drive package of the computing unit 13 are completed.
The processor system 12 is further configured to boot from the disk 18, search for a drive package of the computing unit 13 stored in the disk 18 after booting, and drive the computing unit 13 according to the drive package. In the present embodiment, the storage component is not replaced, the disk 18 stores the operating system of the server, the processor 12 executes the operating system of the server after restarting from the disk 18, searches the disk 18 for the drive package of the computing unit 13 when executing the operating system, and drives the computing unit 13 according to the drive package of the computing unit 13.
In a possible implementation manner of this embodiment, the baseboard management controller 14 determines whether the computing component 13 is replaced, and if so, reads the computing component backup configuration information from the second memory 19, configures the computing component 13 according to the computing component backup configuration information, sets the first memory 11 as the first boot device, and restarts the first boot device.
And the processor system 12 is used for starting up the first memory 11, reading the drive package of the computing component 13 from the first memory 11 after starting up, copying the drive package of the computing component 13 to the disk 18, reading the backup configuration information of the computing component from the first memory 11, and configuring the computing component 13 according to the backup configuration information of the computing component.
The baseboard management controller 14 is further configured to set the disk 18 as a first boot device and perform a reboot when the copying and the configuring are completed.
The processor system 12 is further configured to boot from the disk 18, and drive the computing unit 13 according to a driver package of the computing unit 13 stored in the disk after booting. In some embodiments of this embodiment, after determining that the computing component 13 is replaced, the baseboard management controller 14 may further identify whether the computing component 13 supports the out-of-band configuration, and perform the subsequent steps if the out-of-band configuration is not supported.
In a possible implementation manner of this embodiment, the second memory 19 further stores the computing component backup identity information and the computing motherboard backup identity information. The baseboard management controller 14 is configured to obtain identity information of the computing motherboard 10, read backup identity information of the computing motherboard from the second memory 19, compare whether the identity information of the computing motherboard 10 is the same as the read backup identity information of the computing motherboard, and if not, determine that the computing motherboard 10 is replaced, where the computing motherboard 10 is a replaced computing motherboard. The baseboard management controller 14 obtains the identity information of the computing component 13, obtains the backup identity information of the computing component from the second memory 19, compares whether the identity information of the computing component 13 is the same as the read backup identity information of the computing component, where the identity information includes, but is not limited to, one or more of model information, serial number, and MAC address, and if not, determines that the computing component 13 is updated, and the computing component 13 is the updated computing component.
In a possible implementation manner of this embodiment, the baseboard management controller 14 is further configured to update the computing mainboard backup identity information stored in the second memory 19 according to the identity information of the computing mainboard 10 in the case that the computing mainboard 10 is replaced;
in the event of an update of a computing component, the computing component backup identity information stored in the second memory 19 is updated in accordance with the identity information of the computing component 13.
In one possible embodiment, the baseboard management controller 14 is further configured to update the spare configuration information of the computing components stored in the second memory 19 according to the changed configuration information when the configuration information of the computing components 13 is changed.
In a possible implementation, the disks 18 further store RAID configuration information, and the processor system 12 is further configured to read the RAID configuration information stored in the disks 18, where the RAID configuration information indicates a RAID mode of a plurality of disks in the disks 18, and configure the disks 18 according to the RAID configuration information. When the RAID configuration information is changed, the RAID configuration information stored in the disk 18 is updated based on the changed RAID configuration information.
In a possible embodiment, the second memory 19 further stores computing motherboard backup configuration information, and in a case that the computing motherboard 10 supports an out-of-band configuration, the baseboard management controller 14 reads the computing motherboard backup configuration information from the second memory 19, and performs related configuration on the computing motherboard 10 according to the computing motherboard backup configuration information. When the configuration information of the computing motherboard 10 is changed, the baseboard management controller 14 updates the computing motherboard backup configuration information stored in the second memory 19 according to the changed configuration information.
In a possible embodiment, the baseboard management controller 14 determines that the computing main board 10 is replaced, but the computing unit 13 is not updated, and the identity information of the computing unit 13 remains unchanged, so that only the configuration environment of the computing unit 13 needs to be restored, and the driver package of the computing unit 13 does not need to be updated. In the case where the computing unit 13 supports the out-of-band configuration, the baseboard management controller 14 acquires the computing unit backup configuration information from the second memory 19, the processor system 12 is started up from the disk 18 by default, after the startup, since the storage component is not replaced, the disk 18 stores the operating system and the driver package of the computing unit before replacement, the identity information of the computing unit before replacement is the same as that of the computing unit 13, and the processor system can directly drive the computing unit 13 by using the driver package of the computing unit before replacement.
When the computing component 13 does not support out-of-band configuration, the baseboard management controller 14 reads the computing component backup configuration information from the second memory 19, stores the read computing component backup configuration information in the first memory 11, the processor system 12 acquires the computing component backup configuration information from the first memory 11, configures the computing component 13 according to the computing component backup configuration information, the processor system 12 is directly started from the disk 18, and after the starting, the processor system 12 reads a drive package of the computing component 13 from the disk 18 to drive the computing component 13.
In the embodiment, when the computing component of the server is replaced, the computing component is driven according to the drive packet in the first storage, and the server is configured according to the backup configuration information pre-stored in the second storage, so that the server automatically restores to a normal state, an operating system does not need to be reinstalled, the configuration information is quickly restored, plug and play of the computing component is realized, the maintenance time for upgrading the server is reduced, and the maintenance difficulty is reduced.
Referring to fig. 2, another schematic structural diagram of a server according to an embodiment of the present invention is provided, where the server includes a computing component and a storage component, and the server in fig. 2 is different from the server in fig. 1 only in that the storage component includes a RAID card 20, the RAID card 20 is disposed on a storage motherboard 17, the number of disks 18 is multiple, the multiple disks form a RAID by the RAID card 20, and the processor system 12 is connected to the RADI card 20 by the first connector 15 and the second connector 16. When the computing motherboard 10 is replaced, the processor system 12 reads RAID configuration information from the RAID card 20, and performs related configuration on the disk 18 according to the RAID configuration information.
Referring to fig. 3a, a schematic structural diagram of a service system provided in an embodiment of the present invention is shown, in the embodiment of the present invention, the service system includes a management server 300 and a plurality of service servers 301 to 30n, the management server 300 is responsible for managing the plurality of service servers, the management server 300 includes a first memory, the first memory stores a drive package of a computing component included in each of the service servers 300 to 30n, and for a drive package with duplicate existence, only one drive package may be reserved to reduce the occupation of a storage space. The structure of each service server is shown in fig. 3b and 3 c. It should be noted that the configuration of the plurality of service servers may be all the configuration of fig. 3b, all the configuration of fig. 3c, or a mixture of both, and this embodiment is not limited.
Referring to fig. 3b, which is a schematic diagram illustrating a structure of a service server in a service system, in an embodiment of the present invention, the business server comprises a computing component and a storage component, the computing component comprises a computing mainboard 30, a processor system 31, a computing component 32, a baseboard management controller 33 and a first connector 34, the processor system 31, the computing component 32, the baseboard management controller 33 and the first connector 34 are arranged on the computing mainboard 30, the processor system 31 is a processor network formed by one or more processors, each processor can be a single-core processor or a multi-core processor, in the case that the processor system 31 is a plurality of processors, the processors communicate with each other through an interconnection channel, the interconnection channel may be QPI or HT, the computing unit 32 is a unit for executing a specified computing task, and the computing unit 32 includes but is not limited to a network card, a sound card, and a graphics processing card; the computing motherboard 30 is a carrier of each component in the computing, and the processor system 31, the computing component 32, the baseboard management controller 33, and the first connector 34 are disposed on the computing motherboard 30, wherein the first connector 34 is disposed on the computing motherboard 30. The processor system is connected to the computing unit 32, the first memory in the management server, the baseboard management controller 33 and the first connector, respectively, and the baseboard management controller 33 is connected to the first memory.
The storage assembly comprises a second connector 35, a storage main board 36, a magnetic disk 37 and a second memory 38, the storage main board 36 is a carrier of each component in the storage assembly, the second connector 35, the magnetic disk 37 and the second memory 38 are arranged on the storage main board 36, the storage main board 36 and the computing main board 30 are two independent main boards, and the second connector 35 and the first connector 34 are matched with each other. The number of the disks 37 may be one or more, and in the case that the number of the disks 37 is multiple, the disk types of the disks 37 may all be HDDs, or all be SSDs, or a mixture of HDDs and SSDs, which is not limited in this embodiment, and the multiple disks may form a RAID in a software manner; the second Memory 38 is a non-volatile Memory, the second Memory 38 includes but is not limited to a ROM, EPROM, EEPROM, or Flash Memory, and the second Memory stores backup configuration information of the computing components. The computing motherboard 30 and the storage motherboard 36 are two independent motherboards, and in the case where the first connector 34 and the first connector 35 are mated, the processor system 31 is connected to the disk 37 through the first connector 34 and the second connector 35, and the board management controller is connected to the first memory 38 through the first connector 34 and the second connector 35. The specific connection manner can be referred to the description of fig. 1, and is not described herein again.
In one possible implementation, the functions of the individual components in the server are:
a baseboard management controller 33 for restoring the configuration parameters of the calculating component 32 according to the backup configuration information of the calculating component stored in the second memory 38 when the calculating component 30 is replaced;
the processor system 31 is configured to copy the drive package of the computing unit 32 stored in the first memory of the management server 300 to the disk 37, and boot the drive package from the disk 37 after the copy is completed.
In one possible implementation, the functions of the various components in the server are:
and a processor system 31 for, when the computing unit 32 is replaced, restoring the configuration parameters of the computing unit 32 based on the computing unit backup configuration information stored in the second memory 38, copying the drive package of the computing unit 32 stored in the first memory of the management server 300 to the disk 37, and starting from the disk 37 after the copying is completed.
In one possible embodiment, the processor system 31 executing the copy of the driver package of the computing unit 32 stored in the preset first memory to the disk 37 comprises:
the boot is performed from the first memory 300 of the management server, and after the boot, the drive package of the computing unit 32 is read from the first memory, and the drive package of the computing unit 32 is copied to the disk 37.
In one possible implementation, the functions of each component in the service server are: and the baseboard management controller 33 is configured to determine whether the computing component 32 is updated, if so, identify whether the computing component 13 supports out-of-band configuration, if so, the baseboard management controller 33 obtains the computing component backup configuration information from the second memory, restores the configuration environment of the computing component 32 according to the computing component backup configuration information, and the baseboard management controller 32 sets the first memory in the associated management server 300 as a first boot device and restarts the first boot device. In one possible embodiment, before determining whether the computing component 32 is replaced, the baseboard management controller 33 may also determine whether the computing main board 30 is replaced, and if so, determine whether the computing component 32 is replaced.
A processor system 31, configured to restart from the first memory of the management server, read the drive package of the computing unit 32 stored in the first memory after the restart, copy the drive package of the computing unit 32 to the disk 18, and notify the baseboard management controller 33 after the copy is completed;
the baseboard management controller 33 is further configured to set the disk 37 as a first boot device and restart the disk in a case where the copy of the drive package of the computing unit 32 is completed;
the processor system 31 is further configured to reboot the disk 37, search for a drive package of the computing unit 32 stored in the disk 37 after reboot, and drive the computing unit 32 according to the drive package.
In one possible implementation manner of this embodiment, the baseboard management controller 33 determines whether the computing component 32 is replaced, reads the computing component backup configuration information from the second memory 38, configures the computing component 32 according to the computing component backup configuration information, sets the first memory as the first boot device, and restarts the first memory.
And the processor system 31 is used for restarting the first memory, reading the drive package of the computing component 13 from the first memory after the restarting, copying the drive package of the computing component 32 to the disk 37, reading the computing component backup configuration information from the first memory, and configuring the computing component 32 according to the computing component backup configuration information.
The baseboard management controller 33 is further configured to set the disk 37 as the first boot device and perform a reboot when the copying and the configuring are completed.
The processor system 31 is further configured to reboot from the disk 37, and drive the computing unit 32 according to the driver package of the computing unit 32 stored in the disk 37 after reboot. In some embodiments of this embodiment, after determining that the computing component 32 sends the replacement, the baseboard management controller 33 may further identify whether the computing component 32 supports the out-of-band configuration, and perform the subsequent steps if the out-of-band configuration is not supported.
In a possible implementation manner of this embodiment, the second memory 38 further stores the computing component backup identity information and the computing motherboard backup identity information. The baseboard management controller 33 is configured to obtain identity information of the computing motherboard 30, read backup identity information of the computing motherboard from the second memory 38, compare whether the identity information of the computing motherboard 30 is the same as the read backup identity information of the computing motherboard, and if not, determine that the computing motherboard 30 is replaced, where the computing motherboard 30 is a replaced computing motherboard. The baseboard management controller 33 obtains the identity information of the computing component 32, obtains the backup identity information of the computing component from the second memory 38, compares whether the identity information of the computing component 32 and the read backup identity information of the computing component are the same, and if not, determines that the computing component 32 is updated, and the computing component 32 is the updated computing component.
In a possible implementation manner of this embodiment, the baseboard management controller 33 is further configured to update the computing mainboard backup identity information stored in the second memory 38 according to the identity information of the computing mainboard 30 when the computing mainboard 30 is replaced;
in the event of an update to a computing component, the computing component backup identity information stored in the second memory 38 is updated based on the identity information of the computing component 32.
In a possible embodiment, the baseboard management controller 33 is further configured to update the spare configuration information of the computing components stored in the second memory 32 according to the changed configuration information when the configuration information of the computing components 32 is changed.
In a possible embodiment, the disk 37 further stores RAID configuration information, and the processor system 31 is further configured to read the RAID configuration information stored in the disk 37, where the RAID configuration information indicates a RAID mode of a plurality of disks in the disk 37, and configure the disk 37 according to the RAID configuration information. When the RAID configuration information is changed, the RAID configuration information stored in the second memory 38 is updated based on the changed RAID configuration information.
In a possible embodiment, the second memory 38 further stores computing motherboard backup configuration information, and in a case that the computing motherboard 30 supports an out-of-band configuration, the baseboard management controller 33 reads the computing motherboard backup configuration information from the second memory 38, and performs related configuration on the computing motherboard 30 according to the computing motherboard backup configuration information. When the configuration information of the computing motherboard 30 is changed, the baseboard management controller 33 or the processor system 31 updates the computing motherboard backup configuration information stored in the second memory 38 according to the changed configuration information.
Referring to fig. 3c, which is another schematic structural diagram of a service server in a service system, the structure of the service server in the embodiment of the present invention differs from that in fig. 3b only in that the storage component further includes a RAID card 39, the RAID card 39 is disposed on the storage motherboard 36, the RAID card 39 is connected to the disk 37, and the processor system is connected to the RAID card 39 through the first connector 34 and the second connector 35. The number of the disks 37 is plural, and the plural disks are configured into RAID by a RAID card 39 in a hardware manner. When the computing motherboard 30 is replaced, the processor system reads RAID configuration information stored in the RAID card, and performs related configuration on the disk 37 according to the RAID configuration information.
In the above embodiment, when the computing component of the server is replaced, the computing component is driven according to the drive packet in the first storage, and the server is configured according to the backup configuration information pre-stored in the second storage, so that the server automatically restores to a normal state, an operating system does not need to be reinstalled, the configuration information is quickly restored, plug and play of the computing component is realized, the maintenance time for upgrading the server is reduced, and the maintenance difficulty is reduced. Meanwhile, the drive packages of the computing components in each server are stored in the first memory in a centralized manner, so that the occupation of the drive packages on the storage space can be effectively reduced.
Referring to fig. 4, a flowchart of a server management method according to an embodiment of the present invention is shown, where in the embodiment of the present invention, the method includes:
s401, when the computing component is replaced, the configuration parameters of the computing component are restored according to the computing backup configuration information stored in the second memory.
Specifically, the server includes a computing component and a storage component, the computing component is mainly used for performing computing functions, such as data packet processing, image processing, sound processing, and the like, the storage component is mainly used for storing mass data, the storage component includes one or more disks, the number of the disks may be one or more, the disks may form a RAID, the RAID may be implemented in a hardware manner or a software manner, and if implemented in a hardware manner, the storage component further includes a RAID card. The computing component and the storage component are detachably connected, so that the computing component and the storage component can be conveniently plugged and unplugged, and when the computing component or the storage component needs to be upgraded or fails, the whole computing component or the storage component can be replaced. The second storage stores backup configuration information in advance, the backup configuration information includes but is not limited to backup network card configuration information, backup video card configuration information and backup RAID level information, the server reads the backup configuration information stored in advance in the second storage, and the server is configured according to the backup configuration information.
And S402, driving the calculation part according to the preset drive packet of the calculation part stored in the first memory.
Specifically, under the condition that the current computing component is determined to be replaced, the server acquires a drive package of the computing component, the computing component comprises a network card, and the drive package of the computing component comprises a drive package of the network card. The driver package of the computing component may be stored in the first storage, and the first storage may be located in the computing component, or may be located in a management server external to the server, and the management server is configured to perform centralized management on the servers.
By implementing the embodiment, under the condition that the computing component of the server is replaced, the computing component is driven according to the drive packet in the first storage, and the server is configured according to the backup configuration information pre-stored in the second storage, so that the server automatically restores to a normal state, an operating system does not need to be reinstalled, the configuration information is quickly restored, the plug and play of the computing component is realized, the maintenance time for upgrading the server is reduced, and the maintenance difficulty is reduced.
Referring to fig. 5, another schematic flow chart of a server management method according to an embodiment of the present invention is shown, where in the embodiment of the present invention, the method includes:
s501, the BMC determines that the computing component is updated and the computing component supports out-of-band configuration.
Specifically, the server of this embodiment includes a computing component and a storage component, where the computing component includes a BMC, a processor system, a computing component, a computing motherboard, and a first connector, the BMC is a controller that monitors and manages each hardware on the server, and the BMC may communicate with each hardware in an out-of-band manner using an IPMI (Intelligent Platform Management Interface), a UART (Universal Asynchronous Receiver/Transmitter) Interface, or other types of interfaces. The processor system is a processor network formed by one or more processors, each processor can be a single-core processor or a multi-core processor, and any two processors can communicate by using a QPI channel and an HT channel. The computing component is hardware that performs some specified task, such as performing packet processing, sound processing, or graphics processing tasks, and may be a network card, sound card, MEZZ card, video card, or other type of component. The first connector is a connecting piece with a plug-in function, and the first connector and the second connector are matched with each other, so that the computing component and the storage component can be connected in a detachable mode. In the computing assembly, the processor system is connected to the BMC, the computing component, and the first connector, respectively, where the connection bus includes, but is not limited to, a PCIE bus, a USB bus, an SATA bus, or an SAS (Serial Attached Small computer system interface, SAS for short) bus, the processor system, the BMC, the computing component, and the first connector may be disposed on a computing motherboard, and the first connector is disposed on the computing motherboard.
The storage component comprises one or more magnetic disks, a second storage and a second connector, the number of the magnetic disks can be one or more, the type of the magnetic disks comprises but is not limited to SSD or HDD, and the RAID can be formed by a plurality of magnetic disks in a software mode. The second Memory is a nonvolatile Memory and has the characteristic that data does not disappear after power failure, the second Memory comprises but is not limited to a ROM, an EPROM, an EEPROM or a Flash Memory, and the second Memory stores backup configuration information of the computing component. It should be noted that, the second memory further stores a simplified operating system, which only retains basic functions and has the characteristics of small volume and small occupied resource, and the operating system includes, but is not limited to, a Linux operating system, a Unix operating system or a Windows PE operating system. The second connector is a connecting piece with a plugging function, and the first connector and the second connector are matched with each other. In a possible implementation manner, the first connector and the second connector may be USB connectors, SATA connectors, PCIE connectors, or other types of connectors, which is not limited in this embodiment. When the first connector and the second connector are butted, corresponding pins of the first connector and the second connector are contacted and communicated, the BMC is connected with the second memory through the first connector and the second connector, and the processor system is connected with the disk through the first connector and the second connector.
The BMC judges whether the computing mainboard is replaced or not, if so, continuously judges whether the computing component is updated or not, if so, continuously judges whether the computing component supports out-of-band configuration, and the out-of-band configuration represents configuration through other channels of the non-service channel without starting an operating system. If so, go to S502.
In a possible implementation, the BMC determines whether the computing component is replaced, and if so, reads the computing component backup configuration information stored in the second memory, stores the computing component backup configuration information in the first memory, and sets the first memory as the first boot device, and restarts the first boot device. The processor system restarts from the first memory, the first memory stores a drive package of the computing component, the simplified operating system and management software, the management software on the simplified operating system runs after restarting, the management software reads the drive package of the computing component from the first memory, copies the drive package of the computing component to a disk, reads backup configuration information of the computing component from the first memory, and configures the computing component according to the backup configuration information of the computing component. The BMC sets the disk as a first starting device under the condition that copying and configuration are finished, and restarts the disk; and the processor system is restarted from the disk, and drives the computing component according to the drive packet of the computing component stored in the disk after the restart.
S502, the BMC reads the backup configuration information of the computing component from the second memory and configures the computing component according to the backup configuration information of the computing component.
Specifically, the computing component backup configuration information represents configuration information of a computing component in a server before replacing a computing motherboard, for example, in a case that the computing component is a network card, the computing component backup configuration information includes, but is not limited to, one or more of a MAC address, an IP address, a WWN, a WWPN, and a UUID. The BMC reads the backup configuration information of the computing element from the second memory and restores the original configuration on the computing element according to the backup configuration information of the computing element.
S503, the BMC sets the first memory as the first starting device and restarts the first memory.
Specifically, the first Memory is a nonvolatile Memory, and the first Memory includes, but is not limited to, a ROM, an EPROM, an EEPROM, or a Flash Memory. Wherein, in a possible implementation, the first memory may be located in the storage component, and the processor system is connected with the first memory. In another possible embodiment, the first memory is located outside the server, inside a management server managed by the server, and the processor system is connected to the first memory. The BMC sets the First storage as a First Boot Device (First Boot Device), and the First Boot Device represents a storage Device which is accessed by the server First when the server is started.
S504, the processor system is restarted from the first memory, the drive package of the computing component is read from the first memory after the restart, and the drive package of the computing component is copied to the disk.
Specifically, the processor system is restarted from the first memory, the first memory stores a simplified operating system and management software, the processor system runs the management software in the simplified operating system, the management software reads the driver package of the computing component from the first memory under the environment of the operating system, copies the driver package of the computing component to the disk, and sends a copy completion message to the BMC after the copy operation of the driver package of the computing component is completed.
And S505, the BMC sets the disk as the first starting device and restarts the disk under the condition of finishing copying.
Specifically, the BMC sets the disk as the first boot device when it is determined that the copy of the drive package of the computing component is completed, sets the disk of the active partition as the first boot device when the number of the disks is multiple, and restarts the active partition after the setting is completed.
S506, the processor system is restarted from the disk, and drives the computing component according to the drive package of the computing component stored in the disk after the restart.
Specifically, in the embodiment of the present invention, the storage component is not replaced, so that the operating system of the server is stored in the disk, and after the processor is restarted from the disk, the operating system in the disk is run, where the operating system is an operating system with a complete function installed in the server, and the processor system searches for the drive package of the computing component from the disk, and drives the computing component according to the drive package of the computing component.
In the embodiment, when the computing component of the server is replaced, the computing component is driven according to the drive packet in the first storage, and the server is configured according to the backup configuration information pre-stored in the second storage, so that the server automatically restores to a normal state, an operating system does not need to be reinstalled, the configuration information is quickly restored, plug and play of the computing component is realized, the maintenance time for upgrading the server is reduced, and the maintenance difficulty is reduced.
Referring to fig. 6, another schematic flow chart of a server management method according to an embodiment of the present invention is shown, where in the embodiment of the present invention, the method includes:
and S601, powering on and starting the BMC.
Specifically, the BMC is used for monitoring and managing each hardware on the server, and the BMC can communicate with each hardware in an out-of-band manner by using the IPMI interface without using an operating system. The BMC executes S602 after power-up is started.
S602, the BMC judges whether the computing mainboard is replaced.
Specifically, the server of this embodiment includes a computing component and a storage component, and the computing component includes a BMC, a processor system, a computing component, a computing motherboard, and a first connector. The processor system is a processor network formed by one or more processors, each processor can be a single-core processor or a plurality of processors, and any two processors can communicate through a QPI channel or an HT channel. A computing component is hardware that performs some specified task, including but not limited to a network card, MEZZ card, sound card, video card, or other type of component. The first connector is a connecting piece with a plug-in function, and the first connector and the second connector are matched with each other, so that the computing component and the storage component can be connected in a detachable mode. In the computing component, the processor system is BMC and the computing component, the processor system is connected to BMC, the computing component and the first connector, the connection bus includes but is not limited to PCIE bus, USB bus, SATA bus or SAS bus, the computing motherboard is a carrier of each component in the computing component, the processor system, the BMC, the computing component and the first connector may be disposed on the computing motherboard, and the first connector is disposed on the computing motherboard.
The storage component comprises one or more magnetic disks, a second storage and a second connector, the number of the magnetic disks can be one or more, the type of the magnetic disks comprises but is not limited to SSD or HDD, and the RAID can be formed by a plurality of magnetic disks in a software mode. The second Memory is a nonvolatile Memory, including but not limited to ROM, PROM, EPROM, EEPROM or Flash Memory, and the second Memory stores the backup identity information of the computing motherboard, the backup identity information of the computing component, and the backup configuration information of the computing component. It should be noted that, the second storage further stores a simplified operating system, which only retains basic functions and has the characteristics of small volume and small occupied resource, and the operating system includes, but is not limited to, a Linux operating system, a Unix operating system, a windows PE operating system, or other operating systems. The second connector is a connecting piece with a plugging function, and the second connector and the first connector are matched with each other. For example: the first connector and the second connector are USB connectors, SATA connectors, PCIE connectors, or other types of connectors, which is not limited in this embodiment. When the first connector and the second connector are butted, corresponding pins of the first connector and the second connector are contacted and communicated, the BMC is connected with the second memory through the first connector and the second connector, and the processor system is connected with the disk through the first connector and the second connector.
The method for the BMC to judge whether the computing mainboard is replaced can be as follows: the BMC acquires identity information of the computing mainboard, acquires backup identity information of the computing mainboard from the second memory, compares whether the identity information of the computing mainboard is the same as the backup identity information of the computing mainboard, determines that the computing mainboard is not replaced if the identity information of the computing mainboard is the same as the backup identity information of the computing mainboard, and executes S603; if not, determining that the computing main board is replaced, and executing S604.
It should be noted that, when the BMC determines that the computing motherboard is replaced, the computing motherboard backup identity information stored in the second memory is updated according to the identity information of the computing motherboard, and the identity information of the computing motherboard is overwritten on the computing motherboard backup identity information stored in the second memory.
S603, starting the processor system from the disk.
Specifically, the computing main board is not replaced, the computing main board is a carrier of each component in the computing assembly, the default first starting device of the server is a disk, the processor system is started from the disk, configuration information of the operating system and each component is stored in the disk, and the server operates normally.
S604, the BMC judges whether the computing component is updated.
Specifically, the method for the BMC to determine whether the computing component is updated may be: the BMC acquires the identity information of the computing component, acquires backup identity information of the computing component from the second memory, compares the identity information of the computing component with the identity information of the computing component, determines that the computing component is updated if the identity information of the computing component is different from the backup identity information of the computing component, and performs S608; if the same, it is determined that the calculation section has not been updated, S605 is executed.
It should be noted that, when determining that the computing component is updated, the BMC obtains the identity information of the computing component, updates the backup identity information of the computing component stored in the second memory according to the identity information of the computing component, and overwrites the backup identity information of the computing component stored in the second memory with the identity information of the computing component.
S605, the BMC identifies whether the computing component supports out-of-band configuration.
Specifically, the computing component stores in advance a mapping relationship between identity information and a status flag bit, where the identity information represents identity information of the computing component, and the status flag bit represents whether an out-of-band configuration is supported, for example: and 0 represents that the out-of-band configuration is not supported, 1 represents that the out-of-band configuration is supported, the computing component acquires the identity information of the computing component, and the corresponding state flag bit is inquired according to the mapping relation to determine whether the out-of-band configuration is supported. If so, go to S606, otherwise go to S605.
And S606, the BMC reads the backup configuration information of the computing component from the second memory and configures the computing component according to the backup configuration information of the computing component.
Specifically, the BMC reads the backup configuration information of the computing unit from the second memory, and configures the computing unit according to the backup configuration information of the computing unit. The BMC may detect whether the first boot device is a disk, set the first boot device as a disk if not, and execute S607 if so.
S607, the processor system is started from the disk.
Specifically, the storage component is not updated, the disk stores the operating system, the processor system runs the operating system after the disk is started, and the identity information of the computing component is not changed, so that the driver package of the computing component stored in the disk before replacement is still valid, and the processor system drives the computing component according to the original driver package.
S608, the BMC identifies whether the computing component supports out-of-band configuration.
The specific process refers to the description of S605, and is not described herein again. If yes, go to step S609.
And S609, the BMC reads the backup configuration information of the computing element from the second memory and configures the computing element according to the backup configuration information of the computing element. For example, in the case that the computing component is a network card, the computing component backup configuration information includes, but is not limited to, one or more of a MAC address, an IP address, a UUID, a WWN, and a WWPN.
In a possible implementation manner, when the configuration information of the computing motherboard is changed, the BMC updates the computing motherboard backup configuration information stored in the second memory according to the changed configuration information;
and under the condition that the configuration information of the computing component is changed, the BMC updates the backup configuration information of the computing component stored in the second memory according to the changed configuration information.
S610, the BMC sets the first memory as the first starting device and restarts the first memory.
Specifically, the first storage may be located in the computing component of the server, or may be located in a management server outside the server.
S611, the processor system reads the drive package of the computing component from the first storage and copies the drive package of the computing component to the disk.
Specifically, the processor system restarts from the first memory, the first memory stores a simplified operating system, the processor system runs the simplified operating system, reads the driver package of the computing component from the first memory under the environment of the operating system, copies the driver package of the computing component to the disk, and sends a notification message to the BMC after completing the copy operation of the driver package of the computing component.
And S612, the processor system informs the BMC of finishing copying and configuration operation.
Specifically, the processor system sends a notification message to the BMC after determining that the copy operation of the driver package of the computing component and the configuration operation of the computing component by the BMC are completed.
And S613, the BMC sets the disk as the first starting device and restarts the disk.
Specifically, the BMC receives a notification message sent by the processor system to determine that copying of the driver package of the computing component is completed, completes configuration of the computing component, sets the disk as the first boot device, sets the disk of the active partition as the first boot device when the number of the disks is multiple, and restarts the active partition after the setting is completed.
And S614, starting the processor system from the disk, and driving the computing component according to the drive package of the computing component.
Specifically, in the embodiment of the present invention, the storage component is not replaced, so that the operating system of the server is stored in the disk, and after the processor is started from the disk, the operating system in the disk is run, where the operating system is an operating system with a complete function installed in the server, and the processor system searches for the drive package of the computing component from the disk, and drives the computing component according to the drive package of the computing component.
S615, the BMC reads the backup configuration information of the computing component from the second memory and stores the backup configuration information of the computing component into the first memory.
Specifically, if the determination result in S5608 is negative, the BMC reads the computing-component backup configuration information from the second memory, and stores the computing-component backup configuration information in the first memory.
S616, the BMC sets the first memory as the first starting device and restarts the first memory.
S617, the processor system reads the drive package of the computing component and the backup information of the computing component from the first memory, copies the drive package of the computing component to a disk, and configures the computing component according to the backup configuration information of the computing component.
Specifically, the processor system restarts from a first memory, the first memory stores a driver package of the computing component, a simplified operating system and management software, the management software on the simplified operating system runs after restarting, the management software reads the driver package of the computing component from the first memory, copies the driver package of the computing component to a disk, reads backup configuration information of the computing component from the first memory, and configures the computing component according to the backup configuration information of the computing component.
And S618, the processor system informs the BMC of finishing the copying and configuration operation.
S619, the BMC sets the disk as the first starting device and restarts the disk.
And S620, starting the processor system from the disk, and driving the computing component according to the drive package of the computing component.
In one possible embodiment, if the determination result in S604 is yes, S615 to S620 are directly executed without identifying whether the calculation unit supports the out-of-band configuration.
In a possible implementation manner, the disk further stores RAID configuration information; the method further comprises the following steps:
and the processor system reads the RAID configuration information from the disk and configures the disk according to the RAID configuration information.
Specifically, the number of the disks in the storage assembly is multiple, the disks form a RAID in a software manner, and the processor system reads the RAID configuration information stored in the second storage and configures the disks according to the RAID configuration information when determining that the computing motherboard is replaced.
In a possible implementation manner, the storage assembly further comprises a RAID card, the RAID card is connected with the disk, and the RAID card is connected with the processor system through the second connector and the first connector;
the server management method further includes:
and the processor system reads RAID configuration information from the RAID card and configures the disk according to the RAID configuration information.
Specifically, the number of the disks in the storage assembly is multiple, the disks form a RAID through a hardware method, and the processor system reads RAID configuration information stored in the RAID card and configures the disks according to the RAID configuration information when determining that the computing motherboard is replaced.
In summary, when a computing component of the server is replaced, the computing component is driven according to the drive package in the first storage, and the server is configured according to the backup configuration information pre-stored in the second storage, so that the server automatically restores to a normal state, the operating system does not need to be reinstalled, the configuration information is quickly restored, plug and play of the computing component is realized, the maintenance time for upgrading the server is reduced, and the maintenance difficulty is reduced.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. And the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above embodiments are merely illustrative of the optional embodiments of the present invention, and it is not intended to limit the scope of the claims of the present invention, and one skilled in the art can understand that all or part of the processes of the above embodiments can be implemented and equivalents thereof can be made according to the claims of the present invention.

Claims (24)

1. A server is characterized by comprising a computing component and a storage component, wherein the computing component comprises a Baseboard Management Controller (BMC), a processor system, a computing mainboard, a computing component and a first connector, the BMC, the processor system, the computing component and the first connector are arranged on the computing mainboard, and the processor system is respectively connected with the BMC, the computing component and the first connector; the storage component comprises a magnetic disk, a second memory, a storage mainboard and a second connector, wherein the magnetic disk, the second memory and the second connector are arranged on the storage mainboard, the magnetic disk and the second memory are connected with the second connector, the second memory stores backup configuration information of the computing component, the backup configuration information of the computing component is used for restoring configuration parameters of the computing component, and the first connector and the second connector are matched with each other; when the first connector and the second connector are in butt joint, the BMC is connected with the second memory through the first connector and the second connector, and the processor system is connected with the disk through the first connector and the second connector; wherein the computing component is a component that performs a particular business function;
wherein the content of the first and second substances,
the BMC is used for recovering the configuration parameters of the computing component according to the backup configuration information of the computing component stored in the second memory under the condition that the computing component is replaced;
and the processor system is used for copying the drive package of the computing component stored in a preset first memory into the magnetic disk, and starting the drive package from the magnetic disk after copying is finished.
2. The server according to claim 1, wherein the processor system executing the copying of the driver package for the computing unit stored in the predetermined first memory to the disk comprises:
and starting the computer from the first memory, reading the drive package of the computing component from the first memory after starting, and copying the drive package of the computing component to the disk.
3. The server of claim 2, wherein the compute component further comprises the first memory, the driver package for the compute component to drive the compute component, the BMC to connect with the first memory, the processor system to connect with the first memory; or
The first memory is located in a management server associated with the server, the BMC is connected with the first memory, and the processor system is connected with the first memory.
4. The server according to any of claims 1-3, wherein the second memory further stores computing component backup identity information;
the BMC is configured to:
obtaining identity information of the computing component and backup identity information of the computing component from the second memory;
comparing whether the identity information of the computing component and the backup identity information of the computing component are the same;
if not, determining that the computing component is replaced.
5. The server of claim 4, wherein the BMC is further to:
and updating the backup identity information of the computing component stored in the second memory according to the identity information of the computing component when the computing component is replaced.
6. The server of any of claims 1-3, wherein the BMC is further configured to:
and when the configuration information of the computing component is changed, updating the backup configuration information of the computing component stored in the second memory according to the changed configuration information.
7. The server of claim 4, wherein the BMC is further to:
and when the configuration information of the computing component is changed, updating the backup configuration information of the computing component stored in the second memory according to the changed configuration information.
8. The server of claim 5, wherein the BMC is further to:
and when the configuration information of the computing component is changed, updating the backup configuration information of the computing component stored in the second memory according to the changed configuration information.
9. The server according to any one of claims 1-3, wherein the storage assembly further comprises a RAID card, the RAID card being disposed on the storage motherboard, the processor system being connected to the RAID card via the first connector and the second connector;
the processor system is further configured to: and reading RAID configuration information from the RAID card, and configuring the disk according to the RAID configuration information.
10. The server of claim 4, wherein the storage assembly further comprises a RAID card disposed on the storage motherboard, the processor system connected to the RAID card through the first connector and the second connector;
the processor system is further configured to: and reading RAID configuration information from the RAID card, and configuring the disk according to the RAID configuration information.
11. The server of claim 5, wherein the storage assembly further comprises a RAID card disposed on the storage motherboard, the processor system connected to the RAID card through the first connector and the second connector;
the processor system is further configured to: and reading RAID configuration information from the RAID card, and configuring the disk according to the RAID configuration information.
12. A server is characterized by comprising a computing component and a storage component, wherein the computing component comprises a Baseboard Management Controller (BMC), a processor system, a computing mainboard, a computing component and a first connector, the BMC, the processor system, the computing component and the first connector are arranged on the computing mainboard, and the processor system is respectively connected with the BMC, the computing component and the first connector; the storage component comprises a magnetic disk, a second memory, a storage mainboard and a second connector, wherein the magnetic disk, the second memory and the second connector are arranged on the storage mainboard, the magnetic disk and the second memory are connected with the second connector, the second memory stores backup configuration information of the computing component, the backup configuration information of the computing component is used for restoring configuration parameters of the computing component, and the first connector and the second connector are matched with each other; when the first connector and the second connector are in butt joint, the BMC is connected with the second memory through the first connector and the second connector, and the processor system is connected with the disk through the first connector and the second connector; wherein the computing component is a component that performs a particular business function;
the processor system is configured to, when the computing component is replaced, restore the configuration parameter of the computing component according to the backup configuration information of the computing component stored in the second memory, copy a drive package of the computing component stored in a preset first memory to the disk, and start up the drive package from the disk after the copy is completed.
13. A server is characterized by comprising a computing component and a storage component, wherein the computing component comprises a Baseboard Management Controller (BMC), a processor system, a computing mainboard, a computing component and a first connector, the BMC, the processor system, the computing component and the first connector are arranged on the computing mainboard, and the processor system is respectively connected with the BMC, the computing component and the first connector; the storage component comprises a magnetic disk, a second memory, a storage mainboard and a second connector, wherein the magnetic disk, the second memory and the second connector are arranged on the storage mainboard, the magnetic disk and the second memory are connected with the second connector, the second memory stores backup configuration information of the computing component, the backup configuration information of the computing component is used for restoring configuration parameters of the computing component, and the first connector and the second connector are matched with each other; when the first connector and the second connector are in butt joint, the BMC is connected with the second memory through the first connector and the second connector, and the processor system is connected with the disk through the first connector and the second connector; wherein the computing component is a component that performs a particular business function;
wherein the second memory further stores computing component backup identity information; the BMC is configured to: obtaining identity information of the computing component and backup identity information of the computing component from the second memory; comparing whether the identity information of the computing component and the backup identity information of the computing component are the same; if not, determining that the computing component is replaced.
14. A server is characterized by comprising a computing component and a storage component, wherein the computing component comprises a Baseboard Management Controller (BMC), a processor system, a computing mainboard, a computing component and a first connector, the BMC, the processor system, the computing component and the first connector are arranged on the computing mainboard, and the processor system is respectively connected with the BMC, the computing component and the first connector; the storage component comprises a magnetic disk, a second memory, a storage mainboard and a second connector, wherein the magnetic disk, the second memory and the second connector are arranged on the storage mainboard, the magnetic disk and the second memory are connected with the second connector, the second memory stores backup configuration information of the computing component, the backup configuration information of the computing component is used for restoring configuration parameters of the computing component, and the first connector and the second connector are matched with each other; when the first connector and the second connector are in butt joint, the BMC is connected with the second memory through the first connector and the second connector, and the processor system is connected with the disk through the first connector and the second connector; wherein the computing component is a component that performs a particular business function;
the storage assembly further comprises a RAID card, the RAID card is arranged on the storage mainboard, and the processor system is connected with the RAID card through the first connector and the second connector;
the processor system is further configured to: and reading RAID configuration information from the RAID card, and configuring the disk according to the RAID configuration information.
15. A server management method is applied to a server, the server comprises a computing component and a storage component, the computing component comprises a BMC (baseboard management controller), a processor system, a computing mainboard, a computing component and a first connector, the BMC, the processor system, the computing component and the first connector are arranged on the computing mainboard, and the processor system is respectively connected with the BMC, the computing component and the first connector; the storage component comprises a magnetic disk, a storage mainboard, a second memory and a second connector, wherein the magnetic disk, the second memory and the second connector are arranged on the storage mainboard, the magnetic disk and the second memory are connected with the second connector, the memory stores backup configuration information of the computing component, the backup configuration information of the computing component is used for restoring configuration parameters of the computing component, and the first connector and the second connector are matched with each other; when the first connector and the second connector are in butt joint, the BMC is connected with the second memory through the first connector and the second connector, and the processor system is connected with the disk through the first connector and the second connector; wherein the computing component is a component that performs a particular business function;
the server management method comprises the following steps:
when the computing component is replaced, the BMC restores the configuration parameters of the computing component according to the backup configuration information of the computing component stored in the second memory, and the processor system drives the computing component according to a preset drive package of the computing component stored in the first memory;
wherein driving the computing unit according to the driving package of the computing unit stored in the preset first memory includes: and copying the drive package of the computing component stored in a preset first memory into the disk, and starting from the disk after copying is finished.
16. The method of claim 15, wherein copying the driver package for the computing component stored in the predetermined first memory to the disk comprises:
and starting the computer from the first memory, reading the drive package of the computing component from the first memory after starting, and copying the drive package of the computing component to the disk.
17. The method of claim 16, wherein the first memory is located in the compute component, the BMC is connected with the first memory, and the processor system is connected with the first memory; or
The first memory is located in a management server associated with the server, the BMC is connected with the first memory, and the processor system is connected with the first memory.
18. The method of any of claims 15-17, wherein the first memory further stores computing motherboard backup configuration information, the method further comprising:
and the BMC reads the backup configuration information of the computing mainboard from the second memory and configures the computing mainboard according to the backup configuration information of the computing mainboard.
19. The method of any of claims 15-17, wherein the second memory further stores computing component backup identity information;
the BMC determining that the computing component replacement specifically includes:
the BMC acquires the identity information of the computing component and acquires the backup identity information of the computing component from the second memory;
comparing whether the identity information of the computing component and the backup identity information of the computing component are the same;
if not, determining that the computing component is replaced.
20. The method of any one of claims 15-17, further comprising:
and under the condition that the computing component is replaced, the BMC updates the computing component backup identity information stored in the second memory according to the identity information of the computing component.
21. The method of any one of claims 15-17, further comprising:
and under the condition that the configuration information of the computing component is changed, the BMC updates the backup configuration information of the computing component stored in the second memory according to the changed configuration information.
22. A server management method is applied to a server, the server comprises a computing component and a storage component, the computing component comprises a BMC (baseboard management controller), a processor system, a computing mainboard, a computing component and a first connector, the BMC, the processor system, the computing component and the first connector are arranged on the computing mainboard, and the processor system is respectively connected with the BMC, the computing component and the first connector; the storage component comprises a magnetic disk, a storage mainboard, a second memory and a second connector, wherein the magnetic disk, the second memory and the second connector are arranged on the storage mainboard, the magnetic disk and the second memory are connected with the second connector, the memory stores backup configuration information of the computing component, the backup configuration information of the computing component is used for restoring configuration parameters of the computing component, and the first connector and the second connector are matched with each other; when the first connector and the second connector are in butt joint, the BMC is connected with the second memory through the first connector and the second connector, and the processor system is connected with the disk through the first connector and the second connector; wherein the computing component is a component that performs a particular business function;
the server management method comprises the following steps:
when the computing component is replaced, the processor system restores the configuration parameters of the computing component according to the backup configuration information of the computing component stored in the second memory, and drives the computing component according to a preset drive package of the computing component stored in the first memory;
wherein driving the computing unit according to the driving package of the computing unit stored in the preset first memory includes: and copying the drive package of the computing component stored in a preset first memory into the disk, and starting from the disk after copying is finished.
23. A server management method is applied to a server, the server comprises a computing component and a storage component, the computing component comprises a BMC (baseboard management controller), a processor system, a computing mainboard, a computing component and a first connector, the BMC, the processor system, the computing component and the first connector are arranged on the computing mainboard, and the processor system is respectively connected with the BMC, the computing component and the first connector; the storage component comprises a magnetic disk, a storage mainboard, a second memory and a second connector, wherein the magnetic disk, the second memory and the second connector are arranged on the storage mainboard, the magnetic disk and the second memory are connected with the second connector, the memory stores backup configuration information of the computing component, the backup configuration information of the computing component is used for restoring configuration parameters of the computing component, and the first connector and the second connector are matched with each other; when the first connector and the second connector are in butt joint, the BMC is connected with the second memory through the first connector and the second connector, and the processor system is connected with the disk through the first connector and the second connector; wherein the computing component is a component that performs a particular business function;
the server management method comprises the following steps:
when the computing component is replaced, restoring the configuration parameters of the computing component according to the backup configuration information of the computing component stored in the second memory, and driving the computing component according to a preset driving package of the computing component stored in the first memory;
wherein the second memory further stores computing component backup identity information; the BMC determining that the computing component replacement specifically includes: the BMC acquires the identity information of the computing component and acquires the backup identity information of the computing component from the second memory; comparing whether the identity information of the computing component and the backup identity information of the computing component are the same; if not, determining that the computing component is replaced.
24. A server management method is applied to a server, the server comprises a computing component and a storage component, the computing component comprises a BMC (baseboard management controller), a processor system, a computing mainboard, a computing component and a first connector, the BMC, the processor system, the computing component and the first connector are arranged on the computing mainboard, and the processor system is respectively connected with the BMC, the computing component and the first connector; the storage component comprises a magnetic disk, a storage mainboard, a second memory and a second connector, wherein the magnetic disk, the second memory and the second connector are arranged on the storage mainboard, the magnetic disk and the second memory are connected with the second connector, the memory stores backup configuration information of the computing component, the backup configuration information of the computing component is used for restoring configuration parameters of the computing component, and the first connector and the second connector are matched with each other; when the first connector and the second connector are in butt joint, the BMC is connected with the second memory through the first connector and the second connector, and the processor system is connected with the disk through the first connector and the second connector; wherein the computing component is a component that performs a particular business function;
the server management method comprises the following steps:
when the computing component is replaced, restoring the configuration parameters of the computing component according to the backup configuration information of the computing component stored in the second memory, and driving the computing component according to a preset driving package of the computing component stored in the first memory;
the storage assembly further comprises a RAID card, the RAID card is arranged on the storage mainboard, and the processor system is connected with the RAID card through the first connector and the second connector; wherein the processor system is further configured to: and reading RAID configuration information from the RAID card, and configuring the disk according to the RAID configuration information.
CN201680033973.2A 2016-12-30 2016-12-30 Server management method and server Active CN107980119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011583673.6A CN112732289A (en) 2016-12-30 2016-12-30 Server management method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/113901 WO2018120200A1 (en) 2016-12-30 2016-12-30 Server management method and server

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202011583673.6A Division CN112732289A (en) 2016-12-30 2016-12-30 Server management method and server

Publications (2)

Publication Number Publication Date
CN107980119A CN107980119A (en) 2018-05-01
CN107980119B true CN107980119B (en) 2021-01-05

Family

ID=62005220

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202011583673.6A Pending CN112732289A (en) 2016-12-30 2016-12-30 Server management method and server
CN201680033973.2A Active CN107980119B (en) 2016-12-30 2016-12-30 Server management method and server

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202011583673.6A Pending CN112732289A (en) 2016-12-30 2016-12-30 Server management method and server

Country Status (4)

Country Link
US (1) US10430082B2 (en)
EP (1) EP3367206B1 (en)
CN (2) CN112732289A (en)
WO (1) WO2018120200A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920103B (en) * 2018-06-29 2020-12-01 平安科技(深圳)有限公司 Server management method and device, computer equipment and storage medium
CN109165026A (en) * 2018-08-07 2019-01-08 郑州云海信息技术有限公司 drive installation method and device
CN109117289B (en) * 2018-08-15 2022-02-22 英业达科技有限公司 Server system and method for managing dual-substrate management controller
CN109976789A (en) * 2019-03-29 2019-07-05 联想(北京)有限公司 The data-updating method and electronic equipment of a kind of electronic equipment
CN110413394A (en) * 2019-07-29 2019-11-05 苏州浪潮智能科技有限公司 A kind of BMC task processing method, device, system and readable storage medium storing program for executing
CN110716934B (en) * 2019-10-09 2022-07-26 宁波三星医疗电气股份有限公司 Data storage method and device and electronic equipment
CN117149229B (en) * 2023-10-27 2024-03-12 江苏华鲲振宇智能科技有限责任公司 Automatic restoration method and system for server management software

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201194094Y (en) * 2008-04-17 2009-02-11 研祥智能科技股份有限公司 Modular multiple serial port non-fan special computer
CN102439565B (en) * 2011-10-28 2013-04-24 华为技术有限公司 Method and device for starting recovery
WO2013115774A1 (en) * 2012-01-30 2013-08-08 Hewlett-Packard Development Company, L.P. Establishing connectivity of modular nodes in a pre-boot environment
US9146812B2 (en) * 2012-02-03 2015-09-29 Dell Products Lp Systems and methods for out-of-band backup and restore of hardware profile information
US9047263B2 (en) * 2013-01-24 2015-06-02 Dell Products L.P. System and method for secure SMI memory services
TWI512603B (en) * 2013-08-23 2015-12-11 Ibm Electronic appatus and data rolling method therefof
TW201541352A (en) * 2014-04-29 2015-11-01 Ibm System management controller and method of configuration file backup and recovery
CN104461386A (en) * 2014-12-01 2015-03-25 北京同有飞骥科技股份有限公司 Double-control disk array based on godson processor
CN105892368A (en) * 2016-05-20 2016-08-24 国网江苏省电力公司镇江供电公司 Maintenance device for power distribution automated terminal

Also Published As

Publication number Publication date
US20180188969A1 (en) 2018-07-05
EP3367206A1 (en) 2018-08-29
WO2018120200A1 (en) 2018-07-05
CN107980119A (en) 2018-05-01
EP3367206A4 (en) 2018-12-05
CN112732289A (en) 2021-04-30
EP3367206B1 (en) 2019-09-25
US10430082B2 (en) 2019-10-01

Similar Documents

Publication Publication Date Title
CN107980119B (en) Server management method and server
US11533311B2 (en) Automatically deployed information technology (IT) system and method
TWI578233B (en) Unified firmware managment system, non-transitory computer-readable storage medium and method for unified firmware managment
US8640118B2 (en) Managing firmware on a system board
US8997090B2 (en) Installing an operating system in a host system
US20170228228A1 (en) Remote launch of deploy utility
US9182998B2 (en) Remote bios update in system having multiple computers
US8918778B2 (en) Method of fail safe flashing management device and application of the same
US9996425B2 (en) System and method for agentless backup of virtual machines
US9448808B2 (en) BIOS update with service processor without serial peripheral interface (SPI) access
US10540501B2 (en) Recovering an information handling system from a secure boot authentication failure
US9448889B2 (en) BIOS failover update with service processor
US10936295B2 (en) Software update system
US20110125939A1 (en) Function expansion apparatus, information processing apparatus, and control method
US20190205109A1 (en) Computer system, baseboard management controller, and os installation method
CN111782283A (en) Automatic management method, device and medium for bare metal server
US8700832B1 (en) Automated addition of file based hardware and file based access services in a data storage system
US20200134183A1 (en) System and method to recover fpga firmware over a sideband interface
CN114443148B (en) Method for centrally managing server starting disk and server
WO2024000535A1 (en) Partition table update method and apparatus, and electronic device and storage medium
US20240103846A1 (en) Systems and methods for coordinated firmware update using multiple remote access controllers
US11463542B2 (en) Server and method of replacing a server in a network
US20240103849A1 (en) Systems and methods for supporting rebootless firmware updates
KR100947136B1 (en) Incremental provisioning of software
TW202338602A (en) Computing system, computer-implemented method, and computer-program product

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
TR01 Transfer of patent right

Effective date of registration: 20211227

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right