CN101714092A - Method for controlling boot sequence of server - Google Patents

Method for controlling boot sequence of server Download PDF

Info

Publication number
CN101714092A
CN101714092A CN200810211589.4A CN200810211589A CN101714092A CN 101714092 A CN101714092 A CN 101714092A CN 200810211589 A CN200810211589 A CN 200810211589A CN 101714092 A CN101714092 A CN 101714092A
Authority
CN
China
Prior art keywords
server
behalf
service routine
destination server
mobile storage
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.)
Granted
Application number
CN200810211589.4A
Other languages
Chinese (zh)
Other versions
CN101714092B (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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN200810211589.4A priority Critical patent/CN101714092B/en
Publication of CN101714092A publication Critical patent/CN101714092A/en
Application granted granted Critical
Publication of CN101714092B publication Critical patent/CN101714092B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method for controlling a boot sequence of a server, which comprises the following steps: making a boot image, and putting a first-generation agency service program into the boot image, wherein the first-generation agency service program can communicate with a management server; restoring the boot image on rewritable mobile storage equipment so that the rewritable mobile storage equipment can start a managed target server; installing and running a second-generation agency service program in the management server; setting a basic input and output system of the target server so that the rewritable mobile storage equipment becomes first boot equipment; and modifying a boot file in the rewritable mobile storage equipment according to a boot start command received from the management server through the first-generation agency service program or the second-generation agency service program so as to control the boot sequence of the target server.

Description

A kind of control method of boot sequence of server
Technical field
The present invention relates to a kind of control method of boot sequence of server, especially relate to a kind of method that erasable mobile storage realization is controlled the boot sequence of server that sees through.
Background technology
At present, along with rapid development of network technology and universal day by day, network has become people and used the information of obtaining and the first-selected instrument that communicates in daily work and life.And in network, server can be used for for client provide various services (as allow or the access of restriction shared resource, automatically backup data and from remote computer access operation data etc.).
In the server admin field, management software can require destination server to see through pre-loaded execution environment (PXE) in some cases or virtual media (Virtual Media) carries out network startup, finishes some specific management operations.In order to see through the network startup server, people have developed multiple scheme, use the boot sequence of Control Server.Wherein, pre-loaded execution environment (PXE) is to load (RPL for network technology medium-long range program, Remote Program Load) extension of technology, be to be used for there is no boot system at computing machine itself, or see through remote server at all when not having hard disk and carry out start, and using long-range system, pre-loaded execution environment also can see through the installation that remote server comes executive system or application program simultaneously.
Wherein, the existing method that is used for the boot sequence of Control Server mainly contains following several:
First scheme: destination server is provided with, uses the default conditions that make network card and be startup, and then, use decision this destination server is started from pre-loaded execution environment through the service routine of pre-loaded execution environment is controlled.
Alternative plan: the common program that seeing through the ROM-BIOS (BIOS) of destination server is provided is realized the change of boot sequence in operating system.
Third party's case: see through managing chip, realization is controlled the boot sequence of the ROM-BIOS of server as motherboard control manager (BMC).
Cubic case: see through the virtual media of control long-range ISO archives pointed, and change the boot sequence of server.
But in above-mentioned four kinds of schemes, the defective of first scheme is and need fully controls the service routine of pre-loaded execution environment, and the defective of alternative plan, third party's case and cubic case is having relatively high expectations to hardware.
Generally speaking, various schemes of the prior art still have following several defectives: the first, and because of for the having relatively high expectations of hardware, and cause cost to increase; The second, because of needs are changed hardware of server and operating system, and cause security to reduce; The 3rd, be not easy to carry out because of scheme is complicated.
Summary of the invention
In order to solve above-mentioned the problems of the prior art and defective, the object of the present invention is to provide a kind of control method of boot sequence of server, be to see through erasable mobile storage to realize the boot sequence of server is controlled.
The control method of a kind of boot sequence of server provided by the present invention, be to see through erasable mobile storage realization management server the boot sequence of destination server is controlled, wherein, this control method comprises: make to start and video, this starts reflection is the operating system that is used to start destination server, and act on behalf of service routine with first and put into this startup reflection, first to act on behalf of service routine be to be used for communicating with management server; On erasable mobile storage, recover to include first startup of acting on behalf of service routine and video, use making erasable mobile storage have the ability that starts destination server; In destination server by the operating system of hard disk startup in installation and operation second act on behalf of service routine, second to act on behalf of service routine be to be used for communicating with management server; ROM-BIOS to destination server is provided with, use to make destination server at first select from then on erasable mobile storage to start, when can't from then on erasable mobile storage starting again from the hard disk startup of destination server; And first act on behalf of service routine or second and act on behalf of service routine according to from the enabled instruction that management server received the startup archives the erasable mobile storage being made amendment, and uses to make destination server select hard disk startup destination server from erasable mobile storage or destination server when starting next time.
In sum, the invention has the advantages that: the first, on hardware configuration, the control method of boot sequence of server of the present invention only needs erasable mobile storage, and need not other hardware, and then has reduced cost; The second, control method of the present invention need not be changed the hardware and the operating system of destination server, and then makes this method have higher security; The 3rd, for existing the whole bag of tricks, control method of the present invention has simple and easy to do advantage.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Figure 1A is the framework map of system of control method that is used to carry out the boot sequence of server of the embodiment of the invention;
Figure 1B is the method flow diagram of control method of the boot sequence of server of the embodiment of the invention;
Fig. 2 is from the method flow diagram of the hard disk startup destination server of destination server in the control method of boot sequence of server of the embodiment of the invention;
Fig. 3 is the method flow diagram that starts destination server in the control method of boot sequence of server of the embodiment of the invention from erasable mobile storage.
Wherein, Reference numeral
10 management servers
11 management program modules
20 destination servers
21 erasable mobile storages
211 first act on behalf of the service routine module
22 operating systems
221 second act on behalf of the service routine module
Embodiment
Below, will elaborate to better embodiment of the present invention in conjunction with graphic part.
Figure 1A is the framework map of system of control method that is used to carry out the boot sequence of server of the embodiment of the invention.As shown in the figure, this system includes: management server 10 and destination server 20.
Wherein, management server 10 is to include management program module 11, this management program module 11 is to be used for assigning enabled instruction to destination server, and destination server 20 will start from hard disk startup or from erasable mobile storage 21 when this enabled instruction is used for selecting to start next time.
Herein, erasable mobile storage 21 is to comprise first to act on behalf of service routine module 211, and first to act on behalf of service routine module 211 be to be used for communicating with management server 10 for this.Simultaneously, include second in the operating system 22 of destination server 20 and act on behalf of service routine module 221, to first to act on behalf of service routine module 211 similar, this second acts on behalf of service routine module 221 and is used for equally communicating with management server 10.Management server 10 can see through first and act on behalf of service routine module 211 and second and act on behalf of 221 pairs of destination servers of service routine module 20 and carry out Long-distance Control, and then reaches the purpose that the boot sequence of destination server 20 is controlled.
Below, will be described the work flow of the system shown in Figure 1A in conjunction with Figure 1B.
Figure 1B is the method flow diagram for the control method of the boot sequence of server of the embodiment of the invention, the method is to see through erasable mobile storage to have realized that management server controls in all directions to the boot sequence of destination server, and then has improved server admin pattern of the prior art.
At first, making starts reflection and acts on behalf of service routine with first and put into this startup reflection (step 101)., can make the startup reflection as linux system or Windows PE system herein, use and in subsequent step, to start this destination server from including this erasable mobile storage that starts reflection according to the operating system of this destination server.This first acts on behalf of service routine system and can together start and communicate with management server with starting reflection, and then makes management server can see through this first to act on behalf of service routine destination server is carried out Long-distance Control.Herein, if need in the operating system that starts destination server, finish some specific management work, as need be when the os starting of destination server the calling system security management program, then can put into this in the lump and start reflection managing application program accordingly.
Next, on erasable mobile storage, recover to include first startup of acting on behalf of service routine and video (step 102), use making erasable mobile storage can start destination server.Simultaneously, can together copy to this erasable mobile storage with putting into this management application program that starts reflection in the step 101 in advance.
Herein, the erasable mobile storage that is used to start destination server is convenient to make, and erasable mobile storage can be used as the attachment component of destination server in the embodiment of the invention.Therefore, needn't be in the process of Control Server boot sequence to destination server in original hardware make any change, and then simplified the control method of boot sequence of server.
In addition, this erasable mobile storage be for can manifolding type CD, can manifolding type digital video disk and the USB flash memory device in any one.For example, for the destination server that is equipped with CD writer, can select for use can manifolding type digital video disk (DVD) as erasable mobile storage.And in order to make the embodiment of the invention have more wide applications, the selected erasable mobile storage of the preferred embodiments of the present invention is to be the USB flash memory device.This is because it is to be the most basic configuration requirement that server is possessed USB interface, therefore uses the USB flash memory device can further reduce the requirement of the control method of boot sequence of server in the embodiment of the invention for the server hardware configuration.
Then, can in destination server by the operating system of hard disk startup in installation and operation second act on behalf of service routine (step 103).Wherein, second to act on behalf of service routine be to be used for communicating with this management server for this, uses to make this management server can see through second to act on behalf of service routine destination server is carried out Long-distance Control.
Wherein, above-mentioned first acts on behalf of service routine and second acts on behalf of service routine and can carry out write operation to erasable mobile storage respectively, use in subsequent step, seeing through first acts on behalf of service routine or second and acts on behalf of service routine to write operation that erasable mobile storage carried out, make this erasable mobile storage lose or obtain to start the ability of destination server, and then reach the purpose of Control Server boot sequence.
In addition, this first act on behalf of service routine and second act on behalf of service routine can also be directly and management server communicate, or import the user behind the IP address of this management server therewith that management server communicates.
And first act on behalf of service routine and second and act on behalf of service routine and management server and communicate after, first acts on behalf of service routine or second acts on behalf of service routine and can finish some specific management operations according to the instruction of management server, as calls certain management application program.
After erasable mobile storage is connected to destination server, can (step 104) be set to the ROM-BIOS of destination server.
Particularly, the boot sequence in the basic input/output system (BIOS) of destination server must be set at: preferentially start from erasable mobile storage.Use, make destination server when starting each time, all can at first select from then on erasable mobile storage to start.Wherein, why make this management server when starting each time, at first select to start from erasable mobile storage, be because the controlling party ratio juris of the boot sequence of server of the embodiment of the invention is as follows: the erasable mobile storage that must guarantee this startup that includes destination server reflection all the time is first starting outfit of destination server (or claiming start-up point) for this reason, and then when startup that erasable mobile storage comprised reflection can't start destination server, ROM-BIOS just can be sought next start-up point automatically and start the operating system, the i.e. hard disk startup of destination server from then on, and then reach the purpose of the boot sequence of controlled target server.
Wherein, because when lost efficacy in first start-up point, it is to be prior art that ROM-BIOS is sought the process that other start-up point starts the operating system successively, so no longer give unnecessary details herein.
In addition, those skilled in the art is to be understood that when remove this erasable mobile storage from destination server after, but destination server just the out of control server centralized management and obtain active management power.
At last, determine the boot sequence (step 105) of destination server when next time starting according to the enabled instruction that management server sent.
Wherein, above-mentioned first acts on behalf of service routine or second acts on behalf of service routine and can make amendment to the startup archives in the erasable mobile storage according to the indication of having done in the enabled instruction, use the ability that makes this erasable mobile storage lose or obtain starting destination server, and then when destination server starts next time, determine that this destination server will start from erasable mobile storage, still the hard disk startup of destination server is from then on used the purpose of the boot sequence that finally reaches the controlled target server.
Below, will make describing in detail in conjunction with Fig. 2 and Fig. 3 to above-mentioned step 105.
Fig. 2 is from the method flow diagram of the hard disk startup destination server of destination server in the control method of boot sequence of server of the embodiment of the invention.
As shown in Figure 2, first act on behalf of service routine and receive the enabled instruction (step 1051) of indication from the hard disk startup destination server of destination server.
Then, can see through this and first act on behalf of service routine the startup archives in the erasable mobile storage are made amendment, use making erasable mobile storage lose the ability (step 1053) that starts destination server.
Wherein, startup archives in this erasable mobile storage, for example: boot.int or grub configuration profile, be to be used for when starting the operating system, starting guiding, therefore can act on behalf of service routine through first makes amendment to boot.int or grub configuration profile, use the ability that makes this erasable mobile storage lose the operating system that starts destination server, and then when started destination server next time, the ROM-BIOS of destination server can be sought next start-up point (being the hard disk of destination server) successively and start this destination server.
Next, just can see through the hard disk startup destination server (step 1055) of destination server.
And after destination server sees through hard disk startup, also needing to start first acts on behalf of service routine or second and acts on behalf of service routine (step 1057), use in the management control that makes this destination server always be in management server, and then can adjust the boot sequence of destination server at any time according to actual needs.
Herein, it will be understood by those of skill in the art that when removing this erasable mobile storage that includes the startup reflection, this destination server can obtain active management power, in other words, when removing this erasable mobile storage, destination server just can be directly from hard disk startup.
Fig. 3 is the method flow diagram that starts destination server in the control method of boot sequence of server of the embodiment of the invention from erasable mobile storage.
As shown in Figure 3, second act on behalf of service routine and receive indication starts destination server from erasable mobile storage enabled instruction (step 1052).
See through this and second act on behalf of service routine to the startup archives in the erasable mobile storage, for example boot.int or grub configuration profile are made amendment (step 1054), use the ability that makes erasable mobile storage obtain to start destination server.
Then, can see through this erasable mobile storage and start destination server (step 1056).
See through above and describe, it will be appreciated by those skilled in the art that, the control method of the boot sequence of server of the embodiment of the invention is as a kind of brand-new form management server, be to have following advantage: first, on hardware configuration, the control method of the boot sequence of server of the embodiment of the invention only needs erasable mobile storage, and need not other hardware, and then has reduced cost; The second, the control method of the embodiment of the invention need not be changed the hardware and the operating system of destination server, and then makes this method have higher security; The 3rd, for existing the whole bag of tricks, the control method of the embodiment of the invention has simple and easy to do advantage.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (7)

1. the control method of a boot sequence of server uses seeing through an erasable mobile storage and realize that a management server controls the boot sequence of destination server, it is characterized in that this control method is to comprise:
Make one and start reflection, this startups reflection is an operating system that is used to start this destination server, and acts on behalf of service routine with one first and put into this startup and video, and first to act on behalf of service routine be to be used for communicating with this management server for this;
On an erasable mobile storage, recover to include this first this startup of acting on behalf of service routine and video, use making this erasable mobile storage have the ability that starts this destination server;
In this destination server by the operating system of hard disk startup in installation and operation one second act on behalf of service routine, second to act on behalf of service routine be to be used for communicating with this management server for this;
ROM-BIOS to this destination server is provided with, use to make this destination server at first select to start from this erasable mobile storage, when can't be when this erasable mobile storage starts again from the hard disk startup of this destination server;
First act on behalf of service routine or this second and act on behalf of service routine according to this, use this destination server of hard disk startup of when this destination server starts next time, selecting from this erasable mobile storage or this destination server from the enabled instruction that this management server received.
2. the control method of boot sequence of server according to claim 1, it is characterized in that, when this first when acting on behalf of service routine and receiving enabled instruction from this destination server of hard disk startup of this destination server, see through this and first act on behalf of service routine the startup archives in this erasable mobile storage are made amendment, use making this erasable mobile storage lose the ability that starts this destination server.
3. the control method of boot sequence of server according to claim 2, it is characterized in that, when this second is acted on behalf of service routine and receive when this erasable mobile storage starts the enabled instruction of this destination server, see through this and second act on behalf of service routine the startup archives in this erasable mobile storage are made amendment, use the ability that makes this erasable mobile storage obtain to start this destination server.
4. the control method of boot sequence of server according to claim 1 is characterized in that, after this destination server of hard disk startup of this destination server, also comprises and starts this and first act on behalf of the step that service routine or this second acted on behalf of service routine.
5. the control method of boot sequence of server according to claim 1 is characterized in that, first to act on behalf of service routine be together to start with this startup reflection for this.
6. the control method of boot sequence of server according to claim 1, it is characterized in that, this first is acted on behalf of service routine and this second to act on behalf of service routine is directly to communicate with this management server, perhaps communicates with this management server behind the IP address of importing this management server.
7. the control method of boot sequence of server according to claim 1 is characterized in that, this erasable mobile storage be for can manifolding type CD, can manifolding type digital video disk and the USB flash memory device in any one.
CN200810211589.4A 2008-10-08 2008-10-08 Method for controlling boot sequence of server Expired - Fee Related CN101714092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810211589.4A CN101714092B (en) 2008-10-08 2008-10-08 Method for controlling boot sequence of server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810211589.4A CN101714092B (en) 2008-10-08 2008-10-08 Method for controlling boot sequence of server

Publications (2)

Publication Number Publication Date
CN101714092A true CN101714092A (en) 2010-05-26
CN101714092B CN101714092B (en) 2013-03-13

Family

ID=42417759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810211589.4A Expired - Fee Related CN101714092B (en) 2008-10-08 2008-10-08 Method for controlling boot sequence of server

Country Status (1)

Country Link
CN (1) CN101714092B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052761A (en) * 2013-03-11 2014-09-17 联想(北京)有限公司 Method for device start controlling and electronic device
CN104391713A (en) * 2014-10-28 2015-03-04 浪潮电子信息产业股份有限公司 Automatic installation method for Windows system
TWI581589B (en) * 2014-12-17 2017-05-01 廣達電腦股份有限公司 Iscsi boot parameter deployment system and iscsi boot parameter deployment method
CN106970794A (en) * 2017-03-28 2017-07-21 联想(北京)有限公司 Server cluster and its startup method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100375023C (en) * 2002-12-19 2008-03-12 联想(北京)有限公司 Method for realizing automatic change of computer start sequence
CN100426228C (en) * 2005-05-20 2008-10-15 鸿富锦精密工业(深圳)有限公司 System and method for switching computer start sequence

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052761A (en) * 2013-03-11 2014-09-17 联想(北京)有限公司 Method for device start controlling and electronic device
CN104052761B (en) * 2013-03-11 2017-12-29 联想(北京)有限公司 The method and electronic equipment that a kind of control device starts
CN104391713A (en) * 2014-10-28 2015-03-04 浪潮电子信息产业股份有限公司 Automatic installation method for Windows system
TWI581589B (en) * 2014-12-17 2017-05-01 廣達電腦股份有限公司 Iscsi boot parameter deployment system and iscsi boot parameter deployment method
US9934050B2 (en) 2014-12-17 2018-04-03 Quanta Computer Inc. System and method for network-based ISCSI boot parameter deployment
CN106970794A (en) * 2017-03-28 2017-07-21 联想(北京)有限公司 Server cluster and its startup method

Also Published As

Publication number Publication date
CN101714092B (en) 2013-03-13

Similar Documents

Publication Publication Date Title
US7827394B2 (en) Methods and systems for configuring computers
US6108779A (en) Server and computer network that permit a client to be easily introduced into the computer network
US20170300311A1 (en) Dynamic Image Generation
CN102193817B (en) Simplify the management of physics and virtual deployment
US7007195B2 (en) BIOS shadowed small-print hard disk drive as robust, always on, backup for hard disk image & software failure
CN111338854A (en) Kubernetes cluster-based method and system for quickly recovering data
US20050235281A1 (en) Combined software installation package
CN105450759A (en) System mirror image management method and device
CN105320578A (en) Method and apparatus for backing up and recovering APP
CN112256393B (en) Resource management method and equipment for bare metal server
US8875132B2 (en) Method and apparatus for implementing virtual proxy to support heterogeneous systems management
CN101714092B (en) Method for controlling boot sequence of server
US8117432B2 (en) Method for controlling boot sequence of server
CN114020444B (en) Calling system and method for resource service application in enterprise digital middle station
CN108287735A (en) A kind of method, apparatus and server obtaining UEFI OS startup items
CN107861761B (en) Starting method and system of physical host
CN116028267A (en) Dual-system secure mobile phone resetting method and device, server and storage medium
US9971532B2 (en) GUID partition table based hidden data store system
CN113704177B (en) Storage method, system and related components of server firmware upgrade file
US7350214B2 (en) Printer driver initialization
CN114020457A (en) OpenStack deployment method and device and electronic equipment
CN110109775A (en) Virtual machine restoration methods, device, terminal device and storage medium
CN114461228B (en) Object generation method, device, equipment, system and readable storage medium
CN115484149B (en) Network switching method, network switching device, electronic equipment and storage medium
US11989304B2 (en) Secure multi-BIOS-image system

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130313

Termination date: 20211008