WO2010020137A1 - 上电保护方法、模块及系统 - Google Patents

上电保护方法、模块及系统 Download PDF

Info

Publication number
WO2010020137A1
WO2010020137A1 PCT/CN2009/072424 CN2009072424W WO2010020137A1 WO 2010020137 A1 WO2010020137 A1 WO 2010020137A1 CN 2009072424 W CN2009072424 W CN 2009072424W WO 2010020137 A1 WO2010020137 A1 WO 2010020137A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
installation
blade server
blade
configuration file
Prior art date
Application number
PCT/CN2009/072424
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 US12/538,330 priority Critical patent/US20100042852A1/en
Priority to EP09167715A priority patent/EP2161647A1/en
Priority to RU2009131226/08A priority patent/RU2434281C2/ru
Publication of WO2010020137A1 publication Critical patent/WO2010020137A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements

Definitions

  • the embodiments of the present invention relate to the field of communications, and in particular, to a power-on protection method, module, and system. Background technique
  • the blade server is a low-cost server platform of High Availability High Density (HAHD) designed for specific application industries and high-density computer environments.
  • HAHD High Availability High Density
  • Each "blade" is actually a system.
  • Motherboard similar to a separate server. In this mode, each motherboard runs its own system, serving a different set of users, and is not related to each other. However, you can use system software to aggregate these boards into a single server cluster. In cluster mode, all motherboards can be connected to provide a high-speed network environment that can share resources and serve the same user base.
  • the blade server may be misplaced in the slot of the blade.
  • the blade server may be incompatible with the FRU or chassis. Equipment is mixed.
  • An embodiment of the present invention provides a power-on protection method, a module, and a system, which can compare installation information and installation configuration file information of a blade server, thereby controlling power supply to the blade server. powered by.
  • the embodiment of the invention provides a power-on protection method, including:
  • an embodiment of the present invention further provides a power-on protection module, including:
  • the information obtaining unit obtains installation information and installation configuration file information of the blade server in the blade frame, where the installation configuration file information is information about setting installation information of the blade server in the blade frame;
  • a detecting unit configured to detect whether the installation information matches the installation configuration file information; and the control unit, if the detection processing unit detects that the installation information matches the installation configuration file information, controlling the blade server Power is supplied, otherwise the control does not supply power to the blade server.
  • an embodiment of the present invention further provides a power-on protection system, including a blade server and a power-on protection module, where:
  • the power-on protection module obtains installation information and installation configuration file information of the blade server in the blade frame, where the installation configuration file information is information about setting installation information of the blade server in the blade frame, and detecting the Whether the installation information matches the installation profile information, and if so, controls the power supply to the blade server, otherwise the control does not supply power to the blade server.
  • the blade server by obtaining the installation information of the blade server in the blade frame, and setting the installation profile information of the blade server in the blade frame, detecting whether the installation information matches the installation configuration file information, and if so, The blade server supplies power, otherwise the blade server is not powered, so that it is easy to detect whether the blade server is mis-inserted or mixed according to the installation configuration file information, thereby avoiding service abnormality caused by the insertion error. Problems such as device failure. DRAWINGS
  • Embodiment 1 is a schematic diagram of Embodiment 1 of a power-on protection method of the present invention
  • Embodiment 2 is a schematic diagram of Embodiment 2 of the power-on protection method of the present invention.
  • FIG. 3 is a schematic flow chart of a working method of a blade frame according to an embodiment of the present invention.
  • Embodiment 3 is a schematic diagram of Embodiment 3 of the power-on protection method of the present invention.
  • FIG. 5 is a schematic diagram of Embodiment 1 of the power-on protection system of the present invention.
  • Embodiment 2 is a schematic diagram of Embodiment 2 of the power-on protection system of the present invention.
  • FIG. 7 is a schematic diagram of Embodiment 3 of the power-on protection system of the present invention. detailed description
  • the embodiment of the invention provides a power-on protection method, a power-on protection module and a power-on protection system, which can compare the installation information and the installation configuration file information of the blade server, thereby controlling the power supply to the blade server. Or no power supply, so it is easy to detect whether the blade server has mis-inserted or mixed insertion according to the installation configuration file information, and avoids problems such as service abnormality and device failure caused by the insertion error.
  • FIG. 1 is a schematic diagram of a first embodiment of a power-on protection method according to the present invention.
  • FIG. 1 shows a blade frame in an embodiment of the present invention.
  • the blade frame may include two parts: a management module 11 and a blade server cluster 12.
  • the management module 11 is a management system of the blade frame, which can implement power-on, power-off, and reset management of the blade server in the entire blade frame, and can also perform alarm monitoring, a remote keyboard/display device/mouse (Keyboard Video Mouse, referred to as KVM) and other management.
  • a plurality of blade servers 121 and a Baseboard Management Controller (BMC) form a blade server cluster 12 in the blade frame, and each blade server can cover a separate BMC, and the blade server is inserted into the chassis.
  • BMC Baseboard Management Controller
  • the blade server is a server for processing the business in the blade frame, and supports the business software. Running.
  • Embodiment 2 is a schematic diagram of Embodiment 2 of the power-on protection method of the present invention. Referring to FIG. 2, the method mainly includes:
  • Step 201 Obtain installation information and installation configuration file information of the blade server in the blade frame.
  • the installation configuration file information is configuration policy information of setting a blade server in the blade frame, that is, the installation configuration file records information about how to set the blade server in the blade frame, and the installation configuration file may include but is not limited to Configure one or more combinations of policy information as follows:
  • the first configuration policy information indicates that the specified blade server is set in the specified location in the blade box, for example, a corresponding list of slots and blade types in the blade frame.
  • the second configuration policy information indicates that the electronic label information of the front board of the blade server and the electronic label information of the rear board are set in the blade frame.
  • the third configuration policy information indicates that a blade server having a version matching relationship with the FRU of the blade server is set in the blade frame. There may be multiple FRUs on the blade server, and the blade server and each FRU can meet certain version matching relationships.
  • the third configuration policy information records the blade server and multiple FRU compatible pairing records.
  • the FRU can be a combination of one or more of the following: Gigabit Ethernet (Gigab i t- Ethernet) gusset, hard disk (Hard DISK) gusset, Fibre Channel (FC) gusset, small computer system Interface (Sma ll Computer System Interface, SCSI for short), Serial SCSI (Serva Atched SCSI) gusset, optical module, etc.
  • the fourth configuration policy information indicates that a chassis device having a version matching relationship with the blade frame is set in the blade frame.
  • the chassis can also include a power supply, a fan, and a switch chassis.
  • the blade configuration and the chassis must meet the requirements of a certain version.
  • the fourth configuration policy records the blade frame and multiple devices.
  • the box device is compatible with the pairing record.
  • the above configuration policy information can be arbitrarily combined in the installation configuration file.
  • the second configuration policy information and the third configuration policy information are combined with the first configuration policy information.
  • the installation configuration file shown in Table 1 below describes the blade server information set in each slot of a blade frame, and the matching relationship between the electronic tag information of the front panel of the blade server and the electronic tag information of the rear card. That is, the first configuration policy information and the second configuration policy information are included.
  • the above-mentioned electronic tag information may include information such as a blade server name, a blade type, a manufacturer, a serial number, and the like, where "MMSCV1. 3-DB-1-0" is a numbering rule "service version-server type-slot” - Front and rear board identification”.
  • the installation configuration file shown in Table 2 below describes the blade server information set in each slot of the blade, and the electronic label information of the front panel of the blade server and the electronic tag information of the rear card are matched. And the matching relationship between the blade server and each FRU, that is, the first configuration policy information, the second configuration policy information, and the third configuration policy information.
  • the installation information of the foregoing blade server in the blade frame may include but is not limited to the following information:
  • the installation information may be the electronic label information of the blade server that has been inserted into a slot of the blade frame, and the location information of the blade server in the blade frame.
  • the electronic tag information indicates that it is a blade server of a specified type, and the location information indicates a slot actually inserted by the blade server;
  • the installation information may be the electronic label information of the blade server that has been inserted into a slot of the blade frame, and the electronic label information includes the front board electronic label information and the subsequent board electronic label information;
  • the installation information may be the electronic tag information of the blade server inserted into a slot of the blade frame and the FRU information of the blade server;
  • the installation information may be the electronic label information of the blade server inserted into a slot of the blade frame and the chassis device information in the blade frame.
  • Step 202 Check whether the installation information matches the installation configuration file information. If yes, go to step 203. If not, go to step 204.
  • the installation configuration file may include a combination of one or more configuration policy information, it may be detected for one configuration policy information or detected for multiple configuration policy information during detection:
  • the installation information includes the electronic label information of the blade server inserted into a slot of the blade frame and the location information of the blade server in the blade frame
  • the location The information and the first configuration policy information determine whether the blade server is set at the reference position indicated by the first configuration policy information, and if yes, the installation information matches the installation configuration file information, and if not, the information does not match.
  • the installation information includes the electronic label information of the blade server that has been inserted into a slot of the blade frame
  • the electronic label information includes the front board electronic label information and the rear board electronic label information
  • the installation configuration file information includes the second configuration policy information.
  • the installation configuration file information includes the foregoing third configuration policy information, according to the electronic label information, the FRU information of the blade server.
  • the third configuration policy information determining whether the blade server has a version matching relationship with the FRU of the blade server indicated by the third configuration policy information, and if yes, the installation information matches the installation configuration file information, otherwise, the matching does not match.
  • the installation information includes the electronic label information of the blade server inserted in a slot of the blade frame and the chassis device information in the blade frame.
  • the installation configuration file information includes the fourth configuration policy information, according to the electronic label information and the chassis of the blade frame.
  • the device information and the fourth configuration policy information are used to determine whether the blade server has the version matching relationship indicated by the fourth configuration policy information of the chassis device in the blade frame. If yes, the installation information matches the installation configuration file information, otherwise the information does not match.
  • Step 203 When the installation information matches the installation configuration file information, power the blade server.
  • the method may include: when the blade server that has been inserted into a slot of the blade frame is powered, the blade server is powered on, for example, an instruction for allowing power-on is sent to the BMC, and the BMC is configured according to the instruction.
  • the blade server is powered on; when the blade server that has been inserted into a slot of the blade frame is powered, the blade server is powered.
  • Step 204 When the installation information does not match the installation profile information, the blade server is not powered.
  • the method may include: when the blade server that has been inserted into a slot of the blade frame is not powered, the blade server is not powered on at this time; when the blade has been inserted into a slot of the blade frame When the server is powered, the blade server is powered off or reset. For example, to
  • the BMC sends an instruction to disable power-on.
  • the BMC powers off or resets the blade server according to the command.
  • the installation information of the blade server in the blade frame is obtained through step 201, and the installation profile information of the blade server is set in the blade frame, and step 202 detects the installation. Whether the information matches the installation profile information, and if so, the step 203 supplies power to the blade server, otherwise the step 204 does not supply power to the blade server, so that it is easy to detect whether the blade server has an error according to the installation configuration file information. Problems such as business anomalies and device failures caused by wrong insertion.
  • Step 301 The BMC is powered on and initialized, and the electronic tag information of a specific component inserted into a slot of the blade frame and the specific component are read. Location information in the blade box. At this point, the blade server is not powered.
  • the electronic tag information of a particular component that has been inserted into a slot of the blade frame and the location information of the blade server in the blade frame are read.
  • Step 302 The BMC reports the electronic tag information and the location information to the management module, and requests to power on the specific component (for example, a blade server), where the request information includes the electronic tag information and the location information.
  • the specific component for example, a blade server
  • Step 303 The management module receives the electronic tag information, the location information (for example, the installation information of the blade server in the blade frame), and reads a stored in the management module about how the specific component should be configured with the specific component in the blade type.
  • the installation configuration file in the server is the electronic tag information, the location information (for example, the installation information of the blade server in the blade frame), and reads a stored in the management module about how the specific component should be configured with the specific component in the blade type.
  • the installation configuration file includes the first configuration policy information, and the first configuration policy information describes that the specified blade server is set in the specified location in the blade frame.
  • the first configuration policy information is the slot in the blade frame. Correspondence list with blade type.
  • Step 304 The management module detects whether the electronic tag information and the location information match the information in the installation configuration file. If yes, go to step 305; if not, go to step 307.
  • the management module determines, according to the electronic tag information, the location information, and the first configuration policy information, whether the blade server is set in the reference location indicated by the first configuration policy information, and if it is determined to be set in the first configuration policy information. At the indicated reference location, the electronic tag information and the location information match the installation profile information, and step 305 is performed; otherwise, the matching does not match and step 307 is performed.
  • Step 305 The management module sends an instruction to the BMC to allow power-on.
  • Step 306 The BMC powers on the blade server according to the instruction that the power is allowed to be powered on.
  • Step 307 The management module sends an instruction to the BMC to prohibit power-on.
  • the installation configuration file in the management module includes the second configuration policy information.
  • the second configuration policy information indicates that the front panel electronic label information of the blade server and the rear board electronic label information are set in the blade frame.
  • the example includes: reading the front board electronic label information of the blade server and the back board electronic label information (ie, actual configuration information) during the power-on initialization process of the BMC; and the front board electronic label information and The electronic label information of the rear board is reported to the management module; the management module determines whether the front card and the rear board of the blade server have the second according to the electronic label information of the front board, the electronic label information of the rear board, and the second configuration policy information. Configure the matching relationship indicated by the policy information.
  • the installation information matches the installation configuration file information.
  • the management module sends an instruction to the BMC to allow power-on. If the matching relationship is not available, the installation information and the installation configuration file information are displayed. If the match does not match, the management module sends an instruction to the BMC to disable power-on.
  • the installation configuration file in the management module includes third configuration policy information, where the third configuration policy information indicates that the FRU has a version matching relationship with the FRU of the blade server.
  • Blade server includes: the BMC can read the electronic label information of the blade server and the FRU information of the blade server (that is, the actual configuration information); and report the electronic label information of the blade server and the FRU information of the blade server to the The management module determines whether the blade server and the blade service are based on the electronic label information of the blade server, the FRU information of the blade server, and the third configuration policy information.
  • the FRU of the device has a version matching relationship indicated by the third configuration policy information; if the matching relationship is matched, the installation information is matched with the installation configuration file information, and the management module sends an instruction for allowing the power-on to the BMC; if the matching relationship is not provided, The installation information does not match the installation configuration file information.
  • the management module sends an instruction to the BMC to disable power-on.
  • the installation configuration file that exists locally in the management module includes the fourth configuration policy information, where the fourth configuration policy information indicates that the chassis device in the blade frame has a version matching relationship.
  • the server, the BMC can read the electronic label information of the blade server and the device information of the chassis in the blade (ie, the actual configuration information), and report the electronic label information of the blade server and the device information of the chassis in the blade frame to the management.
  • the module, the management module determines, according to the electronic label information of the blade server, the information of the chassis device in the blade frame, and the fourth configuration policy information, whether the blade server has the version matching relationship indicated by the fourth configuration policy information of the chassis device in the blade frame. If yes, the installation information matches the installation configuration file information, and the management module sends an instruction to the BMC to allow power-on. Otherwise, the management module sends a command to the BMC to prohibit power-on.
  • the management module obtains the installation information of the blade server reported by the BMC in the blade frame, and the installation of the blade server in the blade frame locally existing in the management module.
  • the configuration file information is detected by the management module, and the management module detects whether the installation information matches the installation configuration file information. If yes, the management module sends an instruction for allowing the power-on to the BMC, and the step 306 is powered by the BMC for the blade server.
  • Step 307 The management module sends a command to the BMC to disable the power-on of the blade server, and does not power on the blade server, so that it is easy to detect whether the blade server is mis-inserted according to the installation configuration file information, thereby avoiding the insertion of the error. Problems caused by business anomalies, device failures, etc.
  • the BMC In addition to powering on the blade server according to the command to allow power-on, the BMC also flashes the indicator power normally, and prompts the power supply to the blade server. In this embodiment, the BMC not only powers on the blade server according to the power-off prohibition command, but also displays an indicator light to prompt the state that the blade server is not powered.
  • the management module obtains the installation information of the blade server reported by the BMC in the blade frame, and the installation of the blade server in the blade frame locally existing in the management module.
  • the configuration file information is detected by the management module, and the management module detects whether the installation information matches the installation configuration file information. If yes, the management module sends an instruction for allowing the power-on to the BMC, and the step 306 is powered by the BMC for the blade server.
  • Step 307 The management module sends a command to the BMC to disable the power-on of the blade server, and does not power on the blade server, so that it is easy to detect whether the blade server is mis-inserted according to the installation configuration file information, thereby avoiding the insertion of the error. Problems caused by business anomalies, device failures, etc.
  • the management module detects that the installation information does not match the installation configuration file information, in addition to the above-mentioned instruction to the BMC to prohibit the power-on, the detection result is also recorded in the operation log, and can be uploaded to the upper layer through a standard protocol.
  • Network management alarms standard protocols such as S imp le Ne twork management Protoco l (SNMP).
  • the management module can provide a standard interface, and obtain the update information of the local installation configuration file of the upper-layer network management, for example, the update command carrying the new installation configuration file, and the management module can update the information according to the update information to the new installation configuration.
  • the file updates the installation configuration file that exists locally.
  • the method further includes: modifying the electronic label information of the blade server by using a third-party interface or a maintenance tool.
  • the present invention it is easy to install according to the compatibility of the blade server itself (front and rear boards), or by detecting the compatibility of the blade server with other modules (FRU, chassis equipment).
  • Profile information detects if the blade server is mixed If the actual configuration information does not match the installation configuration file, the indicator alarm or the upper-layer network management alarm can facilitate the technical service engineers to quickly find the blade.
  • the device configuration site can be customized.
  • the third-party interface or maintenance tool can also modify the electronic label information of the blade server.
  • the actual configuration information obtained by the management module is reported to the upper-layer network management system.
  • the upper-layer network management system can use the local configuration file. Detecting whether the installation information matches the configuration file information, and automatically inserts or disconnects the blade server, which enhances the management capability of the upper-layer network management system to the blade server; and reports the electronic label information and the installation configuration file to the upper layer through the management module.
  • the upper-layer network management system can identify the hardware type or business software type of the blade server, and can perform other third-party integration and expansion functions such as asset management, which can improve the maintenance efficiency of the customer equipment and reduce the operating cost of the equipment;
  • the flexible combination of label information, blade servers, and various FRU modules enables customization of various service processing boards, normalization and generalization of blade servers, thereby improving productivity and reducing production costs.
  • the present invention also Accurate customization on the blade server-based business solution hardware platform can be implemented, and hardware pricing can be customized with business strategies to improve market configuration flexibility.
  • the installation configuration file is stored in an electronic tag of a blade server, and thus the electronic
  • the tag includes information about the installation profile and the blade server in addition to the installation profile information.
  • the information about the blade server includes information such as the blade server name, blade type, manufacturer, and serial number.
  • the installation configuration file includes first configuration policy information, and the first configuration policy information indicates that the specified blade server is set in a specified location in the blade frame.
  • the method mainly includes:
  • Step 401 The BMC is powered on and initialized, and reads the electronic label information of the blade server that has been inserted into a slot of the blade frame and the location information of the blade server in the blade frame.
  • Step 402 The BMC reads the installation profile information from the electronic tag information.
  • Step 403 The BMC detects, in the electronic tag, the blade server related information except the installation configuration file, and whether the location information matches the first configuration policy information in the installation configuration file. That is, according to the blade server related information, the location information (the foregoing two are the blade server installation information) and the first configuration policy information in the electronic tag, it is determined whether the blade server is set in the first configuration policy.
  • the reference location of the information indication if yes, the blade server related information and the location information of the electronic label in addition to the installation configuration file match the first configuration policy information in the installation configuration file, and step 404 is performed; otherwise, the matching and execution are not performed. Step 405.
  • Step 404 The BMC supplies power to the blade server.
  • Step 405 The BMC does not supply power to the blade server.
  • step 401 and step 402BMC the installation information of the blade server in the blade frame and the installation profile information in the electronic tag are obtained through step 401 and step 402BMC, and step 403BMC detects whether the installation information is If the information is matched with the installation profile information, if yes, step 404BMC maintains power supply to the blade server. Otherwise, step 405BMC powers off or resets the blade server, so that it is easy to detect whether the blade server is faulty according to the installation configuration file information. In the case of insertion, problems such as business anomalies and device failures caused by the insertion of errors are avoided.
  • the power-on protection method of the embodiment of the present invention implements a soft function lock of the blade server power-on protection by the steps of the foregoing step 202, step 304 or step 403, which can prevent mis-insertion or mixed insertion.
  • Access conflicts after powering on the blade server such as power supply impact on other running blade servers when powering up or inserting high-power blade servers, can also prevent mis-plugged or mixed-in blade servers
  • Service conflicts after power-on such as a faulty insertion or intermixing of multiple blade servers with Dynamic Host Configuration Protocol (DHCP) function, causing services The DHCP service in the network is abnormal.
  • DHCP Dynamic Host Configuration Protocol
  • FIG. 5 is a schematic diagram of Embodiment 1 of the power-on protection system of the present invention.
  • the system mainly includes a blade server 51 and a power-on protection module 52 that have been inserted into a slot in the blade frame, where:
  • the power-on protection module 52 obtains installation information of the blade server 51 in the blade frame, and sets installation profile information of the blade server in the blade frame, and detects whether the installation information matches the installation profile information, and if so, controls the blade.
  • the server 51 is powered, otherwise the control does not supply power to the blade server 51.
  • the power-on protection module 52 can include an information acquiring unit 521, a detecting unit 522, and a control unit 523, where:
  • the information obtaining unit 521 obtains installation information of the blade server 51 in the blade frame, and sets installation profile information of the blade server in the blade frame, where the installation configuration file records how to set the blade server in the blade frame.
  • the installation configuration file may include, but is not limited to, a combination of one or more of the foregoing configuration policy information, such as the first configuration policy information, the second configuration policy information, the third configuration policy information, and the fourth configuration policy information. Therefore, for the first configuration policy information, the second configuration policy information, the third configuration policy information, and the fourth configuration policy information, the installation information of the blade server 51 in the blade frame may include but not only It is limited to the above various situations and will not be described here.
  • the detecting unit 522 detects whether the installation information matches the installation profile information
  • the control unit 523 controls the power supply to the blade server 51 when the detecting unit 522 detects that the installation information matches the installation profile information; when the detecting unit 522 detects that the installation information does not match the installation profile information, the control does not control the blade server. 51 power supply.
  • the detection configuration file may include a combination of the one or more configuration policy information, so that the detection may be performed for the foregoing one configuration policy information or may be detected for the multiple configuration policy information at the same time.
  • Unit 522 can have the following structure as appropriate:
  • the detecting unit 522 includes the first a reading unit and a first determining unit, wherein: the first reading unit reads the electronic tag information, the location information, and the first configuration policy information; the first determining unit, the electronic tag information read according to the first reading unit And the location information, the first configuration policy information, determining whether the blade server 51 is set in the first configuration policy information At the reference location, if yes, the installation information matches the installation profile information, otherwise it does not match.
  • the information detecting unit 522 includes a second reading unit and a second determining unit, wherein:
  • a second reading unit which reads the front board electronic label information, the rear board electronic label information, and the second configuration strategy information
  • the second judging unit judges whether the front card and the rear card of the blade server 51 have the first according to the front card electronic tag information, the rear card electronic tag information, and the second configuration policy information read by the second reading unit. 2. Configure the matching relationship indicated by the policy information. If yes, the installation information matches the installation configuration file information. Otherwise, it does not match.
  • the installation information includes the electronic tag information of the blade server 51 inserted into a slot of the blade frame
  • the FRU information of the blade server 51 includes the third configuration policy information
  • the detecting unit 522 includes the third reading unit.
  • a third determining unit wherein:
  • the third reading unit reads the electronic tag information, the FRU information of the blade server 51, and the third configuration policy information;
  • the third determining unit determines whether the blade server 51 has a third configuration policy with the FRU of the blade server 51 according to the electronic tag information read by the third reading unit, the FRU information of the blade server 51, and the third configuration policy information. The version matching relationship indicated by the information. If yes, the installation information matches the installation configuration file information, otherwise it does not match.
  • the installation information includes the electronic label information of the blade server 51 inserted into a certain slot of the blade frame, the chassis device information in the blade frame, the installation configuration file information includes the fourth configuration policy information, and the detecting unit 522 includes the fourth reading unit.
  • a fourth determining unit wherein:
  • the fourth reading unit the electronic tag information, the chassis device information in the blade frame, and the fourth configuration policy information
  • a fourth determining unit according to the electronic tag information read by the fourth reading unit, the frame in the blade frame
  • the device information and the fourth configuration policy information are used to determine whether the blade server 51 has a version matching relationship with the chassis configuration device indicated by the fourth configuration policy information. If yes, the installation information matches the installation configuration file information, otherwise the information does not match.
  • the information acquisition unit 521 obtains the installation information of the blade server 51 in the blade frame, and sets the installation profile information of the blade server in the blade frame.
  • the detecting unit 522 detects whether the installation information matches the installation profile information, and the control unit 523 controls the power supply to the blade server 51 according to the detection result of the detecting unit 522 or does not supply power to the blade server 51, thereby being easily installed according to the installation.
  • the profile information detects whether the blade server 51 has mis-inserted or mixed-inserted, and avoids problems such as service abnormality and device failure caused by the insertion of the error.
  • the system includes a blade server 61, a BMC 62, and a management module 63.
  • the management module 63 can include an information acquisition unit 631, a detection unit 632, and a control unit 633, where:
  • the BMC 62 performs power-on initialization, reads the electronic tag information of the blade server 61 inserted into a slot of the blade frame, and the location information of the blade server 61 in the blade frame. At this time, the blade server 61 is not powered. The electronic tag information and the location information are reported to the management module 63, and the request is powered on by the blade server 61.
  • the information obtaining unit 631 in the management module 63 receives the electronic tag information and the location information (that is, the installation information of the blade server 61 in the blade frame), and obtains a locally installed installation configuration of the blade server in the blade frame.
  • the installation configuration file includes first configuration policy information, where the first configuration policy information indicates that the specified blade server is set in a specified location in the blade box.
  • the first configuration policy information is a slot and a blade server in the blade frame. A corresponding list of types.
  • the detecting unit 632 in the management module 63 detects whether the electronic tag information and the location information match the first configuration policy information in the installation configuration file.
  • the detecting unit 632 can include the first reading unit and the first determining unit. , among them:
  • the first reading unit reads the electronic tag information, the location information, and the first configuration policy information;
  • the first determining unit determines whether the blade server 61 is set at the reference position indicated by the first configuration policy information according to the electronic tag information, the location information, and the first configuration policy information read by the first reading unit, and if so, the electronic The tag information and location information match the installation profile information, otherwise they do not match.
  • the control unit 633 in the management module 63 when the detecting unit 632 detects that the electronic tag information and the location information match the installation profile information, sends an instruction to allow the power-on to the BMC 62; when the detecting unit 632 detects the electronic tag information, When the location information does not match the installation profile information, the BMC62 sends an instruction to prohibit power-on;
  • the BMC 62 maintains the power-off state of the blade server 61 for powering on the blade server 61 or according to an instruction to prohibit power-on according to an instruction to allow power-on.
  • the management module 63 may further include an alarm unit.
  • the detection unit 632 in the management module 63 detects that the electronic label information and the location information do not match the installation configuration file information, the BMC 62 controls the indicator. The alarm is sent to indicate that the blade server 61 is not powered.
  • the installation configuration file that exists locally in the management module 63 includes second configuration policy information, where the second configuration policy information indicates that the front panel electronic label information and the rear card electronic of the blade server are set in the blade frame.
  • Label information matching relationship then in the BMC62 power-on initialization process, read the front board electronic label information of the blade server 61 and the rear board electronic label information (ie, the actual configuration information), and the front board electronic label information And the rear board electronic label information is reported to the management module 63.
  • the management module 63 may further include a second reading unit and a second determining unit, where:
  • a second reading unit which reads the front board electronic label information, the rear board electronic label information, and the second configuration strategy information
  • the second determining unit determines whether the front card and the rear card of the blade server have the second according to the front card electronic tag information, the rear card electronic tag information, and the second configuration policy information read by the second reading unit. Configure the matching relationship indicated by the policy information. If yes, the installation information and installation configuration file. The pieces of information match, at this time, the control unit 633 in the management module 63 sends an instruction to the BMC 62 to allow power-on, otherwise it does not match, and the control unit 633 in the management module 63 sends an instruction to the BMC 62 to prohibit power-on.
  • the installation configuration file that exists locally in the management module 63 includes third configuration policy information, where the third configuration policy information indicates that the blade server 61 having the version matching relationship with the FRU of the blade server is set in the blade frame.
  • the BMC 62 can read the electronic tag information of the blade server 61, the FRU information of the blade server 61 (ie, the actual configuration information), and report the electronic tag information of the blade server 61 and the FRU information of the blade server 61 to the BRU 62.
  • the management module, the management module 63 may further include a third reading unit and a third determining unit, wherein:
  • the third reading unit reads the electronic tag information of the blade server 61, the blade server
  • the third determining unit determines whether the blade server 61 and the FRU of the blade server 61 are based on the electronic tag information of the blade server 61 read by the third reading unit, the FRU information of the blade server 61, and the third configuration policy information. The version matching relationship indicated by the third configuration policy information. If yes, the installation information matches the installation configuration file information, and the control unit 633 in the management module 63 sends an instruction to allow the power-on to the BMC 62. Otherwise, the matching is not performed, and the management module 63 The control unit 633 sends an instruction to the BMC 62 to prohibit power-on.
  • the BMC62 can be readable.
  • the electronic tag information of the blade server 61 and the device information of the chassis in the blade ie, the actual configuration information
  • the module 63 can be a fourth reading unit and a fourth determining unit, wherein:
  • the fourth reading unit reads the electronic tag information of the blade server 61, the frame device information in the blade frame, and the fourth configuration policy information.
  • the electronic tag letter of the blade server 61 read according to the fourth reading unit Information about the chassis device information and the fourth configuration policy information in the blade frame, and determining whether the blade server 61 has a version matching relationship with the chassis configuration device indicated by the fourth configuration policy information, and if so, the installation information and the installation configuration file.
  • the information is matched, and the control unit 633 in the management module 63 sends an instruction to the BMC 62 to allow power-on, otherwise it does not match, and the control unit 633 in the management module 63 sends an instruction to the BMC 62 to prohibit power-on.
  • the management module 63 may further include another alarm unit.
  • the detection unit 632 in the management module 63 detects that the installation information does not match the installation configuration file information, the upper layer network management alarm is passed through the standard protocol. Agreement such as 8 Li? .
  • the management module 63 may further include an installation configuration file information unit, save the installation configuration file, and obtain update information of the saved installation configuration file by the upper-layer network management device through the standard interface, and use the new installation configuration file according to the update information. Update the saved installation configuration file.
  • the second embodiment of the power-on protection system of the present invention shown in FIG. 6 obtains the installation information of the blade server 61 reported by the BMC 62 in the blade frame by the information acquisition unit 631 in the management module 63, and the local presence of the blade frame. Setting the installation profile information of the blade server (such as the installation profile information saved by the installation profile information unit in the management module 63), the detecting unit 632 in the management module 63 detects whether the installation information is related to the installation profile.
  • the information is matched, and the control unit 633 in the management module 63 sends an instruction to allow the power-on to the BMC 62 according to the detection result of the detecting unit 632, or sends an instruction to the BMC 62 to prohibit the power-on of the blade server 61, thereby being easily detected according to the installation profile information. Whether or not the blade server 61 has been mistakenly inserted has been avoided, and problems such as service abnormality and device failure caused by the insertion of the error are avoided.
  • the above-described additional embodiment of the present invention is easy to detect the compatibility of the blade server 61 itself (front and rear boards), or by detecting the compatibility of the blade server 61 with other modules (FRU, chassis equipment). According to the installation configuration file information, it is detected whether the blade server 61 has mixed insertion, and the problems of service abnormality and device failure caused by the insertion of the error are avoided.
  • the alarm unit in the management module 63 can facilitate the technical service engineer to quickly
  • the blade server 61 is found to be mis-inserted and mixed, and fault diagnosis and troubleshooting are quickly performed to improve the blade server. Serviceability.
  • FIG. 7 is a schematic diagram of Embodiment 3 of the power-on protection system of the present invention.
  • the third embodiment of the power-on protection system of the present invention includes a blade server 71 and a BMC 72, and the BMC 72 includes an information acquisition unit.
  • the detection unit, the control unit, and the installation configuration file are stored in the electronic tag of the blade server 71, and thus the electronic tag includes an installation configuration file and related information of the blade server 71 except the installation configuration file information, for example, a blade type Information such as the name of the server 71, the type of the blade server 71, the manufacturer, and the serial number, wherein the installation configuration file includes first configuration policy information, and the first configuration policy information indicates that the specified blade server is set in the specified location in the blade box, where :
  • the information acquisition unit in the BMC 72 reads the electronic tag information of the blade server 71 inserted into a slot of the blade frame and the position information of the blade server 71 in the blade frame.
  • the blade server is powered and reads the installation profile information from the tag information.
  • the detection unit in the BMC72 detects whether the related information and the location information of the blade server 71 in the electronic tag other than the installation configuration file match the first configuration policy information in the installation configuration file, that is, according to the installation profile in the electronic tag.
  • the information about the blade server 71 and the location information (the foregoing two items are the installation information of the blade server 71) and the first configuration policy information determine whether the blade server 71 is set at the reference position indicated by the first configuration policy information. If yes, the information about the blade server 71 in the electronic tag other than the installation configuration file and the location information match the first configuration policy information in the installation configuration file, otherwise the data does not match.
  • the control unit in the BMC 72 controls the blade server 71 when the detecting unit detects that the information about the blade server 71 in the electronic tag other than the installation configuration file and the location information match the first configuration policy information in the installation configuration file.
  • the power supply is maintained; when the detecting unit detects that the information about the blade server 71 in the electronic tag other than the installation configuration file, the location information does not match the first configuration policy information in the installation configuration file, the control is performed on the blade server 71. Electrical or reset processing, i.e., control does not power the blade server 71.
  • the information acquisition unit in the BMC 72 obtains the installation information of the blade server 71 in the blade frame, and the installation profile information in the electronic tag, in the BMC72.
  • the detecting unit detects whether the installation information matches the installation profile information, and the control unit in the BMC 72 controls the power supply to the blade server 71 according to the detection result of the detection unit, or controls the power-off or reset processing of the blade server 71, thereby It is easy to detect whether the blade server 71 has been mistakenly inserted according to the installation profile information, and avoid problems such as service abnormality and device failure caused by the insertion of the error.
  • the storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM) or a Random Acces s Memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Debugging And Monitoring (AREA)

Description

上电保护方法、 模块及系统 技术领域
本发明实施例涉及通信领域, 尤其涉及一种上电保护方法、模块及系统。 背景技术
刀片式服务器是一种高可用高密度 (High Availability High Density, 简称 HAHD) 的低成本服务器平台, 是专门为特殊应用行业和高密度计算机环 境设计的, 其中每一块 "刀片" 实际上就是一块系统母板, 类似于一个个独 立的服务器。 在这种模式下, 每一个母板运行自己的系统, 服务于指定的不 同用户群, 相互之间没有关联。 不过可以使用系统软件将这些母板集合成一 个服务器集群。 在集群模式下, 所有的母板可以连接起来提供高速的网络环 境, 可以共享资源, 为相同的用户群服务。
传统刀片式服务器应用解决方案中, 工程技术人员根据产品用户手册安 装配置刀片式服务器, 但由于各规格的刀片式服务器外形相似, 结构相近而 容易导致刀片式服务器在刀片框中槽位的误插, 另外, 由于刀片式服务器的 现场可更换单元(Field Replace Unit, 简称 FRU )或刀片框中机框设备与 刀片式服务器的不兼容性, 可能导致在刀片式服务器与不兼容的 FRU或机框 设备混插。
由于现有技术的人工配置刀片式服务器容易出现误插、 混插的情况, 插 错后可导致业务异常、 器件故障等问题, 且不容易被发现, 故障排查困难。 发明内容
本发明实施例提供一种上电保护方法、 模块及系统, 可对比刀片式服务 器的安装信息和安装配置文件信息, 从而控制对所述刀片式服务器供电或不 供电。
本发明实施例提供了一种上电保护方法, 包括:
获得刀片式服务器在刀片框中的安装信息和安装配置文件信息, 所述安 装配置文件信息为在刀片框中设置刀片式服务器的配置策略信息;
检测所述安装信息是否与所述安装配置文件信息匹配, 若匹配, 对所述 刀片式服务器供电, 如果不匹配则不对所述刀片式服务器供电。
相应地, 本发明实施例还提供了一种上电保护模块, 包括:
信息获取单元, 获得刀片式服务器在刀片框中的安装信息和安装配置文 件信息, 所述安装配置文件信息为在刀片框中设置刀片式服务器的安装配置 文件信息;
检测单元, 检测所述安装信息是否与所述安装配置文件信息匹配; 控制单元, 若所述检测处理单元检测到所述安装信息与所述安装配置文 件信息匹配时, 控制对所述刀片式服务器供电, 否则控制不对所述刀片式服 务器供电。
相应地, 本发明实施例还提供了一种上电保护系统, 包括刀片式服务器 以及上电保护模块, 其中:
所述上电保护模块, 获得所述刀片式服务器在刀片框中的安装信息和安 装配置文件信息, 所述安装配置文件信息为在刀片框中设置刀片式服务器的 安装配置文件信息, 检测所述安装信息是否与所述安装配置文件信息匹配, 若是, 控制对所述刀片式服务器供电, 否则控制不对所述刀片式服务器供电。
本发明实施例通过获得刀片式服务器在刀片框中的安装信息, 以及在刀 片框中设置刀片式服务器的安装配置文件信息, 检测所述安装信息是否与所 述安装配置文件信息匹配, 若是, 对所述刀片式服务器供电, 否则不对所述 刀片式服务器供电, 从而容易根据安装配置文件信息检测出刀片式服务器是 否出现了误插、 混插的情况, 避免了因插错后导致的业务异常、 器件故障等 问题。 附图说明
图 1是本发明上电保护方法的实施例一的示意图;
图 2是本发明上电保护方法的实施例二的示意图;
图 3是本发明实施例的刀片框的工作方法流程示意图;
图 4是本发明上电保护方法的实施例三的示意图;
图 5是本发明上电保护系统的实施例一的示意图;
图 6是本发明上电保护系统的实施例二的示意图;
图 7是本发明上电保护系统的实施例三的示意图。 具体实施方式
本发明实施例提供了一种上电保护方法、 一种上电保护模块及一种上电 保护系统, 可对比刀片式服务器的安装信息和安装配置文件信息, 从而控制 对所述刀片式服务器供电或不供电, 从而容易根据安装配置文件信息检测出 刀片式服务器是否出现了误插、 混插的情况, 避免了因插错后导致的业务异 常、 器件故障等问题。
下面结合附图, 对本发明实施例进行详细说明。
图 1是本发明上电保护方法的实施例一的示意图, 图 1示出了本发明实 施例中的刀片框, 刀片框可包括管理模块 11、 刀片式服务器集群 12 两个部 分。 管理模块 11为刀片框的管理系统, 可实现对整个刀片框内刀片式服务器 的上电、 下电、 复位的管理, 也可以进行告警监控、 远程键盘 /显示设备 /鼠 标(Keyboard Video Mouse , 简称 KVM )等管理。 多个刀片式服务器 121 以 及基板管理控制器(Baseboard Management Contro l ler , 简称 BMC )组成刀 片框中的刀片式服务器集群 12 , 每个刀片式服务器可以涵盖独立的 BMC, 该 刀片式服务器插入机框后其 BMC即可实现对刀片式服务器电源、 告警、 监控 等管理; 该刀片式服务器为刀片框中进行业务处理的服务器, 支撑业务软件 的运行。
图 2是本发明上电保护方法的实施例二的示意图, 参照该图 2 , 该方法 主要包括:
步骤 201、 获得刀片式服务器在刀片框中的安装信息和安装配置文件信 息。
具体地, 该安装配置文件信息为在刀片框中设置刀片式服务器的配置策 略信息,即该安装配置文件记载了如何在刀片框中设置刀片式服务器的信息, 该安装配置文件可以包括但不仅限于如下配置策略信息中一种或多种的组 合:
第一配置策略信息,指示在刀片框中指定位置设置指定的刀片式服务器, 例如, 刀片框中各槽位与刀片式服务器类型的对应清单。
第二配置策略信息, 指示在刀片框中设置刀片式服务器的前插板电子标 签信息与后插板电子标签信息配套关系。
第三配置策略信息, 指示在刀片框中设置与刀片式服务器的 FRU具有版 本配套关系的刀片式服务器。 在刀片式服务器上可能存在多个 FRU, 刀片式 服务器与各 FRU之间满足一定的版本配套关系。 该第三配置策略信息记载了 刀片式服务器与多个 FRU兼容配对记录。而 FRU可为如下一种或多种的组合: 吉比特网卡 ( Gigab i t- Ethernet )扣板、 硬盘 ( Hard DISK )扣板、 光纤通道 ( Fiber Channe l , 简称 FC )扣板、 小型计算机系统接口 (Sma l l Computer Sys tem Interface , 简称 SCSI )扣板、 串行连接 SCSI ( Ser ia l At tached SCSI ) 扣板、 光模块等。
第四配置策略信息, 指示在刀片框中设置与该刀片框具有版本配套关系 的机框设备。 在刀片框中还可以包括电源、 风扇和交换网板等机框设备, 刀 片框与各机框设备之间需要满足一定的版本配套关系, 该第四配置策略信息 记载了刀片框与多个机框设备兼容配对记录。
在实际应用中, 在安装配置文件中, 上述配置策略信息可以任意组合。 一般来说, 第二配置策略信息、 第三配置策略信息会与第一配置策略信息组 合。
例如, 如下表 1所示的安装配置文件, 其中记载了某刀片框中各槽位设 置的刀片式服务器信息, 以及该刀片式服务器前插板电子标签信息与后插板 电子标签信息配套关系, 即包括第一配置策略信息和第二配置策略信息。
表 1
Figure imgf000007_0001
上述电子标签信息中可记载刀片式服务器名称、 刀片式服务器类型、 生 产厂商、 序列号等信息, 其中 "MMSCV1. 3-DB-1-0" 即为编号规则 "业务版本 -服务器类型 -槽位 -前后插板标识" 。
又例如, 如下表 2所示的安装配置文件, 其中记载了某刀片框中各槽位 设置的刀片式服务器信息, 该刀片式服务器前插板电子标签信息与后插板电 子标签信息配套关系, 以及该刀片式服务器与各 FRU之间的配套关系, 即包 括第一配置策略信息、 第二配置策略信息和第三配置策略信息。
表 2
刀片框 槽位 前插板 后插板 扣板
MMSCV1. 1 MMSCV1. 3-DB-1-0 MMSCV1. 3-DB-1-1 硬盘扣板 3-020-1 0 2 MMSCV1. 3-DB-2-0 MMSCV1. 3-DB-2-1 光纤扣板 -001 3 MMSCV1. 3-COM-3- MMSCV1. 3-COM-3- 串行扣板
0 1 ··· ··· ··· ···
n MMSCV1. 3-MGR-N- MMSCV1. 3-MGR-N-
0 1
与前述配置策略信息相应的, 上述刀片式服务器在刀片框中的安装信息 可以包括但不仅限于如下信息:
针对第一配置策略信息, 安装信息可以是已插入刀片框某槽位的刀片式 服务器的电子标签信息, 以及刀片式服务器在刀片框中的位置信息。 其中电 子标签信息指示或者是某一指定类型的刀片式服务器, 而位置信息指示或者 是刀片式服务器实际插入的槽位;
针对第二配置策略信息, 安装信息可以是已插入刀片框某槽位的刀片式 服务器的电子标签信息, 且该电子标签信息包括其前插板电子标签信息和其 后插板电子标签信息;
针对第三配置策略信息, 安装信息可以是已插入刀片框某槽位的刀片式 服务器的电子标签信息和刀片式服务器的 FRU信息;
针对第四配置策略信息, 安装信息可以是已插入刀片框某槽位的刀片式 服务器的电子标签信息和刀片框中机框设备信息。
步骤 202、 检测安装信息是否与安装配置文件信息匹配, 若匹配则执行 步骤 203 , 若不匹配则执行步骤 204。
具体地, 由于安装配置文件中可包括一种或多种配置策略信息的组合, 因此在检测时可针对一种配置策略信息进行检测或针对多种配置策略信息进 行检测:
当安装信息包括已插入刀片框某槽位的刀片式服务器的电子标签信息以 及刀片式服务器在刀片框中的位置信息, 安装配置文件信息包括上述第一配 置策略信息时, 根据电子标签信息、 位置信息和第一配置策略信息, 判断刀 片式服务器是否设置在第一配置策略信息指示的参考位置上, 若是, 则安装 信息与所述安装配置文件信息匹配, 若不是, 则不匹配。 当安装信息包括已插入刀片框某槽位的刀片式服务器的电子标签信息, 该电子标签信息包括前插板电子标签信息和后插板电子标签信息, 安装配置 文件信息包括上述第二配置策略信息, 根据前插板电子标签信息、 后插板电 子标签信息和第二配置策略信息, 判断刀片式服务器的前插板和后插板是否 具有第二配置策略信息指示的配套关系, 若是, 则安装信息与安装配置文件 信息匹配, 否则不匹配。
当安装信息包括已插入刀片框某槽位的刀片式服务器的电子标签信息、 刀片式服务器的 FRU信息, 安装配置文件信息包括上述第三配置策略信息, 根据电子标签信息、 刀片式服务器的 FRU信息和第三配置策略信息, 判断刀 片式服务器是否与刀片式服务器的 FRU具有第三配置策略信息指示的版本配 套关系, 若是, 则安装信息与安装配置文件信息匹配, 否则不匹配。
当安装信息包括已插入刀片框某槽位的刀片式服务器的电子标签信息、 刀片框中机框设备信息, 安装配置文件信息包括上述第四配置策略信息, 根 据电子标签信息、 刀片框中机框设备信息和第四配置策略信息, 判断刀片式 服务器是否与刀片框中机框设备具有第四配置策略信息指示的版本配套关 系, 若是, 则安装信息与安装配置文件信息匹配, 否则不匹配。
步骤 203、 当安装信息与安装配置文件信息相匹配时, 对刀片式服务器 供电。
具体地, 可以包括: 当未对已插入刀片框某槽位的刀片式服务器供电时, 此时对刀片式服务器进行上电处理, 例如, 向 BMC发送允许上电的指令, BMC 根据该指令对刀片式服务器上电; 当已对已插入刀片框某槽位的刀片式服务 器有供电时, 此时保持对刀片式服务器的供电。
步骤 204、 当安装信息与安装配置文件信息不相匹配时, 不对刀片式服 务器供电。
具体地, 可以包括: 当未对已插入刀片框某槽位的刀片式服务器供电时, 此时不对刀片式服务器进行上电处理; 当已对已插入刀片框某槽位的刀片式 服务器有供电时, 此时对刀片式服务器进行下电处理或复位处理。 例如, 向
BMC发送禁止上电的指令, BMC根据该指令对刀片式服务器下电或复位。
上述图 2所示的上电保护方法的实施例, 通过步骤 201获得刀片式服务 器在刀片框中的安装信息, 以及在刀片框中设置刀片式服务器的安装配置文 件信息, 步骤 202检测所述安装信息是否与所述安装配置文件信息匹配, 若 是, 步骤 203对所述刀片式服务器供电, 否则步骤 204不对所述刀片式服务 器供电, 从而容易根据安装配置文件信息检测出刀片式服务器是否出现了误 了因插错后导致的业务异常、 器件故障等问题。
图 3是本发明实施例的刀片框的工作方法流程示意图,该方法主要包括: 步骤 301、 BMC上电初始化, 读取已插入刀片框某槽位的特定构件的电子 标签信息以及该特定构件的在刀片框中的位置信息。 此时, 并未对刀片式服 务器供电。
一个具体例子中, 读取的是已插入刀片框某槽位的特定构件的电子标签 信息以及该刀片式服务器在刀片框中的位置信息。
步骤 302、 BMC向管理模块上报电子标签信息与位置信息, 请求为该特定 构件 (例如刀片式服务器)上电, 该请求信息中包括了该电子标签信息与位 置信息。
步骤 303、 管理模块接收到电子标签信息、 位置信息 (例如刀片式服务 器在刀片框中的安装信息) , 以及读取存储在管理模块中的一个关于该特定 构件应该如何配置该特定构件在刀片式服务器中的安装配置文件。
前面的例子中, 该安装配置文件包括第一配置策略信息, 该第一配置策 略信描述了在刀片框中指定位置设置指定刀片式服务器, 例如, 第一配置策 略信息为刀片框中各槽位与刀片式服务器类型的对应清单。
步骤 304、 管理模块检测电子标签信息、 位置信息是否与上述安装配置 文件中的信息匹配。 若匹配, 并执行步骤 305 ; 若不匹配, 执行步骤 307。 在前述具体例子中, 管理模块根据电子标签信息、 位置信息和第一配置 策略信息, 判断刀片式服务器是否设置在第一配置策略信息指示的参考位置 上, 若判断是设置在第一配置策略信息指示的参考位置上, 则电子标签信息 和位置信息与所述安装配置文件信息匹配, 并执行步骤 305 , 否则不匹配并 执行步骤 307。
步骤 305、 管理模块向 BMC发送允许上电的指令。
步骤 306、 BMC根据允许上电的指令, 为刀片式服务器上电。
步骤 307、 管理模块向 BMC发送禁止上电的指令。
前述步骤 301〜步骤 307 的另一个具体例子中, 管理模块中安装配置文 件包括第二配置策略信息。 该第二配置策略信息指示在刀片框中设置刀片式 服务器的前插板电子标签信息与后插板电子标签信息配套关系。 具体的, 该 例子包括: 在 BMC上电初始化过程中, 读取刀片式服务器的前插板电子标签 信息以及后插板电子标签信息 (即实际配置信息) ; 将该前插板电子标签信 息以及后插板电子标签信息上报给管理模块; 管理模块根据前插板电子标签 信息、 后插板电子标签信息、 第二配置策略信息, 判断刀片式服务器的前插 板和后插板是否具有第二配置策略信息指示的配套关系;若具有该配套关系 , 则安装信息与安装配置文件信息匹配,管理模块向 BMC发送允许上电的指令; 若不具有该配套关系, 则安装信息与安装配置文件信息不匹配, 管理模块向 BMC发送禁止上电的指令。
前述步骤 301〜步骤 307 的另一个具体例子中, 管理模块中的安装配置 文件包括第三配置策略信息, 该第三配置策略信息指示在刀片框中设置与刀 片式服务器的 FRU具有版本配套关系的刀片式服务器。 具体的, 该例子包括: BMC可读取刀片式服务器的电子标签信息和刀片式服务器的 FRU信息 (即实 际配置信息) ; 将该刀片式服务器的电子标签信息、 刀片式服务器的 FRU信 息上报给管理模块; 管理模块根据刀片式服务器的电子标签信息、 刀片式服 务器的 FRU信息和第三配置策略信息, 判断刀片式服务器是否与刀片式服务 器的 FRU具有第三配置策略信息指示的版本配套关系; 若具有该配套关系, 则安装信息与安装配置文件信息匹配,管理模块向 BMC发送允许上电的指令; 若不具有该配套关系, 则安装信息与安装配置文件信息不匹配, 管理模块向 BMC发送禁止上电的指令。
前述步骤 301〜步骤 307 的另一个具体例子中, 当管理模块本地存在的 安装配置文件包括第四配置策略信息, 该第四配置策略信息指示在刀片框中 机框设备具有版本配套关系的刀片式服务器, 那么 BMC可读取刀片式服务器 的电子标签信息和刀片框中机框设备信息 (即实际配置信息) , 并将该刀片 式服务器的电子标签信息、 刀片框中机框设备信息上报给管理模块, 管理模 块根据刀片式服务器的电子标签信息、 刀片框中机框设备信息和第四配置策 略信息, 判断刀片式服务器是否与刀片框中机框设备具有第四配置策略信息 指示的版本配套关系, 若是, 则安装信息与安装配置文件信息匹配, 管理模 块向 BMC发送允许上电的指令, 否则不匹配, 管理模块向 BMC发送禁止上电 的指令。
上述图 3所示的上电保护方法的实施例,通过步骤 303管理模块获得 BMC 上报的刀片式服务器在刀片框中的安装信息, 以及管理模块本地存在的在刀 片框中设置刀片式服务器的安装配置文件信息, 步骤 304管理模块检测所述 安装信息是否与所述安装配置文件信息匹配,若是,步骤 305管理模块向 BMC 发送允许上电的指令, 步骤 306 由 BMC为刀片式服务器上电, 否则步骤 307 管理模块向 BMC发送禁止对刀片式服务器上电的指令, 不对刀片式服务器上 电, 从而容易根据安装配置文件信息检测出刀片式服务器是否出现了误插的 情况, 避免了因插错后导致的业务异常、 器件故障等问题。
前述步骤 301〜步骤 307的另一个具体例子中, 至少包括前述图 3所示 的实施例所示的步骤 301〜步骤 307 , 与之不同的是, 增加了下述的步骤: 该 实施方式中, BMC 除了根据该允许上电的指令对刀片式服务器上电之外, 还 进行指示灯正常供电闪烁, 进行对刀片式服务器供电的状态提示。 该实施方式中, BMC 除了根据该禁止上电指令不对刀片式服务器上电之 夕卜, 还进行指示灯告警, 进行刀片式服务器未上电的状态提示。
上述图 3所示的上电保护方法的实施例,通过步骤 303管理模块获得 BMC 上报的刀片式服务器在刀片框中的安装信息, 以及管理模块本地存在的在刀 片框中设置刀片式服务器的安装配置文件信息, 步骤 304管理模块检测所述 安装信息是否与所述安装配置文件信息匹配,若是,步骤 305管理模块向 BMC 发送允许上电的指令, 步骤 306 由 BMC为刀片式服务器上电, 否则步骤 307 管理模块向 BMC发送禁止对刀片式服务器上电的指令, 不对刀片式服务器上 电, 从而容易根据安装配置文件信息检测出刀片式服务器是否出现了误插的 情况, 避免了因插错后导致的业务异常、 器件故障等问题。
一种实施方式中,至少包括前述图 2所示的实施例的步骤 201 ~步骤 204 , 或者, 图 3所示的实施例所示的步骤 301〜步骤 307 , 与之不同的是, 增加了 下述的步骤: 当管理模块检测到安装信息与安装配置文件信息不匹配时, 除 了上述向 BMC发送禁止上电的指令之外, 还将该检测结果记入运行日志, 并 可通过标准协议向上层网管告警, 标准协议如简单网络管理协议 ( S imp le Ne twork Management Protoco l , 简称 SNMP ) 。
另一种实施方式中, 至少包括前述图 1所示的实施例的步骤 201〜步骤 204 , 或者, 图 3所示的实施例所示的步骤 301〜步骤 307 , 与之不同的是, 增加了下述的步骤: 管理模块可提供标准接口, 获得上层网管对本地存在的 安装配置文件的更新信息, 例如携带有新的安装配置文件的更新指令, 管理 模块才艮据更新信息以新的安装配置文件更新本地存在的安装配置文件。
对于以上各具体实施方式, 还可以进一步包括: 通过第三方接口或维护 工具, 修改刀片式服务器电子标签信息。
上述本发明另外的实施方式, 通过检测刀片式服务器本身模块(前、 后 插板)的兼容性, 或通过检测刀片式服务器与其他模块(FRU、 机框设备)的 兼容性, 从而容易根据安装配置文件信息检测出刀片式服务器是否出现了混 插的情况, 避免了因插错后导致的业务异常、 器件故障等问题; 通过当实际 配置信息与安装配置文件不匹配时, 指示灯告警或向上层网管告警, 可便于 技术服务工程师迅速发现刀片式服务器的误插、 混插情况, 迅速进行故障诊 断与故障排查, 提高刀片式服务器的可服务性; 通过上层网管对管理模块本 地存在的安装配置文件的更新信息, 更新安装配置文件, 可满足设备配置现 场可制定性的要求; 通过第三方接口或维护工具, 还可修改刀片式服务器电 子标签信息; 通过管理模块将获得的实际配置信息上报给上层网管, 上层网 管可以根据本地存在的配置文件, 检测安装信息是否与配置文件信息匹配, 并进行刀片式服务器自动接入或断开, 增强了上层网管对刀片式服务器的管 理能力; 通过管理模块将电子标签信息及安装配置文件上报给上层网管, 上 层网管可识别出刀片式服务器的硬件类型或业务软件类型, 并可进行资产管 理等其他第三方集成扩展功能, 可提高客户设备维护效率, 降低设备运行成 本; 通过根据安装配置文件、 电子标签信息、 刀片式服务器和各种 FRU模块 的灵活组合, 实现多种业务处理单板的定制, 实现刀片式服务器的归一化, 通用化, 从而提高生产率, 降低生产成本; 另外, 本发明还可以实现基于刀 片式服务器的业务解决方案硬件平台上的精确定制, 可配合商务策略实现硬 件报价定制, 提高市场配置的灵活性。
图 4是本发明上电保护方法的实施例三的示意图, 参考图 4 , 为另一个 上电保护方法的实施例, 该方法中安装配置文件存储于刀片式服务器的电子 标签中, 因此该电子标签包括安装配置文件以及除该安装配置文件信息以外 的刀片式服务器的相关信息。 其中, 该刀片式服务器的相关信息包括刀片式 服务器名称、 刀片式服务器类型、 生产厂商和序列号等信息。 该安装配置文 件包括第一配置策略信息, 该第一配置策略信息指示在刀片框中指定位置设 置指定的刀片式服务器, 参照该图, 该方法主要包括:
步骤 401、 BMC上电初始化, 读取已插入刀片框某槽位的刀片式服务器的 电子标签信息以及刀片式服务器在刀片框中的位置信息。 步骤 402、 BMC从电子标签信息中读取安装配置文件信息。
步骤 403、 BMC检测电子标签中除安装配置文件之外的刀片式服务器相关 信息与该位置信息是否与安装配置文件中的第一配置策略信息匹配。 即根据 电子标签中除安装配置文件之外的刀片式服务器相关信息、 位置信息 (前述 两项为刀片式服务器的安装信息)和第一配置策略信息, 判断刀片式服务器 是否设置在第一配置策略信息指示的参考位置上, 若是, 则电子标签中除安 装配置文件之外的刀片式服务器相关信息、 位置信息与安装配置文件中的第 一配置策略信息匹配, 执行步骤 404 , 否则不匹配并执行步骤 405。
步骤 404、 BMC对刀片式服务器供电。
步骤 405、 BMC对刀片式服务器不供电。
上述图 4所示的上电保护方法的实施例, 通过步骤 401、 步骤 402BMC获 得刀片式服务器在刀片框中的安装信息, 以及电子标签中的安装配置文件信 息,步骤 403BMC检测所述安装信息是否与所述安装配置文件信息匹配,若是, 步骤 404BMC保持对刀片式服务器的供电, 否则步骤 405BMC对刀片式服务器 下电或复位处理, 从而容易根据安装配置文件信息检测出刀片式服务器是否 出现了误插的情况, 避免了因插错后导致的业务异常、 器件故障等问题。
需要说明的是, 本发明实施例的上电保护方法通过上述步骤 202、 步骤 304或步骤 403 的步骤, 实现了一种刀片式服务器上电保护的软功能锁, 可 防止误插或混插的刀片式服务器上电后的接入冲突, 如误插或混插的高功率 刀片式服务器上电时对其他运行中的刀片式服务器的供电冲击, 也可防止误 插或混插的刀片式服务器上电后的业务冲突, 如误插或混插的多个带动态主 机配置协议 ( Dynami c Hos t Conf i gura t ion Protoco l , 简称 DHCP ) 功能的 刀片式服务器上电接入时, 造成业务网络内 DHCP服务异常。
相应地,下面对本发明实施例的上电保护系统及上电保护模块进行说明。 图 5是本发明上电保护系统的实施例一的示意图, 参照该图, 该系统主 要包括已插入刀片框中某槽位的刀片式服务器 51和上电保护模块 52 , 其中: 上电保护模块 52 , 获得刀片式服务器 51在刀片框中的安装信息, 以及 在刀片框中设置刀片式服务器的安装配置文件信息, 检测安装信息是否与安 装配置文件信息匹配, 若是, 控制对刀片式服务器 51供电, 否则控制不对刀 片式服务器 51供电, 具体地, 该上电保护模块 52可包括信息获取单元 521、 检测单元 522、 控制单元 523 , 其中:
信息获取单元 521 , 获得刀片式服务器 51在刀片框中的安装信息, 以及 在刀片框中设置刀片式服务器的安装配置文件信息, 其中, 安装配置文件记 载了如何在刀片框中设置刀片式服务器的信息, 该安装配置文件可以包括但 不仅限于上述配置策略信息 (例如第一配置策略信息、 第二配置策略信息、 第三配置策略信息和第四配置策略信息) 中一种或多种的组合, 此处不再赘 述; 相应地, 针对第一配置策略信息、 第二配置策略信息、 第三配置策略信 息和第四配置策略信息,上述刀片式服务器 51在刀片框中的安装信息可以包 括但不仅限于上述多种情况, 此处不再赘述。
检测单元 522 , 检测安装信息是否与安装配置文件信息匹配;
控制单元 523 , 当检测单元 522检测到安装信息与安装配置文件信息匹 配时, 控制对刀片式服务器 51供电; 当检测单元 522检测到安装信息与安装 配置文件信息不匹配时, 控制不对刀片式服务器 51供电。
具体地, 由于安装配置文件中可包括上述一种或多种配置策略信息的组 合, 因此在检测时可针对上述一种配置策略信息进行检测或同时针对上述多 种配置策略信息进行检测, 上述检测单元 522可按情况有如下结构:
当安装信息包括已插入刀片框某槽位的刀片式服务器的电子标签信息以 及刀片式服务器 51在刀片框中的位置信息,安装配置文件信息包括上述第一 配置策略信息时, 检测单元 522包括第一读取单元和第一判断单元, 其中: 第一读取单元, 读取电子标签信息、 位置信息、 第一配置策略信息; 第一判断单元, 根据第一读取单元读取的电子标签信息、 位置信息、 第 一配置策略信息,判断刀片式服务器 51是否设置在第一配置策略信息指示的 参考位置上, 若是, 则安装信息与所述安装配置文件信息匹配, 否则不匹配。 当安装信息包括已插入刀片框某槽位的刀片式服务器 51 的电子标签信 息, 该电子标签信息包括前插板电子标签信息、 后插板电子标签信息, 安装 配置文件信息包括上述第二配置策略信息, 检测单元 522 包括第二读取单元 和第二判断单元, 其中:
第二读取单元, 读取前插板电子标签信息、 后插板电子标签信息、 第二 配置策略信息;
第二判断单元, 根据第二读取单元读取的前插板电子标签信息、 后插板 电子标签信息、 第二配置策略信息, 判断刀片式服务器 51的前插板和后插板 是否具有第二配置策略信息指示的配套关系, 若是, 则安装信息与安装配置 文件信息匹配, 否则不匹配。
当安装信息包括已插入刀片框某槽位的刀片式服务器 51 的电子标签信 息、 刀片式服务器 51的 FRU信息, 安装配置文件信息包括上述第三配置策略 信息, 检测单元 522包括第三读取单元和第三判断单元, 其中:
第三读取单元, 读取电子标签信息、 刀片式服务器 51的 FRU信息、 第三 配置策略信息;
第三判断单元, 根据第三读取单元读取的电子标签信息、 刀片式服务器 51的 FRU信息、 第三配置策略信息, 判断刀片式服务器 51是否与刀片式服 务器 51的 FRU具有第三配置策略信息指示的版本配套关系, 若是, 则安装信 息与安装配置文件信息匹配, 否则不匹配。
当安装信息包括已插入刀片框某槽位的刀片式服务器 51 的电子标签信 息、 刀片框中机框设备信息, 安装配置文件信息包括上述第四配置策略信息, 检测单元 522包括第四读取单元和第四判断单元, 其中:
第四读取单元, 电子标签信息、 刀片框中机框设备信息、 第四配置策略 信息;
第四判断单元, 根据第四读取单元读取的电子标签信息、 刀片框中机框 设备信息、 第四配置策略信息, 判断刀片式服务器 51是否与刀片框中机框设 备具有第四配置策略信息指示的版本配套关系, 若是, 则安装信息与安装配 置文件信息匹配, 否则不匹配。
上述图 5所示的本发明上电保护系统的实施例一,通过信息获取单元 521 获得刀片式服务器 51在刀片框中的安装信息,以及在刀片框中设置刀片式服 务器的安装配置文件信息, 检测单元 522检测所述安装信息是否与所述安装 配置文件信息匹配, 控制单元 523根据检测单元 522检测结果控制对所述刀 片式服务器 51供电或不对所述刀片式服务器 51供电, 从而容易根据安装配 置文件信息检测出刀片式服务器 51是否出现了误插、 混插的情况, 避免了因 插错后导致的业务异常、 器件故障等问题。
图 6是本发明上电保护系统的实施例二的示意图, 该系统包括刀片式服 务器 61、 BMC62和管理模块 63 , 管理模块 63可包括信息获取单元 631、 检测 单元 632和控制单元 633 , 其中:
BMC62 , 进行上电初始化, 读取已插入刀片框某槽位的刀片式服务器 61 的电子标签信息以及刀片式服务器 61在刀片框中的位置信息, 此时, 并未对 刀片式服务器 61供电, 向管理模块 63上报电子标签信息与位置信息, 请求 为刀片式服务器 61上电。
管理模块 63中的信息获取单元 631 ,接收到电子标签信息和位置信息(即 刀片式服务器 61在刀片框中的安装信息), 以及获得本地存在的一个在刀片 框中设置刀片式服务器的安装配置文件, 该安装配置文件包括第一配置策略 信息,该第一配置策略信息指示在刀片框中指定位置设置指定刀片式服务器, 例如,第一配置策略信息为刀片框中各槽位与刀片式服务器类型的对应清单。
管理模块 63中的检测单元 632 , 检测电子标签信息和位置信息是否与上 述安装配置文件中的第一配置策略信息匹配, 具体地, 该检测单元 632可包 括第一读取单元和第一判断单元, 其中:
第一读取单元, 读取电子标签信息、 位置信息、 第一配置策略信息; 第一判断单元, 根据第一读取单元读取的电子标签信息、 位置信息和第 一配置策略信息,判断刀片式服务器 61是否设置在第一配置策略信息指示的 参考位置上, 若是, 则电子标签信息、 位置信息与所述安装配置文件信息匹 配, 否则不匹配。
管理模块 63中的控制单元 633 , 当检测单元 632检测到电子标签信息、 位置信息与所述安装配置文件信息匹配时, 向 BMC62发送允许上电的指令; 当检测单元 632检测到电子标签信息、 位置信息与所述安装配置文件信息不 匹配时, 向 BMC62发送禁止上电的指令;
BMC62根据允许上电的指令, 为刀片式服务器 61上电或根据禁止上电的 指令, 保持对刀片式服务器 61的不供电状态。
作为一种实施方式, 管理模块 63 中还可包括一告警单元, 当管理模块 63中的检测单元 632检测到电子标签信息、 位置信息与所述安装配置文件信 息不匹配时, 控制 BMC62进行指示灯告警, 以进行刀片式服务器 61未上电的 状态提示。
作为一种实施方式, 当管理模块 63本地存在的安装配置文件包括第二配 置策略信息, 该第二配置策略信息指示在刀片框中设置刀片式服务器的前插 板电子标签信息与后插板电子标签信息配套关系, 那么在 BMC62上电初始化 过程中,读取刀片式服务器 61的前插板电子标签信息以及后插板电子标签信 息 (即实际配置信息) , 并将该前插板电子标签信息以及后插板电子标签信 息上报给管理模块 63 , 管理模块 63还可以包括第二读取单元和第二判断单 元, 其中:
第二读取单元, 读取前插板电子标签信息、 后插板电子标签信息、 第二 配置策略信息;
第二判断单元, 根据第二读取单元读取的前插板电子标签信息、 后插板 电子标签信息、 第二配置策略信息, 判断刀片式服务器的前插板和后插板是 否具有第二配置策略信息指示的配套关系, 若是, 则安装信息与安装配置文 件信息匹配, 此时, 管理模块 63中的控制单元 633向 BMC62发送允许上电的 指令, 否则不匹配, 管理模块 63中的控制单元 633向 BMC62发送禁止上电的 指令。
作为一种实施方式, 当管理模块 63本地存在的安装配置文件包括第三配 置策略信息,该第三配置策略信息指示在刀片框中设置与刀片式服务器的 FRU 具有版本配套关系的刀片式服务器 61 , 那么 BMC62 可读取刀片式服务器 61 的电子标签信息、 刀片式服务器 61的 FRU信息(即实际配置信息), 并将该 刀片式服务器 61的电子标签信息、 刀片式服务器 61的 FRU信息上报给管理 模块, 管理模块 63还可以包括第三读取单元和第三判断单元, 其中:
第三读取单元, 读取刀片式服务器 61 的电子标签信息、 刀片式服务器
61的 FRU信息、 第三配置策略信息;
第三判断单元,根据第三读取单元读取的刀片式服务器 61的电子标签信 息、 刀片式服务器 61 的 FRU信息、 第三配置策略信息, 判断刀片式服务器 61是否与刀片式服务器 61 的 FRU具有第三配置策略信息指示的版本配套关 系, 若是, 则安装信息与安装配置文件信息匹配, 管理模块 63中的控制单元 633向 BMC62发送允许上电的指令, 否则不匹配, 管理模块 63中的控制单元 633向 BMC62发送禁止上电的指令。
作为一种实施方式, 当管理模块 63本地存在的安装配置文件包括第四配 置策略信息, 该第四配置策略信息指示在刀片框中机框设备具有版本配套关 系的刀片式服务器, 那么 BMC62可读取刀片式服务器 61的电子标签信息、 刀 片框中机框设备信息 (即实际配置信息), 并将该刀片式服务器 61的电子标 签信息、 刀片框中机框设备信息上报给管理模块 63 , 管理模块 63则可为如 下结构第四读取单元和第四判断单元, 其中:
第四读取单元, 读取刀片式服务器 61的电子标签信息、 刀片框中机框设 备信息和第四配置策略信息。
第四判断单元,根据第四读取单元读取的刀片式服务器 61的电子标签信 息、 刀片框中机框设备信息和第四配置策略信息, 判断刀片式服务器 61是否 与刀片框中机框设备具有第四配置策略信息指示的版本配套关系, 若是, 则 安装信息与安装配置文件信息匹配, 管理模块 63中的控制单元 633向 BMC62 发送允许上电的指令, 否则不匹配, 管理模块 63中的控制单元 633向 BMC62 发送禁止上电的指令。
作为一种实施方式, 管理模块 63中还可包括另一种告警单元, 当管理模 块 63中的检测单元 632检测到安装信息与安装配置文件信息不匹配时,通过 标准协议向上层网管告警, 标准协议如 8丽?。
作为一种实施方式, 管理模块 63还可以包括安装配置文件信息单元, 保 存安装配置文件, 并可通过标准接口获得上层网管对保存的安装配置文件的 更新信息, 根据更新信息以新的安装配置文件更新所保存的安装配置文件。
上述图 6所示的本发明上电保护系统的实施例二,通过管理模块 63中的 信息获取单元 631获得 BMC62上报的刀片式服务器 61在刀片框中的安装信 息, 以及本地存在的在刀片框中设置刀片式服务器的安装配置文件信息 (如 管理模块 63中的安装配置文件信息单元保存的安装配置文件信息), 管理模 块 63 中的检测单元 632检测所述安装信息是否与所述安装配置文件信息匹 配,管理模块 63中的控制单元 633根据检测单元 632的检测结果向 BMC62发 送允许上电的指令, 或向 BMC62发送禁止对刀片式服务器 61上电的指令, 从 而容易根据安装配置文件信息检测出刀片式服务器 61 是否出现了误插的情 况, 避免了因插错后导致的业务异常、 器件故障等问题。
上述本发明另外的实施方式, 通过检测刀片式服务器 61本身模块(前、 后插板) 的兼容性, 或通过检测刀片式服务器 61与其他模块(FRU、 机框设 备)的兼容性, 从而容易根据安装配置文件信息检测出刀片式服务器 61是否 出现了混插的情况, 避免了因插错后导致的业务异常、 器件故障等问题; 通 过管理模块 63中的告警单元,可便于技术服务工程师迅速发现刀片式服务器 61的误插、 混插情况, 迅速进行故障诊断与故障排查, 提高刀片式服务器的 可服务性。
图 7是本发明上电保护系统的实施例三的示意图, 另外, 如图 7所示的 本发明上电保护系统的实施例三,该系统包括刀片式服务器 71、 BMC72 , BMC72 包括信息获取单元、 检测单元, 控制单元, 安装配置文件存储于刀片式服务 器 71的电子标签中, 因此该电子标签包括安装配置文件以及除该安装配置文 件信息以外的刀片式服务器 71的相关信息, 例如, 刀片式服务器 71名称、 刀片式服务器 71类型、 生产厂商和序列号等信息, 其中, 安装配置文件包括 第一配置策略信息, 该第一配置策略信息指示在刀片框中指定位置设置指定 刀片式服务器, 其中:
BMC72 中的信息获取单元, 进行上电初始化后, 读取已插入刀片框某槽 位的刀片式服务器 71的电子标签信息以及刀片式服务器 71在刀片框中的位 置信息, 此时, 并已对刀片式服务器供电, 并从电子标签信息中读取安装配 置文件信息。
BMC72 中的检测单元, 检测电子标签中除安装配置文件之外的刀片式服 务器 71 相关信息、 位置信息是否与安装配置文件中的第一配置策略信息匹 配, 即根据电子标签中除安装配置文件之外的刀片式服务器 71相关信息、位 置信息(前述两项为刀片式服务器 71的安装信息) 、 第一配置策略信息, 判 断刀片式服务器 71是否设置在第一配置策略信息指示的参考位置上, 若是, 则电子标签中除安装配置文件之外的刀片式服务器 71相关信息、位置信息与 安装配置文件中的第一配置策略信息匹配, 否则不匹配。
BMC72 中的控制单元, 当检测单元检测到电子标签中除安装配置文件之 外的刀片式服务器 71相关信息、位置信息与安装配置文件中的第一配置策略 信息匹配时, 控制对刀片式服务器 71的供电保持; 当检测单元检测到电子标 签中除安装配置文件之外的刀片式服务器 71相关信息、位置信息与安装配置 文件中的第一配置策略信息不匹配时,控制对刀片式服务器 71下电或复位处 理, 即控制不对刀片式服务器 71供电。 上述图 Ί所示的本发明上电保护系统的实施例三, 通过 BMC72中的信息 获取单元获得刀片式服务器 71在刀片框中的安装信息,以及电子标签中的安 装配置文件信息, BMC72 中的检测单元检测所述安装信息是否与所述安装配 置文件信息匹配, BMC72 中的控制单元根据检测单元检测结果控制对刀片式 服务器 71的供电, 或控制对刀片式服务器 71下电或复位处理, 从而容易根 据安装配置文件信息检测出刀片式服务器 71是否出现了误插的情况,避免了 因插错后导致的业务异常、 器件故障等问题。
另外, 本领域普通技术人员可以理解实现上述实施例方法中的全部或部 分流程, 是可以通过程序来指令相关的硬件来完成, 所述的程序可存储于一 计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例 的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory, 简称 ROM )或随机存储记忆体 ( Random Acces s Memory, 简称 RAM ) 等。
以上所述是本发明的具体实施方式, 应当指出, 对于本技术领域的普通 技术人员来说, 在不脱离本发明原理的前提下, 还可以做出若干改进和润饰, 这些改进和润饰也视为本发明的保护范围。

Claims

权 利 要 求
1、 一种上电保护方法, 其特征在于, 包括:
获得刀片式服务器在刀片框中的安装信息和安装配置文件信息, 所述安 装配置文件信息为在刀片框中设置刀片式服务器的配置策略信息;
检测所述安装信息是否与所述安装配置文件信息匹配, 若匹配, 对所述 刀片式服务器供电, 如果不匹配则不对所述刀片式服务器供电。
2、 如权利要求 1所述的方法, 其特征在于,
当所述安装信息包括所述刀片式服务器的电子标签信息以及所述刀片式 服务器在所述刀片框中的位置信息, 所述安装配置文件信息包括在刀片框中 的指定位置设置指定刀片式服务器的第一配置策略信息, 则所述检测所述安 装信息是否与所述安装配置文件信息匹配具体为:
根据所述电子标签信息、 位置信息和第一配置策略信息, 判断所述刀片 式服务器是否设置在所述第一配置策略信息指示的参考位置上, 若是, 则所 述安装信息与所述安装配置文件信息匹配, 否则不匹配。
3、 如权利要求 1所述的方法, 其特征在于,
当所述安装信息包括前插板电子标签信息和后插板电子标签信息, 所述 安装配置文件信息包括在刀片框中设置刀片式服务器的前插板电子标签信息 与后插板电子标签信息配套关系的第二配置策略信息, 则所述检测所述安装 信息是否与所述安装配置文件信息匹配具体为:
根据所述前插板电子标签信息、 后插板电子标签信息和第二配置策略信 息, 判断所述刀片式服务器的前插板和后插板是否具有所述第二配置策略信 息指示的配套关系, 若是, 则所述安装信息与所述安装配置文件信息匹配, 否则不匹配。
4、 如权利要求 1所述的方法, 其特征在于,
当所述安装信息包括所述刀片式服务器的电子标签信息和刀片式服务器 的现场可更换单元信息, 所述安装配置文件信息包括在刀片框中设置与刀片 式服务器的现场可更换单元具有版本配套关系的刀片式服务器的第三配置策 略信息,则所述检测所述安装信息是否与所述安装配置文件信息匹配具体为: 根据所述电子标签信息、 刀片式服务器的现场可更换单元信息和第三配 置策略信息, 判断所述刀片式服务器是否与所述刀片式服务器的现场可更换 单元具有所述第三配置策略信息指示的版本配套关系, 若是, 则所述安装信 息与所述安装配置文件信息匹配, 否则不匹配。
5、 如权利要求 1所述的方法, 其特征在于,
当所述安装信息包括所述刀片式服务器的电子标签信息和刀片框中机框 设备信息, 所述安装配置文件信息包括在刀片框中设置与刀片框中机框设备 具有版本配套关系的刀片式服务器的第四配置策略信息, 则所述检测所述安 装信息是否与所述安装配置文件信息匹配具体为:
根据所述电子标签信息、 刀片框中机框设备信息和第四配置策略信息, 判断所述刀片式服务器是否与所述刀片框中机框设备具有所述第四配置策略 信息指示的版本配套关系, 若是, 则所述安装信息与所述安装配置文件信息 匹配, 否则不匹配。
6、 如权利要求 1至 5中任一项所述的方法, 其特征在于, 所述安装配置 文件信息存储于机框管理模块中, 机框管理模块根据基板管理控制器发送的 上电请求消息获取刀片式服务器在刀片框中的安装信息; 或
所述安装配置文件信息存储于刀片式服务器的电子标签信息中, 基板管 理控制器根据所述存储在所述刀片式服务器的电子标签信息中获取刀片式服 务器在刀片框中的安装信息。
7、如权利要求 1至 5中任一项所述的方法,其特征在于,该方法还包括: 当检测所述安装信息与所述安装配置文件信息不匹配时, 向上层网管系 统告警和 /或进行指示灯告警。
8、如权利要求 1至 5中任一项所述的方法,其特征在于,该方法还包括: 获得上层网管对所述安装配置文件的更新信息, 并更新所述安装配置文 件。
9、 一种上电保护模块, 其特征在于, 包括:
信息获取单元, 获得刀片式服务器在刀片框中的安装信息和安装配置文 件信息, 所述安装配置文件信息为在刀片框中设置刀片式服务器的安装配置 文件信息;
检测单元, 检测所述安装信息是否与所述安装配置文件信息匹配; 控制单元, 若所述检测处理单元检测到所述安装信息与所述安装配置文 件信息匹配时, 控制对所述刀片式服务器供电, 否则控制不对所述刀片式服 务器供电。
10、 如权利要求 9所述的模块, 其特征在于,
当所述安装信息包括所述刀片式服务器的电子标签信息以及所述刀片式 服务器在所述刀片框中的位置信息, 所述安装配置文件信息包括在刀片框中 指定位置设置指定刀片式服务器的第一配置策略信息,则所述检测单元包括: 第一读取单元, 读取所述电子标签信息、位置信息和第一配置策略信息; 第一判断单元, 根据所述电子标签信息、位置信息和第一配置策略信息, 判断所述刀片式服务器是否设置在所述第一配置策略信息指示的参考位置 上, 若是, 则所述安装信息与所述安装配置文件信息匹配, 否则不匹配。
11、 如权利要求 9所述的模块, 其特征在于,
当所述安装信息包括所述刀片式服务器的电子标签信息, 该电子标签信 息包括前插板电子标签信息、 后插板电子标签信息, 所述安装配置文件信息 包括在刀片框中设置刀片式服务器的前插板电子标签信息与后插板电子标签 信息配套关系的第二配置策略信息, 则所述检测单元包括:
第二读取单元, 读取所述前插板电子标签信息、 后插板电子标签信息、 第二配置策略信息;
第二判断单元, 根据所述前插板电子标签信息、 后插板电子标签信息和 第二配置策略信息, 判断所述刀片式服务器的前插板和后插板是否具有所述 第二配置策略信息指示的配套关系, 若是, 则所述安装信息与所述安装配置 文件信息匹配, 否则不匹配。
12、 如权利要求 9所述的模块, 其特征在于,
当所述安装信息包括所述刀片式服务器的电子标签信息、 刀片式服务器 的现场可更换单元信息, 所述安装配置文件信息包括在刀片框中设置与刀片 式服务器的现场可更换单元具有版本配套关系的刀片式服务器的第三配置策 略信息, 则所述检测单元包括:
第三读取单元, 读取所述电子标签信息、 第三配置策略信息;
第三判断单元, 根据所述电子标签信息、 刀片式服务器的现场可更换单 元信息和第三配置策略信息, 判断所述刀片式服务器是否与所述刀片式服务 器的现场可更换单元具有所述第三配置策略信息指示的版本配套关系,若是, 则所述安装信息与所述安装配置文件信息匹配, 否则不匹配。
13、 如权利要求 9所述的模块, 其特征在于,
当所述安装信息包括所述刀片式服务器的电子标签信息和刀片框中机框 设备信息, 所述安装配置文件信息包括在刀片框中设置与刀片框中机框设备 具有版本配套关系的刀片式服务器的第四配置策略信息, 则所述检测单元包 括:
第四读取单元, 所述电子标签信息、 第四配置策略信息;
第四判断单元, 根据所述电子标签信息、 刀片框中机框设备信息和第四 配置策略信息, 判断所述刀片式服务器是否与所述刀片框中机框设备具有所 述第四配置策略信息指示的版本配套关系, 若是, 则所述安装信息与所述安 装配置文件信息匹配, 否则不匹配。
14、 如权利要求 9至 13中任一项所述的模块, 其特征在于, 所述安装配 置文件信息存储于所述刀片式服务器的电子标签信息中。
15、 如权利要求 9至 13中任一项所述的模块, 其特征在于, 该模块还包 括: 告警单元, 当所述检测单元检测所述安装信息与所述安装配置文件信息 不匹配时, 向上层网管系统告警和 /或控制进行指示灯告警。
16、 如权利要求 9至 13中任一项所述的模块, 其特征在于, 该模块还包 括:
安装配置文件信息单元, 保存所述安装配置文件信息, 获得上层网管的 对所述安装配置文件信息的更新信息, 并根据该更新信息控制更新所述安装 配置文件信息。
17、 一种上电保护系统, 其特征在于, 包括刀片式服务器以及上电保护 模块, 其中:
所述上电保护模块, 获得所述刀片式服务器在刀片框中的安装信息和安 装配置文件信息, 所述安装配置文件信息为在刀片框中设置刀片式服务器的 安装配置文件信息, 检测所述安装信息是否与所述安装配置文件信息匹配, 若是, 控制对所述刀片式服务器供电, 否则控制不对所述刀片式服务器供电。
PCT/CN2009/072424 2008-08-18 2009-06-24 上电保护方法、模块及系统 WO2010020137A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US12/538,330 US20100042852A1 (en) 2008-08-18 2009-08-10 Power-on protection method, module and system
EP09167715A EP2161647A1 (en) 2008-08-18 2009-08-12 Power-on protection method, module and system
RU2009131226/08A RU2434281C2 (ru) 2008-08-18 2009-08-17 Способ, модуль и система защиты при включении

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810030227A CN101655809A (zh) 2008-08-18 2008-08-18 上电保护方法、模块及系统
CN200810030227.5 2008-08-18

Publications (1)

Publication Number Publication Date
WO2010020137A1 true WO2010020137A1 (zh) 2010-02-25

Family

ID=41706848

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/072424 WO2010020137A1 (zh) 2008-08-18 2009-06-24 上电保护方法、模块及系统

Country Status (3)

Country Link
CN (1) CN101655809A (zh)
RU (1) RU2434281C2 (zh)
WO (1) WO2010020137A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105122225A (zh) * 2013-04-03 2015-12-02 惠普发展公司,有限责任合伙企业 禁用假冒的卡盒
CN104363119A (zh) * 2014-11-13 2015-02-18 浪潮(北京)电子信息产业有限公司 一种多单元刀片服务器管理方法及设备
CN105389525B (zh) * 2015-12-11 2018-09-21 曙光信息产业股份有限公司 刀片服务器的管理方法和系统
CN113938331A (zh) * 2020-06-29 2022-01-14 中兴通讯股份有限公司 单板上电方法、主控板和可读存储介质
CN112731860A (zh) * 2020-12-11 2021-04-30 邦彦技术股份有限公司 一种vpx刀片上电控制方法、电路和vpx刀片

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1920746A (zh) * 2005-08-23 2007-02-28 国际商业机器公司 用于在刀片中心机架内加强供电控制的方法和装置
CN101156362A (zh) * 2005-04-13 2008-04-02 艾利森电话股份有限公司 用于协助系统配置活动的方法和设备
CN101232395A (zh) * 2007-12-27 2008-07-30 Ut斯达康通讯有限公司 一种实现网络设备自动配置安装的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101156362A (zh) * 2005-04-13 2008-04-02 艾利森电话股份有限公司 用于协助系统配置活动的方法和设备
CN1920746A (zh) * 2005-08-23 2007-02-28 国际商业机器公司 用于在刀片中心机架内加强供电控制的方法和装置
CN101232395A (zh) * 2007-12-27 2008-07-30 Ut斯达康通讯有限公司 一种实现网络设备自动配置安装的方法

Also Published As

Publication number Publication date
RU2009131226A (ru) 2011-02-27
CN101655809A (zh) 2010-02-24
RU2434281C2 (ru) 2011-11-20

Similar Documents

Publication Publication Date Title
JP4725719B2 (ja) ブレードサーバシステムおよびその管理方法
US8751675B2 (en) Rack server management
CN1326364C (zh) 通过连接到特定交换器端口而自动配置网络设备
US7363392B2 (en) Automatic maintenance of configuration information in a replaceable electronic module
US7069349B2 (en) IPMI dual-domain controller
US20100042852A1 (en) Power-on protection method, module and system
CN101071392B (zh) 用于维护服务器固件的备份副本的方法和多服务器系统
US8762774B2 (en) Distributed blade server system, management server and switching method
US20080043769A1 (en) Clustering system and system management architecture thereof
CN100405258C (zh) 用于服务器的不间断电源管理指示方法、系统和装置
US20110258302A1 (en) System And Method For Remotely Determining Identification And Physical Location Of Equipment In A Rack
US20120166605A1 (en) Remote Management Systems and Methods for Servers
CN102571441A (zh) 整机柜智能管理方法、系统及装置
JPWO2012023200A1 (ja) 情報処理システム、管理装置、および情報処理装置の管理方法
CN105516386B (zh) 一种服务器管理系统mac地址冲突检测和处理方法及系统
CN117251333A (zh) 一种硬盘信息获取方法、装置、设备及存储介质
WO2010020137A1 (zh) 上电保护方法、模块及系统
US10129087B2 (en) Application service location and management system
US7818387B1 (en) Switch
CN103809680A (zh) 电脑系统
US20090222677A1 (en) Display of blade server operating system information
CN111637079B (zh) 主板、风扇控制系统及方法
US20140189077A1 (en) Application service location and management system
CN113805950A (zh) 一种集群管理系统管理服务器的方法
Cisco Product Overview

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09807836

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09807836

Country of ref document: EP

Kind code of ref document: A1