WO2018120200A1 - 一种服务器管理方法和服务器 - Google Patents

一种服务器管理方法和服务器 Download PDF

Info

Publication number
WO2018120200A1
WO2018120200A1 PCT/CN2016/113901 CN2016113901W WO2018120200A1 WO 2018120200 A1 WO2018120200 A1 WO 2018120200A1 CN 2016113901 W CN2016113901 W CN 2016113901W WO 2018120200 A1 WO2018120200 A1 WO 2018120200A1
Authority
WO
WIPO (PCT)
Prior art keywords
computing component
memory
computing
component
connector
Prior art date
Application number
PCT/CN2016/113901
Other languages
English (en)
French (fr)
Inventor
刘金水
宋铜铃
刘伟
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN202011583673.6A priority Critical patent/CN112732289A/zh
Priority to PCT/CN2016/113901 priority patent/WO2018120200A1/zh
Priority to CN201680033973.2A priority patent/CN107980119B/zh
Priority to EP16909058.6A priority patent/EP3367206B1/en
Priority to US15/877,997 priority patent/US10430082B2/en
Publication of WO2018120200A1 publication Critical patent/WO2018120200A1/zh

Links

Images

Classifications

    • 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
    • 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
    • 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

Definitions

  • the present invention relates to the field of computers, and in particular, to a server management method and server.
  • the server includes a large number of components such as fans, memory, network cards, disks, and processors.
  • the various components of the server are integrated on one motherboard.
  • the upgrade cycle of each component is different.
  • the motherboard, processor, and memory upgrade cycles are shorter, usually 2 to 3 years, and the disk upgrade cycle is longer, usually 5 to 7 years.
  • the various components of the server are integrated on one motherboard. In the case of maintaining multiple components on the motherboard, the maintenance personnel sequentially removes and inserts multiple components on the motherboard, and the maintenance efficiency is low. .
  • the present application discloses a server management method and a server, which can flexibly replace a computing component or a storage component of a server, thereby improving maintenance efficiency.
  • the 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 connection.
  • BMC Baseboard Management Controller
  • the computing board is a carrier for computing various components in the component, and the BMC, the processor system, the computing component, and the first connector can be disposed on the computing motherboard.
  • the processor system is a network of processors consisting of one or more processors, which may be single-core processors or multi-core processors.
  • the computing component is a component that performs a specific business function, and the computing component can be a network card, a sound card, a MEZZ card, or a graphics processing card.
  • the processor system is coupled to the BMC and the first connector, respectively.
  • the storage component includes a magnetic disk, a storage main board, a second storage, and a second connector.
  • the storage mainboard is a carrier of each component in the storage component, and the magnetic disk, the second storage, and the second connector are disposed on the storage mainboard.
  • the number of disks may be one or more.
  • the type of the disk may be HDD or SDD. In the case where the number of disks is multiple, multiple disks may constitute a RAID, and the second memory may be stored.
  • the component backup configuration information is calculated, and the component backup configuration information is used to restore the configuration parameters of the computing component.
  • the second memory is a non-volatile memory and has the feature that the power-down data is not lost.
  • the computing mainboard and the storage mainboard are two independent mainboards, and the computing mainboard and the storage mainboard are detachably connected through the first connector and the second connector, and the first connector and the second connector are matched with each other, for example: first The connector is a USB (Universal Serial Bus, USB for short) plug, 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 For PCIE (Peripheral Component Interconnect Express, PCIE), the second connector is PCIE female; or the first connector is PCIE female and the second connector is PCIE (SerialAdvanced TechnologyAttachment) , serial advanced technology attachment, referred to as SATA) male; or, the first connector is a SATA plug, the second connector is a SATA socket, it is understandable that the first connector and the second connector may be the above
  • the connection mode of the head-female head may also be a cable connection manner or other detachable connection manner, which is not
  • the server is divided into two parts: a computing component and a storage component according to a maintenance cycle of the component, the computing component and the storage component are connected in a detachable manner, and the component with short maintenance period included in the component is calculated, and the storage component includes maintenance.
  • the functions of the components in the server are:
  • the BMC is configured to restore the configuration parameter of the computing component according to the computing component backup configuration information stored in the second memory when the computing component is replaced;
  • the processor system is configured to copy the driver package of the computing component stored in the preset first memory to the disk, and start from the disk after the copying is completed.
  • the processor system configures the computing component according to its own service channel, which reduces the occupation of resources, and can quickly restore the computing component to a normal state.
  • the processor system is configured to restore the computing component according to the computing component backup configuration information stored in the second memory, if the computing component is replaced
  • the configuration parameter is configured to copy the driver package of the computing component stored in the preset first memory to the disk, and boot from the disk after the copying is completed.
  • the computing component when the computing component is updated, the computing component is driven according to the driving package of the first memory, and the computing component is configured according to the backup configuration information stored in the second memory, so that the server automatically returns to the normal state. There is no need to reinstall the operating system, and the configuration information can be quickly restored, and the plug-and-play of computing components can be realized, reducing the maintenance time of the server upgrade and reducing the maintenance difficulty.
  • the BMC is configured to determine whether the computing component is replaced. If yes, the preset first memory is set as the first booting device, and the restart is performed, where the first memory stores the computing component.
  • Driver package the drive component of the computing component is used to drive the computing component;
  • the processor system is configured to restart from the first memory, and after the restarting, read the driving package of the computing component from the first memory, and copy the driving package of the computing component to the disk;
  • the BMC is also used to set the disk as the first boot device and restart when the copy is complete.
  • the processor system is also used to restart from the disk, and after the restart, the computing component is driven according to the driver package of the computing component stored in the disk.
  • the first memory is located in a computing component of the server, that is, the computing component includes a first memory, the BMC is connected to the first memory, the processor system is coupled to the first memory, or the first memory is Located in the management server, both the processor system and the BMC are connected to the first storage, and the management server manages a plurality of servers.
  • the server of this embodiment is any one of a plurality of servers managed by the management server.
  • the deployment mode of the first memory in the computing component is applicable to a single-machine scenario, and has the characteristics of short recovery time.
  • the deployment mode of the first storage device on the management server is applicable to the cluster scenario, which can effectively reduce the occupation of the storage space of the drive component of the computing component, and facilitate centralized management.
  • the second memory further stores the computing motherboard backup configuration information
  • the BMC is further configured to read the calculated motherboard backup configuration information from the second storage, and calculate the motherboard according to the calculated motherboard backup configuration information.
  • the calculation of the motherboard backup configuration information includes a BIOS (Basic Input Output System, BIOS for short) configuration information.
  • the second memory further stores the computing component backup identity information and the computing motherboard backup identity information.
  • Performing the determining, by the BMC, whether the computing component is updated includes:
  • the BMC Obtaining, by the BMC, identity information of the computing component, and acquiring from the second memory
  • the computing component backs up the identity information;
  • the identity information includes but is not limited to one or more of a model number, a serial number, and a MAC address.
  • the computing motherboard and the network card are automatically updated, and the detection speed is fast and the resource consumption is small.
  • the BMC is further configured to: update the computing system identity information by updating the identity information of the computing motherboard in the case that the computing motherboard is replaced.
  • the computing component backup identity information stored in the second memory is updated according to the identity information of the computing component.
  • the RAID configuration information is also stored in the disk, and the number of disks in the storage component is multiple, and the processor system is further configured to: read RAID configuration information from the disk, according to the RAID. Configuration information configures the disk.
  • the storage component further includes a RAID card
  • the RAID card is disposed on the storage motherboard, and the RAID card is connected to the disk and the second connector, and the first connector and the second connector are connected to each other.
  • the processor system is connected to the RAID card through the first connector and the second connector.
  • the processor system is further configured to: read RAID configuration information from the RAID card, and configure the disk according to the RAID configuration information.
  • the present application discloses a server management method, and the upgrade method is applied to a server.
  • the server of the present application includes but is not limited to a video server, a web server, a file server, or a data center server.
  • the computing component includes a BMC, a computing motherboard, a processor system, a computing component, and a first connector, the storage component including a disk, a storage motherboard, a second memory, and a second connector, wherein the first connector and the second connector match each other, such that The computing component and the storage component are detachably connected.
  • the old computing component or the storage component can be directly removed and replaced with a new computing component or storage component.
  • the processor system is respectively connected to the BMC, the computing component and the first connector, and the computing motherboard is used as a carrier of each component in the computing component, and the BMC, the computing component, the processor system and the first connector are disposed on the computing motherboard .
  • the storage main board is a carrier of each component in the storage component
  • the second connector, the magnetic disk and the second memory are disposed on the storage main board
  • the second connector is respectively connected to the magnetic disk and the second storage, in the first connector
  • the BMC passes through the first connector and the second connector and the second A memory connection, the processor system being coupled to the disk by the first connector and the second connector.
  • the computing component mainly performs computing functions including, but not limited to, data processing, sound processing, word processing, and control functions; correspondingly, the computing component can be a network card, a graphics card, an image processing card, a MEZZ card, or other types of components.
  • the storage component is mainly used to store large-capacity data.
  • the types of disks in the storage component are not limited, and the number of disks may be one or more. In the case of multiple disks, the disk types of multiple disks may all be HDDs (Hard). Disk Drive, hard disk drive (HDD), all SSD (Solid State Drives) or a mix of HDD and SSD.
  • the first memory and the second memory are non-volatile memory (NVM), and the NVM has the characteristics that data is not lost after power-off.
  • the NVM includes but is not limited to a ROM (Read Only Memory) and an EPROM (Erasable). Programmable Read Only Memory, and Flash Memory.
  • the first memory stores a drive package of the computing component, the drive component of the computing component is used to drive the computing component, the first memory can be disposed outside the computing component of the server or the server, and the second memory stores the computing component backup configuration Information, calculation component backup configuration information is used to restore configuration parameters of the calculation component.
  • the computing mainboard and the storage mainboard are two independent mainboards, and the computing mainboard and the storage mainboard are detachably connected through the first connector and the second connector, and the server management method includes: when the computing component is replaced, according to The calculated backup configuration information stored in the second memory restores the configuration parameters of the computing component, and drives the computing component according to the driver package of the computing component stored in the first memory.
  • the BMC restores the configuration parameter of the computing component according to the calculated backup configuration information stored in the second memory
  • the processor system drives the computing component based on the driver package of the computing component stored in the first memory.
  • the processor system restores the configuration parameter of the computing component according to the computing component backup configuration information stored in the second memory, where the computing component is replaced, and the preset first memory
  • the driver package of the calculation component stored in the file is copied to the disk, and is booted from the disk after the copy is completed.
  • copying, to the disk, the driver package of the computing component stored in the preset first memory includes: starting from the first memory, starting from the first The drive package of the calculation component is read in the memory, and the drive package of the calculation component is copied to the disk.
  • the BMC determines whether the computing component is updated, and if yes, continues to determine whether the computing component supports the outband configuration. If yes, the BMC can directly configure the computing component, and the BMC is configured.
  • the storage unit backup configuration information is read in the second storage, and the calculation component is configured according to the calculation component backup configuration information, for example, the calculation component is a network card, and the MAC address of the network card is configured according to the network card backup configuration information (Media Access Control, media access control, MAC for short) Address, IP address, gateway address or other address; BMC sets the first memory as the first boot device and restarts.
  • the processor system is restarted from the first memory, and after the restart, the drive package of the computing component in the first memory is read, and the drive package is copied to the disk.
  • the BMC sets the disk as the first boot device and restarts; the processor system starts up in the heavy disk, searches for the drive package of the computing component in the disk, and drives the computing component according to the drive package.
  • the computing component of the server when the computing component of the server is replaced, the computing component is driven according to the driving package in the first memory, and the computing component is configured according to the backup configuration information pre-stored in the second memory, so that the server automatically recovers.
  • the configuration information can be quickly restored, and the plug-and-play of computing components can be realized, reducing the maintenance time of the server upgrade and reducing the maintenance difficulty.
  • the BMC determines whether the computing component is updated, and if so, reads the computing component backup configuration information from the second memory, and stores the read computing component backup configuration information to the first In a memory, and setting the first memory as the first boot device and rebooting.
  • the processor system is restarted from the first memory.
  • the first memory stores a simplified operating system and management software.
  • the streamlined operating system retains only basic functions, and has the characteristics of small size and low resource consumption.
  • the streamlined operating system can be Linux operating system, Unix operating system or Windows PE operating system or other operating system, this application is not limited, after running, the management software in the operating system is run, and the management software reads the driving component of the computing component from the first memory, and the calculation will be performed.
  • the driver package of the component is copied to the disk, the calculation component backup configuration information is read from the first memory, and the calculation component is configured according to the calculation component backup configuration information.
  • the BMC sets the disk as the first boot device and restarts; the processor system restarts from the disk, and after the restart, drives the computing component according to the driver package of the computing component stored in the disk.
  • the first memory stores a computing motherboard backup configuration.
  • the server management method further includes: the BMC reads the calculated motherboard backup configuration information from the second storage, and configures the computing motherboard according to the calculated motherboard backup configuration information.
  • the backup configuration information of the computing motherboard stored in the second storage area is updated according to the changed configuration information, so as to timely back up the configuration information of the computing motherboard.
  • the second memory further stores the computing component backup identity information and the calculated motherboard backup identity information
  • the BMC obtains the identity information of the computing motherboard, and reads the computing motherboard backup from the second memory.
  • the identity information is temporarily stored in the computing device backup identity information, for example: stored in the first memory
  • the BMC compares the computing system identity information and the read computing motherboard backup identity information is the same If it is not the same, it is determined that the computing motherboard is replaced, that is, the current computing motherboard is the replaced computing motherboard, and the corresponding computing component is also replaced.
  • the BCM obtains the identity information of the computing component, and reads the computing component backup identity information from the second memory, and temporarily stores the read computing component backup identity information in a specified location of the computing component, and compares whether the two are the same, if not, Make sure the current calculation component is updated.
  • the method further includes: updating the computing motherboard backup identity information stored in the second memory according to the identity information of the computing motherboard in the case that the computing motherboard is replaced; and updating the computing component. And updating the computing component backup identity information in the second memory according to the identity information of the computing component.
  • the method further includes: updating the computing motherboard backup configuration information stored in the second memory according to the changed configuration information when the configuration information of the computing motherboard is changed;
  • the calculation component backup configuration information stored in the second memory is updated based on the changed configuration information.
  • the number of the disks in the storage component is multiple, and the multiple disks are formed into a RAID (Redundant Arrays of Independent Disks).
  • the RAID configuration information is stored in the disk.
  • the processor system reads the RAID configuration information from the disk and configures the disk according to the RAID configuration information.
  • the RAID configuration information includes a RAID level, such as RAID0 to RAID50.
  • the number of disks in the storage component is multiple, the plurality of disks form a RAID by hardware, the storage component further includes a RAID card, and the processor system reads the RAID configuration from the RAID card. Information, configure the disk based on the RAID configuration information.
  • the embodiment provides a service system, including a management server and at least one service server, where the management server includes a first memory, and the first memory stores a driver package of a computing component included in each service server; each service server The storage component and the computing component are included.
  • the computing component includes a BMC, a processor system, a computing motherboard, a computing component, and a first connector.
  • the BMC, the processor system, the computing component, and the first connector are disposed on the computing motherboard, and the processor system respectively Connected to the BMC, the first memory, the computing component, and the first connector;
  • the storage component includes a second memory, a storage motherboard, a disk, and a second connector, and the second memory, the disk, and the second connector are disposed on the storage motherboard,
  • the two connectors are respectively connected to the magnetic disk and the second connector;
  • the first connector and the second connector are matched with each other, and in the case where the first connector and the second connector are docked, the BMC passes through the first connector and the second connector
  • the second memory is coupled to the processor, and the processor system is coupled to the disk through the first connector and the second connector.
  • the BMC of the service server is used to determine whether the computing component is updated. If yes, the identification computing component supports the outband configuration. If yes, the computing component backup configuration information is obtained from the second storage, and the computing component backup configuration is performed according to the computing component. Information is configured to configure the computing component, set the first memory as the first boot device, and restart;
  • a processor system of the service server configured to restart from the first memory, read a driving package of the computing component from the first memory after restarting, and copy a driving package of the computing component to the The disk of the business server;
  • the BMC of the service server is further configured to set the disk as the first boot device and restart when the copy is completed.
  • the processor system of the service server is further configured to restart from the disk, and after the restart, drive the network card according to the driving package of the network card stored in the disk.
  • 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 still another server according to an embodiment of the present invention.
  • 3a is a schematic flow chart showing the structure of a service system according to an embodiment of the present invention.
  • FIG. 3b is a schematic structural diagram of still another server according to an embodiment of the present disclosure.
  • 3c is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a server management method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of still another server management method according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic flowchart diagram of still another method for managing a server according to an embodiment of the present invention.
  • the embodiment of the invention discloses a server management method, a server and a service system.
  • the server comprises a computing component and a storage component.
  • the computing component and the storage component are connected in a detachable manner, and the computing component and the storage component are connected in a detachable manner.
  • the components included in the component with short maintenance period, and the components in the storage component include components with long maintenance period, so that the computing component or the storage component can be flexibly replaced during maintenance of the server, and the maintenance efficiency is high.
  • FIG. 1 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • the server comprises: a computing component and a storage component.
  • the computing component includes a computing motherboard 10, a first memory 11, a processor system 12, a computing component 13, a substrate controller 14, and a first connector 15, the first memory 11 being a non-volatile memory, and the first memory 11 being a ROM , EPROM, EEPROM or Flash Memory, the first memory 11 stores a drive package of the computing component 13, the drive component of the computing component 13 is used to drive the computing component 13; the processor system 12 is comprised of one or more processors
  • the processor network each processor may be a single core processor or a multi-core processor.
  • the processors communicate with each other through an interconnection channel, and the interconnection channel may be QPI (Quick) Path Interconnect, QPI) or Hyper Transport;
  • computing unit 13 is the department that performs the specified computing tasks.
  • the computing tasks include, but are not limited to, packet processing, image processing, audio processing, or video processing.
  • the computing component 13 includes, but is 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 The component 13, the substrate 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 substrate management controller 14, the computing component 13 and the first connector 15, respectively, and the substrate controller 14 is simultaneously connected to the first connector 15 and the first memory 11.
  • the storage component includes a second connector 16, a storage main board 17, a magnetic disk 18 and a second memory 19, and the second connector 16, the magnetic disk 18 and the second memory 19 are disposed on the storage main board 17, the second connector 16 and the first
  • the connectors 15 are matched to each other, the second memory 19 stores the calculation component backup configuration information, and the component component backup configuration information is used to restore the configuration parameters of the calculation component 13.
  • the specific structure of the first connector 15 and the second connector 16 may be: the first connector 15 is a USB male connector, the second connector 16 is a USB female connector; or the first connector 15 is a USB male connector, and the second connector 15 is a USB male connector.
  • the connector 16 is a USB female connector; or the first connector 15 is a PCIE male connector, the second connector 16 is a PCIE female connector; or the first connector 15 is a PCIE female connector, and the second connector 16 is a PCIE male connector.
  • the number of the disks 18 may be one or more. In the case where the number of the disks 18 is multiple, the disk types of the disks 18 may all be HDDs, or all of them are SSDs, or a mixture of HDDs and SSDs, which is not limited in this application.
  • the plurality of disks may constitute a RAID by software; 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 computing component backup configuration information.
  • the computing main board 10 and the storage main board 17 are two independent main boards.
  • the processor system 12 passes through the first connector 15 and the second connector 16 and the magnetic disk 18.
  • the substrate controller 14 is coupled to the second memory 19 via the first connector 15 and the second connector 16. Referring to the embodiment shown in FIG.
  • 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, and the magnetic disk 18 and the second connector 16 are connected.
  • the P1 pin is connected, and the second memory 19 and the P2 pin of the second connector 16 are connected.
  • the P1 pin and the second of the first connector 15 are connected.
  • the P1 pin of the connector 16 is connected, and the P2 pin of the first connector 15 is connected to the P2 pin of the second connector 16.
  • the functions of the components in the server are:
  • the substrate management controller 14 is configured to restore the configuration parameter of the computing component 13 according to the computing component backup configuration information stored in the second memory 19 when the computing component 13 is replaced.
  • the processor system 12 is configured to copy the driver package of the computing component 13 stored in the first memory 11 to the disk 18, and boot from the disk 18 after the copying is completed.
  • the functions of the various components in the server are:
  • the processor system 12 is configured to restore the configuration parameter of the computing component 13 according to the computing component backup configuration information stored in the second memory 19 in the event that the computing component 13 is replaced, and the computing component 13 stored in the first memory 11
  • the driver package is copied to disk 18 and booted from disk 18 after the copy is complete.
  • the processor system 12 performs the copying of the driver package of the computing component 13 stored in the preset first memory 11 to the disk 18, including:
  • the booting is performed from the first memory 11, and after the startup, the drive pack of the calculation unit 13 is read from the first memory 11, and the drive pack of the calculation unit 13 is copied to the magnetic disk 18.
  • the functions of the various components in the server are:
  • the baseboard management controller 14 is configured to determine whether the calculation component 13 is updated, and if so, whether the recognition calculation component 13 supports the out-of-band configuration, and if so, the baseboard management controller 14 reads the calculation component backup from the second memory 19.
  • the configuration information is configured to calculate the component 13 according to the calculation component backup configuration information, set the first memory 11 as the first boot device, and restart.
  • the outband configuration indicates a control mode in which the management channel and the service channel are separated, the management channel is used to transmit control data, and the service channel is used to transmit service data.
  • the substrate 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 of the out-of-band configuration, and query the associated status flag according to the mapping relationship. It is determined whether the computing component 13 supports an out-of-band configuration.
  • the substrate management controller 14 may further determine whether the computing motherboard 10 is replaced before determining whether the computing component 13 is replaced. If the calculation of the motherboard 10 is updated, the computing component 13 is further determined. Whether a replacement has occurred.
  • the processor system 12 is configured to restart from the first memory 11. After the restart, the driver package of the computing component 13 stored in the first memory 11 is read, and the driver package of the computing component 13 is copied to the disk 18. After the copying is completed, The substrate management controller 14 is notified.
  • the first memory stores a reduced operating system, the reduced operating system only retains the basic functions, and the reduced operating system has the characteristics of small size and low resource consumption, and the processor system 12 restarts after restarting from the first memory 11.
  • the operating system, the copy of the driver package of the computing component 13 is executed in the environment of the operating system.
  • the baseboard management controller 14 is further configured to set the disk 18 as the first boot device and restart when the drive package copy and configuration of the computing unit 13 is 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 based on the drive package.
  • the storage component is not replaced, and the operating system of the server is stored in the disk 18.
  • the processor 12 restarts from the disk 18, the operating system of the server is run, and in the case of running the operating system, on the disk 18
  • the drive pack of the search calculation unit 13 is driven, and the calculation unit 13 is driven according to the drive pack of the calculation unit 13.
  • the baseboard management controller 14 determines whether the computing component 13 has been replaced, and if so, reads the computing component backup configuration information from the second memory 19, and backs up the configuration information according to the computing component.
  • the computing component 13 is configured to set the first memory 11 as the first boot device and reboot.
  • the processor system 12 is configured to boot from the first memory 11, read the drive package of the computing component 13 from the first memory 11 after booting, copy the drive package of the computing component 13 to the disk 18, and from the first
  • the calculation unit backup configuration information is read in the memory 11, and the calculation unit 13 is configured based on the calculation unit backup configuration information.
  • the baseboard management controller 14 is further configured to set the disk 18 as the first boot device and restart when the copying and configuration is completed.
  • the processor system 12 is also operative to boot from the disk 18, which is driven by the computing component 13 based on the driver package of the computing component 13 stored in the disk.
  • the substrate management controller 14 may further identify the calculation unit after determining that the calculation component 13 is replaced. Whether the component 13 supports the outband configuration, and if the outband configuration is not supported, the subsequent steps are performed.
  • the second memory 19 further stores computing component backup identity information and computing motherboard backup identity information.
  • the baseboard management controller 14 is configured to acquire the identity information of the computing motherboard 10, and read the calculated motherboard backup identity information from the second memory 19, and compare whether the identity information of the computing motherboard 10 and the read computing motherboard backup identity information are the same. Differently, it is determined that the calculation of the motherboard 10 is replaced, and the calculation of the motherboard 10 is the replacement of the calculation board.
  • the baseboard management controller 14 acquires the identity information of the computing component 13, and acquires the computing component backup identity information from the second memory 19, and compares the identity information of the computing component 13 with the read computing component backup identity information, the identity information includes but It is not limited to one or more of the model information, the serial number, and the MAC address. If not, the determination calculation unit 13 is updated, and the calculation unit 13 is the updated calculation unit.
  • the substrate management controller 14 is further configured to update the computing motherboard backup identity information stored in the second memory 19 according to the identity information of the computing motherboard 10 in the case that the computing motherboard 10 is replaced. ;
  • the computing component backup identity information stored in the second memory 19 is updated according to the identity information of the computing component 13.
  • the substrate management controller 14 is further configured to update the computing component backup configuration information stored in the second memory 19 according to the changed configuration information when the configuration information of the computing component 13 is changed.
  • the RAID 18 also stores RAID configuration information.
  • the processor system 12 is further configured to read RAID configuration information stored in the disk 18.
  • the RAID configuration information indicates RAID of multiple disks in the disk 18. Mode, the disk 18 is configured according to the RAID configuration information.
  • the RAID configuration information stored in the disk 18 is updated based on the changed RAID configuration information.
  • the second memory 19 further stores computing motherboard backup configuration information.
  • the substrate management controller 14 reads the computing motherboard from the second memory 19. The configuration information is backed up, and the calculation of the motherboard 10 is performed according to the calculation of the backup configuration information of the motherboard.
  • the substrate management control The controller 14 updates the calculated motherboard backup configuration information stored in the second memory 19 based on the changed configuration information.
  • the baseboard management controller 14 determines that the replacement of the computing mainboard 10, but the computing component 13 has not been updated, and the identity information of the computing component 13 remains unchanged, then only the configuration of the computing component 13 needs to be restored.
  • the environment does not require updating the driver package of the computing component 13.
  • the baseboard management controller 14 obtains the computing component backup configuration information from the second memory 19, and the processor system 12 is booted from the disk 18 by default. After the booting, since the storage component is not replaced, the disk is not replaced.
  • the drive package of the operating system and the pre-replacement calculation component is stored in the first, the calculation component of the pre-replacement calculation component and the calculation component 13 have the same identity information, and the processor system can directly drive the calculation component 13 by using the drive package of the pre-replacement calculation component. .
  • the substrate management controller 14 reads the calculation component backup configuration information from the second memory 19, and stores the read calculation component backup configuration information in the first memory 11,
  • the processor system 12 obtains the computing component backup configuration information from the first memory 11, configures the computing component 13 according to the computing component backup configuration information, and the processor system 12 is directly booted from the disk 18, and the processor system 12 is booted from the disk 18 after booting.
  • the drive pack of the reading calculation unit 13 drives the calculation section 13.
  • the computing component of the server when the computing component of the server is replaced, the computing component is driven according to the driving package in the first memory, and the server is configured according to the backup configuration information pre-stored in the second storage, so that the server automatically returns to normal. Status, no need to reinstall the operating system, and quickly restore configuration information, to achieve plug-and-play computing components, reduce server upgrade maintenance time and reduce maintenance difficulty.
  • FIG. 2 is another schematic structural diagram of a server provided by an embodiment of the present invention.
  • the server includes a computing component and a storage component.
  • the server of FIG. 2 and the server structure of FIG. 1 are different only in that the storage component includes a RAID card 20 and a RAID card. 20 is disposed on the storage main board 17, the number of the magnetic disks 18 is plural, and the plurality of magnetic disks constitute a RAID through the RAID card 20, and the processor system 12 is connected to the RADI card 20 through the first connector 15 and the second connector 16.
  • the processor system 12 reads the RAID configuration information from the RAID card 20, according to the RAID configuration information.
  • Disk 18 is configured accordingly.
  • the service system includes a management server 300 and multiple service servers 301 to 30n, and the management server 300 is responsible for multiple service servers.
  • the management server 300 includes a first memory, where the first memory stores a driver package of a computing component included in each of the service servers 300 to 30n, and for a duplicate driver package, only one driver package may be reserved. Reduce the occupation of storage space.
  • the structure of each business server is shown in Figure 3b and Figure 3c. It should be noted that the structure of the multiple service servers may all be the structure of FIG. 3b, or all of the structures of FIG. 3c, or a mixture of the two, which is not limited in this embodiment.
  • the service server includes a computing component and a storage component
  • the computing component includes a computing motherboard 30, a processor system 31, a computing component 32, and a baseboard management controller.
  • 33 and a first connector 34, a processor system 31, a computing component 32, a substrate management controller 33 and a first connector 34 are disposed on the computing motherboard 30, and the processor system 31 is a processor comprised of one or more processors Network, each processor can be a single-core processor or a multi-core processor.
  • the processors communicate with each other through an interconnection channel, and the interconnection channel can be QPI or HT, and the calculation can be performed.
  • the component 32 is a component that performs a specified computing task.
  • the computing component 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 for each component in the computing, the processor system 31, the computing component 32, and the substrate management controller 33.
  • the first connector 34 is disposed on the computing main board 30, wherein the first connector 34 is disposed on the computing main board 30.
  • the processor system is respectively connected to the computing unit 32, the first memory in the management server, the substrate management controller 33, and the first connector, and the substrate management controller 33 is connected to the first memory.
  • the storage component includes 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 for each component in the storage component, and the second connector 35, the magnetic disk 37 and the second memory 38 are disposed 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. In the case where the number of the disks 37 is plural, the disk types of the disks 37 may all be HDDs.
  • the embodiment is not limited, the plurality of disks may form a RAID by software;
  • the second memory 38 is a non-volatile memory, and the second memory 38 includes but is not limited to a ROM, EPROM, EEPROM or Flash Memory, the second memory stores the calculation component backup configuration information.
  • the computing main board 30 and the storage main board 36 are two independent main boards.
  • the processor system 31 passes through the first connector 34 and the second connector 35 and the magnetic disk 37.
  • the base management controller is connected to the first memory 38 via the first connector 34 and the second connector 35.
  • the functions of the components in the server are:
  • the substrate management controller 33 is configured to restore the configuration parameter of the computing component 32 according to the storage component backup configuration information stored in the second memory 38 in the case that the computing component 30 is replaced;
  • the processor system 31 is configured to copy the driver package of the computing component 32 stored in the first memory of the management server 300 to the disk 37, and boot from the disk 37 after the copying is completed.
  • the functions of the various components in the server are:
  • the processor system 31 is configured to restore the configuration parameters stored in the first memory of the management server 300 according to the configuration parameters of the computing component backup configuration information stored in the second memory 38 in the event that the computing component 32 is replaced.
  • the drive package of component 32 is copied to disk 37 and booted from disk 37 after the copy is complete.
  • the processor system 31 performs the copying of the driver package of the computing component 32 stored in the preset first memory to the disk 37.
  • Booting is performed from the first memory 300 of the management server. After startup, 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.
  • each component in the service server is: a baseboard management controller 33, configured to determine whether the computing component 32 is updated, and if so, whether the computing component 13 supports the outband configuration, if Yes, the baseboard management controller 33 acquires the calculated 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. For the first startup Prepare and restart. In a possible implementation manner, before the substrate management controller 33 determines whether the computing component 32 has been replaced, it may further determine whether the computing motherboard 30 has been replaced. If yes, determine whether the computing component 32 has been replaced.
  • the processor system 31 is configured to restart from the first memory of the management server. After the restart, the driver package of the computing component 32 stored in the first memory is read, and the driver package of the computing component 32 is copied to the disk 18, and the copying is completed. After, the baseboard management controller 33 is notified;
  • the baseboard management controller 33 is further configured to set the disk 37 as the first boot device and restart when the copy of the drive package of the computing component 32 is completed;
  • the processor system 31 is also used to restart from the disk 37. After the restart, the drive pack of the calculation unit 32 stored in the disk 37 is searched, and the calculation unit 32 is driven based on the drive package.
  • the baseboard management controller 33 determines whether the computing component 32 has been replaced, reads the computing component backup configuration information from the second memory 38, and backs up the configuration information to the computing component 32 according to the computing component. Configure to set the first memory as the first boot device and reboot.
  • the processor system 31 is configured to perform a restart from the first memory, read the drive package of the computing component 13 from the first memory after the restart, copy the drive package of the computing component 32 to the disk 37, and from the first memory.
  • the calculation component backup configuration information is read, and the calculation component 32 is configured according to the calculation component backup configuration information.
  • the baseboard management controller 33 is further configured to set the disk 37 as the first boot device and restart when the copying and configuration is completed.
  • the processor system 31 is also used to restart from the disk 37. After the restart, the computing unit 32 is driven according to the drive package of the computing unit 32 stored in the disk 37. In some embodiments of the present 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 if the out-of-band configuration is not supported, Follow-up steps.
  • the second memory 38 further stores computing component backup identity information and computing motherboard backup identity information.
  • the substrate management controller 33 is used to acquire the calculation master The identity information of the board 30, and the calculated motherboard backup identity information are read from the second memory 38, and the identity information of the computing motherboard 30 and the read computing motherboard backup identity information are compared. If not, it is determined that the computing motherboard 30 is replaced.
  • the computing motherboard 30 is a replacement computing motherboard.
  • the baseboard management controller 33 acquires the identity information of the computing component 32, and obtains the computing component backup identity information from the second memory 38, and compares the identity information of the computing component 32 with the read computing component backup identity information. If not, It is determined that the calculation component 32 is updated, and the calculation component 32 is the updated computing component.
  • the substrate management controller 33 is further configured to update the computing motherboard backup identity information stored in the second memory 38 according to the identity information of the computing motherboard 30 in the case that the computing motherboard 30 is replaced. ;
  • the computing component backup identity information stored in the second memory 38 is updated according to the identity information of the computing component 32.
  • the substrate management controller 33 is further configured to update the computing component backup configuration information stored in the second memory 32 according to the changed configuration information when the configuration information of the computing component 32 is changed.
  • the RAID 37 also stores RAID configuration information.
  • the processor system 31 is further configured to read RAID configuration information stored in the disk 37.
  • the RAID configuration information indicates RAID of multiple disks in the disk 37.
  • Mode the disk 37 is configured according to the RAID configuration information.
  • the RAID configuration information stored in the second memory 38 is updated based on the changed RAID configuration information.
  • the second memory 38 further stores computing motherboard backup configuration information.
  • the substrate management controller 33 reads the computing motherboard from the second memory 38.
  • the configuration information is backed up, and the calculation of the motherboard 30 is performed according to the calculation of the backup configuration information of the motherboard.
  • the substrate management controller 33 or the processor system 31 updates the calculation main board backup configuration information stored in the second memory 38 based on the changed configuration information.
  • FIG. 3c another structural diagram of a service server in a service system is implemented in the present invention.
  • the structure of the service server is different from that of FIG. 3b only in that the storage component further includes a RAID card 39.
  • the RAID card 39 is disposed on the storage main board 36, the RAID card 39 is connected to the magnetic disk 37, and the processor system passes through the first connector 34 and The second connector 35 is connected to the RAID card 39.
  • the number of the disks 37 is plural, and the plurality of disks are configured in a RAID manner by the RAID card 39.
  • the processor system reads the RAID configuration information stored in the RAID card, and performs related configuration on the disk 37 according to the RAID configuration information.
  • the computing component of the server when the computing component of the server is replaced, the computing component is driven according to the driving package in the first memory, and the server is configured according to the backup configuration information pre-stored in the second memory, so that The server automatically returns to the normal state, does not need to reinstall the operating system, and quickly restores configuration information, enabling plug-and-play of computing components, reducing maintenance time and reducing maintenance difficulty of server upgrades.
  • the driving packages of the computing components in the respective servers are collectively stored in the first memory, which can effectively reduce the occupation of the storage space by the driving packets.
  • FIG. 4 is a schematic flowchart of a server management method according to an embodiment of the present invention.
  • the method includes:
  • the server includes a computing component and a storage component.
  • the computing component is mainly used to perform computing functions, such as packet processing, image processing, sound processing, etc.
  • the storage component is mainly used to store large-capacity data
  • the storage component includes a disk, and the number of disks. It can be one or more, and multiple disks can form a RAID.
  • the RAID can be implemented by hardware or software. If implemented by hardware, the storage component also includes a RAID card.
  • the computing component and the storage component are detachably connected to facilitate the plugging and unplugging between the computing component and the storage component, and the entire computing component or the storage component may be performed when the computing component or the storage component needs to be upgraded or failed. replace.
  • the backup configuration information is pre-stored in the second memory, and the backup configuration information includes, but is not limited to, backup network card configuration information, backup graphics card configuration information, backup RAID level information, and the server reads the backup configuration information pre-stored in the second memory, according to the backup configuration. Information is configured for the server.
  • the server acquires the driving package of the computing component, and the computing component includes the network card, and the driving component of the computing component includes the driving package of the network card.
  • the driver package of the computing component may be stored in the first memory, the first memory may be located in the computing component, or may be located in a management server external to the server, and the management server is used for centralized management of each server.
  • the computing component of the server when the computing component of the server is replaced, the computing component is driven according to the driving package in the first memory, and the server is configured according to the backup configuration information pre-stored in the second storage, so that the server automatically recovers.
  • the configuration information can be quickly restored, and the plug-and-play of computing components can be realized, reducing the maintenance time of the server upgrade and reducing the maintenance difficulty.
  • FIG. 5 is another schematic flowchart of a server management method according to an embodiment of the present invention.
  • the method includes:
  • the BMC determines that the computing component is updated and the computing component supports the out-of-band configuration.
  • the server of this embodiment includes a computing component including a BMC, a processor system, a computing component, a computing motherboard, and a first connector
  • the BMC is a controller for monitoring and managing each hardware on the server.
  • the BMC can 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.
  • IPMI Intelligent Platform Management Interface
  • UART Universal Asynchronous Receiver/Transmitter
  • Processor system A network of processors consisting of one or more processors, each of which may be a single-core processor or a multi-core processor, with any two processors communicating using QPI channels and HT channels.
  • the computing component is hardware that performs some specified task, such as performing packet processing, sound processing, or graphics processing tasks.
  • the computing component can be a network card, a sound card, a MEZZ card, a graphics card, or other types of components.
  • the first connector is a connector having a plug-in function, and the first connector and the second connector are matched to each other to enable the computing component and the storage component to be detachably connected.
  • the processor system is respectively connected to the BMC, the computing component and the first connector, wherein the connection bus includes but is not limited to a PCIE bus, a USB bus, a SATA bus or a SAS (Serial Attached Small computer system interface) Small Computer System Interface (SAS)
  • the bus, the processor system, the BMC, the computing component, and the first connector can all be disposed on the computing motherboard, and the first connector is disposed on the computing motherboard.
  • the storage component includes a disk, a second memory, and a second connector.
  • the number of disks may be one or more.
  • the types of disks include, but are not limited to, SSDs or HDDs, and multiple disks may be configured in a software manner.
  • the second memory is a non-volatile memory, and has the feature that the data does not disappear after power-off.
  • the second memory includes but is not limited to a ROM, an EPROM, an EEPROM or a Flash Memory, and the second memory stores the computing component backup configuration information. It should be noted that the second memory also stores a simplified operating system. The operating system only retains basic functions, and has the characteristics of small size and low resource consumption.
  • the operating system includes but is not limited to a Linux operating system, a Unix operating system, or Windows PE operating system.
  • the second connector is a connector having a plug-in function, and the first connector and the second connector cooperate with each other.
  • the first connector and the second connector may be a USB connector, a SATA connector, a PCIE connector, or other types of connectors, which are not limited in this embodiment.
  • the corresponding pins of the first connector and the second connector are in contact and communicate, and the BMC is connected to the second memory through the first connector and the second connector.
  • the processor system is coupled to the disk through the first connector and the second connector.
  • the BMC determines whether the motherboard is replaced. If yes, continue to determine whether the computing component is updated. If yes, continue to determine whether the computing component supports out-of-band configuration. The out-of-band configuration indicates that the other channels are configured through non-service channels. Start the operating system. If yes, execute S502.
  • 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
  • the first memory is set to start the device for the first time and is restarted.
  • the processor system restarts from the first memory, wherein the first memory stores a driver package of the computing component, a simplified operating system and management software, and after running, runs the management software on the streamlined operating system, and the management software is from the first memory.
  • the drive package of the computing component is read, the drive package of the computing component is copied to the disk, and the computing component backup configuration information is read from the first memory, and the computing component is configured according to the computing component backup configuration information.
  • the disk is set as the first boot device and restarted.
  • the processor system restarts from the disk and restarts according to the magnetic A drive package of the computing component stored in the disk drives the computing component.
  • the BMC reads the computing component backup configuration information from the second storage, and configures the computing component according to the computing component backup configuration information.
  • the computing component backup configuration information indicates that configuration information of the computing component in the server before the motherboard replacement is calculated.
  • the computing component is a network card
  • the computing component backup configuration information includes but is not limited to a MAC address, an IP address, a WWN, a WWPN, and One or more of the UUIDs.
  • the BMC reads the computing component backup configuration information from the second storage, and restores the original configuration on the computing component according to the computing component backup configuration information.
  • the BMC sets the first memory as the first boot device and restarts.
  • the first memory is a non-volatile memory, and the first memory includes but is not limited to a ROM, an EPROM, an EEPROM, or a Flash Memory.
  • the first memory may be located in the storage component, and the processor system is connected to the first memory.
  • the first memory is located outside the server, is located inside the server management server, and the processor system is connected to the first memory.
  • the BMC sets the first memory as the first boot device, and the first boot device represents the storage device that the server first accesses when booting.
  • the processor system restarts from the first memory. After the restart, the driver package of the computing component is read from the first memory, and the driver package of the computing component is copied to the disk.
  • the processor system is restarted from the first memory, the first memory stores a reduced operating system and management software, the processor system runs the management software in the reduced operating system, and the management software is managed in an operating system environment.
  • the drive package of the calculation component is read in the first memory, the drive package of the calculation component is copied to the disk, and after the copy operation of the drive package of the calculation component is completed, the processor system sends a copy completion message to the BMC.
  • the S505 and the BMC set the disk as the first boot device and restart.
  • the BMC sets the disk as the first boot device when the copy of the driver package of the computing component is completed, and sets the disk of the active partition to be the first one when the number of disks is multiple. Start the device and restart after the setting is completed.
  • the processor system restarts from the disk, and after the restart, drives the computing component according to the driving package of the computing component stored in the disk.
  • the storage component is not replaced, so the operating system of the server is stored in the disk, and after the processor restarts from the disk, the operating system in the disk is operated, and the operating system at this time is installed by the server.
  • the operating system that completes the function the processor system searches the disk for the driver package of the computing component, and drives the computing component according to the driver package of the computing component.
  • the computing component of the server when the computing component of the server is replaced, the computing component is driven according to the driving package in the first memory, and the server is configured according to the backup configuration information pre-stored in the second storage, so that the server automatically returns to normal. Status, no need to reinstall the operating system, and quickly restore configuration information, to achieve plug-and-play computing components, reduce server upgrade maintenance time and reduce maintenance difficulty.
  • FIG. 6 is another schematic flowchart of a server management method according to an embodiment of the present invention.
  • the method includes:
  • the BMC is used to monitor and manage various hardware on the server.
  • the BMC can use the IPMI interface to communicate with each hardware in an out-of-band manner without using an operating system.
  • the BMC executes S602 after the power is turned on.
  • the BMC determines whether the motherboard is replaced.
  • the server of this embodiment includes a computing component and a storage component
  • the computing component includes a BMC, a processor system, a computing component, a computing motherboard, and a first connector.
  • a processor system is a network of processors consisting of one or more processors, each of which may be a single core processor or multiple processors, any two of which may communicate via a QPI channel or an HT channel.
  • the computing component is hardware that performs some specified task, including but not limited to a network card, MEZZ card, sound card, graphics card, or other type of component.
  • the first connector is a connector having a plug-in function, and the first connector and the second connector are matched to each other such that the computing component and the storage component can be detachably connected.
  • the processor system is respectively a BMC, a computing component, a processor system and a BMC, a computing component, and a first Connector connection
  • the connection bus includes but is not limited to a PCIE bus, a USB bus, a SATA bus or a SAS bus
  • the computing motherboard is a carrier for each component in the computing component
  • the processor system, the BMC, the computing component, and the first connector may be disposed at On the computing board, the first connector is set on the computing board.
  • the storage component includes a disk, a second memory, and a second connector.
  • the number of disks may be one or more.
  • the types of disks include, but are not limited to, SSDs or HDDs, and multiple disks may be configured in a software manner.
  • the second memory is a non-volatile memory, including but not limited to a ROM, a PROM, an EPROM, an EEPROM or a Flash Memory.
  • the second memory stores the calculated backup identity information of the motherboard, the calculation component backup identity information, and the calculation component backup configuration information. It should be noted that the second memory also stores a simplified operating system.
  • the operating system only retains basic functions and has the characteristics of small size and low resource consumption.
  • the operating system includes but is not limited to the Linux operating system and the Unix operating system.
  • the second connector is a connector having a plug-in function, and the second connector and the first connector are matched to each other.
  • the first connector and the second connector are USB connector SATA connectors, PCIE connectors, or other types of connectors, which are not limited in this embodiment.
  • the corresponding pins of the first connector and the second connector are in contact and communicate, and the BMC is connected to the second memory through the first connector and the second connector.
  • the processor system is coupled to the disk through the first connector and the second connector.
  • the method for determining whether the motherboard is replaced by the BMC may be: the BMC obtains the identity information of the computing motherboard, and obtains the calculated backup identity information of the motherboard from the second storage, compares and calculates the identity information of the motherboard and calculates whether the backup identity information of the motherboard is the same, if the same , it is determined that the calculation of the motherboard does not occur, and S603 is executed; if not, it is determined that the calculation of the motherboard is replaced, and S604 is executed.
  • the computing motherboard backup identity information stored in the second memory is updated according to the identity information of the computing motherboard, and the computing system identity information is overwritten by the computing motherboard backup stored in the second memory.
  • the processor system is booted from the disk.
  • the computing motherboard is not replaced, and the computing motherboard is a carrier of each component in the computing component.
  • the default first booting device of the server is a disk, and the processor system is booted from the disk, and the operating system and the configuration of each component are stored in the disk. Information, the server is running normally.
  • the BMC determines whether the computing component is updated.
  • the method for determining whether the computing component is updated by the BMC may be: the BMC acquires the identity information of the computing component, and obtains the computing component backup identity information from the second memory, compares the identity information of the computing component, and calculates the component identity information, if not Similarly, it is determined that the calculation component is updated, and S608 is executed; if it is the same, it is determined that the calculation component has not been updated, and S605 is performed.
  • the BMC determines that the computing component is updated
  • the identity information of the computing component is obtained
  • the computing component backup identity information stored in the second memory is updated according to the identity information of the computing component, and the identity information of the computing component is overwritten by the second.
  • the computing component stored in the memory backs up the identity information.
  • the BMC identifies whether the computing component supports the outband configuration.
  • the mapping component pre-stores the mapping relationship between the identity information and the status flag bit, the identity information indicates the identity information of the computing component, and the status flag bit indicates whether the outband configuration is supported. For example, 0 indicates that the outband configuration is not supported, and 1 indicates The outband configuration is supported, and the computing component obtains the identity information of the computing component, and queries the corresponding status flag according to the mapping relationship to determine whether the outband configuration is supported. If yes, execute S606, otherwise execute S605.
  • the BMC reads the computing component backup configuration information from the second storage, and configures the computing component according to the computing component backup configuration information.
  • the BMC reads the computing component backup configuration information from the second storage, and configures the computing component according to the computing component backup configuration information.
  • the BMC can detect whether the first boot device is a disk. If not, set the first boot device device to disk. If yes, execute S607.
  • the processor system is booted from a disk.
  • the storage component is not updated, the operating system is stored in the disk, and the operating system runs the operating system after the processor system is booted from the disk. Since the identity information of the computing component does not change, the driving package of the computing component before the replacement is still stored in the disk. Effective, the processor system drives the computing components based on the original driver package.
  • the BMC identifies whether the computing component supports the outband configuration.
  • the BMC reads the computing component backup configuration information from the second storage, and configures the computing component according to the computing component backup configuration information.
  • 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.
  • the BMC updates the computing motherboard backup configuration information stored in the second storage according to the changed configuration information
  • the BMC updates the computing component backup configuration information stored in the second memory according to the changed configuration information.
  • the BMC sets the first memory as the first boot device and restarts.
  • the first memory may be located in a computing component of the server, or may be located in a management server outside the server.
  • the processor system reads the driver package of the computing component from the first memory, and copies the driver package of the computing component to the disk.
  • the processor system is restarted from the first memory, the first memory stores a reduced operating system, the processor system runs the reduced operating system, and the computing component is read from the first memory in an operating system environment.
  • the driver package copies the driver package of the computing component to the disk, and after completing the copy operation of the driver component of the computing component, the processor system sends a notification message to the BMC.
  • the processor system notifies the BMC to complete the copying and configuration operations.
  • the processor system determines a copy operation of the driver package that completes the computing component, and after the BMC configures the computing component, sends a notification message to the BMC.
  • the BMC sets the disk as the first boot device and restarts.
  • the BMC receives the notification message sent by the processor system, determines that the driver package copy of the computing component is completed, and completes the configuration of the computing component, and sets the disk as the first boot device. In the case that the number of disks is multiple, The disk of the active partition is set as the first boot device, and restart after the setup is completed.
  • the processor system is started from the disk, and the computing component is performed according to the driving component of the computing component. drive.
  • the storage component is not replaced, so the operating system of the server is stored in the disk, and after the processor is booted from the disk, the operating system in the disk is operated, and the operating system at this time is installed by the server.
  • the operating system that completes the function the processor system searches the disk for the driver package of the computing component, and drives the computing component according to the driver package of the computing component.
  • the BMC reads the computing component backup configuration information from the second storage, and stores the computing component backup configuration information in the first storage.
  • the BMC reads the calculation component backup configuration information from the second memory, and stores the calculation component backup configuration information in the first memory.
  • the BMC sets the first memory as the first boot device and restarts.
  • the processor system reads the driving component of the computing component and the computing component backup information from the first memory, copies the driving component of the computing component to the disk, and configures the computing component according to the computing component backup configuration information.
  • the processor system restarts from the first memory, where the first memory stores a driver package of the computing component, a simplified operating system, and management software, and runs the management software on the streamlined operating system after restarting, and the management software is from the first
  • the drive package of the computing component is read in a memory, the drive package of the computing component is copied to the disk, and the computing component backup configuration information is read from the first memory, and the computing component is configured according to the computing component backup configuration information.
  • the processor system notifies the BMC to complete the copying and configuration operation.
  • the BMC sets the disk as the first boot device and restarts.
  • S620 The processor system is started from the disk, and the computing component is driven according to the driving package of the computing component.
  • the disk further stores RAID configuration information; the method further includes:
  • the processor system reads the RAID configuration information from the disk, according to the RAID The configuration information configures the disk.
  • the number of disks in the storage component is multiple, and the plurality of disks form a RAID by software, and the processor system reads the RAID configuration information stored in the second memory according to the determination that the computing motherboard is replaced, according to the RAID. Configuration information configures the disk.
  • the storage component further includes a RAID card, the RAID card is connected to the disk, and the RAID card passes through the second connector and the first connector and the processor system connection;
  • the server management method further includes:
  • the processor system reads RAID configuration information from the RAID card, and configures the disk according to the RAID configuration information.
  • the number of disks in the storage component is multiple, and the plurality of disks form a RAID by hardware, and the processor system reads the RAID configuration information stored in the RAID card according to the RAID configuration when determining that the computing motherboard is replaced. Information configures the disk.
  • the computing component of the server is replaced, the computing component is driven according to the driving package in the first memory, and the server is configured according to the backup configuration information pre-stored in the second memory, so that the server automatically recovers.
  • the configuration information can be quickly restored, and the plug-and-play of computing components can be realized, reducing the maintenance time of the server upgrade and reducing the maintenance difficulty.
  • the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Hardware Redundancy (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明实施例公开一种服务器管理方法和服务器,根据部件的维护周期将服务器分为计算组件和存储组件两部分,计算组件和存储组件以可拆卸的方式进行连接,计算部件中包括的维护周期短的部件,存储组件中包括维护周期长的部件,这样在对服务器进行维护时可对计算组件或存储组件进行灵活更换,维护效率高。

Description

一种服务器管理方法和服务器 技术领域
本发明涉及计算机领域,尤其涉及一种服务器管理方法和服务器。
背景技术
随着业务的增长,服务器的处理能力会出现不满足业务处理的问题,需要每隔一定时间对服务器进行升级,更换处理能力更强的部件。服务器中包括风扇、内存、网卡、磁盘和处理器等数量众多的部件,服务器的各个部件一体化的设置在一个主板上。各个部件的升级周期不同,例如:主板、处理器和内存升级周期的较短,一般为2至3年,而磁盘升级周期较长,一般为5至7年。从目前的服务器的架构可以看出,服务器的各个部件一体化的设置在一个主板上面,对主板上多个部件维护的情况下,维护人员依次对主板上多个部件进行拔插,维护效率低。
发明内容
本申请公开了一种服务器管理方法和服务器,能够对服务器的计算组件或存储组件进行灵活更换,提升维护效率。
第一方面,本申请公开了一种服务器,服务器包括计算组件和存储组件,计算组件包括BMC(Baseboard Management Controller,基板管理控制器,简称BMC)、处理器系统、计算主板计算部件和第一连接器。计算主板为计算组件中各个部件的载体,BMC、处理器系统、计算部件和第一连接器可设置在计算主板上。处理器系统为一个或多个处理器组成的处理器网络,处理器可以为单核处理器或多核处理器。计算部件为执行特定业务功能的部件,计算部件可以为网卡、声卡、MEZZ卡或图形处理卡等。处理器系统分别与BMC和第一连接器连接。存储组件包括磁盘、存储主板、第二存储器和第二连接器,存储主板为存储组件中各个部件的载体,磁盘、第二存储器和第二连接器设置在存储主板上。磁盘的数量可以为一个或多个,磁盘的类型可以为HDD或SDD,在磁盘的数量为多个的情况下,多个磁盘可组成RAID,第二存储器存储有计 算部件备份配置信息,计算部件备份配置信息用于恢复计算部件的配置参数。第二存储器为非易失性存储器,具有掉电数据不丢失的特点。计算主板和存储主板为两个独立的主板,计算主板和存储主板通过第一连接器和第二连接器以可拆卸的方式连接,第一连接器和第二连接器相互匹配,例如:第一连接器为USB(Universal Serial Bus,通用串行总线,简称USB)插头,第二连接器为USB插座;或第一连接器为USB插座,第二连接器为USB插头;或者,第一连接器为PCIE(Peripheral Component Interconnect Express,专门的外设部件互联标准,简称PCIE)公头,第二连接器为PCIE母头;或者第一连接器为PCIE母头,第二连接器为PCIE(SerialAdvanced TechnologyAttachment,串行高级技术附件,简称SATA)公头;或者,第一连接器为SATA插头,第二连接器为SATA插座,可以理解的是,第一连接器和第二连接器可以是上述的公头-母头的连接方式,也可以是线缆的连接方式,或其他可拆卸的连接方式,本申请不作限制。在第一连接器和第二连接器对接的情况下,BMC通过第一连接器和第二连接器与第二存储器连接,处理器系统通过第一连接器和第二连接器与磁盘连接。
上述实施例,根据部件的维护周期将服务器分为计算组件和存储组件两部分,计算组件和存储组件以可拆卸的方式进行连接,计算部件中包括的维护周期短的部件,存储组件中包括维护周期长的部件,这样在对服务器进行维护时可对计算组件或存储组件进行灵活更换,维护效率高。
在本方面的一种可能的实施方式中,服务器中各部件的功能为:
BMC,用于在计算部件发生更换的情况下,根据第二存储器中存放的计算部件备份配置信息恢复计算部件的配置参数;
处理器系统,用于将预设的第一存储器中存放的计算部件的驱动包拷贝至磁盘中,拷贝完成后从磁盘中进行启动。
实施上述实施例,处理器系统根据自身的业务通道对计算部件进行配置,减少了资源的占用,能是计算部件快速恢复到正常状态。
在本方面的一种可能的实施方式中,处理器系统,用于在所述计算部件发生更换的情况下,根据所述第二存储器中存放的所述计算部件备份配置信息恢复所述计算部件的配置参数,将预设的第一存储器中存放的所述计算部件的驱动包拷贝至所述磁盘中,拷贝完成后从所述磁盘启动。
上述实施例,在计算部件发生更新的情况下,根据第一存储器的驱动包对计算部件进行驱动,以及根据第二存储器中预先存储的备份配置信息对计算部件进行配置,使服务器自动恢复正常状态,不需要重新安装操作系统,以及迅速恢复配置信息,实现计算组件的即插即用,减少服务器升级的维护时间和降低维护难度。
在本方面的一种可能的实施方式中,BMC用于判断计算部件是否发生更换,若为是,将预设的第一存储器设置为首个启动设备,并进行重启,其中第一存储器存储计算部件的驱动包,计算部件的驱动包用于对计算部件进行驱动;
处理器系统用于从第一存储器中进行重启,重启后从第一存储器中读取计算部件的驱动包,将计算部件的驱动包拷贝至磁盘中;
BMC还用于在拷贝完成的情况下,将磁盘设置为首个启动设备,并进行重启;
处理器系统还用于从磁盘中进行重启,重启后根据磁盘中存储的计算部件的驱动包对计算部件进行驱动。
在本方面的一种可能的实施方式中,第一存储器位于服务器的计算组件中,即计算组件包括第一存储器,BMC与第一存储器连接,处理器系统和第一存储器连接;或者第一存储器位于管理服务器中,处理器系统和BMC均与第一存储器连接,管理服务器管理多个服务器,本实施例的服务器为管理服务器所管理的多个服务器中的任意一个。上述实施例,第一存储器位于计算组件的部署方式适用于单机场景,具有恢复时间短的特点。第一存储器位于管理服务器的部署方式适用于集群场景,能有效降低计算部件的驱动包对存储空间的占用,便于集中管理。
在本方面的一种可能的实施方式中,第二存储器还存储有计算主板备份配置信息,BMC还用于从第二存储器中读取计算主板备份配置信息,根据计算主板备份配置信息对计算主板进行配置。例如,计算主板备份配置信息包括BIOS(Basic Input Output System,基本输入输出系统,简称BIOS)配置信息。
在本方面的一种可能的实施方式中,第二存储器还存储有计算部件备份身份信息和计算主板备份身份信息。
所述BMC执行所述判断所述计算部件是否发生更新包括:
所述BMC获取所述计算部件的身份信息,以及从所述第二存储器中获取 所述计算部件备份身份信息;身份信息包括但不限于型号、序列号、MAC地址中的一种或多种。
比较所述计算部件的身份信息和所述计算部件备份身份信息是否相同;
若为否,确定所述计算部件发生更新。
上述实施例,在计算组件与存储组件对接后,能自动识别出计算主板以及网卡是否发生更新,具有检测速度快和占用资源少的特点。
在本方面的一种可能的实施方式中,BMC还用于:在计算主板发生更换的情况下,根所述计算主板的身份信息更新计算主板身份信息。
在计算组件发生更换的情况下,根据计算部件的身份信息更新第二存储器中存储的计算部件备份身份信息。
在本方面的一种可能的实施方式中,磁盘中还存储有RAID配置信息,存储组件中的磁盘的数量为多个,处理器系统还用于:从磁盘中读取RAID配置信息,根据RAID配置信息对磁盘进行配置。
在本方面的一种可能的实施方式中,存储组件还包括RAID卡,RAID卡设置在存储主板上,RAID卡与磁盘和第二连接器连接,在第一连接器和第二连接器对接的情况下,处理器系统通过第一连接器和第二连接器与RAID卡连接。处理器系统还用于:从RAID卡中读取RAID配置信息,根据RAID配置信息对磁盘进行配置。
第二方面,本申请公开了一种服务器管理方法,升级方法应用于服务器,本申请的服务器包括但不限于视频服务器、网页服务器、文件服务器或数据中心服务器。计算组件包括BMC、计算主板、处理器系统、计算部件和第一连接器,存储组件包括磁盘、存储主板、第二存储器和第二连接器,第一连接器和第二连接器相互匹配,这样计算组件和存储组件之间以可拆卸的方式连接,在计算组件和存储组件中任意一个需要升级时,可直接拔出旧的计算组件或存储组件替换成新的计算组件或存储组件。在计算组件中,处理器系统分别与BMC、计算部件和第一连接器连接,计算主板作为计算组件中各个部件的载体,BMC、计算部件、处理器系统和第一连接器设置在计算主板上。在存储组件中,存储主板为存储组件中各个部件的载体,第二连接器、磁盘和第二存储器设置在存储主板上,第二连接器分别与磁盘和第二存储器连接,在第一连接器和第二连接器对接的情况下,BMC通过第一连接器和第二连接器与第二 存储器连接,处理器系统通过第一连接器和第二连接器与磁盘连接。计算部件主要执行计算功能,计算功能包括但不限于数据处理、声音处理、文字处理和控制等功能;相应的,计算部件可以为网卡、显卡、图像处理卡、MEZZ卡或其他类型的部件。存储组件主要用于存储大容量数据,存储组件中磁盘的类型不作限制,且磁盘的数量可以为一个或多个,在多个磁盘的情况下,多个磁盘的磁盘类型可以全部为HDD(Hard Disk Drive,硬盘驱动器,简称HDD)、全部为SSD(Solid State Drives,固态硬盘)或HDD和SSD的混合。第一存储器和第二存储器为非易失性存储器(NVM,NonVolatile Memory),NVM具有掉电后数据不丢失的特性,NVM包括但不限于ROM(Read Only Memory,只读存储器)、EPROM(Erasable Programmable Read Only Memory,可擦除可编程只读存储器)和Flash Memory。第一存储器中存储有计算部件的驱动包,计算部件的驱动包用于对计算部件进行驱动,第一存储器可设置在服务器的计算组件或服务器的外部,第二存储器中存储有计算部件备份配置信息,计算部件备份配置信息用于恢复计算部件的配置参数。计算主板和存储主板为两个独立的主板,计算主板和存储主板通过第一连接器和第二连接器以可拆卸的方式进行连接,服务器管理方法包括:在计算部件发生更换的情况下,根据第二存储器存放的计算备份配置信息恢复计算部件的配置参数,以及根据第一存储器中存放的计算部件的驱动包对计算部件进行驱动。
在本方面的一种可能的实施方式中,在计算部件发生更换的情况下,BMC根据所述第二存储器中存放的所述计算备份配置信息恢复计算部件的配置参数;
处理器系统根据所述第一存储器中存放的计算部件的驱动包对计算部件进行驱动。
在本方面的一种可能的实施方式中,处理器系统在计算部件发生更换的情况下,根据第二存储器中存放的计算部件备份配置信息恢复计算部件的配置参数,将预设的第一存储器中存放的计算部件的驱动包拷贝至磁盘中,拷贝完成后从磁盘启动。
在本方面的一种可能的实施方式中,将预设的第一存储器中存放的计算部件的驱动包拷贝至所述磁盘中包括:从第一存储器中进行启动,启动后从第一 存储器中读取计算部件的驱动包,将计算部件的驱动包拷贝至所述磁盘中。
在本方面的一种可能的实施方式中,BMC判断计算部件是否发生更新,若为是,继续判断计算部件是否支持带外配置,若为是,BMC能够直接对计算部件进行配置,BMC从第二存储器中读取计算部件备份配置信息,根据计算部件备份配置信息对计算部件进行相关配置,例如:计算部件为网卡,根据网卡备份配置信息配置网卡的MAC(MediaAccess Control,媒体访问控制,简称MAC)地址、IP地址、网关地址或其他地址等;BMC将第一存储器设置为首个启动设备(First Boot Device),并进行重启。处理器系统从第一存储器中重启,重启后读取第一存储器中的计算部件的驱动包,将驱动包拷贝到磁盘中。BMC在上述的拷贝操作完成后,将磁盘设置为首个启动设备,并进行重启;处理器系统重磁盘中启动,搜索磁盘中的计算部件的驱动包,根据该驱动包对计算部件进行驱动。
上述实施例,服务器的计算部件发生更换的情况下,根据第一存储器中的驱动包对计算部件进行驱动,以及根据第二存储器中预先存储的备份配置信息对计算部件进行配置,使服务器自动恢复正常状态,不需要重新安装操作系统,以及迅速恢复配置信息,实现计算组件的即插即用,减少服务器升级的维护时间和降低维护难度。
在本方面的一种可能的实施方式中,BMC判断计算部件是否发生更新,若为是,从第二存储器中读取计算部件备份配置信息,将读取到的计算部件备份配置信息存储到第一存储器中,以及将第一存储器设置为首个启动设备,并进行重启。处理器系统从第一存储器中重启,第一存储器中存储有精简的操作系统和管理软件,精简的操作系统只保留了基本功能,具有体积小和占用资源少的特点,精简的操作系统可以是Linux操作系统、Unix操作系统或Windows PE操作系统或其他操作系统,本申请不作限制,重启后运行该操作系统中的管理软件,管理软件从第一存储器中读取计算部件的驱动包,将计算部件的驱动包拷贝至磁盘中,从第一存储器中读取计算部件备份配置信息,根据计算部件备份配置信息对计算部件进行配置。在完成拷贝和配置的情况下,BMC将磁盘设置为首个启动设备,并进行重启;处理器系统从磁盘中进行重启,重启后根据磁盘中存储的计算部件的驱动包对计算部件进行驱动。
在本方面的一种可能的实施方式中,第一存储器中存储有计算主板备份配 置信息,服务器管理方法还包括:BMC从第二存储器中读取计算主板备份配置信息,根据计算主板备份配置信息对计算主板进行配置。上述实施例,在计算主板的配置信息发生变更后,根据变更后的配置信息更新第二存储区中原来存储的计算主板备份配置信息,以实现及时对计算主板的配置信息进行备份。
在本方面的一种可能的实施方式中,第二存储器中还存储有计算部件备份身份信息和计算主板备份身份信息,BMC获取计算主板的身份信息,以及从第二存储器中读取计算主板备份身份信息,将读取到的计算主板备份身份信息暂存在计算组件中的指定位置,例如:存放在第一存储器中,BMC比较计算主板的身份信息和读取到的计算主板备份身份信息是否相同,若不相同,确定计算主板发生更换,即当前的计算主板为更换后的计算主板,相应的整个计算组件也发生更换。BCM获取计算部件的身份信息,以及从第二存储器中读取计算部件备份身份信息,将读取到的计算部件备份身份信息暂存在计算组件的指定位置,比较二者是否相同,若不相同,确定当前的计算部件发生更新。
在本方面的一种可能的实施方式中,还包括:在计算主板发生更换的情况下,根据计算主板的身份信息更新第二存储器中存放的计算主板备份身份信息;在计算部件发生更新的情况下,根据计算部件的身份信息更新第二存储器中计算部件备份身份信息。
在本方面的一种可能的实施方式中,还包括:在计算主板的配置信息发生变更的情况下,根据变更后的配置信息更新第二存储器中存储的计算主板备份配置信息;
在计算部件的配置信息发生变更的情况下,根据变更后的配置信息更新第二存储器中存储的计算部件备份配置信息。
在本方面的一种可能的实施方式中,存储组件中磁盘的数量为多个,多个磁盘通过软件方式组成RAID(Redundant Arrays of Independent Disks,独立磁盘构成的具有冗余能力的阵列,简称RAID),磁盘中存储有RAID配置信息,处理器系统从磁盘中读取RAID配置信息,根据RAID配置信息对磁盘进行配置,RAID配置信息包括RAID级别,例如RAID0~RAID50。
在本方面的一种可能的实施方式中,存储组件中磁盘的数量为多个,多个磁盘通过硬件方式组成RAID,存储组件中还包括RAID卡,处理器系统从RAID卡中读取RAID配置信息,根据RAID配置信息对磁盘进行配置。
第三方面,本实施例提供了一种业务系统,包括管理服务器和至少一个业务服务器,管理服务器包括第一存储器,第一存储器存储每个业务服务器包括的计算部件的驱动包;每个业务服务器包括存储组件和计算组件,计算组件包括BMC、处理器系统、计算主板、计算部件和第一连接器,BMC、处理器系统、计算部件和第一连接器设置在计算主板上,处理器系统分别与BMC、第一存储器、计算部件和第一连接器连接;存储组件包括第二存储器、存储主板、磁盘和第二连接器,第二存储器、磁盘和第二连接器设置在存储主板上,第二连接器分别与磁盘和第二连接器连接;第一连接器和第二连接器相互匹配,在第一连接器和第二连接器对接的情况下,BMC通过第一连接器和第二连接器和第二存储器连接,处理器系统通过第一连接器和第二连接器与磁盘连接。对于每个业务服务器,业务服务器中各部件的功能如下:
业务服务器的BMC,用于判断计算部件是否发生更新,若为是,识别计算部件是否支持带外配置,若为是,从第二存储器中获取计算部件备份配置信息,根据所述计算部件备份配置信息对所述计算部件进行配置,将所述第一存储器设置为首个启动设备,并进行重启;
业务服务器的处理器系统,用于从所述第一存储器中进行重启,重启后从所述第一存储器中读取所述计算部件的驱动包,将所述计算部件的驱动包拷贝至所述业务服务器的磁盘中;
业务服务器的BMC,还用于在拷贝完成的情况下,将所述磁盘设置为首个启动设备,并进行重启;
业务服务器的处理器系统,还用于从所述磁盘中进行重启,重启后根据所述磁盘中存储的所述网卡的驱动包对所述网卡进行驱动。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例公开的一种服务器的结构示意图;
图2为本发明实施例公开的又一种服务器的结构示意图;
图3a为本发明实施例公开的一种业务系统的结构示意图流程示意图;
图3b为本发明实施例公开的又一种服务器的结构示意图;
图3c为本发明实施例公开的一种服务器的结构示意图;
图4是本发明实施例公开的一种服务器管理方法的流程示意图;
图5为本发明实施例公开的又一种服务器管理方法的流程示意图;
图6为本发明实施例公开的又一种服务器的管理方法的流程示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述。
本发明实施例公开了一种服务器管理方法、服务器和业务系统,服务器包括计算组件和存储组件,计算组件和存储组件通过可拆卸的方式连接,计算组件和存储组件以可拆卸的方式进行连接,计算部件中包括的维护周期短的部件,存储组件中包括维护周期长的部件,这样在对服务器进行维护时可对计算组件或存储组件进行灵活更换,维护效率高。
请参见图1,图1是本发明实施例提供的一种服务器的结构示意图。在本发明实施例中,服务器包括:计算组件和存储组件。计算组件包括计算主板10、第一存储器11、处理器系统12、计算部件13、基板控制器14和第一连接器15,第一存储器11为非易失性存储器,第一存储器11可以为ROM、EPROM、EEPROM或Flash Memory,第一存储器11中存储有计算部件13的驱动包,计算部件13的驱动包用于对计算部件13进行驱动;处理器系统12由一个或多个处理器组成的处理器网络,每个处理器可以为单核处理器或多核处理器,在处理器系统12为多个处理器的情况下,处理器之间通过互联通道相互通信,互联通道可以为QPI(Quick Path Interconnect,快速互联通道,简称QPI)或Hyper Transport(超传输);计算部件13为执行指定计算任务的部 件,计算任务包括但不限于数据包处理、图像处理、音频处理或视频处理,计算部件13包括但不限于网卡、声卡、MEZZ卡或图形处理卡;第一存储器11、处理器系统12、计算部件13、基板管理控制器14和第一连接器15设置在计算主板10上,其中,第一连接器15设置在计算主板10上。处理器系统12分别与第一存储器11、基板管理控制器14、计算部件13和第一连接器15相连,基板控制器14同时与第一连接器15和第一存储器11相连。
存储组件包括第二连接器16、存储主板17、磁盘18和第二存储器19连接,第二连接器16、磁盘18和第二存储器19设置在存储主板17上,第二连接器16和第一连接器15相互匹配,第二存储器19存储有计算部件备份配置信息,计算部件备份配置信息用于恢复计算部件13的配置参数。第一连接器15和第二连接器16的具体结构可以为:第一连接器15为USB公头,第二连接器16为USB母头;或者第一连接器15为USB公头,第二连接器16为USB母头;或者第一连接器15为PCIE公头,第二连接器16为PCIE母头;或者第一连接器15为PCIE母头,第二连接器16为PCIE公头。磁盘18的数量可以为一个或多个,在磁盘18的数量为多个的情况下,磁盘18的磁盘类型可以全部为HDD,或者全部为SSD,或者为HDD和SSD的混合,本申请不作限制,多个磁盘可以通过软件方式组成RAID;第二存储器19为非易失性存储器,第二存储器19可以为ROM、EPROM、EEPROM或Flash Memory,第二存储器19中存储有计算部件备份配置信息。计算主板10和存储主板17为两个独立的主板,在第一连接器15和第二连接器16对接的情况下,处理器系统12通过第一连接器15和第二连接器16与磁盘18相连,基板控制器14通过第一连接器15和第二连接器16与第二存储器19连接。参见图1所示的实施方式,处理器系统12与第一连接器15的P1引脚连接,基板控制器14与第一连接器15的P2引脚连接,磁盘18和第二连接器16的P1引脚连接,第二存储器19和第二连接器16的P2引脚连接,在第一连接器15和第二连接器16对接的情况下,第一连接器15的P1引脚和第二连接器16的P1引脚连接,第一连接器15的P2引脚和第二连接器16的P2引脚连接。
在一种可能的实施方式中,服务器中个部件的功能为:
基板管理控制器14,用于在计算部件13发生更换的情况下,根据第二存储器19中存放所述计算部件备份配置信息恢复计算部件13的配置参数;
处理器系统12,用于将第一存储器11中存放的计算部件13的驱动包拷贝至磁盘18中,拷贝完成后从磁盘18中进行启动。
在一种可能的实施方式中,服务器中各个部件的功能为:
处理器系统12,用于在计算部件13发生更换的情况下,根据第二存储器19中存放的计算部件备份配置信息恢复计算部件13的配置参数,将第一存储器11中存放的计算部件13的驱动包拷贝至磁盘18中,拷贝完成后从磁盘18启动。
在一种可能的实施方式中,处理器系统12执行将预设的第一存储器11中存放的计算部件13的驱动包拷贝至磁盘18中包括:
从第一存储器11中进行启动,启动后从第一存储器11中读取计算部件13的驱动包,将计算部件13的驱动包拷贝至磁盘18中。
在一种可能的实施方式中,服务器中各个部件的功能为:
基板管理控制器14,用于判断计算部件13是否发生更新,若为是,识别计算部件13是否支持带外配置,若为是,基板管理控制器14从第二存储器19中读取计算部件备份配置信息,根据计算部件备份配置信息对计算部件13进行配置,将第一存储器11设置为首个启动设备,并进行重启。其中,带外配置表示管理通道和业务通道分离的控制方式,管理通道用于传输控制数据,业务通道用于传输业务数据。基板管理控制器14可根据预先存储的身份信息和是否支持带外配置的状态标志位的映射关系,基板管理控制器14可获取计算部件13的身份信息,根据该映射关系查询关联的状态标志位以确定计算部件13是否支持带外配置。
在一种可能的实施方式中,基板管理控制器14在判断计算部件13是否发生更换之前还可以先判断计算主板10是否发生更换,若计算主板10发生更新的情况下,再继续判断计算部件13是否发生更换。
处理器系统12,用于从第一存储器11中重启,重启后读取第一存储器11中存储的计算部件13的驱动包,将计算部件13的驱动包拷贝至磁盘18中,拷贝完成后,通知基板管理控制器14。其中,第一存储器中存储有精简的操作系统,精简的操作系统只保留的基本功能,精简的操作系统具有体积小和占用资源少的特点,处理器系统12从第一存储器11重启后运行该操作系统,计算部件13的驱动包的拷贝在操作系统的环境中执行。
基板管理控制器14,还用于在计算部件13的驱动包拷贝和配置完成的情况下,将磁盘18设置为首个启动设备,并进行重启。
处理器系统12,还用于从磁盘18中进行启动,启动后搜索磁盘18中存储的计算部件13的驱动包,根据该驱动包对计算部件13进行驱动。其中,在本实施例中,存储组件没有发生更换,磁盘18中存储有服务器的操作系统,处理器12从磁盘18重启后,运行服务器的操作系统,在运行操作系统的情况下,在磁盘18中搜索计算部件13的驱动包,根据计算部件13的驱动包对计算部件13进行驱动。
在本实施例的一种可能的实施方式中,基板管理控制器14判断计算部件13是否发生更换,若为是,从第二存储器19中读取计算部件备份配置信息,根据计算部件备份配置信息对计算部件13进行配置,将第一存储器11设置为首个启动设备,并进行重启。
处理器系统12,用于从第一存储器11中进行启动,启动后从第一存储器11中读取计算部件13的驱动包,将计算部件13的驱动包拷贝至磁盘18中,以及从第一存储器11中读取计算部件备份配置信息,根据计算部件备份配置信息对计算部件13进行配置。
基板管理控制器14,还用于在拷贝和配置完成的情况下,将磁盘18设置为首个启动设备,并进行重启。
处理器系统12,还用于从磁盘18中进行启动,启动后根据磁盘中存储的计算部件13的驱动包对计算部件13进行驱动。其中,在本实施例的一些实施例中,基板管理控制器14在确定计算部件13发生更换后,还可以识别计算部 件13是否支持带外配置,在不支持带外配置的情况下,再执行后续的步骤。
在本实施例的一种可能的实施方式中,第二存储器19还存储有计算部件备份身份信息和计算主板备份身份信息。基板管理控制器14用于获取计算主板10的身份信息,以及从第二存储器19中读取计算主板备份身份信息,比较计算主板10的身份信息和读取的计算主板备份身份信息是否相同,若不相同,确定计算主板10发生更换,计算主板10为更换后的计算主板。基板管理控制器14获取计算部件13的身份信息,以及从第二存储器19中获取计算部件备份身份信息,比较计算部件13的身份信息和读取的计算部件备份身份信息是否相同,身份信息包括但不限于型号信息、序列号、MAC地址中的一种或多种,若不相同,确定计算部件13发生更新,计算部件13为更新后的计算部件。
在本实施例的一种可能的实施方式中,基板管理控制器14还用于在计算主板10发生更换的情况下,根据计算主板10的身份信息更新第二存储器19存储的计算主板备份身份信息;
在计算部件发生更新的情况下,根据计算部件13的身份信息更新第二存储器19中存储的计算部件备份身份信息。
在一种可能的实施方式中,基板管理控制器14还用于在计算部件13的配置信息发生变更的情况下,根据变更后的配置信息更新第二存储器19中存储的计算部件备份配置信息。
在一种可能的实施方式中,磁盘18中还存储有RAID配置信息,处理器系统12还用于读取磁盘18中存储的RAID配置信息,RAID配置信息表示磁盘18中的多个磁盘的RAID模式,根据RAID配置信息对磁盘18进行配置。在RAID配置信息发生变更的情况下,根据变更后的RAID配置信息更新磁盘18中存储的RAID配置信息。
在一种可能的实施方式中,第二存储器19中还存储有计算主板备份配置信息,在计算主板10支持带外配置的情况下,基板管理控制器14从第二存储器19中读取计算主板备份配置信息,根据计算主板备份配置信息对计算主板10进行相关配置。在计算主板10的配置信息发生变更的情况下,基板管理控 制器14根据变更后的配置信息更新第二存储器19中存储的计算主板备份配置信息。
在一种可能的实施方式中,基板管理控制器14判断出计算主板10发生更换,但是计算部件13没有发生更新,就计算部件13的身份信息保持不变,那么只需要恢复计算部件13的配置环境,不需要更新计算部件13的驱动包。在计算部件13支持带外配置的情况下,基板管理控制器14从第二存储器19中获取计算部件备份配置信息,处理器系统12默认从磁盘18启动,启动后,由于存储组件没有更换,磁盘18中存储有操作系统和更换前的计算部件的驱动包,更换前的计算部件和计算部件13的身份信息相同,处理器系统可直接利用更换前的计算部件的驱动包对计算部件13进行驱动。
在计算部件13不支持带外配置的情况下,基板管理控制器14从第二存储器19中读取计算部件备份配置信息,将读取到的计算部件备份配置信息存储在第一存储器11中,处理器系统12从第一存储器11中获取计算部件备份配置信息,根据计算部件备份配置信息对计算部件13进行配置,处理器系统12直接从磁盘18启动,启动后处理器系统12从磁盘18中读取计算部件13的驱动包对计算部件13进行驱动。
上述实施例,服务器的计算组件发生更换的情况下,根据第一存储器中的驱动包对计算组件进行驱动,以及根据第二存储器中预先存储的备份配置信息对服务器进行配置,使服务器自动恢复正常状态,不需要重新安装操作系统,以及迅速恢复配置信息,实现计算组件的即插即用,减少服务器升级的维护时间和降低维护难度。
参见图2,为发明实施例提供的一种服务器的另一结构示意图,服务器包括计算组件和存储组件,图2的服务器和图1的服务器结构的区别仅在于存储组件包括RAID卡20,RAID卡20设置在存储主板17上,磁盘18的数量为多个,多个磁盘通过RAID卡20组成RAID,处理器系统12通过第一连接器15和第二连接器16与RADI卡20连接。在计算主板10发生更换的情况下,处理器系统12从RAID卡20中读取RAID配置信息,根据RAID配置信息对 磁盘18进行相关配置。
参见图3a,为本发明实施例提供的一种业务系统的结构示意图,在本发明实施例中,业务系统包括管理服务器300和多个业务服务器301~30n,管理服务器300负责对多个业务服务器进行管理,管理服务器300中包括第一存储器,第一存储器存储有业务服务器300~30n中每个业务服务器包括的计算部件的驱动包,对于存在重复的驱动包,可以只保留一个驱动包,以减少存储空间的占用。每个业务服务器的结构如图3b和图3c所示。需要说明的是,多个业务服务器的结构可以全部为图3b的结构,或者全部为图3c的结构,或者二者的混合,本实施例不作限制。
参见图3b,为业务系统中业务服务器的结构示意图,在本发明实施例中,业务服务器包括计算组件和存储组件,计算组件包括计算主板30、处理器系统31、计算部件32、基板管理控制器33和第一连接器34,处理器系统31、计算部件32、基板管理控制器33和第一连接器34设置在计算主板30上,处理器系统31由一个或多个处理器组成的处理器网络,每个处理器可以为单核处理器或多核处理器,在处理器系统31为多个处理器的情况下,处理器之间通过互联通道相互通信,互联通道可以为QPI或HT,计算部件32为执行指定计算任务的部件,计算部件32包括但不限于网卡、声卡、图形处理卡;计算主板30为计算中各个部件的载体,处理器系统31、计算部件32、基板管理控制器33和第一连接器34设置在计算主板30上,其中,第一连接器34设置在计算主板30上。处理器系统分别为计算部件32、管理服务器中的第一存储器、基板管理控制器33和第一连接器相连,基板管理控制器33与第一存储器连接。
存储组件包括第二连接器35、存储主板36、磁盘37和第二存储器38,存储主板36为存储组件中各个部件的载体,第二连接器35、磁盘37和第二存储器38设置在存储主板36上,存储主板36和计算主板30为两个独立的主板,第二连接器35和第一连接器34相互匹配。磁盘37的数量可以为一个或多个,在磁盘37的数量为多个的情况下,磁盘37的磁盘类型可以全部为HDD, 或者全部为SSD,或者为HDD和SSD的混合,本实施例不作限制,多个磁盘可通过软件方式组成RAID;第二存储器38为非易失性存储器,第二存储器38包括但不限于ROM、EPROM、EEPROM或Flash Memory,第二存储器中存储有计算部件备份配置信息。计算主板30和存储主板36为两个独立的主板,在第一连接器34和第一连接器35对接的情况下,处理器系统31通过第一连接器34和第二连接器35与磁盘37连接,基板管理控制器通过第一连接器34和第二连接器35与第一存储器38连接。具体的连接方式可参见图1的描述,此处不再赘述。
在一种可能的实施方式中,服务器中个部件的功能为:
基板管理控制器33,用于在计算部件30发生更换的情况下,根据第二存储器38中存放计算部件备份配置信息恢复计算部件32的配置参数;
处理器系统31,用于将管理服务器300的第一存储器中存放的计算部件32的驱动包拷贝至磁盘37中,拷贝完成后从磁盘37中进行启动。
在一种可能的实施方式中,服务器中各个部件的功能为:
处理器系统31,用于在计算部件32发生更换的情况下,根据第二存储器38中存放的计算部件备份配置信息恢复计算部件32的配置参数,将管理服务器300的第一存储器中存放的计算部件32的驱动包拷贝至磁盘37中,拷贝完成后从磁盘37启动。
在一种可能的实施方式中,处理器系统31执行将预设的第一存储器中存放的计算部件32的驱动包拷贝至磁盘37中包括:
从管理服务器的第一存储器300中进行启动,启动后从第一存储器中读取计算部件32的驱动包,将计算部件32的驱动包拷贝至磁盘37中。
在一种可能的实施方式中,业务服务器中各个部件的功能为:基板管理控制器33,用于判断计算部件32是否发生更新,若为是,识别计算部件13是否支持带外配置,若为是,基板管理控制器33从第二存储器中获取计算部件备份配置信息,根据计算部件备份配置信息恢复计算部件32的配置环境,基板管理控制器32将关联的管理服务器300中的第一存储器设置为首个启动设 备,并进行重启。其中,在一种可能的实施方式中,基板管理控制器33判断计算部件32是否发生更换之前,还可以判断计算主板30是否发生更换,若为是,再判断计算部件32是否发生更换。
处理器系统31,用于从管理服务器的第一存储器中重启,重启后,读取第一存储器中存储的计算部件32的驱动包,将计算部件32的驱动包拷贝至磁盘18中,拷贝完成后,通知基板管理控制器33;
基板管理控制器33,还用于在计算部件32的驱动包拷贝完成的情况下,将磁盘37设置为首个启动设备,并进行重启;
处理器系统31,还用于从磁盘37中进行重启,重启后搜索磁盘37中存储的计算部件32的驱动包,根据该驱动包对计算部件32进行驱动。
在本实施例的一种可能的实施方式中,基板管理控制器33判断计算部件32是否发生更换,从第二存储器38中读取计算部件备份配置信息,根据计算部件备份配置信息对计算部件32进行配置,将第一存储器设置为首个启动设备,并进行重启。
处理器系统31,用于从第一存储器中进行重启,重启后从第一存储器中读取计算部件13的驱动包,将计算部件32的驱动包拷贝至磁盘37中,以及从第一存储器中读取计算部件备份配置信息,根据计算部件备份配置信息对计算部件32进行配置。
基板管理控制器33,还用于在拷贝和配置完成的情况下,将磁盘37设置为首个启动设备,并进行重启。
处理器系统31,还用于从磁盘37中进行重启,重启后根据磁盘37中存储的计算部件32的驱动包对计算部件32进行驱动。其中,在本实施例的一些实施例中,基板管理控制器33在确定计算部件32发送更换后,还可以识别计算部件32是否支持带外配置,在不支持带外配置的情况下,再执行后续的步骤。
在本实施例的一种可能的实施方式中,第二存储器38还存储有计算部件备份身份信息和计算主板备份身份信息。基板管理控制器33用于获取计算主 板30的身份信息,以及从第二存储器38中读取计算主板备份身份信息,比较计算主板30的身份信息和读取的计算主板备份身份信息是否相同,若不相同,确定计算主板30发生更换,计算主板30为更换后的计算主板。基板管理控制器33获取计算部件32的身份信息,以及从第二存储器38中获取计算部件备份身份信息,比较计算部件32的身份信息和读取的计算部件备份身份信息是否相同,若不相同,确定计算部件32发生更新,计算部件32为更新后的计算部件。
在本实施例的一种可能的实施方式中,基板管理控制器33还用于在计算主板30发生更换的情况下,根据计算主板30的身份信息更新第二存储器38存储的计算主板备份身份信息;
在计算部件发生更新的情况下,根据计算部件32的身份信息更新第二存储器38中存储的计算部件备份身份信息。
在一种可能的实施方式中,基板管理控制器33还用于在计算部件32的配置信息发生变更的情况下,根据变更后的配置信息更新第二存储器32中存储的计算部件备份配置信息。
在一种可能的实施方式中,磁盘37中还存储有RAID配置信息,处理器系统31还用于读取磁盘37中存储的RAID配置信息,RAID配置信息表示磁盘37中的多个磁盘的RAID模式,根据RAID配置信息对磁盘37进行配置。在RAID配置信息发生变更的情况下,根据变更后的RAID配置信息更新第二存储器38中存储的RAID配置信息。
在一种可能的实施方式中,第二存储器38中还存储有计算主板备份配置信息,在计算主板30支持带外配置的情况下,基板管理控制器33从第二存储器38中读取计算主板备份配置信息,根据计算主板备份配置信息对计算主板30进行相关配置。在计算主板30的配置信息发生变更的情况下,基板管理控制器33或处理器系统31根据变更后的配置信息更新第二存储器38中存储的计算主板备份配置信息。
参见图3c,为业务系统中业务服务器的另一结构示意图,在本发明实施 例的业务服务器的结构和图3b的区别仅在于,存储组件还包括RAID卡39,RAID卡39设置在存储主板36上,RAID卡39与磁盘37连接,处理器系统通过第一连接器34和第二连接器35与RAID卡39连接。磁盘37的数量为多个,多个磁盘通过RAID卡39以硬件方式组成RAID。在计算主板30发生更换的情况下,处理器系统读取RAID卡中存储的RAID配置信息,根据RAID配置信息对磁盘37进行相关配置。
上述实施例,上述实施例,服务器的计算组件发生更换的情况下,根据第一存储器中的驱动包对计算组件进行驱动,以及根据第二存储器中预先存储的备份配置信息对服务器进行配置,使服务器自动恢复正常状态,不需要重新安装操作系统,以及迅速恢复配置信息,实现计算组件的即插即用,减少服务器升级的维护时间和降低维护难度。同时,各个服务器中计算部件的驱动包集中存储在第一存储器中,可有效减少驱动包对存储空间的占用。
参见图4,为本发明实施例提供的一种服务器管理方法的流程示意图,在本发明实施例中,所述方法包括:
S401、在计算部件发生更换的情况下,根据第二存储器中存放的计算备份配置信息恢复计算部件的配置参数。
具体的,服务器包括计算组件和存储组件,计算组件主要用来执行计算功能,例如数据包处理、图像处理、声音处理等,存储组件主要用来存储大容量数据,存储组件包括磁盘,磁盘的数量可以为一个或多个,多个磁盘可组成RAID,RAID可通过硬件方式或软件方式实现,如果通过硬件方式实现,存储组件还包括RAID卡。计算组件和存储组件之间以可拆卸的方式进行连接,便于计算组件和存储组件之间进行拔插,在计算组件或存储组件需要进行升级或发生故障时,可对整个计算组件或存储组件进行更换。第二存储器中预先存储有备份配置信息,备份配置信息包括但不限于备份网卡配置信息、备份显卡配置信息、备份RAID级别信息,服务器读取第二存储器中预先存储的备份配置信息,根据备份配置信息对服务器进行配置。
S402、根据预设的第一存储器中存放的计算部件的驱动包对计算部件进行驱动。
具体的,在确定当前的计算部件发生更换的情况下,服务器获取计算部件的驱动包,计算组件包括网卡,则计算部件的驱动包包括网卡的驱动包。计算部件的驱动包可存储在第一存储器中,第一存储器可位于计算组件中,也可以位于服务器的外部的管理服务器中,管理服务器用于对各个服务器进行集中管理。
实施上述实施例,服务器的计算部件发生更换的情况下,根据第一存储器中的驱动包对计算组件进行驱动,以及根据第二存储器中预先存储的备份配置信息对服务器进行配置,使服务器自动恢复正常状态,不需要重新安装操作系统,以及迅速恢复配置信息,实现计算组件的即插即用,减少服务器升级的维护时间和降低维护难度。
参见图5,为本发明实施例提供的一种服务器管理方法的另一流程示意图,在本发明实施例中,所述方法包括:
S501、BMC确定计算部件发生更新且计算部件支持带外配置。
具体的,本实施例的服务器包括计算组件和存储组件,计算组件包括BMC、处理器系统、计算部件、计算主板和第一连接器,BMC为一种监控和管理服务器上各个硬件的控制器,BMC可使用IPMI(Intelligent Platform Management Interface,智能平台管理接口)、UART(Universal Asynchronous Receiver/Transmitter,通用异步收发传输器)接口或其他类型的接口以带外的方式与各个硬件进行通信。处理器系统由一个或多个处理器组成的处理器网络,每个处理器可以为单核处理器或多核处理器,任意两个处理器可使用QPI通道和HT通道进行通信。计算部件为执行某种指定任务的硬件,例如执行数据包处理、声音处理或图形处理任务,计算部件可以为网卡、声卡、MEZZ卡、显卡或其他类型的部件。第一连接器为一种具有拔插功能的连接件,第一连接器和第二连接器相互匹配,使计算组件和存储组件能以可拆卸的方式连接。在计算组件中,处理器系统分别与BMC、计算部件和第一连接器连接,其中,连接总线包括但不限于PCIE总线、USB总线、SATA总线或SAS(Serial Attached Small computer system interface,串行附属小型计算机系统接口,简称SAS) 总线,处理器系统、BMC、计算部件和第一连接器都可以设置在计算主板上,第一连接器设置在计算主板上。
存储组件包括磁盘、第二存储器和第二连接器,磁盘的数量可以为一个或多个,磁盘的类型包括但不限于SSD或HDD,多个磁盘可以软件方式组成RAID。第二存储器为非易失性存储器,具有掉电后数据不消失的特点,第二存储器包括但不限于ROM、EPROM、EEPROM或Flash Memory,第二存储器中存储计算部件备份配置信息。需要说明的是,第二存储器中还存储有精简的操作系统,该操作系统只保留基本功能,具有体积小和占用资源少的特点,该操作系统包括但不限于Linux操作系统、Unix操作系统或Windows PE操作系统。第二连接器为一种具有拔插功能的连接件,第一连接器和第二连接器相互配合。在一种可能的实施方式中,第一连接器和第二连接器可以为USB连接器、SATA连接器、PCIE连接器或其他类型的连接器,本实施例不作限制。在第一连接器和第二连接器对接的情况下,第一连接器和第二连接器对应的引脚会接触而连通,BMC通过第一连接器和第二连接器与第二存储器连接,处理器系统通过第一连接器和第二连接器与磁盘连接。
BMC判断计算主板是否发生更换,若为是,继续判断计算部件是否发生更新,若为是,继续判断计算部件是否支持带外配置,带外配置表示通过非业务通道的其他通道进行配置,不需要启动操作系统。若为是,执行S502。
在一种可能的实施方式中,BMC判断计算部件是否发生更换,若为是,读取第二存储器中存储的计算部件备份配置信息,将计算部件备份配置信息存放到第一存储器中,以及将第一存储器设置为首个启动设备,并进行重启。处理器系统从第一存储器中进行重启,第一存储器中存储有计算部件的驱动包、精简的操作系统和管理软件,重启后运行精简的操作系统上的管理软件,管理软件从第一存储器中读取所述计算部件的驱动包,将计算部件的驱动包拷贝至磁盘中,以及从第一存储器中读取计算部件备份配置信息,根据计算部件备份配置信息对计算部件进行配置。BMC在拷贝和配置完成情况下,将磁盘设置为首个启动设备,并进行重启;处理器系统从磁盘中进行重启,重启后根据磁 盘中存储的所述计算部件的驱动包对所述计算部件进行驱动。
S502、BMC从第二存储器中读取计算部件备份配置信息,根据计算部件备份配置信息对计算部件进行配置。
具体的,计算部件备份配置信息表示计算主板更换前服务器中的计算部件的配置信息,例如计算部件为网卡的情况下,计算部件备份配置信息包括但不限于MAC地址、IP地址、WWN、WWPN和UUID中的一种或多种。BMC从第二存储器中读取计算部件备份配置信息,根据计算部件备份配置信息在计算部件上恢复原有的配置。
S503、BMC将第一存储器设置为首个启动设备,并进行重启。
具体的,第一存储器为非易失性存储器,第一存储器包括但不限于ROM、EPROM、EEPROM或Flash Memory。其中,在一种可能的实施方式中,第一存储器可以位于存储组件中,处理器系统与第一存储器连接。在另一种可能的实施方式中,第一存储器位于服务器的外部,位于服务器管理的管理服务器的内部,处理器系统与第一存储器连接。BMC将第一存储器设置为首个启动设备(First Boot Device),首个启动设备表示服务器在启动时首先访问的存储设备。
S504、处理器系统从第一存储器中重启,重启后从第一存储器中读取计算部件的驱动包,将计算部件的驱动包拷贝至磁盘中。
具体的,处理器系统从第一存储器中重启,第一存储器中存储有精简的操作系统和管理软件,处理器系统运行该精简的操作系统中的管理软件,在操作系统的环境下管理软件从第一存储器中读取计算部件的驱动包,将计算部件的驱动包拷贝至磁盘中,再完成对计算部件的驱动包的拷贝操作后,处理器系统向BMC发送拷贝完成消息。
S505、BMC在拷贝完成的情况下,将磁盘设置为首个启动设备,并进行重启。
具体的,BMC在确定计算组件的驱动包拷贝完成的情况下,将磁盘设置为首个启动设备,在磁盘的数量为多个的情况下,将活动分区的磁盘设置为首 个启动设备,设置完成后进行重启。
S506、处理器系统从磁盘中进行重启,重启后根据磁盘中存储的计算部件的驱动包对计算部件进行驱动。
具体的,在本发明实施例中,存储组件没有发生更换,因此磁盘中存储服务器的操作系统,处理器从磁盘中重启后,运行磁盘中的操作系统,此时的操作系统为服务器安装的具有完成功能的操作系统,处理器系统从磁盘中搜索计算部件的驱动包,根据计算部件的驱动包对计算部件进行驱动。
上述实施例,服务器的计算部件发生更换的情况下,根据第一存储器中的驱动包对计算组件进行驱动,以及根据第二存储器中预先存储的备份配置信息对服务器进行配置,使服务器自动恢复正常状态,不需要重新安装操作系统,以及迅速恢复配置信息,实现计算组件的即插即用,减少服务器升级的维护时间和降低维护难度。
参见图6,为本发明实施例提供的一种服务器管理方法的另一流程示意图,在本发明实施例中,所述方法包括:
S601、BMC上电启动。
具体的,BMC用于监控和管理服务器上各个硬件,BMC可使用IPMI接口以带外方式与各个硬件进行通信,不需要使用操作系统。BMC在上电启动后执行S602。
S602、BMC判断计算主板是否发生更换。
具体的,本实施例的服务器包括计算组件和存储组件,计算组件包括BMC、处理器系统、计算部件、计算主板和第一连接器。处理器系统由一个或多个处理器组成的处理器网络,每个处理器可以为单核处理器或多个处理器,任意两个处理器可通过QPI通道或HT通道进行通信。计算部件为执行某种指定任务的硬件,计算部件包括但不限于网卡、MEZZ卡、声卡、显卡或其他类型的部件。第一连接器为一种具有拔插功能的连接件,第一连接器和第二连接器相互匹配,使得计算组件和存储组件能以可拆卸的方式连接。在计算组件中,处理器系统分别为BMC、计算部件中,处理器系统分别与BMC、计算部件和第一 连接器连接,连接总线包括但不限于PCIE总线、USB总线、SATA总线或SAS总线,计算主板为计算组件中各个部件的载体,处理器系统、BMC、计算部件和第一连接器都可以设置在计算主板上,第一连接器设置在计算主板上。
存储组件包括磁盘、第二存储器和第二连接器,磁盘的数量可以为一个或多个,磁盘的类型包括但不限于SSD或HDD,多个磁盘可以软件方式组成RAID。第二存储器为非易失性存储器,包括但不限于ROM、PROM、EPROM、EEPROM或Flash Memory,第二存储器中存储有计算主板备份身份信息、计算部件备份身份信息、计算部件备份配置信息。需要说明的是,第二存储器中还存储有精简的操作系统,该操作系统只保留基本功能,具有体积小和占用资源少的特点,该操作系统包括但不限于Linux操作系统、Unix操作系统、Windoes PE操作系统或其他操作系统。第二连接器为一种具有拔插功能的连接件,第二连接器和第一连接器相互匹配。例如:第一连接器和第二连接器为USB连接器SATA连接器、PCIE连接器或其他类型的连接器,本实施例不作限制。在第一连接器和第二连接器对接的情况下,第一连接器和第二连接器对应的引脚会接触而连通,BMC通过第一连接器和第二连接器与第二存储器连接,处理器系统通过第一连接器和第二连接器与磁盘连接。
BMC判断计算主板是否发生更换的方法可以为:BMC获取计算主板的身份信息,以及从第二存储器中获取计算主板备份身份信息,比较计算主板的身份信息和计算主板备份身份信息是否相同,若相同,确定计算主板没有发生更换,执行S603;若不相同,确定计算主板发生更换,执行S604。
需要说明的是,BMC确定计算主板发生更换的情况下,根据计算主板的身份信息更新第二存储器中存储的计算主板备份身份信息,将计算主板的身份信息覆盖第二存储器中存储的计算主板备份身份信息。
S603、处理器系统从磁盘中启动。
具体的,计算主板没有发生更换,计算主板为计算组件中各个部件的载体,服务器的默认的首个启动设备为磁盘,处理器系统从磁盘中启动,磁盘中存储有操作系统和各个部件的配置信息,服务器正常运行。
S604、BMC判断计算部件是否发生更新。
具体的,BMC判断计算部件是否发生更新的方法可以是:BMC获取计算部件的身份信息,以及从第二存储器中获取计算部件备份身份信息,比较计算部件的身份信息和计算部件身份信息,若不相同,确定计算部件发生更新,执行S608;若相同,确定计算部件没有发生更新,执行S605。
需要说明的是,BMC确定计算部件发生更新的情况下,获取计算部件的身份信息,根据计算部件的身份信息更新第二存储器中存储的计算部件备份身份信息,将计算部件的身份信息覆盖第二存储器中存储的计算部件备份身份信息。
S605、BMC识别计算部件是否支持带外配置。
具体的,计算组件中预先存储有身份信息和状态标志位的映射关系,身份信息表示计算部件的身份信息,状态标志位表示是否支持带外配置,例如:0表示不支持带外配置,1表示支持带外配置,计算组件获取计算部件的身份信息,根据该映射关系查询对应的状态标志位确定是否支持带外配置。若为是,执行S606,否则执行S605。
S606、BMC从第二存储器中读取计算部件备份配置信息,根据计算部件备份配置信息对计算部件进行配置。
具体的,BMC从第二存储器中读取计算部件备份配置信息,根据计算部件备份配置信息对计算部件进行配置。BMC可检测首个启动设备是否为磁盘,若为否,将首个启动设备设备设置为磁盘,若为是,执行S607。
S607、处理器系统从磁盘启动。
具体的,存储组件没有发生更新,磁盘中存储有操作系统,处理器系统从磁盘启动后运行操作系统,由于计算部件的身份信息没有变,因此磁盘中存储的更换前的计算部件的驱动包仍然有效,处理器系统根据原有的驱动包对计算部件进行驱动。
S608、BMC识别计算部件是否支持带外配置。
具体过程参照S605的描述,此处不再赘述。若为是执行S609。
S609、BMC从第二存储器中读取计算部件备份配置信息,根据计算部件备份配置信息对计算部件进行配置。例如,计算部件为网卡的情况下,计算部件备份配置信息包括但不限于MAC地址、IP地址、UUID、WWN和WWPN中的一种或多种。
在一种可能的实施方式中,在所述计算主板的配置信息发生变更的情况下,BMC根据变更后的配置信息更新所述第二存储器中存储的计算主板备份配置信息;
在所述计算部件的配置信息发生变更的情况下,BMC根据变更后的配置信息更新所述第二存储器中存储的计算部件备份配置信息。
S610、BMC将第一存储器设置为首个启动设备,并重启。
具体的,第一存储器可位于服务器的计算部件中,也可以位于服务器外的管理服务器中。
S611、处理器系统从第一存储器中读取计算部件的驱动包,将计算部件的驱动包拷贝至磁盘中。
具体的,处理器系统从第一存储器中重启,第一存储器中存储有精简的操作系统,处理器系统运行该精简的操作系统,在操作系统的环境下从第一存储器中读取计算部件的驱动包,将计算部件的驱动包拷贝至磁盘中,再完成对计算部件的驱动包的拷贝操作后,处理器系统向BMC发送通知消息。
S612、处理器系统通知BMC完成拷贝和配置操作。
具体的,处理器系统确定完成计算部件的驱动包的拷贝操作,以及BMC对计算部件的配置操作后,向BMC发送通知消息。
S613、BMC将磁盘设置为首个启动设备,并进行重启。
具体的,BMC接收到处理器系统发送的通知消息确定计算组件的驱动包拷贝完成,以及完成对计算部件的配置,将磁盘设置为首个启动设备,在磁盘的数量为多个的情况下,将活动分区的磁盘设置为首个启动设备,设置完成后进行重启。
S614、处理器系统从磁盘中启动,根据计算部件的驱动包对计算部件进行 驱动。
具体的,在本发明实施例中,存储组件没有发生更换,因此磁盘中存储服务器的操作系统,处理器从磁盘中启动后,运行磁盘中的操作系统,此时的操作系统为服务器安装的具有完成功能的操作系统,处理器系统从磁盘中搜索计算部件的驱动包,根据计算部件的驱动包对计算部件进行驱动。
S615、BMC从第二存储器中读取计算部件备份配置信息,将计算部件备份配置信息存放到第一存储器中。
具体的,在S5608的判断结果为否的情况下,BMC从第二存储器中读取计算部件备份配置信息,将计算部件备份配置信息存放到第一存储器中。
S616、BMC将第一存储器设置为首个启动设备,并重启。
S617、处理器系统从第一存储器中读取计算部件的驱动包和计算部件备份信息,将计算部件的驱动包拷贝至磁盘中,根据计算部件备份配置信息对计算部件进行配置。
具体的,处理器系统从第一存储器中进行重启,第一存储器中存储有计算部件的驱动包、精简的操作系统和管理软件,重启后运行精简的操作系统上的管理软件,管理软件从第一存储器中读取所述计算部件的驱动包,将计算部件的驱动包拷贝至磁盘中,以及从第一存储器中读取计算部件备份配置信息,根据计算部件备份配置信息对计算部件进行配置。
S618、处理器系统通知BMC完成拷贝和配置操作。
S619、BMC将磁盘设置为首个启动设备,并进行重启。
S620、处理器系统从磁盘中启动,根据计算部件的驱动包对计算部件进行驱动。
在一种可能的实施方式中,在S604的判断结构为是的情况下,不需要识别计算部件是否支持带外配置,直接执行S615~S620。
在一种可能的实施方式中,所述磁盘还存储有RAID配置信息;所述方法还包括:
所述处理器系统从所述磁盘中读取所述RAID配置信息,根据所述RAID 配置信息对所述磁盘进行配置。
具体的,存储组件中的磁盘的数量为多个,多个磁盘通过软件方式组成RAID,处理器系统在确定计算主板发生更换的情况下,读取第二存储器中存储的RAID配置信息,根据RAID配置信息对磁盘进行配置。
在一种可能的实施方式中,所述存储组件还包括RAID卡,所述RAID卡与所述磁盘连接,RAID卡通过所述第二连接器和所述第一连接器与所述处理器系统连接;
所述服务器管理方法还包括:
所述处理器系统从所述RAID卡中读取RAID配置信息,根据所述RAID配置信息对所述磁盘进行配置。
具体的,存储组件中的磁盘的数量为多个,多个磁盘通过硬件方式组成RAID,处理器系统在确定计算主板发生更换的情况下,读取RAID卡中存储的RAID配置信息,根据RAID配置信息对磁盘进行配置。
综上所述,服务器的计算部件发生更换的情况下,根据第一存储器中的驱动包对计算组件进行驱动,以及根据第二存储器中预先存储的备份配置信息对服务器进行配置,使服务器自动恢复正常状态,不需要重新安装操作系统,以及迅速恢复配置信息,实现计算组件的即插即用,减少服务器升级的维护时间和降低维护难度。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上实施例仅揭露了本发明中可选实施例,不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。

Claims (18)

  1. 一种服务器,其特征在于,包括计算组件和存储组件,所述计算组件包括基板管理控制器BMC、处理器系统、计算主板、计算部件和第一连接器,所述BMC、所述处理器系统、所述计算部件和所述第一连接器设置在所述计算主板上,所述处理器系统分别与所述BMC、所述计算部件和所述第一连接器连接;所述存储组件包括磁盘、第二存储器、存储主板和第二连接器,所述磁盘、所述第二存储器和所述第二连接器设置在所述存储主板上,所述磁盘和所述第二存储器与所述第二连接器连接,所述第二存储器存储有计算部件备份配置信息,所述计算备份配置信息用于恢复所述计算部件的配置参数,所述第一连接器和所述第二连接器相互匹配;在所述第一连接器和所述第二连接器对接的情况下,所述BMC通过所述第一连接器和所述第二连接器与所述第二存储器连接,所述处理器系统通过所述第一连接器和所述第二连接器与所述磁盘连接。
  2. 如权利要求1所述的服务器,其特征在于,
    所述BMC,用于在所述计算部件发生更换的情况下,根据所述第二存储器中存放的所述计算部件备份配置信息恢复所述计算部件的配置参数;
    所述处理器系统,用于将预设的第一存储器中存放的所述计算部件的驱动包拷贝至所述磁盘中,拷贝完成后从所述磁盘中进行启动。
  3. 如权利要求1所述的服务器,其特征在于,
    所述处理器系统,用于在所述计算部件发生更换的情况下,根据所述第二存储器中存放的所述计算部件备份配置信息恢复所述计算部件的配置参数,将预设的第一存储器中存放的所述计算部件的驱动包拷贝至所述磁盘中,拷贝完成后从所述磁盘启动。
  4. 如权利要求2或3所述的服务器,其特征在于,所述处理器系统执行所述将预设的第一存储器中存放的所述计算部件的驱动包拷贝至所述磁盘中包括:
    从所述第一存储器中进行启动,启动后从所述第一存储器中读取所述计算部件的驱动包,将所述计算部件的驱动包拷贝至所述磁盘中。
  5. 如权利要求4所述的服务器,其特征在于,所述计算组件还包括所述第一存储器,所述计算组件的驱动包用于对所述计算组件进行驱动,所述BMC与所述第一存储器连接,所述处理器系统与所述第一存储器连接;或
    所述第一存储器位于与所述服务器关联的管理服务器中,所述BMC与所述第一存储器连接,所述处理器系统与所述第一存储器连接。
  6. 如权利要求1-5任意一项所述的服务器,其特征在于,所述第二存储器还存储有计算部件备份身份信息;
    所述BMC用于:
    获取所述计算部件的身份信息,以及从所述第二存储器中获取所述计算部件备份身份信息;
    比较所述计算部件的身份信息和所述计算部件备份身份信息是否相同;
    若为否,确定所述计算部件发生更新。
  7. 如权利要求6所述的服务器,其特征在于,所述BMC还用于:
    在所述计算部件发生更新的情况下,根据所述计算部件的身份信息更新所述第二存储器中存储的计算部件备份身份信息。
  8. 如权利要求1-7任意一项所述的服务器,其特征在于,所述BMC还用于:
    在所述计算部件的配置信息发生变更的情况下,根据变更后的配置信息更 新所述第二存储器中存储的计算部件备份配置信息。
  9. 如权利要求1-8任意一项所述的服务器,其特征在于,所述存储组件还包括RAID卡,所述RAID卡设置在所述存储主板上,所述处理器系统通过所述第一连接器和所述第二连接器与所述RAID卡连接;
    所述处理器系统还用于:
    从所述RAID卡中读取RAID配置信息,根据所述RAID配置信息对所述磁盘进行配置。
  10. 一种服务器管理方法,其特征在于,所述服务器管理方法应用于服务器,所述服务器包括计算组件和存储组件,所述计算组件包括BMC、处理器系统、计算主板、计算部件和第一连接器,所述BMC、所述处理器系统、所述计算部件和所述第一连接器设置在所述计算主板上,所述处理器系统分别与所述BMC、所述计算部件和所述第一连接器连接;所述存储组件包括磁盘、存储主板、第二存储器和所述第二连接器,所述磁盘、所述第二存储器和所述第二连接器设置在所述存储主板上,所述磁盘和所述第二存储器与所述第二连接器连接,所述存储器存储有计算部件备份配置信息,所述计算部件备份配置信息用于恢复所述计算部件的配置参数,所述第一连接器和所述第二连接器相互匹配;在所述第一连接器和所述第二连接器对接的情况下,所述BMC通过所述第一连接器和所述第二连接器与所述第二存储器连接,所述处理器系统通过所述第一连接器和所述第二连接器与所述磁盘连接;
    所述服务器管理方法包括:
    在所述计算部件发生更换的情况下,根据所述第二存储器中存放的所述计算备份配置信息恢复所述计算部件的配置参数,以及根据预设的第一存储器中存放的所述计算部件的驱动包对所述计算部件进行驱动。
  11. 如权利要求10所述的方法,其特征在于,所述在所述计算部件发生 更换的情况下,根据所述第二存储器中存放的所述计算备份配置信息恢复所述计算部件的配置参数,以及根据预设的第一存储器中存放的所述计算部件的驱动包对所述计算部件进行驱动包括:
    在所述计算部件发生更换的情况下,所述BMC根据所述第二存储器中存放的所述计算备份配置信息恢复所述计算部件的配置参数;
    所述处理器系统根据所述第一存储器中存放的所述计算部件的驱动包对所述计算部件进行驱动。
  12. 如权利要求10所述的方法,其特征在于,所述在所述计算部件发生更换的情况下,根据所述第二存储器中存放的所述计算备份配置信息恢复所述计算部件的配置参数,以及根据预设的第一存储器中存放的所述计算部件的驱动包对所述计算部件进行驱动包括:
    所述处理器系统在所述计算部件发生更换的情况下,根据所述第二存储器中存放的所述计算部件备份配置信息恢复所述计算部件的配置参数,将预设的第一存储器中存放的所述计算部件的驱动包拷贝至所述磁盘中,拷贝完成后从所述磁盘启动。
  13. 如权利要求11或12的方法,其特征在于,所述将预设的第一存储器中存放的所述计算部件的驱动包拷贝至所述磁盘中包括:
    从所述第一存储器中进行启动,启动后从所述第一存储器中读取所述计算部件的驱动包,将所述计算部件的驱动包拷贝至所述磁盘中。
  14. 如权利要求13所述的方法,其特征在于,所述第一存储器位于所述计算组件中,所述BMC与所述第一存储器连接,所述处理器系统与所述第一存储器连接;或
    所述第一存储器位于与所述服务器关联的管理服务器中,所述BMC与所述第一存储器连接,所述处理器系统与所述第一存储器连接。
  15. 如权利要求10-14任意一项所述的方法,其特征在于,第一存储器中还存储有计算主板备份配置信息,所述方法还包括:
    所述BMC从所述第二存储器中读取所述计算主板备份配置信息,根据所述计算主板备份配置信息对所述计算主板进行配置。
  16. 如权利要求10-15任意一项所述的方法,其特征在于,所述第二存储器还存储有计算部件备份身份信息;
    所述BMC执行所述判断所述计算部件是否发生更新包括:
    所述BMC获取所述计算部件的身份信息,以及从所述第二存储器中获取所述计算部件备份身份信息;
    比较所述计算部件的身份信息和所述计算部件备份身份信息是否相同;
    若为否,确定所述计算部件发生更新。
  17. 如权利要求10-16任意一项所述的方法,其特征在于,还包括:
    在所述计算部件发生更新的情况下,所述BMC根据所述计算部件的身份信息更新所述第二存储器中存储的计算部件备份身份信息。
  18. 如权利要求10-17任意一项所述的方法,其特征在于,还包括:
    在所述计算部件的配置信息发生变更的情况下,所述BMC根据变更后的配置信息更新所述第二存储器中存储的计算部件备份配置信息。
PCT/CN2016/113901 2016-12-30 2016-12-30 一种服务器管理方法和服务器 WO2018120200A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CN202011583673.6A CN112732289A (zh) 2016-12-30 2016-12-30 一种服务器管理方法和服务器
PCT/CN2016/113901 WO2018120200A1 (zh) 2016-12-30 2016-12-30 一种服务器管理方法和服务器
CN201680033973.2A CN107980119B (zh) 2016-12-30 2016-12-30 一种服务器管理方法和服务器
EP16909058.6A EP3367206B1 (en) 2016-12-30 2016-12-30 Server management method and server
US15/877,997 US10430082B2 (en) 2016-12-30 2018-01-23 Server management method and server for backup of a baseband management controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/113901 WO2018120200A1 (zh) 2016-12-30 2016-12-30 一种服务器管理方法和服务器

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/877,997 Continuation US10430082B2 (en) 2016-12-30 2018-01-23 Server management method and server for backup of a baseband management controller

Publications (1)

Publication Number Publication Date
WO2018120200A1 true WO2018120200A1 (zh) 2018-07-05

Family

ID=62005220

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113901 WO2018120200A1 (zh) 2016-12-30 2016-12-30 一种服务器管理方法和服务器

Country Status (4)

Country Link
US (1) US10430082B2 (zh)
EP (1) EP3367206B1 (zh)
CN (2) CN107980119B (zh)
WO (1) WO2018120200A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920103B (zh) * 2018-06-29 2020-12-01 平安科技(深圳)有限公司 服务器的管理方法、装置、计算机设备及存储介质
CN109165026A (zh) * 2018-08-07 2019-01-08 郑州云海信息技术有限公司 驱动安装方法和装置
CN109117289B (zh) * 2018-08-15 2022-02-22 英业达科技有限公司 服务器系统及管理双基板管理控制器的方法
CN109976789A (zh) * 2019-03-29 2019-07-05 联想(北京)有限公司 一种电子设备的数据更新方法及电子设备
CN110413394A (zh) * 2019-07-29 2019-11-05 苏州浪潮智能科技有限公司 一种bmc任务处理方法、装置、系统及可读存储介质
CN110716934B (zh) * 2019-10-09 2022-07-26 宁波三星医疗电气股份有限公司 数据存储方法、装置和电子设备
CN117149229B (zh) * 2023-10-27 2024-03-12 江苏华鲲振宇智能科技有限责任公司 一种服务器管理软件自动还原方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201194094Y (zh) * 2008-04-17 2009-02-11 研祥智能科技股份有限公司 模块化多串口无风扇特种计算机
CN102439565A (zh) * 2011-10-28 2012-05-02 华为技术有限公司 启动恢复的方法和装置
US20150006700A1 (en) * 2012-01-30 2015-01-01 Christopher C. Wanner Establishing connectivity of modular nodes in a pre-boot environment
CN104461386A (zh) * 2014-12-01 2015-03-25 北京同有飞骥科技股份有限公司 一种基于龙芯处理器的双控磁盘阵列
CN105892368A (zh) * 2016-05-20 2016-08-24 国网江苏省电力公司镇江供电公司 配电自动化终端维护装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 (zh) * 2013-08-23 2015-12-11 Ibm 電子裝置及其資料回置方法
TW201541352A (zh) * 2014-04-29 2015-11-01 Ibm 系統管理控制器以及設定檔回復與備份的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201194094Y (zh) * 2008-04-17 2009-02-11 研祥智能科技股份有限公司 模块化多串口无风扇特种计算机
CN102439565A (zh) * 2011-10-28 2012-05-02 华为技术有限公司 启动恢复的方法和装置
US20150006700A1 (en) * 2012-01-30 2015-01-01 Christopher C. Wanner Establishing connectivity of modular nodes in a pre-boot environment
CN104461386A (zh) * 2014-12-01 2015-03-25 北京同有飞骥科技股份有限公司 一种基于龙芯处理器的双控磁盘阵列
CN105892368A (zh) * 2016-05-20 2016-08-24 国网江苏省电力公司镇江供电公司 配电自动化终端维护装置

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2018120200A1 (zh) 一种服务器管理方法和服务器
US10241868B2 (en) Server control method and server control device
US9489274B2 (en) System and method for performing efficient failover and virtual machine (VM) migration in virtual desktop infrastructure (VDI)
US20170228228A1 (en) Remote launch of deploy utility
JP2018045688A (ja) プロキシ装置、その動作方法、及びプロキシ装置に係る装置の動作方法
US9996425B2 (en) System and method for agentless backup of virtual machines
US20130138940A1 (en) Computer system and method for updating basic input/output system thereof
US9448808B2 (en) BIOS update with service processor without serial peripheral interface (SPI) access
US20180088932A1 (en) Multi-platform installer
US20180349607A1 (en) Recovering an information handling system from a secure boot authentication failure
WO2018095107A1 (zh) 一种bios程序的异常处理方法及装置
US10824724B2 (en) Detecting runtime tampering of UEFI images in an information handling system
US20190042368A1 (en) System and Method to Enable Rapid Recovery of an Operating System Image of an Information Handling System after a Malicious Attack
US11100228B2 (en) System and method to recover FPGA firmware over a sideband interface
WO2024022212A1 (zh) 配置信息的管理方法、装置及服务器
US10996942B1 (en) System and method for graphics processing unit firmware updates
KR20210054480A (ko) 대규모 클라우드 데이터 센터 자율 운영을 위한 백업 복구 방법
US20230315437A1 (en) Systems and methods for performing power suppy unit (psu) firmware updates without interrupting a user's datapath
JP2017041110A (ja) マルチコンピュータシステム,管理装置および管理プログラム
TWI554876B (zh) 節點置換處理方法與使用其之伺服器系統
TWI840849B (zh) 計算系統、電腦實施方法及電腦程式產品
US20240103846A1 (en) Systems and methods for coordinated firmware update using multiple remote access controllers
US20200293336A1 (en) Server and method of replacing a server in a network
US20240103849A1 (en) Systems and methods for supporting rebootless firmware updates
US20230297390A1 (en) Systems and methods for memory content sharing between hosts and management controllers

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE