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

Method for controlling boot sequence of server Download PDF

Info

Publication number
CN101714092B
CN101714092B CN200810211589.4A CN200810211589A CN101714092B CN 101714092 B CN101714092 B CN 101714092B CN 200810211589 A CN200810211589 A CN 200810211589A CN 101714092 B CN101714092 B CN 101714092B
Authority
CN
China
Prior art keywords
server
destination server
agent
service routine
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.)
Expired - Fee Related
Application number
CN200810211589.4A
Other languages
Chinese (zh)
Other versions
CN101714092A (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 the develop rapidly of network technology and day by day universal, network has become people and used obtaining information 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 in some cases destination server to see through pre-loaded execution environment (PXE) or virtual medium (Virtual Media) carries out network startup, finishes some specific management operations.In order to see through the network startup server, people have developed kinds of schemes, 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, 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 method for existing boot sequence for Control Server mainly contains following several:
The first scheme: destination server is arranged, use the default conditions that make network card and be startup, and then through the service routine of pre-loaded execution environment is controlled, use decision this destination server is started from pre-loaded execution environment.
Alternative plan: the common program that seeing through the ROM-BIOS (BIOS) of destination server provides 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 such as motherboard control and management device (BMC).
Cubic case: see through the virtual medium 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 the first scheme is and need to 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 need to changing hardware and the operating system of server, and cause security to reduce; The 3rd, be not easy to carry out because 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, to see through erasable mobile storage realization management server the boot sequence of destination server is controlled, wherein, this control method comprises: make start image, this start image is for the operating system that starts destination server, and first agent's service routine put into this start image, first agent's service routine is for communicating with management server; On erasable mobile storage, recover to include the start image of first agent's service routine, 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 agent service routine, second agent's service routine is for communicating with management server; ROM-BIOS to destination server arranges, use make destination server at first select from then on erasable mobile storage starts, when can't from then on erasable mobile storage starts again from the hard disk startup of destination server; And first agent's service routine or second agent's service routine make amendment to the startup archives the erasable mobile storage according to the enabled instruction that receives from management server, 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 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 for the system of the control method of the boot sequence of server of carrying out 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 agent's service routine modules
22 operating systems
221 second agent's service routine modules
Embodiment
Below, in connection with graphic part preferred embodiments of the present invention is elaborated.
Figure 1A is the framework map for the system of the control method of the boot sequence of server of carrying out 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 for assigning enabled instruction to destination server, and this enabled instruction is that destination server 20 will from hard disk startup or from erasable mobile storage 21 start when selecting to start next time.
Herein, erasable mobile storage 21 is to comprise first agent's service routine module 211, and this first agent's service routine module 211 is for communicating with management server 10.Simultaneously, include second agent's service routine module 221 in the operating system 22 of destination server 20, similar to first agent's service routine module 211, this second agent's service routine module 221 is same for communicating with management server 10.Management server 10 can see through first agent's service routine module 211 and carry out Long-distance Control with 221 pairs of destination servers of second agent's service routine module 20, and then reaches the purpose that the boot sequence of destination server 20 is controlled.
Below, in connection with Figure 1B the work flow of the system shown in Figure 1A is described.
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, make start image and first agent's service routine put into this start image (step 101)., can make start image such as linux system or Windows PE system according to the operating system of this destination server herein, use and in subsequent step, to start this destination server from the erasable mobile storage that includes this start image.This first agent's service routine system can together start and communicates with management server with start image, and then makes management server can see through this first agent's service routine to carry out Long-distance Control to destination server.Herein, if need in the operating system that starts destination server, finish some specific management work, as need to be when the os starting of destination server the calling system security management program, then can put in the lump this start image with managing accordingly application program.
Next, on erasable mobile storage, recover to include the start image (step 102) of first agent's service routine, use making erasable mobile storage can start destination server.Simultaneously, the management application program of putting in advance this start image in the step 101 together can be copied to this erasable mobile storage.
Herein, the erasable mobile storage that be used for 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 to destination server in the process of Control Server boot sequence 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 can manifolding type digital video disk (DVD) as erasable mobile storage.And in order to make the embodiment of the invention have more wide range of application, 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 control method of boot sequence of server in the embodiment of the invention for the requirement of server hardware configuration.
Then, can in destination server by the operating system of hard disk startup in installation and operation second agent service routine (step 103).Wherein, this second agent's service routine is to make this management server carry out Long-distance Control to destination server through second agent's service routine for communicating with this management server, using.
Wherein, above-mentioned first agent's service routine and second agent's service routine can carry out write operation to erasable mobile storage respectively, use in subsequent step, see through the write operation that first agent's service routine or second agent's service routine carry out erasable mobile storage, 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 agent's service routine and second agent's service routine can also be directly and management server communicate, or input the user behind the IP address of this management server therewith that management server communicates.
And after first agent's service routine and second agent's service routine and management server communicate, first agent's service routine or second agent's service routine can be finished some specific management operations according to the instruction of management server, as call certain management application program.
After erasable mobile storage is connected to destination server, can to the ROM-BIOS of destination server (step 104) be set.
Particularly, the boot sequence in the basic input/output system (BIOS) of destination server must be set as: preferentially start from erasable mobile storage.Use, erasable mobile storage starts to make destination server all can at first select from then on when starting each time.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 all the time the start image that this includes destination server is the first starting outfit of destination server (or claiming start-up point) for this reason, and then the start image that comprises when erasable mobile storage is can't start destination server the time, but ROM-BIOS just starts the operating system the next start-up point of Automatic-searching, the i.e. hard disk startup of destination server from then on, and then reach the purpose of the boot sequence of control destination server.
Wherein, because when lost efficacy in the 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.
The boot sequence (step 105) of destination server when next time starting determined in the enabled instruction of sending according to management server at last.
Wherein, above-mentioned first agent's service routine or second agent's service routine can be made 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 control destination server.
Below, in connection with Fig. 2 and Fig. 3 above-mentioned step 105 is made describing in detail.
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 agent's service routine receives indication from the enabled instruction (step 1051) of the hard disk startup destination server of destination server.
Then, can see through this first agent's 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, for when starting the operating system, starting guiding, therefore can see through first agent's service routine 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 successively next start-up point (being the hard disk of destination server) 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 need to start first agent's service routine or second agent's 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 the erasable mobile storage that this includes start image, 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 agent's service routine receives indication starts destination server from erasable mobile storage enabled instruction (step 1052).
See through this second agent's 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, to have following advantages: 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 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; in 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 according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (4)

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:
Step a) is made a start image, and this start image is for an operating system that starts this destination server, and first agent's service routine is put into this start image, and this first agent's service routine is for communicating with this management server;
Step b) on an erasable mobile storage, recovers to include this start image of this first agent's service routine, use making this erasable mobile storage have the ability that starts this destination server;
Step c) in this destination server by the operating system of hard disk startup in installation and operation one second agent's service routine, this second agent's service routine is for communicating with this management server;
Steps d) ROM-BIOS of this destination server arranged, use making this destination server at first select to start from this erasable mobile storage, in the time can't starting from this erasable mobile storage again from the hard disk startup of this destination server;
Step e) enabled instruction that receives from this management server according to this first agent's service routine or this second agent's service routine, 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
Wherein said step e may further comprise the steps:
When this first agent's service routine receives enabled instruction from this destination server of hard disk startup of this destination server, see through this first agent's 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;
See through this destination server of hard disk startup of this destination server, and start this first agent's service routine or this second agent's service routine, use in the management control that makes this destination server always be in this management server, and then can adjust the boot sequence of this destination server at any time according to actual needs; And
When this second agent's service routine receives when starting the enabled instruction of this destination server from this erasable mobile storage, see through this second agent's 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.
2. the control method of boot sequence of server according to claim 1 is characterized in that, this first agent's service routine is together to start with this start image.
3. the control method of boot sequence of server according to claim 1, it is characterized in that, this first agent's service routine and this second agent's service routine are direct and this management server communicates, and perhaps communicate with this management server behind the IP address of this management server of input.
4. 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 CN101714092A (en) 2010-05-26
CN101714092B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 of Windows system
US9934050B2 (en) * 2014-12-17 2018-04-03 Quanta Computer Inc. System and method for network-based ISCSI boot parameter deployment
CN106970794B (en) * 2017-03-28 2020-08-25 联想(北京)有限公司 Server cluster and starting method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744043A (en) * 2002-12-19 2006-03-08 联想(北京)有限公司 Method for automatically changing computer start sequence
CN1866208A (en) * 2005-05-20 2006-11-22 鸿富锦精密工业(深圳)有限公司 System and method for switching computer start sequence

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744043A (en) * 2002-12-19 2006-03-08 联想(北京)有限公司 Method for automatically changing computer start sequence
CN1866208A (en) * 2005-05-20 2006-11-22 鸿富锦精密工业(深圳)有限公司 System and method for switching computer start sequence

Also Published As

Publication number Publication date
CN101714092A (en) 2010-05-26

Similar Documents

Publication Publication Date Title
US6108779A (en) Server and computer network that permit a client to be easily introduced into the computer network
US7827394B2 (en) Methods and systems for configuring computers
CN102193817B (en) Simplify the management of physics and virtual deployment
CN112181602A (en) Resource arranging method and device, electronic equipment and storage medium
CN111338854A (en) Kubernetes cluster-based method and system for quickly recovering data
CN105320578A (en) Method and apparatus for backing up and recovering APP
CN105450759A (en) System mirror image management method and device
US20030188223A1 (en) BIOS shadowed small-print hard disk drive as robust, always on, backup for hard disk image & software failure
CN101645020A (en) Virtual operating system creation method
US8875132B2 (en) Method and apparatus for implementing virtual proxy to support heterogeneous systems management
CN112256393B (en) Resource management method and equipment for bare metal server
US8117432B2 (en) Method for controlling boot sequence of server
CN101714092B (en) Method for controlling boot sequence of server
CN110083399A (en) Small routine operation method, computer equipment and storage medium
CN106250125A (en) Obtain the method and device of daily record
CN110928554A (en) Deployment method, device, equipment and storage medium
CN103685408A (en) Server for providing reading base mirror by storage area network, host and method
CN108287735A (en) A kind of method, apparatus and server obtaining UEFI OS startup items
CN102710433B (en) A kind of online upgrading processing method, relevant apparatus and system
CN101986662A (en) Widget instance operation method and system
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
CN101387963A (en) Method and system for optimizing system integration
US7350214B2 (en) Printer driver initialization
CN114020457A (en) OpenStack deployment method and device and electronic equipment

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