CN100517246C - Computer remote control method and system - Google Patents

Computer remote control method and system Download PDF

Info

Publication number
CN100517246C
CN100517246C CNB2006100573988A CN200610057398A CN100517246C CN 100517246 C CN100517246 C CN 100517246C CN B2006100573988 A CNB2006100573988 A CN B2006100573988A CN 200610057398 A CN200610057398 A CN 200610057398A CN 100517246 C CN100517246 C CN 100517246C
Authority
CN
China
Prior art keywords
computer
operating system
zone bit
module
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2006100573988A
Other languages
Chinese (zh)
Other versions
CN101038561A (en
Inventor
陈光亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB2006100573988A priority Critical patent/CN100517246C/en
Publication of CN101038561A publication Critical patent/CN101038561A/en
Application granted granted Critical
Publication of CN100517246C publication Critical patent/CN100517246C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to a computer remote control method and a computer system, wherein a remote communication module is employed to communicate, and a starting bit zone of a bit zone loading module is changed and a restart/or start command is sent to the computer; the starting bit zone is checked by a basic input and output system, if the starting bit zone is set as a bit zone for starting the second operation system, then the second operation system in a storage apparatus will be started; then the computer can be operated by a running second operation system. Said remote communication module is a BMC chip, said bit zone storage module is a F/W module of the BMC chip; and said storage apparatus is a nonvolatile memory NVSRAM. By using the scheme, a remote complete control can be implemented, the remote diagnosis and network function of the second operation system can restore and re-install the operation system and repair the operation system malfunctions apart from the physical damage of the motherboard.

Description

A kind of computer remote control method and system
Technical field
The present invention relates to a kind of computer remote control method and system, especially design a kind of method and system by supervisory system remote recovery computer operating system.
Background technology
Computer equipments such as server need for a long time operation continuously, need remote monitoring and administration and fault recovery simultaneously, so that solve the variety of issue that occurs in the computer system operational process timely.This wherein, the operating system failure of computer system is exactly the computer failure of a big quasi-representative, in case computer operating system breaks down, can't continue operation, basket screen or deadlock state will appear in system.And can not deal with problems with restarting by system closedown, can only just can rerun by reinstalling and recovering computer operating system.
Break down for computer operating system, existing solution is mainly divided two classes:
First kind solution is: by HPA subregion and the BIOS design of using specific data storage device or hard disk, realize the method for the recovery of computer operating system in this locality; Publication number is: disclose a kind of restorative procedure of computer operating system in the patent documentation of CN1549131A, this method is as follows: a, in advance the HPA of hard disk (Host Protected Area) district backup all with the relevant information of startup computing machine; This information comprises the data message of boot sector in file, hard disk guidance information, partition table information and the boot partition of operating system; B, in the HPA of hard disk, selftest module is set, and in the basic input-output unit (BIOS) of computing machine, sets up in order to call the order of selftest module; When c, computing machine are started by the hard disk guiding, call selftest module among the HPA by basic input-output unit, and judge by selftest module whether all information relevant with starting computing machine are destroyed, if, then broken parts is repaired the back and start computing machine, otherwise directly start computing machine.
The second class solution is: utilize IPMI agreement (IPMI agreement), realize the shutdown of computer system and restart by long-range BMC (baseboard management controller) control, wish the fault that solves operating system of restarting by system; The system architecture of this scheme is with reference to figure 1, wherein be equipped with a certain size FLASH memory chip in the BMC module, so that the F/W program of BMC module operation is supported in storage, the F/W module just refers to this FLASH memory chip, also refers to burning this F/W software program inside simultaneously.
According to IPMI agreement V1.5, can realize the switching on and shutting down of remote control computer system very easily and restart.Its technology realizes that principle mainly is to utilize computer switching power supply to realize to continual 5VSB (StandBy) power supply that computer motherboard provides.After the computer system shutdown, as long as the 220V power lead is plugged on the computer power supply, some special parts and module just can obtain the 5VSB power supply by computer power supply on the computer motherboard so, thereby are in " standby " state.Wherein the Ethernet card chip just has partial function to be in " standby " state of 5VSB power supply power supply, thereby can realize common WOL (Wake ON LAN) function, also is the LAN (Local Area Network) power up function.
IPMI agreement V1.5 has stipulated the function and the implementation of BMC module, wherein the BMC chip adopts the power supply of 5VSB power supply exactly, guaranteed the power supply isolation of BMC module (hardware system and F/W) with computer system, again by special circuit design, can make the POWER of BMC and system, the RESET signal connects, and after guaranteeing the computer system shutdown or going wrong, the BMC module can normally be moved under the 5VSB power supply.Secondly, the IPMI regulation and stipulation standard of remote access BMC chip, according to standard, after remote access BMC module, i.e. may command startup/reset circuit work makes open/close machine of computer system or restarts.
But but above-mentioned two class methods have deficiency, and the shortcoming of first kind method is: can only realize the security recovery of computer operating system in this locality, can't realize the function of remote recovery; The shortcoming of second class methods is: can realize the shutdown of computer system and restart by remote monitoring and administration, but can't solve the fault of operating system collapse, and can't long-range installing operating system.
Summary of the invention
Purpose of the present invention just provides a kind of method of recovering computer operating system, realizes remote recovery and reinstalls operating system.Be achieved through the following technical solutions purpose of the present invention:
The invention provides a kind of computer remote control method, comprise the steps:
1) utilizes the remote communication module in the described computing machine to communicate, and change that a zone bit in the computing machine is deposited the startup zone bit of module and send and restart or startup command to computing machine;
2) Basic Input or Output System (BIOS) is checked described startup zone bit, if start zone bit for starting the zone bit of second operating system, then second operating system from the memory storage an of this locality starts;
3) utilize second operating system of operation to computer operation.
Be to realize telecommunication and change the startup zone bit that a zone bit that is arranged in this baseboard management controller is deposited module in the described step 1) by the baseboard management controller that adopts the IPMI agreement.
Described zone bit is deposited module has the F/W program for operation F/W module.
Described second operating system is stored among the nonvolatile memory NVSRAM.
In the described step 3) computer operation is comprised at least a in the recovery of the installation of remote diagnosis, first operating system and first operating system.
Described second operating system has network function, sets up the SHELL interface, realizes the TELNET function and system carried out one or more in the function of self check.
The present invention also provides a kind of computer system, comprises Basic Input or Output System (BIOS) and remote communication module, it is characterized in that, also comprises a memory storage that stores second operating system;
Described remote communication module is used for this computer remote communication, and can revise a zone bit by Long-distance Control and deposit the startup zone bit in the module and send to computing machine and restart or startup command;
Described Basic Input or Output System (BIOS) is visited described zone bit and is deposited module, detects described startup zone bit, if described startup zone bit represents to start second operating system, then starts described second operating system from described memory storage.
Described remote communication module is for adopting the baseboard management controller of IPMI agreement.
It is the F/W module that operation in the described baseboard management controller has the F/W program that described zone bit is deposited module.
Described memory storage is nonvolatile memory NVSRAM.
Described second operating system has network function, sets up the SHELL interface, realizes the TELNET function and system carried out one or more in the function of self check.
In the present invention, second operating system of the NVSRAM chip-stored micro-kernel by the motherboard design special use, providing of power supply neither is provided, also need not use the HPA subregion of hard disk, by the startup of second operating system, can realize the control fully of remote system, by the remote diagnosis and the network function of second operating system, recover and reinstall operating system, the real all operations system failure of removing the mainboard physical damage of repairing.
By below in conjunction with the accompanying drawing description of the preferred embodiment of the present invention, other characteristics of the present invention, purpose and effect will become clear more and easy to understand.
Description of drawings
Preferred implementation of the present invention is described below with reference to the accompanying drawings, wherein:
Fig. 1 is the system construction drawing of available technology adopting BMC control chip;
Fig. 2 is a system construction drawing of the present invention;
In all above-mentioned accompanying drawings, identical label represents to have identical, similar or corresponding feature or function.
Embodiment
The present invention is described further below in conjunction with accompanying drawing.
With reference to figure 2, computer system of the present invention comprises: BIOS (Basic Input or Output System (BIOS)) chip, nonvolatile memory NVSRAM chip, network interface card and BMC control chip or telemanagement card (having the BMC control chip), wherein, comprise the F/W module in the BMC control chip, BIOS chip, NVSRAM chip and BMC control chip or telemanagement card can be positioned on the computer motherboard.Provide power supply by 5 volts of reference power supplies for BMC control chip and network interface card, the BMC control chip is communicated by letter with Remote Control Unit by network interface card.
Described NVSRAM chip is the computer motherboard special designs, is used to store second operating system code of the micro-kernel of reducing; BIOS can have access to microcode in the NVSRAM chip by system bus.BIOS chip and NVSRAM chip and BMC chip all are connected on system bus LPC (LowPin Count) bus, easily mutual communication.BIOS carries out boot sequence by the system start-up mode zone bit in the F/W module of L PC bus access BMC according to system start-up mode zone bit.
Described BMC control chip is the above BMC control chip of IPMI agreement V1.5; In the F/W of BMC control chip module, set the special sign position, operation has the F/W program in this F/W module, this F/W program is used to support the normal operation of BMC, this zone bit is represented an information of system start-up mode, Remote Control Unit can be communicated by letter with BMC by network interface card, visit and revise configuration information among the F/W reaches by remote access BMC control chip and is provided with/removes this zone bit; Computer system can realize remote management capability more than the IPMI agreement V1.5 by BMC control chip or telemanagement card.These technology all are the standard techniques of IPMI regulation and stipulation.
The computer motherboard bios program is through programmed, revise the order of system start-up equipment, second operating system among the NVSRAM as first boot sequence, during each system start-up, BIOS communicates by letter with mainboard BMC control chip, system start-up mode zone bit among the F/W in the visit BMC control chip, and carry out following operation:
1) when not finding the zone bit of second os starting of expression from NVSRAM, BIOS will ignore second operating system among the NVSRAM, continue to start according to floppy drive/CD-ROM drive/traditional approachs such as hard disk;
2) when finding the zone bit of second os starting of expression from NVSRAM, second os starting that BIOS will be from NVSRAM: call second operating system code of the micro-kernel in the NVSRAM chip, copy in the internal memory and move.
When the system manager finds that catastrophic failure appears in this operation system of computer, remote management capability by the BMC control chip carries out system restarts, simple restart system can't deal with problems the time if find, can pass through remote command, the zone bit of second os starting of the one-tenth of the system start-up mode zone bit set in the F/W program in BMC control chip expression from NVSRAM, the startup of control computer/reset circuit restarting systems then.
After the system restart, the BIOS chip is communicated by letter with the BMC control chip, check that the system start-up mode zone bit of finding in the F/W program is for representing the zone bit of second os starting from NVSRAM, second os starting from the NVSRAM chip then, call second operating system code of the micro-kernel in the NVSRAM chip, copy in the internal memory and move.
Second operating system of the micro-kernel in the NVSRAM chip can realize basic systemic-function, and network function is set up the SHELL interface, realizes the TELNET function, and system is carried out basic self check etc.
After second operating system starts smoothly, the remote diagnosis of second operating system and network function just can be normal, this moment is by the Remote Diagnosis System on second operating system, system state is carried out detailed inspection, if the just collapse of operating system and can't starting, do not have serious problems such as the whole physical damage of hard disk, can realize the reparation of local operation system, up to realizing reinstalling operating system by network function; Certainly, neither be necessary to the checking process of system state, as long as find that original system can't normally start work, just can directly carry out the installation and the recovery of system by second operating system.
In the above embodiment of the present invention, though adopt the memory storage of NVSRAM chip as storage second operating system, but be not limited thereto, as long as can provide memory function just can satisfy the demands, such as the storer that adopt to need power supply, can be by 5 volts reference power supply or the power supply of other power supply, need only that just do not cut off the power supply can normal storage, and this storer can load second operating system to it by network, and this all adopts the prior art means can be easy to implement.
Though the BMC control chip of Cai Yonging is as control in the present invention, but neither only limit to this, especially device that can dirty bit is not limited in the F/W module, as long as can revise state flag bit and the BIOS chip can normally detect this state flag bit by network, just can make BIOS chip controls computing machine from second os starting.Even remote control computer restarts and also is not limited only to adopt the BMC control chip to realize, the mode that this control computer resets can adopt in the prior art very simple circuit just can realize.As for 5 volts power supply, can change according to the time situation of system.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (15)

1. a computer remote control method comprises the steps:
1) utilizes the remote communication module in the described computing machine to communicate, and change that a zone bit in the computing machine is deposited the startup zone bit of module and send and restart or startup command to computing machine;
2) Basic Input or Output System (BIOS) is checked described startup zone bit, if start zone bit for starting the zone bit of second operating system, then second operating system from the memory storage an of this locality starts;
3) utilize second operating system of operation to computer operation.
2. computer remote control method according to claim 1, it is characterized in that, be to realize telecommunication and change the startup zone bit that a zone bit that is arranged in this baseboard management controller is deposited module by the baseboard management controller that adopts the IPMI agreement in the described step 1).
3. computer remote control method according to claim 2 is characterized in that, described zone bit is deposited module has the F/W program for operation F/W module.
4. according to each described computer remote control method in the claim 1 to 3, it is characterized in that described second operating system is stored among the nonvolatile memory NVSRAM.
5. according to each described computer remote control method in the claim 1 to 3, it is characterized in that, in the described step 3) computer operation is comprised at least a in the recovery of the installation of remote diagnosis, first operating system and first operating system.
6. according to each described computer remote control method in the claim 1 to 3, it is characterized in that described second operating system has network function, sets up the SHELL interface, realizes the TELNET function and system carried out one or more in the function of self check.
7. computer remote control method according to claim 4 is characterized in that, in the described step 3) computer operation is comprised at least a in the recovery of the installation of remote diagnosis, first operating system and first operating system.
8. computer remote control method according to claim 4 is characterized in that, described second operating system has network function, sets up the SHELL interface, realizes the TELNET function and system carried out one or more in the function of self check.
9. computer remote control method according to claim 5 is characterized in that, described second operating system has network function, sets up the SHELL interface, realizes the TELNET function and system carried out one or more in the function of self check.
10. a computer system comprises Basic Input or Output System (BIOS) and remote communication module, it is characterized in that, also comprises a memory storage that stores second operating system;
Described remote communication module is used for this computer remote communication, and can revise a zone bit by Long-distance Control and deposit the startup zone bit in the module and send to computing machine and restart or startup command;
Described Basic Input or Output System (BIOS) is visited described zone bit and is deposited module, detects described startup zone bit, if described startup zone bit represents to start second operating system, then starts described second operating system from described memory storage.
11. computer system according to claim 10 is characterized in that, described remote communication module is for adopting the baseboard management controller of IPMI agreement.
12. computer system according to claim 11 is characterized in that, it is the F/W module that operation in the described baseboard management controller has the F/W program that described zone bit is deposited module.
13., it is characterized in that described memory storage is nonvolatile memory NVSRAM according to each described computer system in the claim 10 to 12.
14., it is characterized in that described second operating system has network function, sets up the SHELL interface, realizes the TELNET function and system carried out one or more in the function of self check according to each described computer system in the claim 10 to 12.
15. computer system according to claim 13 is characterized in that, described second operating system has network function, sets up the SHELL interface, realizes the TELNET function and system carried out one or more in the function of self check.
CNB2006100573988A 2006-03-14 2006-03-14 Computer remote control method and system Active CN100517246C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100573988A CN100517246C (en) 2006-03-14 2006-03-14 Computer remote control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100573988A CN100517246C (en) 2006-03-14 2006-03-14 Computer remote control method and system

