TWI381311B - A method of controlling the booting sequence of a server - Google Patents

A method of controlling the booting sequence of a server Download PDF

Info

Publication number
TWI381311B
TWI381311B TW97137825A TW97137825A TWI381311B TW I381311 B TWI381311 B TW I381311B TW 97137825 A TW97137825 A TW 97137825A TW 97137825 A TW97137825 A TW 97137825A TW I381311 B TWI381311 B TW I381311B
Authority
TW
Taiwan
Prior art keywords
server
writable
readable
mobile storage
storage device
Prior art date
Application number
TW97137825A
Other languages
Chinese (zh)
Other versions
TW201015436A (en
Inventor
Long Chen
Tom Chen
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 TW97137825A priority Critical patent/TWI381311B/en
Publication of TW201015436A publication Critical patent/TW201015436A/en
Application granted granted Critical
Publication of TWI381311B publication Critical patent/TWI381311B/en

Links

Landscapes

  • Stored Programmes (AREA)

Description

一種伺服器啟動順序之控制方法Method for controlling server startup sequence

本發明係關於一種伺服器啟動順序之控制方法,尤其係關於一種透過可讀寫移動儲存設備實現對伺服器之啟動順序進行控制的方法。The present invention relates to a method for controlling the startup sequence of a server, and more particularly to a method for controlling the startup sequence of a server through a readable and writable mobile storage device.

目前,隨著網路技術的飛速發展與日益普及,網路已經成為人們在日常的工作與生活中藉以獲取資訊與進行通訊之首選工具。而在網路中,伺服器可用於為客戶端提供各種服務(如:允許或限制共享資源之存取、自動備份資料以及從遠端電腦存取作業資料等)。At present, with the rapid development and popularity of network technology, the Internet has become the preferred tool for people to obtain information and communicate in their daily work and life. In the network, the server can be used to provide various services for the client (such as: allowing or restricting access to shared resources, automatically backing up data, and accessing job data from a remote computer).

在伺服器管理領域,管理軟體在某些情況下會要求目標伺服器透過預先載入執行環境(PXE)或虛擬媒介(Virtual Media)進行網路啟動,完成某些特定的管理作業。為了能夠透過網路啟動伺服器,人們已經開發出了多種方案,藉以控制伺服器之啟動順序。其中,預先載入執行環境(PXE)係為網路技術中遠端程式載入(RPL,Remote Program Load)技術之延伸,係用於在電腦本身並無開機系統,或根本沒有硬碟時透過遠端伺服器執行開機,並使用遠端之系統,同時預先載入執行環境也可透過遠端伺服器來執行系統或應用程式之安裝。In the field of server management, in some cases, the management software requires the target server to perform network startup through a preloaded execution environment (PXE) or virtual media (Virtual Media) to perform certain management tasks. In order to be able to boot the server over the network, various schemes have been developed to control the startup sequence of the server. Among them, the pre-loading execution environment (PXE) is an extension of the remote program load (RPL) technology in the network technology. It is used when the computer itself does not have a booting system, or when there is no hard disk at all. The remote server performs booting and uses the remote system. The preloaded execution environment can also be used to perform system or application installation via the remote server.

其中,習知的用於控制伺服器之啟動順序的方法主要有下列 幾種:第一方案:對目標伺服器進行設置,藉以使網路卡之默認狀態為啟動,進而透過對預先載入執行環境之伺服程式進行控制,藉以決定是否使此目標伺服器從預先載入執行環境啟動。Among them, the conventional methods for controlling the startup sequence of the server mainly include the following Several: The first solution: setting the target server, so that the default state of the network card is started, and then controlling the server program preloaded into the execution environment to determine whether to make the target server preloaded. The execution environment is started.

第二方案:透過目標伺服器之基本輸出入系統(BIOS)所提供的公用程式於作業系統中實現啟動順序之變更。The second solution: the startup sequence is changed in the operating system by the utility provided by the basic input/output system (BIOS) of the target server.

第三方案:透過管理晶片,如主機板控制管理器(BMC)實現對伺服器之基本輸出入系統之啟動順序進行控制。The third solution: through the management of the wafer, such as the motherboard control manager (BMC) to achieve the control of the basic output of the server into the system.

第四方案:透過控制虛擬媒介所指向之遠端之ISO檔案,而改變伺服器之啟動順序。The fourth scheme: changing the startup sequence of the server by controlling the remote ISO file pointed to by the virtual medium.

但是,上述四種方案中,第一方案之缺陷在於需要完全地對預先載入執行環境之伺服程式進行控制,而第二方案、第三方案及第四方案之缺陷在於對硬體之要求較高。However, among the above four solutions, the first solution has the drawback that it is necessary to completely control the servo program preloaded into the execution environment, and the defects of the second solution, the third solution and the fourth solution are that the requirements for the hardware are more high.

總而言之,習知技術中的各種方案仍然存有以下幾項缺陷:第一,因對於硬體之要求較高,而導致成本增大;第二,因需要對伺服器之硬體及作業系統進行更改,而導致安全性降低;第三,因方案複雜而不便於執行。All in all, the various solutions in the prior art still have the following defects: first, because of the higher requirements for the hardware, the cost increases; second, because of the need for the hardware and operating system of the server. Changes, resulting in reduced security; third, due to the complexity of the program is not easy to implement.

為了解決上述習知技術中的問題與缺陷,本發明之目的在於提供一種伺服器啟動順序之控制方法,係透過可讀寫移動儲存設備實現對伺服器之啟動順序進行控制。In order to solve the problems and defects in the above prior art, an object of the present invention is to provide a method for controlling the startup sequence of a server, which controls the startup sequence of the server through the readable and writable mobile storage device.

本發明所提供之一種伺服器啟動順序之控制方法,係透過可讀寫移動儲存設備實現管理伺服器對目標伺服器之啟動順序進行控制,其中,此控制方法係包含:製做啟動映像,此啟動映像係用於啟動目標伺服器之作業系統,並將第一代理伺服程式放入該啟動映像中,第一代理伺服程式係用於與管理伺服器進行通訊;於可讀寫移動儲存設備上恢復包含有第一代理伺服程式之啟動映像,藉以使可讀寫移動儲存設備具有啟動目標伺服器之能力;於目標伺服器之由硬碟啟動之作業系統中安裝運行第二代理伺服程式,第二代理伺服程式係用於與管理伺服器進行通訊;對目標伺服器之基本輸出入系統進行設置,藉以使目標伺服器首先選擇從此可讀寫移動儲存設備啟動,當無法從此可讀寫移動儲存設備啟動時再從目標伺服器之硬碟啟動;以及第一代理伺服程式或第二代理伺服程式依據從管理伺服器所接收之啟動指令對可讀寫移動儲存設備中之啟動檔案進行修改,藉以使目標伺服器在下一次啟動時選擇從可讀寫移動儲存設備或目標伺服器之硬碟啟動目標伺服器。The method for controlling the startup sequence of the server provided by the present invention controls the startup sequence of the target server by the management server through the readable and writable mobile storage device, wherein the control method includes: making a boot image, The boot image is used to start the operating system of the target server, and the first proxy server is placed in the boot image, and the first proxy server is used to communicate with the management server; on the readable and writable mobile storage device Recovering the boot image containing the first proxy server program, so that the readable and writable mobile storage device has the ability to start the target server; installing and running the second proxy server program in the hard disk booting operating system of the target server, The second proxy server program is used for communication with the management server; the basic input and output system of the target server is set, so that the target server first selects to start from the readable and writable mobile storage device, when the removable storage cannot be read from here. When the device starts, it starts from the hard disk of the target server; and the first proxy server or the first The proxy server modifies the boot file in the readable and writable mobile storage device according to the startup command received from the management server, so that the target server selects the hard disk from the readable and writable mobile storage device or the target server at the next startup. The disc starts the target server.

綜上所述,本發明之優點在於:第一,在硬體配置上,本發明之伺服器啟動順序之控制方法僅需要可讀寫移動儲存設備,而無須其他硬體,進而減小了成本;第二,本發明之控制方法無須對目標伺服器之硬體及作業系統進行更改,進而使這種方法具有較高的安全性;第三,相對於習知的各種方法而言,本發明之控 制方法具有簡便易行之優點。In summary, the present invention has the following advantages: First, in the hardware configuration, the control method of the server startup sequence of the present invention only needs to be readable and writable mobile storage devices, without requiring other hardware, thereby reducing the cost. Secondly, the control method of the present invention does not need to modify the hardware and operating system of the target server, thereby making the method highly secure; and third, the present invention is relative to various conventional methods. Control The method has the advantage of being simple and easy.

「第1A圖」為用於執行本發明實施例之伺服器啟動順序之控制方法的系統之構架圖。如圖所示,此系統係包含有:管理伺服器10與目標伺服器20。"FIG. 1A" is a block diagram of a system for executing a control method of a server startup sequence in the embodiment of the present invention. As shown, the system includes: a management server 10 and a target server 20.

其中,管理伺服器10係包含有管理程式模組11,此管理程式模組11係用於向目標伺服器下達啟動指令,這種啟動指令係用於選擇下一次啟動時目標伺服器20將從硬碟啟動還是從可讀寫移動儲存設備21啟動。The management server 10 includes a management program module 11 for issuing a startup command to the target server, and the startup command is used to select the target server 20 from the next startup. The hard disk boot is also initiated from the readable and writable mobile storage device 21.

此處,可讀寫移動儲存設備21係包含第一代理伺服程式模組211,此第一代理伺服程式模組211係用於與管理伺服器10進行通訊。同時,目標伺服器20之作業系統22中包含有第二代理伺服程式模組221,與第一代理伺服程式模組211相似,此第二代理伺服程式模組221同樣用於與管理伺服器10進行通訊。管理伺服器10可透過第一代理伺服程式模組211與第二代理伺服程式模組221對目標伺服器20進行遠端控制,進而達到對目標伺服器20之啟動順序進行控制的目的。Here, the readable and writable mobile storage device 21 includes a first proxy server module 211 for communicating with the management server 10. At the same time, the operating system 22 of the target server 20 includes a second proxy server module 221, which is similar to the first proxy server module 211. The second proxy server module 221 is also used with the management server 10. Communicate. The management server 10 can remotely control the target server 20 through the first proxy server module 211 and the second proxy server module 221, thereby achieving the purpose of controlling the startup sequence of the target server 20.

下面,將結合「第1B圖」對「第1A圖」所示之系統的作業流程進行描述。Next, the operation flow of the system shown in "1A" will be described in conjunction with "1B".

「第1B圖」係為本發明實施例之伺服器啟動順序之控制方法 的方法流程圖,此方法係透過可讀寫移動儲存設備實現了管理伺服器對目標伺服器之啟動順序進行全方位地控制,進而改善了習知技術中之伺服器管理模式。"1B" is a method for controlling the startup sequence of the server according to the embodiment of the present invention. The method flow chart is implemented by the management server to comprehensively control the startup sequence of the target server through the readable and writable mobile storage device, thereby improving the server management mode in the prior art.

首先,製做啟動映像並將第一代理伺服程式放入該啟動映像中(步驟101)。此處,可根據此目標伺服器之作業系統,如Linux系統或Windows PE系統製做啟動映像,藉以能夠在後序步驟中從包含有此啟動映像之可讀寫移動儲存設備啟動此目標伺服器。此第一代理伺服程式係可隨啟動映像一同啟動並與管理伺服器進行通訊,進而使管理伺服器可透過此第一代理伺服程式對目標伺服器進行遠端控制。此處,若需要在啟動目標伺服器之作業系統的同時完成某些特定的管理工作,如:需要在目標伺服器之作業系統啟動時調用系統安全管理程式,則可將相應的管理應用程式一並放入此啟動映像中。First, a boot image is created and the first proxy server is placed in the boot image (step 101). Here, the boot image can be made according to the operating system of the target server, such as a Linux system or a Windows PE system, so that the target server can be started from the readable and writable mobile storage device containing the boot image in the subsequent steps. . The first proxy server program can be started along with the boot image and communicate with the management server, so that the management server can remotely control the target server through the first proxy server. Here, if it is necessary to complete some specific management work while starting the operating system of the target server, for example, if the system security management program needs to be called when the target server operating system is started, the corresponding management application can be And put it into this boot image.

接下來,於可讀寫移動儲存設備上恢復包含有第一代理伺服程式之啟動映像(步驟102),藉以使可讀寫移動儲存設備能夠啟動目標伺服器。同時,可將步驟101中預先放入此啟動映像中的管理應用程式一同複製到此可讀寫移動儲存設備中。Next, the boot image containing the first proxy server is restored on the readable and writable mobile storage device (step 102), so that the readable and writable mobile storage device can start the target server. At the same time, the management application pre-loaded in the boot image in step 101 can be copied to the readable and writable mobile storage device.

此處,用於啟動目標伺服器之可讀寫移動儲存設備便於製作,且本發明實施例中可讀寫移動儲存設備可作為目標伺服器之附屬元件。因此,在控制伺服器啟動順序之過程中不必對目標伺服器中原有的硬體進行任何改動,進而簡化了伺服器啟動順序之 控制方法。Here, the readable and writable mobile storage device for starting the target server is convenient to manufacture, and the readable and writable mobile storage device in the embodiment of the present invention can be used as an accessory component of the target server. Therefore, it is not necessary to make any changes to the original hardware in the target server during the control of the server startup sequence, thereby simplifying the server startup sequence. Control Method.

另外,此可讀寫移動儲存設備係為可複寫型光碟、可複寫型數位視訊光碟及USB快閃裝置中之任意一種。例如,對於配備有光碟燒錄機之目標伺服器而言,可選用可複寫型數位視訊光碟(DVD)作為可讀寫移動儲存設備。而為了使本發明實施例具有更為廣闊的應用範圍,本發明之優選實施例所選用之可讀寫移動儲存設備係為USB快閃裝置。這是因為,對伺服器而言具備USB介面係為最基本之配置要求,因此使用USB快閃裝置可進一步降低本發明實施例中伺服器啟動順序的控制方法對於伺服器硬體配置之要求。In addition, the readable and writable mobile storage device is any one of a rewritable optical disc, a rewritable digital video disc, and a USB flash device. For example, for a target server equipped with a CD burner, a rewritable digital video disc (DVD) can be selected as a readable and writable mobile storage device. In order to make the embodiment of the present invention have a wider application range, the readable and writable mobile storage device selected by the preferred embodiment of the present invention is a USB flash device. This is because the USB interface is the most basic configuration requirement for the server. Therefore, the USB flash device can further reduce the requirement of the server hardware configuration in the control method of the server startup sequence in the embodiment of the present invention.

而後,可於目標伺服器之由硬碟啟動之作業系統中安裝運行第二代理伺服程式(步驟103)。其中,此第二代理伺服程式係用於與該管理伺服器進行通訊,藉以使此管理伺服器可透過第二代理伺服程式對目標伺服器進行遠端控制。Then, the second proxy server can be installed and operated in the hard disk booting operating system of the target server (step 103). The second proxy server is configured to communicate with the management server, so that the management server can remotely control the target server through the second proxy server.

其中,上述第一代理伺服程式與第二代理伺服程式可分別對可讀寫移動儲存設備進行寫入作業,藉以在後續步驟中,透過第一代理伺服程式或第二代理伺服程式對可讀寫移動儲存設備所進行之寫入作業,使此可讀寫移動儲存設備失去或獲得啟動目標伺服器之能力,進而達到控制伺服器啟動順序之目的。The first proxy server program and the second proxy server program respectively perform a write operation on the readable and writable mobile storage device, so that in the subsequent step, the first proxy server program or the second proxy server program pair can be read and written. The write operation performed by the mobile storage device causes the readable and writable mobile storage device to lose or obtain the ability to start the target server, thereby achieving the purpose of controlling the server startup sequence.

此外,此第一代理伺服程式與第二代理伺服程式還可以直接與管理伺服器進行通訊,或在使用者輸入此管理伺服器之IP位址 後與此管理伺服器進行通訊。In addition, the first proxy server and the second proxy server can also directly communicate with the management server, or input the IP address of the management server to the user. Then communicate with this management server.

而在第一代理伺服程式與第二代理伺服程式與管理伺服器進行通訊後,第一代理伺服程式或第二代理伺服程式可依據管理伺服器之指令完成某些特定的管理作業,如調用某種管理應用程序。After the first proxy server and the second proxy server communicate with the management server, the first proxy server or the second proxy server can perform certain management tasks according to the instructions of the management server, such as calling a certain Management application.

在將可讀寫移動儲存設備連接至目標伺服器後,可對目標伺服器之基本輸出入系統進行設置(步驟104)。After the readable and writable mobile storage device is connected to the target server, the basic input and output system of the target server can be set (step 104).

具體而言,須將目標伺服器之基本輸出輸入系統(BIOS)中的啟動順序設定為:優先從可讀寫移動儲存設備啟動。藉以,使目標伺服器在每一次啟動時都會首先選擇從此可讀寫移動儲存設備啟動。其中,之所以使此管理伺服器在每一次啟動時首先選擇從可讀寫移動儲存設備啟動,是因為本發明實施例之伺服器啟動順序之控制方法的原理如下:必須始終確保此包含有目標伺服器之啟動映像的可讀寫移動儲存設備為此目標伺服器之第一啟動設備(或稱啟動點),進而當可讀寫移動儲存設備所包含之啟動映像無法啟動目標伺服器時,基本輸出入系統才可自動尋找下一個啟動點來啟動作業系統,即從此目標伺服器之硬碟啟動,進而達到控制目標伺服器之啟動順序的目的。Specifically, the boot sequence in the basic output input system (BIOS) of the target server must be set to: preferentially boot from the readable and writable mobile storage device. Therefore, the target server first selects to start from the readable and writable mobile storage device at each startup. The reason why the management server first selects to boot from the readable and writable mobile storage device at each startup is because the principle of the control method of the server startup sequence in the embodiment of the present invention is as follows: it must always be ensured that the target is included The readable and writable mobile storage device of the server boot image is the first boot device (or boot point) of the target server, and when the boot image included in the readable and writable mobile storage device cannot start the target server, the basic The input and output system can automatically find the next starting point to start the operating system, that is, start from the hard disk of the target server, thereby achieving the purpose of controlling the startup sequence of the target server.

其中,因為當第一啟動點失效時,基本輸出入系統依次尋找其他的啟動點來啟動作業系統之過程係為習知技術,所以此處不再進行贅述。Among them, because when the first starting point fails, the process of the basic input and output system sequentially searching for other starting points to start the operating system is a conventional technique, so it will not be described here.

此外,本領域之技術人員應當理解:當從目標伺服器上移除 此可讀寫移動儲存設備後,目標伺服器便可脫離管理伺服器之集中管理而獲得主動管理權。Moreover, those skilled in the art should understand that when removing from the target server After the readable and writable mobile storage device, the target server can obtain active management rights from the centralized management of the management server.

最後,依據管理伺服器所發出之啟動指令確定目標伺服器在下一次啟動時之啟動順序(步驟105)。Finally, the startup sequence of the target server at the next startup is determined according to the startup command issued by the management server (step 105).

其中,上述第一代理伺服程式或第二代理伺服程式可依據啟動指令中所作出的指示對可讀寫移動儲存設備中之啟動檔案進行修改,藉以使此可讀寫移動儲存設備失去或得到啟動目標伺服器之能力,進而在目標伺服器下一次啟動時,確定此目標伺服器將從可讀寫移動儲存設備啟動,還是從此目標伺服器之硬碟啟動,藉以最終達到控制目標伺服器之啟動順序的目的。The first proxy server or the second proxy server may modify the startup file in the readable and writable mobile storage device according to the instruction made in the startup instruction, so that the readable and writable mobile storage device is lost or activated. The capability of the target server, and then when the target server is next started, it is determined whether the target server will be booted from the readable and writable mobile storage device or from the hard disk of the target server, thereby finally achieving the startup of the control target server. The purpose of the order.

下面,將結合「第2圖」與「第3圖」對上述之步驟105作出詳細地描述。Hereinafter, the above-described step 105 will be described in detail in conjunction with "Fig. 2" and "Fig. 3".

「第2圖」為本發明實施例之伺服器啟動順序之控制方法中從目標伺服器之硬碟啟動目標伺服器之方法流程圖。FIG. 2 is a flowchart of a method for starting a target server from a hard disk of a target server in a method for controlling a server startup sequence according to an embodiment of the present invention.

如「第2圖」所示,第一代理伺服程式接收到指示從目標伺服器之硬碟啟動目標伺服器的啟動指令(步驟1051)。As shown in "Fig. 2", the first proxy server receives a boot command indicating that the target server is booted from the hard disk of the target server (step 1051).

而後,可透過此第一代理伺服程式對可讀寫移動儲存設備中之啟動檔案進行修改,藉以使可讀寫移動儲存設備失去啟動目標伺服器之能力(步驟1053)。Then, the boot file in the readable and writable mobile storage device can be modified by the first proxy server program, so that the readable and writable mobile storage device loses the ability to start the target server (step 1053).

其中,此可讀寫移動儲存設備中之啟動檔案,例如:boot.int或grub配置檔案,係用於在啟動作業系統時進行啟動引導,因此 可透過第一代理伺服程式對boot.int或grub配置檔案進行修改,藉以使此可讀寫移動儲存設備失去啟動目標伺服器之作業系統的能力,進而在下次啟動目標伺服器時,目標伺服器之基本輸出入系統可依次尋找下一啟動點(即:目標伺服器之硬碟)來啟動此目標伺服器。Wherein, the readable and writable boot file in the mobile storage device, for example: boot.int or grub configuration file, is used for booting when booting the operating system, so The boot.int or grub configuration file can be modified by the first proxy server program, so that the readable and writable mobile storage device loses the ability to start the target server operating system, and then the target server is started when the target server is started next time. The basic input and output system can sequentially find the next starting point (ie, the hard disk of the target server) to start the target server.

接下來,便可透過目標伺服器之硬碟啟動目標伺服器之作業系統(步驟1055)。Next, the operating system of the target server can be started through the hard disk of the target server (step 1055).

而在目標伺服器透過硬碟啟動之後,還需要啟動第一代理伺服程式或第二代理伺服程式(步驟1057),藉以使此目標伺服器一直處於管理伺服器之管理控制中,進而可根據實際需要隨時對目標伺服器之啟動順序進行調整。After the target server is booted through the hard disk, the first proxy server or the second proxy server is also required to be started (step 1057), so that the target server is always in the management control of the management server, and thus can be implemented according to the actual situation. The startup sequence of the target server needs to be adjusted at any time.

此處,本領域之技術人員應當理解:當移除此包含有啟動映像之可讀寫移動儲存設備時,此目標伺服器即可獲得主動管理權,換言之,當移除此可讀寫移動儲存設備時,目標伺服器便可直接從硬碟啟動。Here, those skilled in the art should understand that when the readable and writable mobile storage device including the boot image is removed, the target server can be actively managed, in other words, when the readable and writable mobile storage is removed. When the device is in use, the target server can be booted directly from the hard drive.

「第3圖」為本發明實施例之伺服器啟動順序之控制方法中從可讀寫移動儲存設備啟動目標伺服器之方法流程圖。FIG. 3 is a flowchart of a method for starting a target server from a readable and writable mobile storage device in a method for controlling a server startup sequence according to an embodiment of the present invention.

如「第3圖」所示,第二代理伺服程式接收到指示從可讀寫移動儲存設備啟動目標伺服器之啟動指令(步驟1052)。As shown in "Fig. 3", the second proxy server receives a boot command indicating that the target server is started from the readable and writable mobile storage device (step 1052).

透過此第二代理伺服程式對可讀寫移動儲存設備中之啟動檔案,例如:boot.int或grub配置檔案進行修改(步驟1054),藉以 使可讀寫移動儲存設備獲得啟動目標伺服器之能力。Modifying the boot file in the readable and writable mobile storage device, for example: boot.int or grub configuration file, by using the second proxy server (step 1054), thereby Enables the readable and writable mobile storage device to acquire the ability to start the target server.

而後,可透過此可讀寫移動儲存設備啟動目標伺服器(步驟1056)。The target server can then be booted through the readable and writable mobile storage device (step 1056).

透過上文描述,本領域之技術人員可以理解,本發明實施例之伺服器啟動順序之控制方法作為一種嶄新的伺服器管理方式,係具有下列優點:第一,在硬體配置上,本發明實施例之伺服器啟動順序之控制方法僅需要可讀寫移動儲存設備,而無須其他硬體,進而減小了成本;第二,本發明實施例之控制方法無須對目標伺服器之硬體及作業系統進行更改,進而使這種方法具有較高的安全性;第三,相對於習知的各種方法而言,本發明實施例之控制方法具有簡便易行之優點。Through the above description, those skilled in the art can understand that the control method of the server startup sequence of the embodiment of the present invention has the following advantages as a brand new server management method: First, in the hardware configuration, the present invention The control method of the server startup sequence of the embodiment only needs to be readable and writable mobile storage device, and does not need other hardware, thereby reducing the cost. Secondly, the control method of the embodiment of the invention does not need to be hardware for the target server. The operating system makes changes, which in turn makes the method highly secure. Third, the control method of the embodiment of the present invention has the advantages of simplicity and ease of comparison with various conventional methods.

雖然本發明以前述之較佳實施方式揭露如上,然其並非用以限定本發明。本領域之技術人員應當意識到在不脫離本發明所附之申請專利範圍所揭示之本發明之範圍和精神之情況下,所為之更動與潤飾,均屬本發明之專利保護範圍之內。關於本發明所界定之保護範圍請參考所附之申請專利範圍。While the invention has been described above in the foregoing preferred embodiments, it is not intended to limit the invention. It will be appreciated by those skilled in the art that modifications and modifications are possible within the scope of the present invention without departing from the scope and spirit of the invention as disclosed in the appended claims. Please refer to the attached patent application for the scope of protection defined by the present invention.

10‧‧‧管理伺服器10‧‧‧Management Server

11‧‧‧管理程式模組11‧‧‧Management Module

20‧‧‧目標伺服器20‧‧‧Target server

21‧‧‧可讀寫移動儲存設備21‧‧‧Read and write mobile storage devices

211‧‧‧第一代理伺服程式模組211‧‧‧First Agent Servo Module

22‧‧‧作業系統22‧‧‧Operating system

221‧‧‧第二代理伺服程式模組221‧‧‧Second Agent Servo Module

第1A圖為用於執行本發明實施例之伺服器啟動順序之控制方法的系統之構架圖;第1B圖為本發明實施例之伺服器啟動順序之控制方法的方法流程圖; 第2圖為本發明實施例之伺服器啟動順序之控制方法中從目標伺服器之硬碟啟動目標伺服器之方法流程圖;以及第3圖為本發明實施例之伺服器啟動順序之控制方法中從可讀寫移動儲存設備啟動目標伺服器之方法流程圖。1A is a structural diagram of a system for performing a control method of a server startup sequence according to an embodiment of the present invention; FIG. 1B is a flowchart of a method for controlling a server startup sequence according to an embodiment of the present invention; 2 is a flowchart of a method for starting a target server from a hard disk of a target server in a method for controlling a server startup sequence according to an embodiment of the present invention; and FIG. 3 is a method for controlling a server startup sequence according to an embodiment of the present invention; A flow chart of a method for starting a target server from a readable and writable mobile storage device.

Claims (7)

一種伺服器啟動順序之控制方法,藉以透過一可讀寫移動儲存設備實現一管理伺服器對目標伺服器之啟動順序進行控制,該控制方法係包含:製做一啟動映像,該啟動映像係用於啟動該目標伺服器之一作業系統,並將一第一代理伺服程式放入該啟動映像中,該第一代理伺服程式係用於與該管理伺服器進行通訊;於一可讀寫移動儲存設備上恢復包含有該第一代理伺服程式之該啟動映像,藉以使該可讀寫移動儲存設備具有啟動該目標伺服器之能力;於該目標伺服器之由硬碟啟動之作業系統中安裝運行一第二代理伺服程式,該第二代理伺服程式係用於與該管理伺服器進行通訊;對該目標伺服器之基本輸出入系統進行設置,藉以使該目標伺服器首先選擇從該可讀寫移動儲存設備啟動,當無法從該可讀寫移動儲存設備啟動時再從該目標伺服器之硬碟啟動;以及依據該第一代理伺服程式或該第二代理伺服程式從該管理伺服器所接收之一啟動指令,藉以在該目標伺服器下一次啟動時選擇從該可讀寫移動儲存設備或該目標伺服器之硬碟啟動該目標伺服器。A method for controlling a server startup sequence, wherein a management server is used to control a boot sequence of a target server through a readable and writable mobile storage device, the control method comprising: making a boot image, the boot image is used Initiating an operating system of the target server, and placing a first proxy server program for communicating with the management server; the first proxy server is for reading and writing mobile storage Recovering the boot image of the first proxy server program on the device, so that the readable and writable mobile storage device has the capability of starting the target server; installing and running on the hard disk booting operating system of the target server a second proxy server program for communicating with the management server; setting a basic input/output system of the target server, so that the target server first selects from the readable and writable The mobile storage device is booted, and when booting from the readable and writable mobile storage device, booting from the hard disk of the target server; And selecting, according to the first proxy server or the second proxy server, a startup command received from the management server, so as to select from the readable and writable mobile storage device or the target server when the target server is next started The hard drive starts the target server. 如。請專利範圍第1項所述之伺服器啟動順序之控制方法,其 中當該第一代理伺服程式接收到從該目標伺服器之硬碟啟動該目標伺服器之啟動指令時,透過該第一代理伺服程式對該可讀寫移動儲存設備中之啟動檔案進行修改,藉以使該可讀寫移動儲存設備失去啟動該目標伺服器之能力。Such as. Please refer to the control method of the server startup sequence described in item 1 of the patent scope, When the first proxy server receives the boot command from the hard disk of the target server to start the target server, the boot file in the readable and writable mobile storage device is modified by the first proxy server. In order to make the readable and writable mobile storage device lose the ability to start the target server. 如申請專利範圍第2項所述之伺服器啟動順序之控制方法,其中當該第二代理伺服程式接收到從該可讀寫移動儲存設備啟動該目標伺服器之啟動指令時,透過該第二代理伺服程式對該可讀寫移動儲存設備中之啟動檔案進行修改,藉以使該可讀寫移動儲存設備獲得啟動該目標伺服器之能力。The method for controlling a server startup sequence according to claim 2, wherein when the second proxy server receives a startup command to start the target server from the readable and writable mobile storage device, The proxy server modifies the boot file in the readable and writable mobile storage device to enable the readable and writable mobile storage device to obtain the capability to start the target server. 如申請專利範圍第1項所述之伺服器啟動順序之控制方法,其中從該目標伺服器之硬碟啟動該目標伺服器之後,還包含啟動該第一代理伺服程式或該第二代理伺服程式之步驟。The method for controlling a server startup sequence according to claim 1, wherein after the target server is started from the hard disk of the target server, the first proxy server or the second proxy server is further activated. The steps. 如申請專利範圍第1項所述之伺服器啟動順序之控制方法,其中該第一代理伺服程式係隨該啟動映像一同啟動。The method for controlling a server startup sequence according to claim 1, wherein the first proxy servo program is started together with the startup image. 如申請專利範圍第1項所述之伺服器啟動順序之控制方法,其中該第一代理伺服程式與該第二代理伺服程式係直接與該管理伺服器進行通訊,或者在輸入該管理伺服器之IP位址後與該管理伺服器進行通訊。The method for controlling a server startup sequence according to claim 1, wherein the first proxy server and the second proxy server directly communicate with the management server, or input the management server. After the IP address, it communicates with the management server. 如申請專利範圍第1項所述之伺服器啟動順序之控制方法,其中該可讀寫移動儲存設備係為可複寫型光碟、可複寫型數位視訊光碟及USB快閃裝置中之任意一種。The method for controlling a server startup sequence as described in claim 1, wherein the readable and writable mobile storage device is any one of a rewritable optical disc, a rewritable digital video disc, and a USB flash device.
TW97137825A 2008-10-01 2008-10-01 A method of controlling the booting sequence of a server TWI381311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97137825A TWI381311B (en) 2008-10-01 2008-10-01 A method of controlling the booting sequence of a server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97137825A TWI381311B (en) 2008-10-01 2008-10-01 A method of controlling the booting sequence of a server

Publications (2)

Publication Number Publication Date
TW201015436A TW201015436A (en) 2010-04-16
TWI381311B true TWI381311B (en) 2013-01-01

Family

ID=44830038

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97137825A TWI381311B (en) 2008-10-01 2008-10-01 A method of controlling the booting sequence of a server

Country Status (1)

Country Link
TW (1) TWI381311B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6625754B1 (en) * 2000-03-16 2003-09-23 International Business Machines Corporation Automatic recovery of a corrupted boot image in a data processing system
TWI295430B (en) * 2005-11-01 2008-04-01 Univ Nat Formosa
US20080082809A1 (en) * 2006-09-29 2008-04-03 Rothman Michael A System and method for increasing platform network boot efficiency

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6625754B1 (en) * 2000-03-16 2003-09-23 International Business Machines Corporation Automatic recovery of a corrupted boot image in a data processing system
TWI295430B (en) * 2005-11-01 2008-04-01 Univ Nat Formosa
US20080082809A1 (en) * 2006-09-29 2008-04-03 Rothman Michael A System and method for increasing platform network boot efficiency

Also Published As

Publication number Publication date
TW201015436A (en) 2010-04-16

Similar Documents

Publication Publication Date Title
EP2513789B1 (en) A secure virtualization environment bootable from an external media device
TWI610238B (en) Fast computer startup
US9015705B2 (en) Computing device having a migrated virtual machine accessing physical storage space on another computing device
RU2432605C1 (en) Method of extending server-based desktop virtual machine architecture to client machines and machine-readable medium
US7555568B2 (en) Method and apparatus for operating a host computer from a portable apparatus
US10296423B2 (en) System and method for live virtual incremental restoring of data from cloud storage
US8370614B2 (en) Booting a computer device
US9600369B2 (en) Operating system recovery method and apparatus, and terminal device
TW200805159A (en) Method and apparatus for fast boot of an operating system
US20060155748A1 (en) Use of server instances and processing elements to define a server
CN112256393B (en) Resource management method and equipment for bare metal server
WO2020177699A1 (en) App execution method, computer device, and storage medium
JP5186098B2 (en) Method, system, and computer program for backing up data
US8117432B2 (en) Method for controlling boot sequence of server
CN107463388A (en) A kind of UEFI non-disk startups method
US9852029B2 (en) Managing a computing system crash
EP3769225B1 (en) Free space pass-through
TWI559227B (en) Computer system having two built-in operating devices that can be dynamically powered on or powered off
TWI381311B (en) A method of controlling the booting sequence of a server
CN101714092B (en) Method for controlling boot sequence of server
JP2008077600A (en) Thin client, thin client system and program
JP4105657B2 (en) Computer system having entertainment mode function
CN102681859A (en) Method for starting Windows operation systems from USB (universal serial bus) mass storage device
JP2017084014A (en) Information processing apparatus
JP2008059388A (en) Information processor and data erasing method of hard disk applied to information processor

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees