[go: up one dir, main page]

CN104731617A - Server starting device determining method - Google Patents

Server starting device determining method Download PDF

Info

Publication number
CN104731617A
CN104731617A CN201510132184.1A CN201510132184A CN104731617A CN 104731617 A CN104731617 A CN 104731617A CN 201510132184 A CN201510132184 A CN 201510132184A CN 104731617 A CN104731617 A CN 104731617A
Authority
CN
China
Prior art keywords
bios
server
boot
devices
startup
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510132184.1A
Other languages
Chinese (zh)
Inventor
艾山彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Group Co Ltd
Original Assignee
Inspur Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Group Co Ltd filed Critical Inspur Group Co Ltd
Priority to CN201510132184.1A priority Critical patent/CN104731617A/en
Publication of CN104731617A publication Critical patent/CN104731617A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a server starting device determining method. When ports, including Sata and PCIE, of a server system are connected with multiple hardware devices at the same time, a user can select a device of a certain port in BIOS Setup to serve as a starting device, the BIOS (Basic Input Output System) shields other starting devices on the BootOption establishment stage accordingly, the user can only have access to an operation system through the guidance of the device, and other devices are used normally after login. The user can set the starting device through the BIOS, guidance through a USB flash disc and other data discs is avoided, and the security of the server system is improved; when a system disc is damaged or needs to be replaced, the original disc is replaced directly, starting sequence does not need to be adjusted, maintaining efficiency is improved, the maintainability of the server system is improved, and application value is high.

Description

一种固定服务器启动设备的方法A method for fixing server startup equipment

技术领域 technical field

本发明涉及服务器BIOS技术领域,具体涉及一种固定服务器启动设备的方法。 The invention relates to the technical field of server BIOS, in particular to a method for fixing a server startup device.

背景技术 Background technique

服务器系统是互联网、云计算、物联网、高性能计算等技术的硬件基础,可靠稳定的服务器硬件是以上行业快速发展的关键,随着服务器技术的发展,服务器的规模越来越大,企业的管理 The server system is the hardware foundation of technologies such as the Internet, cloud computing, Internet of Things, and high-performance computing. Reliable and stable server hardware is the key to the rapid development of the above industries. With the development of server technology, the scale of servers is getting larger and larger. manage

各种新的硬件板卡、设备都要集成在服务器主板上,在这种情况下,服务器的可维护性与安全性越来越重要。 Various new hardware boards and devices must be integrated on the server motherboard. In this case, the maintainability and security of the server are becoming more and more important.

BIOS是最底层的软件,集成在服务器主板上,是用来初始化服务器硬件和引导系统开机的灵魂,在Post过程中,用户可以在Setup中设置、选择启动设备。 BIOS is the lowest-level software, which is integrated on the main board of the server. It is the soul used to initialize the server hardware and boot the system. During the Post process, the user can set and select the boot device in the Setup.

发明内容 Contents of the invention

本发明要解决的技术问题是:本发明结合主板BIOS(Basic Input Output System,输出输出系统)与主板BMC(Baseboard Management Controller,基板管理控制器)来完成自动诊断启动故障的方法,根据BIOS输出的启动日志进行故障自动诊断,大大提高了定位启动故障原因的效率。从而提升了服务器系统的稳定性与可靠性。 The technical problem to be solved by the present invention is: the present invention combines mainboard BIOS (Basic Input Output System, output output system) and mainboard BMC (Baseboard Management Controller, baseboard management controller) to complete the method for automatic diagnosis startup fault, according to BIOS output The startup log is used for automatic fault diagnosis, which greatly improves the efficiency of locating the cause of startup faults. Thereby improving the stability and reliability of the server system.

本发明所采用的技术方案为: The technical scheme adopted in the present invention is:

一种固定服务器启动设备的方法,当服务器系统的Sata,PCIE等端口同时连接多种硬盘设备时,用户可在BIOS Setup中选定某一端口的设备作为启动设备,BIOS(Basic Input Output System,输出输出系统)根据该设置在BootOption建立阶段屏蔽其他启动设备,只允许从该设备引导进入操作系统,其他设备在进入系统后正常使用。  A method of fixing the boot device of the server. When the Sata, PCIE and other ports of the server system are connected to multiple hard disk devices at the same time, the user can select the device of a certain port as the boot device in the BIOS Setup. BIOS (Basic Input Output System, Output output system) According to this setting, other boot devices are shielded during the BootOption establishment stage, and only the device is allowed to boot into the operating system, and other devices can be used normally after entering the system. the

所述方法包括: The methods include:

1)BIOS启动设备设定模块:用户可以在Setup设置界面,根据需求设定启动设备,或者使用默认的设置; 1) BIOS boot device setting module: the user can set the boot device according to the requirement in the Setup setting interface, or use the default setting;

2)启动选项建立模块:在BIOS初始化完成所有的启动设备,建立BootOption列表时,读取Setup启动设备设置,仅将选定的设备添加到BootOption列表,屏蔽其他设备。 2) Start option building module: when the BIOS initialization completes all boot devices and builds the BootOption list, read the Setup boot device settings, only add selected devices to the BootOption list, and shield other devices.

所述方法实现步骤如下: The implementation steps of the method are as follows:

第一步:编写BIOS软件,在Setup中增加启动设备选择项;修改启动设备选择策略,匹配启动设备选择项; Step 1: Write BIOS software, add boot device options in Setup; modify the boot device selection strategy to match the boot device options;

第二部:将编写的BIOS软件烧录到服务器中,开机,在进入Setup进行启动设备选择,保存重启; Part 2: Burn the written BIOS software into the server, turn it on, enter Setup to select the boot device, save and restart;

第三步:如果启动设备可引导,则进入OS,否则发送错误日志到BMC,以供用户诊断故障。 Step 3: If the boot device is bootable, enter the OS, otherwise send the error log to the BMC for the user to diagnose the fault.

所述方法还包括BIOS启动日志输出模块,在BIOS引导开机的过程中,在不同硬件初始化阶段,添加位置点与错误代码,针对不同的硬件初始化失败情况添加故障代码,将这些内容通过系统串口输出,通过不同的故障代码与位置点信息,我们可以快速了解当前服务器启动所处的阶段与启动故障原因。 The method also includes a BIOS startup log output module, in the process of BIOS booting, at different hardware initialization stages, adding location points and error codes, adding error codes for different hardware initialization failure situations, and outputting these contents through the system serial port , through different fault codes and location point information, we can quickly understand the stage of the current server startup and the cause of the startup failure.

本发明的有益效果为:服务器的硬盘设备通常有多个,该方法可以让用户可通过BIOS的Setup设置启动设备,避免从U盘或其他数据盘等进行引导,提升了服务器系统的安全性;在系统盘损坏或需要更换时,直接替换原盘,无需调整启动顺序,提高了维护效率,提升了服务器系统的可维护性,具有很高的应用价值。 The beneficial effects of the present invention are: usually there are multiple hard disk devices in the server, the method allows the user to set the boot device through the Setup of the BIOS, avoids booting from a U disk or other data disks, etc., and improves the security of the server system; When the system disk is damaged or needs to be replaced, the original disk can be directly replaced without adjusting the boot sequence, which improves maintenance efficiency and maintainability of the server system, and has high application value.

附图说明 Description of drawings

图1 为本发明方法流程图。 Fig. 1 is a flow chart of the method of the present invention.

具体实施方式 Detailed ways

下面参照附图1所示,通过具体实施方式对本发明进一步说明: Below with reference to shown in accompanying drawing 1, the present invention is further described by specific embodiment:

实施例1: Example 1:

一种固定服务器启动设备的方法,当服务器系统的Sata,PCIE等端口同时连接多种硬盘设备时,用户可在BIOS Setup中选定某一端口的设备作为启动设备,BIOS(Basic Input Output System,输出输出系统)根据该设置在BootOption建立阶段屏蔽其他启动设备,只允许从该设备引导进入操作系统,其他设备在进入系统后正常使用。  A method of fixing the boot device of the server. When the Sata, PCIE and other ports of the server system are connected to multiple hard disk devices at the same time, the user can select the device of a certain port as the boot device in the BIOS Setup. BIOS (Basic Input Output System, Output output system) According to this setting, other boot devices are shielded during the BootOption establishment stage, and only the device is allowed to boot into the operating system, and other devices can be used normally after entering the system. the

实施例2: Example 2:

在实施例1的基础上,本实施例所述方法包括: On the basis of embodiment 1, the method described in this embodiment includes:

1)BIOS启动设备设定模块:用户可以在Setup设置界面,根据需求设定启动设备,或者使用默认的设置; 1) BIOS boot device setting module: the user can set the boot device according to the requirement in the Setup setting interface, or use the default setting;

2)启动选项建立模块:在BIOS初始化完成所有的启动设备,建立BootOption列表时,读取Setup启动设备设置,仅将选定的设备添加到BootOption列表,屏蔽其他设备。 2) Start option building module: when BIOS initialization completes all boot devices and builds the BootOption list, read the Setup boot device settings, only add selected devices to the BootOption list, and shield other devices.

实施例3: Example 3:

在实施例1或2的基础上,本实施例所述方法实现步骤如下: On the basis of embodiment 1 or 2, the implementation steps of the method described in this embodiment are as follows:

第一步:编写BIOS软件,在Setup中增加启动设备选择项;修改启动设备选择策略,匹配启动设备选择项; Step 1: Write BIOS software, add boot device options in Setup; modify the boot device selection strategy to match the boot device options;

第二部:将编写的BIOS软件烧录到服务器中,开机,在进入Setup进行启动设备选择,保存重启; Part 2: Burn the written BIOS software into the server, turn it on, enter Setup to select the boot device, save and restart;

第三步:如果启动设备可引导,则进入OS,否则发送错误日志到BMC,以供用户诊断故障。 Step 3: If the boot device is bootable, enter the OS, otherwise send the error log to the BMC for the user to diagnose the fault.

实施例4: Example 4:

在实施例2的基础上,本实施例所述方法还包括BIOS启动日志输出模块,在BIOS引导开机的过程中,在不同硬件初始化阶段,添加位置点与错误代码,针对不同的硬件初始化失败情况添加故障代码,将这些内容通过系统串口输出,通过不同的故障代码与位置点信息,我们可以快速了解当前服务器启动所处的阶段与启动故障原因。 On the basis of embodiment 2, the method described in this embodiment also includes a BIOS startup log output module, in the process of BIOS booting, at different hardware initialization stages, adding location points and error codes, aiming at different hardware initialization failure situations Add fault codes and output these contents through the system serial port. Through different fault codes and location point information, we can quickly understand the current stage of server startup and the cause of startup failures.

以上实施方式仅用于说明本发明,而并非对本发明的限制,有关技术领域的普通技术人员,在不脱离本发明的精神和范围的情况下,还可以做出各种变化和变型,因此所有等同的技术方案也属于本发明的范畴,本发明的专利保护范围应由权利要求限定。 The above embodiments are only used to illustrate the present invention, but not to limit the present invention. Those of ordinary skill in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, all Equivalent technical solutions also belong to the category of the present invention, and the scope of patent protection of the present invention should be defined by the claims.

Claims (4)

1.一种固定服务器启动设备的方法,其特征在于:当服务器系统的Sata,PCIE等端口同时连接多种硬盘设备时,用户可在BIOS Setup中选定某一端口的设备作为启动设备,BIOS(Basic Input Output System,输出输出系统)根据该设置在BootOption建立阶段屏蔽其他启动设备,只允许从该设备引导进入操作系统,其他设备在进入系统后正常使用。 1. A method for fixing server startup equipment is characterized in that: when Sata of server system, ports such as PCIE connect multiple hard disk devices simultaneously, the user can select the equipment of a certain port in BIOS Setup as startup equipment, BIOS (Basic Input Output System, output and output system) According to this setting, other boot devices are blocked during the BootOption establishment phase, and only the device is allowed to boot into the operating system, and other devices can be used normally after entering the system. 2.根据权利要求1所述的一种固定服务器启动设备的方法,其特征在于:所述方法包括: 2. A method for fixing a server startup device according to claim 1, wherein the method comprises: 1)BIOS启动设备设定模块:用户可以在Setup设置界面,根据需求设定启动设备,或者使用默认的设置; 1) BIOS boot device setting module: the user can set the boot device according to the requirement in the Setup setting interface, or use the default setting; 2)启动选项建立模块:在BIOS初始化完成所有的启动设备,建立BootOption列表时,读取Setup启动设备设置,仅将选定的设备添加到BootOption列表,屏蔽其他设备。 2) Start option building module: when BIOS initialization completes all boot devices and builds the BootOption list, read the Setup boot device settings, only add selected devices to the BootOption list, and shield other devices. 3.根据权利要求1或2所述的一种固定服务器启动设备的方法,其特征在于,所述方法实现步骤如下: 3. A method for fixing a server startup device according to claim 1 or 2, wherein the implementation steps of the method are as follows: 第一步:编写BIOS软件,在Setup中增加启动设备选择项;修改启动设备选择策略,匹配启动设备选择项; Step 1: Write BIOS software, add boot device options in Setup; modify the boot device selection strategy to match the boot device options; 第二部:将编写的BIOS软件烧录到服务器中,开机,在进入Setup进行启动设备选择,保存重启; Part 2: Burn the written BIOS software into the server, turn it on, enter Setup to select the boot device, save and restart; 第三步:如果启动设备可引导,则进入OS,否则发送错误日志到BMC,以供用户诊断故障。 Step 3: If the boot device is bootable, enter the OS, otherwise send the error log to the BMC for the user to diagnose the fault. 4.根据权利要求2所述的一种固定服务器启动设备的方法,其特征在于,所述方法还包括BIOS启动日志输出模块,在BIOS引导开机的过程中,在不同硬件初始化阶段,添加位置点与错误代码,针对不同的硬件初始化失败情况添加故障代码,将这些内容通过系统串口输出,通过不同的故障代码与位置点信息,我们可以快速了解当前服务器启动所处的阶段与启动故障原因。 4. a kind of method for fixing server startup device according to claim 2, it is characterized in that, described method also comprises BIOS startup log output module, in the process of BIOS booting, in different hardware initialization stage, add location point And error codes, add fault codes for different hardware initialization failures, and output these contents through the system serial port. Through different fault codes and location point information, we can quickly understand the current stage of server startup and the cause of startup failures.
CN201510132184.1A 2015-03-25 2015-03-25 Server starting device determining method Pending CN104731617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510132184.1A CN104731617A (en) 2015-03-25 2015-03-25 Server starting device determining method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510132184.1A CN104731617A (en) 2015-03-25 2015-03-25 Server starting device determining method

Publications (1)

Publication Number Publication Date
CN104731617A true CN104731617A (en) 2015-06-24

Family

ID=53455535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510132184.1A Pending CN104731617A (en) 2015-03-25 2015-03-25 Server starting device determining method

Country Status (1)

Country Link
CN (1) CN104731617A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681879A (en) * 2017-01-06 2017-05-17 郑州云海信息技术有限公司 Method for testing server starting sequence
CN107562470A (en) * 2017-08-21 2018-01-09 联想(北京)有限公司 The optimization method and device that a kind of electronic equipment starts
CN111708652A (en) * 2020-05-20 2020-09-25 新华三技术有限公司 Fault repairing method and device
CN111949279A (en) * 2020-07-28 2020-11-17 山东超越数控电子股份有限公司 Method for installing operating system on fixed-position disk by multiple same-type storage disk servers
CN112860329A (en) * 2021-02-10 2021-05-28 山东英信计算机技术有限公司 Startup item configuration method, system and medium
CN113489597A (en) * 2020-03-16 2021-10-08 广达电脑股份有限公司 Method and system for optimal boot path for network devices
CN114924802A (en) * 2022-05-27 2022-08-19 苏州浪潮智能科技有限公司 System starting method, device equipment and medium based on BMC and BIOS

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5854905A (en) * 1996-09-03 1998-12-29 Intel Corporation Extensible bios for boot support of devices on multiple hierarchical buses
CN102200917A (en) * 2010-03-25 2011-09-28 研祥智能科技股份有限公司 Computing equipment and method for determining guiding equipment in startup process
CN102446104A (en) * 2010-09-30 2012-05-09 研祥智能科技股份有限公司 Method for starting up computer system
CN104391765A (en) * 2014-10-27 2015-03-04 浪潮电子信息产业股份有限公司 Method for automatically diagnosing starting fault of server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5854905A (en) * 1996-09-03 1998-12-29 Intel Corporation Extensible bios for boot support of devices on multiple hierarchical buses
CN102200917A (en) * 2010-03-25 2011-09-28 研祥智能科技股份有限公司 Computing equipment and method for determining guiding equipment in startup process
CN102446104A (en) * 2010-09-30 2012-05-09 研祥智能科技股份有限公司 Method for starting up computer system
CN104391765A (en) * 2014-10-27 2015-03-04 浪潮电子信息产业股份有限公司 Method for automatically diagnosing starting fault of server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
幸运的我的2015: "禁止电脑从U盘启动、禁止PE盘启动电脑的方法", 《HTTP://JINGYAN.BAIDU.COM/ARTICLE/08B6A591D1C19F14A9092270.HTML》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681879A (en) * 2017-01-06 2017-05-17 郑州云海信息技术有限公司 Method for testing server starting sequence
CN107562470A (en) * 2017-08-21 2018-01-09 联想(北京)有限公司 The optimization method and device that a kind of electronic equipment starts
CN107562470B (en) * 2017-08-21 2021-05-18 联想(北京)有限公司 Method and device for optimizing starting of electronic equipment
CN113489597A (en) * 2020-03-16 2021-10-08 广达电脑股份有限公司 Method and system for optimal boot path for network devices
CN113489597B (en) * 2020-03-16 2023-05-02 广达电脑股份有限公司 Method and system for optimal startup path for network device
CN111708652A (en) * 2020-05-20 2020-09-25 新华三技术有限公司 Fault repairing method and device
CN111708652B (en) * 2020-05-20 2023-12-26 新华三技术有限公司 Fault repairing method and device
CN111949279A (en) * 2020-07-28 2020-11-17 山东超越数控电子股份有限公司 Method for installing operating system on fixed-position disk by multiple same-type storage disk servers
CN112860329A (en) * 2021-02-10 2021-05-28 山东英信计算机技术有限公司 Startup item configuration method, system and medium
CN114924802A (en) * 2022-05-27 2022-08-19 苏州浪潮智能科技有限公司 System starting method, device equipment and medium based on BMC and BIOS
CN114924802B (en) * 2022-05-27 2024-02-09 苏州浪潮智能科技有限公司 System startup method, device and media based on BMC and BIOS

Similar Documents

Publication Publication Date Title
US11314499B2 (en) Simulating end-to-end upgrade process in production environment
CN104731617A (en) Server starting device determining method
US10719400B2 (en) System and method for self-healing basic input/output system boot image and secure recovery
US10185828B2 (en) Systems and methods using virtual UEFI path for secure firmware handling in multi-tenant or server information handling system environments
TW201729123A (en) Method and server for remote launching deployment utility
CN106030512B (en) Initialization tracking of computing devices
US9614678B2 (en) System and method for extracting device uniqueness to assign a license to the device
US9281999B2 (en) Apparatus for remotely configuring network interfaces in a remote management system
US11036863B2 (en) Validating an image using an embedded hash in an information handling system
US11281768B1 (en) Firmware security vulnerability verification service
US7490267B2 (en) System and method for testing computer
CN104391765A (en) Method for automatically diagnosing starting fault of server
TW201717001A (en) Unified firmware managment system, non-transitory computer-readable storage medium and method for unified firmware managment
JP2016058083A (en) System and method for managing plurality of bios default setting
TW201610849A (en) Device, method, and non-transitory computer-readable medium for automatically configuring BIOS performance profiles of a computer system
CN104461402B (en) A kind of method for adjusting disk order under Linux system between multi-controller
US20230229777A1 (en) Cloud based boot integrity
US20160306688A1 (en) System and Method for Cloud Remediation of a Client with a Non-Bootable Storage Medium
US11366800B2 (en) System and method to automate validating media redirection in testing process
US11231940B2 (en) System and method for automatic recovery of information handling systems
US20100268925A1 (en) System and method for populating a dedicated system service repository for an information handling system
US11900128B2 (en) Modularized basic input output system (BIOS) firmware activation
US9830349B2 (en) Maintaining storage profile consistency in a cluster having local and shared storage
CN116414797A (en) Method, device, equipment and medium for copying system files
US12321756B2 (en) Disabling software persistence

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150624

RJ01 Rejection of invention patent application after publication