Publications (2)

Publication Number Publication Date
CN101038561A CN101038561A (en) 2007-09-19
CN100517246C true CN100517246C (en) 2009-07-22

Family

ID=38889477

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100573988A Active CN100517246C (en) 2006-03-14 2006-03-14 Computer remote control method and system

Country Status (1)

Country Link
CN (1) CN100517246C (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101609413A (en) * 2008-06-18 2009-12-23 鸿富锦精密工业(深圳)有限公司 The device and method of remotely obtaining system information
CN101373448B (en) * 2008-08-15 2011-06-01 华硕电脑股份有限公司 Computer system with remote management
CN101404583B (en) * 2008-10-27 2011-05-04 成都市华为赛门铁克科技有限公司 Method for awakening server, server and network system
CN101989204A (en) * 2009-08-06 2011-03-23 同方股份有限公司 Method of computer remote network diagnosis and user support
CN102467217A (en) * 2010-11-19 2012-05-23 鸿富锦精密工业(深圳)有限公司 Synchronous obtaining method of power state
US9625978B2 (en) 2013-06-03 2017-04-18 Intel Corporation Receiving, at least in part, and/or issuing, at least in part, at least one packet to request change in power consumption state
CN103455398A (en) * 2013-09-13 2013-12-18 浪潮电子信息产业股份有限公司 Method for avoiding failed information interaction inside and outside belt
CN103760950A (en) * 2014-01-09 2014-04-30 北京奇虎科技有限公司 Wireless routing equipment management method and device
CN104156273A (en) * 2014-07-30 2014-11-19 深圳市中兴移动通信有限公司 System exception repair method, system exception repair device and mobile terminal
CN105512000B (en) * 2014-09-24 2020-04-24 中兴通讯股份有限公司 Operating system abnormal information collection method and device and computer
CN105187268B (en) * 2015-08-13 2018-08-17 国家计算机网络与信息安全管理中心 A kind of fine granularity status information synchronous for cluster computing environment
US9875165B2 (en) * 2015-11-24 2018-01-23 Quanta Computer Inc. Communication bus with baseboard management controller
CN105808097B (en) * 2016-02-26 2019-05-31 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN108427885B (en) * 2017-02-13 2022-11-25 中兴通讯股份有限公司 Basic input output system updating method and device
CN109240754B (en) * 2017-07-03 2022-03-25 中兴通讯股份有限公司 Logic device, method and system for configuring BIOS starting item
CN107911816B (en) * 2017-11-27 2020-03-27 泰凌微电子(上海)有限公司 Starting method for multi-mode IoT device, multi-mode IoT device and storage medium
CN109471757A (en) * 2018-11-19 2019-03-15 郑州云海信息技术有限公司 The method and system of NVDIMM-N backup are triggered when a kind of normal shutdown
CN110737444A (en) * 2019-10-18 2020-01-31 中电科技(北京)有限公司 Remote self-adaptive dynamic deployment method and system for operating system based on firmware
CN111124728B (en) * 2019-12-12 2024-02-23 加弘科技咨询(上海)有限公司 Service automatic recovery method, system, readable storage medium and server
CN111400113B (en) * 2020-02-28 2023-05-12 苏州浪潮智能科技有限公司 Complete machine self-checking method, device and system of computer system
CN111352788A (en) * 2020-03-13 2020-06-30 苏州浪潮智能科技有限公司 Computer system self-checking method, device, equipment and storage medium
CN115016987B (en) * 2022-07-13 2022-11-04 统信软件技术有限公司 Operating system checking method, computing device and storage medium

Also Published As

Publication number Publication date
CN101038561A (en) 2007-09-19

Similar Documents

Publication Publication Date Title
CN100517246C (en) Computer remote control method and system
JP6530774B2 (en) Hardware failure recovery system
CN100483346C (en) Method and apparatus for remote modifcation of system configuration
CN103377063B (en) From legacy operating systems environment recovery to the method and system of UEFI pre-boot environment
WO2022198972A1 (en) Method, system and apparatus for fault positioning in starting process of server
US8713296B2 (en) Apparatus for restoring setting information of a board management controller from a backup memory before loading an OS when a system board is replaced
US7007192B2 (en) Information processing system, and method and program for controlling the same
US9910664B2 (en) System and method of online firmware update for baseboard management controller (BMC) devices
CN100492305C (en) Fast restoration method of computer system and apparatus
US20120110378A1 (en) Firmware recovery system and method of baseboard management controller of computing device
WO2018095107A1 (en) Bios program abnormal processing method and apparatus
CN101364193A (en) BIOS automatic recovery method and computer and system using the method
CN101373433A (en) Method for updating BIOS and computer and system using the same
WO2018120200A1 (en) Server management method and server
US20190004818A1 (en) Method of UEFI Shell for Supporting Power Saving Mode and Computer System thereof
TW202034176A (en) A server system, a centralized flash memory module, and a method of updating flash firmware image
CN102880527A (en) Data recovery method of baseboard management controller
US7861112B2 (en) Storage apparatus and method for controlling the same
US10824517B2 (en) Backup and recovery of configuration files in management device
CN102508676A (en) Startup method and device of embedded system
CN104657232A (en) BIOS automatic recovery system and BIOS automatic recovery method
KR100605031B1 (en) A method for upgrading and restoring embeded systems by using usb memory device
CN103399807A (en) Dynamic scene spontaneous recovering method used for triplication redundancy computers
CN201047943Y (en) Fast recovery equipment of computer system
CN110928726A (en) Embedded system self-recovery method and system based on watchdog and PXE

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant