TW201523230A - Auto node deployment method and server system therefor - Google Patents

Auto node deployment method and server system therefor Download PDF

Info

Publication number
TW201523230A
TW201523230A TW102144919A TW102144919A TW201523230A TW 201523230 A TW201523230 A TW 201523230A TW 102144919 A TW102144919 A TW 102144919A TW 102144919 A TW102144919 A TW 102144919A TW 201523230 A TW201523230 A TW 201523230A
Authority
TW
Taiwan
Prior art keywords
nodes
node
server system
information
server
Prior art date
Application number
TW102144919A
Other languages
Chinese (zh)
Other versions
TWI502335B (en
Inventor
Ying-Chih Lu
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 TW102144919A priority Critical patent/TWI502335B/en
Publication of TW201523230A publication Critical patent/TW201523230A/en
Application granted granted Critical
Publication of TWI502335B publication Critical patent/TWI502335B/en

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An auto node deployment method and a server system are provided. The auto node deployment method is used to the server system which includes a plurality of first nodes. The auto node deployment method comprises receiving the node information of first nodes for the node information of the first nodes; identifying, according to the information of the first nodes, the hardware information of the first nodes by installing the operation system to the first nodes; integrating the hardware information of first nodes to produce a plurality of second nodes; receiving the node information of the second nodes for getting the node type of the second nodes; dispatching, according the node type of the second nodes, the second nodes to the server system with installing the software package to the second nodes; and adjusting, according to a dispatching strategy, the numbers of the second nodes which are dispatching in the server system.

Description

自動節點配置方法及伺服器系統 Automatic node configuration method and server system

本發明係關於一種自動節點配置方法及伺服器系統,特別是一種依據伺服器系統負載自動配置節點的自動節點配置方法及伺服器系統。 The invention relates to an automatic node configuration method and a server system, in particular to an automatic node configuration method and a server system for automatically configuring nodes according to a server system load.

隨著科技的進步,雲端運算(Cloud Computing)已廣泛使用於三種主流的服務,即為軟體即服務(Software as a Service,SaaS)、平台即服務(Platform as a Service,PaaS)及基礎架構即服務(Infrastructure as a Service,IaaS)。基礎架構即服務現今已逐漸應用到網路上的各個服務,基礎架構即服務提供了虛擬儲存空間(Virtual Storage)、虛擬機(Virtual Machine)、虛擬機叢聚(Virtual Machines Cluster)及虛擬資料中心(Virtual Data Center)讓使用者使用。而使用者基於上述的服務,使用者提供網路服務。如欲啟動執行環境伺服器(Preboot execution environment server,PXE server)、動態主機設定協定伺服器(Dynamic Host Configuration Protocol Server,DHCP Server)、網路時間協定伺服器(Network Time Protocol Server,NTP Server)、網域名稱系統伺服器(Domain Name System Server, DNS Server)及異常監控伺服器(Monitor Server)等。 With the advancement of technology, Cloud Computing has been widely used in three mainstream services, namely Software as a Service (SaaS), Platform as a Service (PaaS) and infrastructure. Infrastructure as a Service (IaaS). Infrastructure-as-a-service is now increasingly applied to services on the network. Infrastructure-as-a-service provides virtual storage, virtual machines, virtual machine clusters, and virtual data centers ( Virtual Data Center) is for users to use. The user provides network services based on the above services. To start the Preboot execution environment server (PXE server), the Dynamic Host Configuration Protocol Server (DHCP Server), and the Network Time Protocol Server (NTP Server). Domain Name System Server (Domain Name System Server, DNS Server) and abnormality monitoring server (Monitor Server).

而上述伺服器之網路服務,其負載(loading)皆取決於有多少用戶連接到伺服器使用網路服務。若用戶的人數暴增,伺服器往往會因為過多的負載而處理不暇,造成連線過慢或當機。但若用戶的人數過少,往往會造成伺服器的資源浪費。也因為用戶的人數時常變動,所以上述的網路服務,已逐步轉移到彈性較大的基礎架構即服務上。 The server's network service, its load depends on how many users are connected to the server to use the network service. If the number of users increases sharply, the server will often handle the problem due to excessive load, causing the connection to be too slow or down. However, if the number of users is too small, it will often waste the resources of the server. Also, because the number of users changes from time to time, the above-mentioned network services have gradually shifted to the more flexible infrastructure as a service.

並且,基礎架構即服務的資源配置,目前皆以預先配置的方式進行資源配置。例如針對不同的網路服務,配置不同的資源,如儲存空間較多或運算效能為主等資源配置方式。而當用戶數增加或減少時,網路服務的管理者必須時常監看網路服務的負載狀態,並手動調整網路服務所使用的資源數量。這樣一來,往往會造成無法及時因應情況調整及人力資源的浪費。 Moreover, the resource configuration of the infrastructure as a service is currently configured in a pre-configured manner. For example, for different network services, configure different resources, such as resource storage or computing power. When the number of users increases or decreases, the administrator of the network service must constantly monitor the load status of the network service and manually adjust the amount of resources used by the network service. As a result, it is often impossible to adjust to the situation and waste human resources in a timely manner.

目前雖有針對固定的部分時段預估網路服務的負載,並定時依據預估的結果進行資源調整。然而,由於網路服務的突發狀況多數無法預知,因此網路服務的負載變化大多無法準確預測。定時的調整往往會造成更多資源浪費,反而增加成本的損耗。因此,基礎架構即服務的資源配置仍有改善的空間。 At present, the load of the network service is estimated for a fixed period of time, and the resource adjustment is performed based on the estimated result at regular intervals. However, due to the unpredictability of network service emergencies, most of the network service load changes cannot be accurately predicted. Timing adjustments often result in more waste of resources, which in turn increases the cost of loss. Therefore, there is still room for improvement in the infrastructure-as-a-service resource configuration.

有鑑於以上的問題,本發明提出一種依據伺服器 系統負載自動配置節點的自動節點配置方法及伺服器系統以幫助伺服器系統可以依據負載自動調整節點數量以因應伺服器系統所需。避免由於負載增加無法及時因應造成伺服器系統緩慢或無力負荷,或是伺服器系統之負載降低時無法即時釋出閒置之節點以供其他服務使用。 In view of the above problems, the present invention proposes a basis server The system load automatically configures the node's automatic node configuration method and server system to help the server system automatically adjust the number of nodes according to the load to meet the needs of the server system. Avoid the slow or inefficient load of the server system due to the increase of the load, or the idle system cannot be released immediately for other services when the load of the server system is reduced.

本發明提供一種自動節點配置方法,適於一伺服器系統,伺服器系統具有多個第一節點。此自動節點配置方法包括下列步驟。接收第一節點的節點資訊,以取得第一節點的更多節點資訊。依據第一節點的節點資訊,對每一第一節點安裝一作業系統,以識別第一節點的硬體資訊。整合第一節點的硬體資訊,以產生多個第二節點。接收第二節點的節點資訊,以取得第二節點的節點類型。依據第二節點的節點類型,對每一第二節點安裝一軟體封裝資料,以配置第二節點至伺服器系統,使伺服器系統啟動並正常運作。並依據一配置策略,調整伺服器系統配置之第二節點的數量。 The invention provides an automatic node configuration method, which is suitable for a server system, and the server system has a plurality of first nodes. This automatic node configuration method includes the following steps. Receiving node information of the first node to obtain more node information of the first node. According to the node information of the first node, an operating system is installed for each first node to identify the hardware information of the first node. The hardware information of the first node is integrated to generate a plurality of second nodes. Receiving node information of the second node to obtain a node type of the second node. According to the node type of the second node, a software package data is installed for each second node to configure the second node to the server system, so that the server system is started and operates normally. And according to a configuration strategy, adjust the number of second nodes of the server system configuration.

在本發明一實施例中,前述伺服器系統係以最少可運作之第二節點的數量進行運作。 In an embodiment of the invention, the server system operates with a minimum number of second nodes that are operational.

在本發明一實施例中,前述依據配置策略調整伺服器系統配置之些第二節點的數量的步驟包括下列步驟。依據第二節點,建立一節點屬性列表。偵測伺服器系統之一系統負載值。並當系統負載值大於等於一系統高負載瓶頸值時,增加配置於伺服器系統的第二節點的數量。 In an embodiment of the invention, the step of adjusting the number of the second nodes of the server system configuration according to the configuration policy includes the following steps. According to the second node, a node attribute list is established. Detects one of the system load values of the server system. And when the system load value is greater than or equal to a system high load bottleneck value, the number of second nodes configured in the server system is increased.

在本發明一實施例中,前述偵測伺服器系統之系統負載值的步驟包括下列步驟。當系統負載值小於一系統低負載瓶頸值時,減少配置於伺服器系統的第二節點的數量。 In an embodiment of the invention, the step of detecting a system load value of the server system includes the following steps. When the system load value is less than a system low load bottleneck value, the number of second nodes configured in the server system is reduced.

本發明提供一種伺服器系統,此伺服器系統包括多個第一節點、多個第二節點、一資料庫及一配置模組。多個第二節點係依據第一節點的硬體資訊進行整合後產生。資料庫係用以儲存第一節點的節點資訊、第二節點的節點資訊與第二節點的節點類型。配置模組耦接第一節點、第二節點與資料庫,接收第一節點的節點資訊,以取得第一節點的資訊,並依據第一節點的節點資訊,對每一第一節點安裝一作業系統,以識別第一節點的硬體資訊,依據第一節點的硬體資訊產生多個第二節點,接收第二節點的節點資訊,以取得第二節點的節點類型,後依據第二節點的節點類型,對每一第二節點安裝一軟體封裝資料,以配置第二節點至伺服器系統,使伺服器系統啟動並正常運作,依據一配置策略調整伺服器系統配置之第二節點的數量。 The present invention provides a server system including a plurality of first nodes, a plurality of second nodes, a database, and a configuration module. The plurality of second nodes are generated according to the hardware information of the first node. The database is used to store node information of the first node, node information of the second node, and node type of the second node. The configuration module is coupled to the first node, the second node, and the database, and receives node information of the first node to obtain information of the first node, and installs an operation for each first node according to node information of the first node. The system, in order to identify the hardware information of the first node, generate a plurality of second nodes according to the hardware information of the first node, receive node information of the second node, to obtain the node type of the second node, and then according to the second node The node type is installed with a software package data for each second node to configure the second node to the server system to enable the server system to start up and operate normally, and adjust the number of second nodes configured by the server system according to a configuration policy.

在本發明一實施例中,前述伺服器系統係以最少可運作之第二節點的數量進行運作。 In an embodiment of the invention, the server system operates with a minimum number of second nodes that are operational.

在本發明一實施例中,前述配置策略包括依據第二節點,建立一節點屬性列表,並偵測伺服器系統之系統負載值,當系統負載值大於等於一系統高負載瓶頸值時,增加配置於伺服器系統的第二節點的數量。 In an embodiment of the present invention, the foregoing configuration policy includes: establishing a node attribute list according to the second node, and detecting a system load value of the server system, and increasing the configuration when the system load value is greater than or equal to a system high load bottleneck value. The number of second nodes in the server system.

在本發明一實施例中,前述當系統負載值小於系統高負載瓶頸值時,減少配置於伺服器系統的第二節點的數量。 In an embodiment of the invention, when the system load value is less than the system high load bottleneck value, the number of the second nodes configured in the server system is reduced.

本發明所揭露之自動節點配置方法及伺服器系統,藉由伺服器系統的負載狀態,而據以決定配置於伺服器系統的節點數。先接收伺服器系統中第一節點的節點資訊,以取得第一節點的資訊。再依據第一節點的節點資訊,對每一第一節點安裝一作業系統,以識別第一節點的硬體資訊。並整合第一節點的硬體資訊,以產生多個第二節點。接收第二節點的節點資訊,以取得第二節點的節點類型。依據第二節點的節點類型,對每一第二節點安裝一軟體封裝資料,以配置第二節點至伺服器系統,使伺服器系統啟動並正常運作。並依據一配置策略,調整伺服器系統配置之第二節點的數量。如此一來,當伺服器系統的負載提高或降低時,可有效即時因應伺服器系統的資源需求,以增加伺服器系統的穩定性。 According to the automatic node configuration method and the server system disclosed in the present invention, the number of nodes arranged in the server system is determined by the load state of the server system. First, the node information of the first node in the server system is received to obtain the information of the first node. Then, according to the node information of the first node, an operating system is installed for each first node to identify the hardware information of the first node. And integrating the hardware information of the first node to generate a plurality of second nodes. Receiving node information of the second node to obtain a node type of the second node. According to the node type of the second node, a software package data is installed for each second node to configure the second node to the server system, so that the server system is started and operates normally. And according to a configuration strategy, adjust the number of second nodes of the server system configuration. In this way, when the load of the server system is increased or decreased, the resource requirements of the server system can be effectively and immediately increased to increase the stability of the server system.

以上之關於本發明內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。 The above description of the present invention and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention.

1、4‧‧‧伺服器系統 1, 4‧‧‧ server system

10、40‧‧‧第一節點 10, 40‧‧‧ first node

11、41‧‧‧第二節點 11, 41‧‧‧ second node

410‧‧‧運算節點 410‧‧‧Operation node

411‧‧‧儲存節點 411‧‧‧ Storage node

412‧‧‧服務節點 412‧‧‧ service node

12、42‧‧‧資料庫 12. 42‧‧‧ database

13、43‧‧‧配置模組 13, 43‧‧‧ configuration module

430‧‧‧節點屬性列表 430‧‧‧node attribute list

S201~S206、S301~305‧‧‧步驟流程 S201~S206, S301~305‧‧‧ Step procedure

第1圖,係為根據本發明一實施例之伺服器系統的系統架 構圖。 1 is a system frame of a server system according to an embodiment of the present invention Composition.

第2圖,係為根據本發明一實施例之自動節點配置方法的流程圖。 2 is a flow chart of an automatic node configuration method according to an embodiment of the present invention.

第3圖,係為根據本發明另一實施例之自動節點配置方法的流程圖。 3 is a flow chart of an automatic node configuration method according to another embodiment of the present invention.

第4圖,係為根據本發明一實施例之伺服器系統的範例架構圖。 Figure 4 is a diagram showing an exemplary architecture of a server system in accordance with an embodiment of the present invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所發明之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。 The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the invention. The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

請參考『第1圖』,其為根據本發明一實施例之伺服器系統的系統架構圖。伺服器系統1包括第一節點10、第二節點11、資料庫12及配置模組13。伺服器系統1可例如為雲端服務供應伺服器(Cloud Service Provision Server)。伺服器系統1係用以提供例如為軟體即服務、平台即服務及基礎架構即服務等雲端服務,並依據欲執行之服務配置相對應的資源。第一節點10係例如為於雲端服務架構下,由伺服器系統1分配硬體資源產生的基礎資源節點。此基礎資源節點僅 有硬體配置之資訊,當未安裝作業系統時無法運作。第二節點11係例如為組合第一節點10後,第二節點11例如可作為服務節點、儲存節點及運算節點。且在第一節點10尚未組合成為第二節點11之前,第一節點10需例如先安裝作業系統以識別第一節點10的硬體資訊。 Please refer to FIG. 1 , which is a system architecture diagram of a server system according to an embodiment of the invention. The server system 1 includes a first node 10, a second node 11, a database 12, and a configuration module 13. The server system 1 can be, for example, a Cloud Service Provision Server. The server system 1 is used to provide cloud services such as software as a service, platform as a service, and infrastructure as a service, and configure corresponding resources according to the service to be executed. The first node 10 is, for example, a basic resource node generated by the server system 1 by the server system 1 under the cloud service architecture. This base resource node only Information on hardware configuration does not work when the operating system is not installed. The second node 11 is, for example, a combination of the first node 10, and the second node 11 can serve, for example, as a service node, a storage node, and an arithmetic node. And before the first node 10 has been combined into the second node 11, the first node 10 needs to install the operating system to identify the hardware information of the first node 10, for example.

於本實施例中,前述服務節點係用以執行網際網路服務,如超文本傳輸協定(Hyper Text Transfer Protocol,HTTP)及資料庫(Database)存取服務等網際網路服務。前述儲存節點係用以執行雲端資料存取服務,如檔案傳輸協定(File Transfer Protocol,FTP)及雲端硬碟等雲端資料存取服務。前述運算節點係用以執行雲端運算服務,如大型資料整理及客戶管理系統等雲端運算服務。資料庫12係例如用以儲存第一節點10的節點資訊、第二節點11的節點資訊與第二節點11的節點類型。配置模組13係依據資料庫12進行第二節點11的配置,並配置模組13依據配置策略增減已配置的第二節點11的數量。配置模組13更可建立節點屬性表,用以紀錄第二節點11的分類用以加快配置的速度。 In this embodiment, the foregoing service node is used to perform Internet services such as Hypertext Transfer Protocol (HTTP) and Database access services. The foregoing storage node is used to execute cloud data access services, such as a file transfer protocol (FTP) and a cloud data access service such as a cloud hard disk. The aforementioned computing nodes are used to execute cloud computing services, such as cloud computing services such as large data sorting and customer management systems. The database 12 is used, for example, to store node information of the first node 10, node information of the second node 11, and node type of the second node 11. The configuration module 13 performs the configuration of the second node 11 according to the database 12, and the configuration module 13 increases or decreases the number of configured second nodes 11 according to the configuration policy. The configuration module 13 can further establish a node attribute table for recording the classification of the second node 11 to speed up the configuration.

舉例來說,當伺服器系統1啟動後,伺服器系統1之處理單元先進行初始化的設定。當伺服器系統1之初始化設定完畢後,伺服器系統1之處理單元偵測第一節點10的數量及資訊,此資訊例如包括基板管理控制器的網路實體位址(BMC NIC MAC/IP address)及主機網路實體位址(host NIC MAC/IP address)。前述偵測第一節點10的方式例如為處理單元執行節點自動偵測執行緒(Node Auto Detection Daemon,NAD Daemon)。其中,節點自動偵測執行緒係為依固定時間由處理單元執行的常駐於伺服器系統1的執行緒,且此執行緒提供應用程序接口(Application Program Interface,API),此應用程序接口例如為以通訊協定接口(TCP/IP socket)進行程序互聯溝通(interprocess communication,IPC)與來其它之執行緒互動。伺服器系統1經由節點自動偵測執行緒偵測第一節點10之數量與資訊後,伺服器系統1將第一節點10之數量與資訊儲存於資料庫12中。伺服器系統1更可經由處理單元執行節點供應執行緒(Node Provision Daemon,NP Daemon),節點供應執行緒亦為依固定時間由處理單元執行的常駐執行緒。伺服器系統1經由節點供應執行緒更進一步於第一節點10上安裝作業系統,以識別第一節點10的硬體資訊(例如為SMBIOS之資料)。第一節點10上安裝作業系統可例如為欲啟動執行環境開機系統(Preboot eXecution Enviorment boot,PXE boot)方式來進行安裝。 For example, when the server system 1 is started, the processing unit of the server system 1 first performs initial setting. After the initialization of the server system 1 is completed, the processing unit of the server system 1 detects the number and information of the first node 10, and the information includes, for example, the network entity address of the baseboard management controller (BMC NIC MAC/IP address). ) and host network entity address (host NIC) MAC/IP address). The foregoing method for detecting the first node 10 is, for example, a processing unit performing a Node Auto Detection Daemon (NAD Daemon). The node automatic detection thread is a thread resident in the server system 1 executed by the processing unit according to a fixed time, and the thread provides an application program interface (API), for example, the application program interface is Interprocess communication (IPC) with the protocol interface (TCP/IP socket) interacts with other threads. After the server system 1 automatically detects the number and information of the first node 10 via the node, the server system 1 stores the quantity and information of the first node 10 in the database 12. The server system 1 can further execute a Node Provisioning Daemon (NP Daemon) via the processing unit, and the node provisioning thread is also a resident thread executed by the processing unit according to a fixed time. The server system 1 further installs the operating system on the first node 10 via the node provisioning thread to identify the hardware information of the first node 10 (for example, the data of the SMBIOS). The installation of the operating system on the first node 10 can be performed, for example, by means of a Preboot eXecution Enviment Boot (PXE boot).

接著,第二節點11係經由伺服器系統1以處理單元整合第一節點10後產生,且第二節點可例如分類為服務節點、儲存節點及運算節點。於本實施例中,第二節點11中的服務節點例如由一個第一節點10組成。第二節點11中的儲存節點例如由三個第一節點10組成。第二節點11中的運 算節點例如由兩個第一節點10組成。然而,前述服務節點、儲存節點與運算節點的數量僅為本發明的一種實施範例,但本發明不限於此,伺服器系統1可視其需求調整這些節點的數量。伺服器系統1中的節點供應執行緒,亦將第二節點11的節點資訊與第二節點11的節點類型儲存於資料庫12中。 Then, the second node 11 is generated after the first node 10 is integrated by the processing unit via the server system 1, and the second node can be classified into, for example, a service node, a storage node, and an operation node. In the present embodiment, the service node in the second node 11 is composed of, for example, a first node 10. The storage node in the second node 11 consists, for example, of three first nodes 10. Transport in the second node 11 The arithmetic node consists, for example, of two first nodes 10. However, the foregoing number of service nodes, storage nodes and computing nodes is only one embodiment of the present invention, but the present invention is not limited thereto, and the server system 1 can adjust the number of these nodes according to its needs. The node supply thread in the server system 1 also stores the node information of the second node 11 and the node type of the second node 11 in the database 12.

並且,伺服器系統1中所執行的節點供應執行緒將針對儲存第二節點11的節點資訊與第二節點11的節點類型,對第二節點11安裝對應的軟體封裝資料。並經由配置模組13將第二節點11配置於伺服器系統1中,使伺服器系統1啟動服務並正常運作。並依據配置策略調整配置於伺服器系統1中第二節點11的數量,配置策略係為依照伺服器系統1負載進行設定。伺服器系統1例如經由最小雲配置執行緒(Minimum Cloud Deployment Daemon,MCD Daemon),配置啟動服務的最小量第二節點11。伺服器系統1例如經由需求雲配置執行緒(On-Demand Cloud Deployment Daemon,DCD Daemon),依據負載配置所需要的第二節點11之數量。 Moreover, the node provisioning thread executed in the server system 1 installs the corresponding software package data for the second node 11 for the node information storing the second node 11 and the node type of the second node 11. The second node 11 is placed in the server system 1 via the configuration module 13, so that the server system 1 starts the service and operates normally. The number of the second nodes 11 configured in the server system 1 is adjusted according to the configuration policy, and the configuration policy is set according to the load of the server system 1. The server system 1 configures a minimum amount of the second node 11 that initiates the service, for example, via a Minimum Cloud Deployment Daemon (MCD Daemon). The server system 1 is, for example, via the On-Demand Cloud Deployment Daemon (DCD Daemon), and the number of second nodes 11 required according to the load configuration.

藉由上述實施例的說明,可以歸納出一種自動節點配置方法。請參考『第2圖』,其係為根據本發明一實施例之自動節點配置方法的流程圖。本實施例之自動節點配置方法可適於伺服器系統。在步驟S201中,接收第一節點的節點資訊,以取得第一節點的節點資訊,此節點資訊例如包括基板管理控制器的網路實體位址(BMC NIC MAC/IP address)及主 機網路實體位址(host NIC MAC/IP address)。在步驟S202中,依據第一節點的節點資訊,對每一第一節點安裝作業系統,以識別第一節點的硬體資訊,此硬體資訊例如為系統管理基本輸入輸出系統(System Management BIOS,SMBIOS)的資料。在步驟S203中,整合第一節點的硬體資訊,以產生多個第二節點。在步驟S204中,接收第二節點的節點資訊,以取得第二節點的節點類型。在步驟S205中,依據第二節點的節點類型,對每一第二節點安裝軟體封裝資料,以配置第二節點至伺服器系統,使伺服器系統啟動並正常運作。在步驟S206中,依據配置策略,調整伺服器系統配置之第二節點的數量。 An automatic node configuration method can be summarized by the description of the above embodiments. Please refer to FIG. 2, which is a flowchart of an automatic node configuration method according to an embodiment of the present invention. The automatic node configuration method of this embodiment can be adapted to a server system. In step S201, the node information of the first node is received to obtain node information of the first node, where the node information includes, for example, a base station management controller network entity address (BMC NIC MAC/IP address) and a master Host NIC MAC/IP address. In step S202, the operating system is installed on each first node according to the node information of the first node to identify the hardware information of the first node, such as a system management basic input/output system (System Management BIOS, SMBIOS) information. In step S203, the hardware information of the first node is integrated to generate a plurality of second nodes. In step S204, the node information of the second node is received to obtain the node type of the second node. In step S205, software package information is installed for each second node according to the node type of the second node, so that the second node is configured to the server system, so that the server system is started and operates normally. In step S206, the number of second nodes of the server system configuration is adjusted according to the configuration policy.

請參考『第3圖』,其係為根據本發明另一實施例之自動節點配置方法的流程圖。在步驟S301中,依據第二節點,建立一節點屬性列表。在步驟S302中,偵測伺服器系統之系統負載值。在步驟S303中,判斷系統負載值是否大於等於系統高負載瓶頸值。若系統負載值大於等於系統高負載瓶頸值,則進入步驟S304。反之,若系統負載值小於系統高負載瓶頸值,則進入步驟S305。在步驟S304中,增加配置於伺服器系統的第二節點的數量。在步驟S304中,減少配置於伺服器系統的第二節點的數量。 Please refer to FIG. 3, which is a flowchart of an automatic node configuration method according to another embodiment of the present invention. In step S301, a node attribute list is established according to the second node. In step S302, the system load value of the server system is detected. In step S303, it is determined whether the system load value is greater than or equal to the system high load bottleneck value. If the system load value is greater than or equal to the system high load bottleneck value, the process proceeds to step S304. On the other hand, if the system load value is less than the system high load bottleneck value, the process proceeds to step S305. In step S304, the number of second nodes configured in the server system is increased. In step S304, the number of second nodes arranged in the server system is reduced.

請參考『第4圖』,係為根據本發明一實施例之伺服器系統的範例架構圖。圖中大部分元件與『第1圖』相同,新增元件之部分將於文後詳述。當伺服器系統4啟動完 成後,第一節點40已被處理單元偵測並安裝作業系統。第一節點40已整合為之類型與資訊,於第二節點41中產生運算節點410、儲存節點411及服務節點412。配置模組43亦產生節點屬性列表430,節點屬性列表430用以記錄第二節點41的分類,如運算節點410、儲存節點411及服務節點412。 Please refer to FIG. 4, which is an exemplary architectural diagram of a server system according to an embodiment of the present invention. Most of the components in the figure are the same as in Figure 1, and the new components will be detailed later. When the server system 4 is booted up After the completion, the first node 40 has been detected by the processing unit and installed the operating system. The first node 40 has been integrated into the type and information, and the second node 41 generates the computing node 410, the storage node 411, and the service node 412. The configuration module 43 also generates a node attribute list 430 for recording the classification of the second node 41, such as the operation node 410, the storage node 411, and the service node 412.

首先,伺服器系統4例如為網頁伺服器,其伺服器系統4負載時常發生變化。於每一個時段中,客戶端瀏覽網頁的習慣與人數都不盡相同。可預先設定配置策略中服務負載上限為80%,服務負載下限為20%。伺服器系統4係例如具有定時偵測服務負載的常駐執行緒,此常駐執行緒隨時監控伺服器系統4的服務負載上升及下降的情況。當伺服器系統4預測服務負載即將高於80%時,配置模組43經由節點屬性列表430增加服務節點412於伺服器系統4中的數量。當伺服器系統4預測服務負載即將低於20%時,配置模組43經由節點屬性列表430減少伺服器系統4中服務節點412的數量。如此一來,伺服器系統4可經由調整服務節點412的數量調整容納網路連線的效能。當伺服器系統4的網頁瀏覽連線突然增加時,伺服器系統4可不至於效能無法負荷。而當伺服器系統4的網頁瀏覽連線不多時,可釋出資源供其他服務使用。 First, the server system 4 is, for example, a web server, and its server system 4 is constantly changed in load. In each time period, the habits and numbers of clients browsing the web are different. The service load upper limit in the configuration policy can be preset to 80%, and the service load lower limit is 20%. The server system 4 is, for example, a resident thread having a timing detection service load, and the resident thread monitors the rise and fall of the service load of the server system 4 at any time. When the server system 4 predicts that the service load is about to be higher than 80%, the configuration module 43 increases the number of service nodes 412 in the server system 4 via the node attribute list 430. When the server system 4 predicts that the service load is about to be less than 20%, the configuration module 43 reduces the number of service nodes 412 in the server system 4 via the node attribute list 430. In this way, the server system 4 can adjust the performance of accommodating the network connection by adjusting the number of service nodes 412. When the web browsing connection of the server system 4 suddenly increases, the server system 4 may not be able to load the performance. When the webpage browsing connection of the server system 4 is not much, the resources can be released for use by other services.

此外,伺服器系統4例如為檔案儲存伺服器,其伺服器系統4不斷接收上傳的檔案。但伺服器系統4的空間 有限,若要增加空間,需更多的配置儲存節點411。可設定配置策略的儲存負載上限為90%,儲存負載下限為10%。伺服器系統4係例如具有定時偵測儲存負載的常駐執行緒,此常駐執行緒隨時監控伺服器系統4的儲存負載上升及下降情況。當伺服器系統4預測儲存負載即將高於90%時,配置模組43經由節點屬性列表430增加儲存節點411於伺服器系統4中的數量。當伺服器系統4的預測儲存負載即將低於10%時,配置模組43經由節點屬性列表430減少伺服器系統4中儲存節點411的數量。如此一來,伺服器系統4可經由增減儲存節點412的數量調整伺服器系統4可提供使用的空間。當伺服器系統4的儲存空間不夠時,伺服器系統4不至於容量不足。而當伺服器系統4的儲存空間閒置時,可釋出空間供其他檔案使用。 Further, the server system 4 is, for example, a file storage server whose server system 4 continuously receives uploaded files. But the space of the server system 4 Limited, if you want to increase the space, you need more configuration storage node 411. The storage load limit of the configuration policy can be set to 90%, and the storage load lower limit is 10%. The server system 4 is, for example, a resident thread having a timing detection storage load, and the resident thread monitors the storage load rise and fall of the server system 4 at any time. When the server system 4 predicts that the storage load is about 90% higher, the configuration module 43 increases the number of storage nodes 411 in the server system 4 via the node attribute list 430. When the predicted storage load of the server system 4 is about 10% lower, the configuration module 43 reduces the number of storage nodes 411 in the server system 4 via the node attribute list 430. As such, the server system 4 can adjust the space that the server system 4 can provide for use by increasing or decreasing the number of storage nodes 412. When the storage space of the server system 4 is insufficient, the server system 4 is not insufficient in capacity. When the storage space of the server system 4 is idle, the space can be released for use by other files.

再者,伺服器系統4例如為影片轉檔伺服器,其伺服器系統4不斷針對大量的影片進行需大量運算的轉檔。但伺服器系統4的中央處理器運算量有限,若要增加效能,需更多的配置運算節點410。可設定配置策略的運算負載上限為70%,運算負載下限為30%。伺服器系統4係例如具有定時偵測運算負載的常駐執行緒,此常駐執行緒隨時監控伺服器系統4的運算負載上升及下降的情況。當伺服器系統4預測運算負載即將高於70%時,配置模組43經由節點屬性列表430增加運算節點410於伺服器系統4中的數量。當伺服器系統4 預測儲存負載即將低於30%時,配置模組43經由節點屬性列表430減少伺服器系統4中運算節點410的數量。如此一來,伺服器系統4可經由增減運算節點410的數量調整伺服器系統4可提供使用的運算效能。當伺服器系統4的運算效能不夠時,伺服器系統4可不至於達到運算瓶頸。而當伺服器系統4的運算效能不被使用時,可釋出運算效能供其他程式使用。 Furthermore, the server system 4 is, for example, a movie transfer server, and its server system 4 continuously performs a large number of operations for a large number of movies. However, the central processor of the server system 4 has a limited amount of computation. To increase the performance, more computational nodes 410 are required. The upper limit of the computational load of the configuration policy can be set to 70%, and the lower limit of the computational load is 30%. The server system 4 is, for example, a resident thread having a timing detection operation load, and the resident thread monitors the rise and fall of the calculation load of the server system 4 at any time. When the server system 4 predicts that the computational load is about to be above 70%, the configuration module 43 increases the number of compute nodes 410 in the server system 4 via the node attribute list 430. When the server system 4 When the predicted storage load is about 30%, the configuration module 43 reduces the number of computing nodes 410 in the server system 4 via the node attribute list 430. In this way, the server system 4 can adjust the computing performance that the server system 4 can provide by the number of the increase and decrease operation nodes 410. When the computing performance of the server system 4 is insufficient, the server system 4 may not reach the operational bottleneck. When the computing performance of the server system 4 is not used, the computing performance can be released for use by other programs.

本發明所揭露之自動節點配置方法及伺服器系統,藉由伺服器系統的負載狀態,而據以決定配置於伺服器系統的節點數。先接收伺服器系統中第一節點的節點資訊,以取得第一節點的節點資訊。再依據第一節點的節點資訊,對每一第一節點安裝一作業系統,以識別第一節點的硬體資訊。並整合第一節點的硬體資訊,以產生多個第二節點。接收第二節點的節點資訊,以取得第二節點的節點類型。依據第二節點的節點類型,對每一第二節點安裝一軟體封裝資料,以配置第二節點至伺服器系統,使伺服器系統啟動並正常運作。並依據一配置策略,調整伺服器系統配置之第二節點的數量。如此一來,當伺服器系統的負載提高或降低時,可有效即時因應伺服器系統的資源需求,以增加伺服器系統的穩定性。 According to the automatic node configuration method and the server system disclosed in the present invention, the number of nodes arranged in the server system is determined by the load state of the server system. The node information of the first node in the server system is first received to obtain the node information of the first node. Then, according to the node information of the first node, an operating system is installed for each first node to identify the hardware information of the first node. And integrating the hardware information of the first node to generate a plurality of second nodes. Receiving node information of the second node to obtain a node type of the second node. According to the node type of the second node, a software package data is installed for each second node to configure the second node to the server system, so that the server system is started and operates normally. And according to a configuration strategy, adjust the number of second nodes of the server system configuration. In this way, when the load of the server system is increased or decreased, the resource requirements of the server system can be effectively and immediately increased to increase the stability of the server system.

雖然本發明以前述之實施例發明如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之 更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。 While the invention has been described above in the foregoing embodiments, it is not intended to limit the invention. Without departing from the spirit and scope of the invention Both the movement and the retouching are within the scope of patent protection of the present invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

1‧‧‧伺服器系統 1‧‧‧Server system

10‧‧‧第一節點 10‧‧‧ first node

11‧‧‧第二節點 11‧‧‧second node

12‧‧‧資料庫 12‧‧‧Database

13‧‧‧配置模組 13‧‧‧Configuration module

Claims (8)

一種自動節點配置方法,適於一伺服器系統,該伺服器系統具有多個第一節點,該自動節點配置方法包括:接收該些第一節點的節點資訊,以取得該些第一節點的節點資訊;依據該些第一節點的節點資訊,對每一該些第一節點安裝一作業系統,以識別該些第一節點的硬體資訊;整合該些第一節點的硬體資訊,以產生多個第二節點;接收該些第二節點的節點資訊,以取得該些第二節點的節點類型;依據該些第二節點的節點類型,對每一該些第二節點安裝一軟體封裝資料,以配置該些第二節點至該伺服器系統,使該伺服器系統啟動並正常運作;以及依據一配置策略,調整該伺服器系統配置之該些第二節點的數量。 An automatic node configuration method is suitable for a server system, the server system has a plurality of first nodes, and the automatic node configuration method includes: receiving node information of the first nodes to obtain nodes of the first nodes Information: according to the node information of the first nodes, installing an operating system for each of the first nodes to identify hardware information of the first nodes; integrating hardware information of the first nodes to generate a plurality of second nodes; receiving node information of the second nodes to obtain node types of the second nodes; and installing a software package data for each of the second nodes according to node types of the second nodes And configuring the second nodes to the server system to enable the server system to start up and operate normally; and adjusting the number of the second nodes configured by the server system according to a configuration policy. 如請求項1所述之自動節點配置方法,其中該伺服器系統係以最少可運作之該些第二節點的數量進行運作。 The automatic node configuration method of claim 1, wherein the server system operates with a minimum number of the second nodes operable. 如請求項1所述之自動節點配置方法,其中依據該配置策略調整該伺服器系統配置之該些第二節點的數量的步驟包括:依據該些第二節點,建立一節點屬性列表; 偵測該伺服器系統之一系統負載值;以及當該系統負載值大於等於一系統高負載瓶頸值時,增加配置於該伺服器系統的該些第二節點的數量。 The automatic node configuration method of claim 1, wherein the step of adjusting the number of the second nodes configured by the server system according to the configuration policy comprises: establishing a node attribute list according to the second nodes; Detecting a system load value of the server system; and increasing the number of the second nodes configured in the server system when the system load value is greater than or equal to a system high load bottleneck value. 如請求項3所述之自動節點配置方法,其中偵測該伺服器系統之該系統負載值的步驟包括:當該系統負載值小於一系統低負載瓶頸值時,減少配置於該伺服器系統的該些第二節點的數量。 The automatic node configuration method of claim 3, wherein the step of detecting the system load value of the server system comprises: when the system load value is less than a system low load bottleneck value, reducing configuration on the server system The number of these second nodes. 一種伺服器系統,其包括:多個第一節點;多個第二節點,係依據該些第一節點的硬體資訊進行整合後產生;一資料庫,係用以儲存該些第一節點的節點資訊、該些第二節點的節點資訊與該些第二節點的節點類型;以及一配置模組,耦接該些第一節點、該些第二節點與該資料庫,接收該些第一節點的節點資訊,以取得該些第一節點的節點資訊,並依據該些第一節點的節點資訊,對每一該些第一節點安裝一作業系統,以識別該些第一節點的硬體資訊,依據該些第一節點的硬體資訊產生多個第二節點,接收該些第二節點的節點資訊,以取得該些第二節點的節點類型,後依據該些第二節點的節點類型,對每一該些第二節點安裝一軟體封裝資料,以 配置該些第二節點至該伺服器系統,使該伺服器系統啟動並正常運作,依據一配置策略調整該伺服器系統配置之該些第二節點的數量。 A server system, comprising: a plurality of first nodes; a plurality of second nodes are generated according to the hardware information of the first nodes, and a database is used for storing the first nodes Node information, node information of the second nodes, and node types of the second nodes; and a configuration module, coupled to the first nodes, the second nodes, and the database, and receiving the first Node information of the node to obtain node information of the first nodes, and installing an operating system for each of the first nodes according to the node information of the first nodes to identify the hardware of the first nodes Information, generating a plurality of second nodes according to the hardware information of the first nodes, receiving node information of the second nodes, to obtain node types of the second nodes, and then according to the node types of the second nodes Installing a software package information for each of the second nodes to The second nodes are configured to the server system to enable the server system to start up and operate normally, and the number of the second nodes configured by the server system is adjusted according to a configuration policy. 如請求項5所述之伺服器系統,其中該伺服器系統係以最少可運作之該些第二節點的數量進行運作。 The server system of claim 5, wherein the server system operates with a minimum number of the second nodes operable. 如請求項5所述之伺服器系統,其中該配置策略包括依據該些第二節點,建立一節點屬性列表,並偵測該伺服器系統之該系統負載值,當該系統負載值大於等於一系統高負載瓶頸值時,增加配置於該伺服器系統的該些第二節點的數量。 The server system of claim 5, wherein the configuration policy comprises: establishing a node attribute list according to the second nodes, and detecting the system load value of the server system, when the system load value is greater than or equal to one When the system has a high load bottleneck value, the number of the second nodes configured in the server system is increased. 如請求項5所述之伺服器系統,其中當該系統負載值小於該系統高負載瓶頸值時,減少配置於該伺服器系統的該些第二節點的數量。 The server system of claim 5, wherein when the system load value is less than the system high load bottleneck value, the number of the second nodes configured in the server system is reduced.
TW102144919A 2013-12-06 2013-12-06 Auto node deployment method and server system therefor TWI502335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102144919A TWI502335B (en) 2013-12-06 2013-12-06 Auto node deployment method and server system therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102144919A TWI502335B (en) 2013-12-06 2013-12-06 Auto node deployment method and server system therefor

Publications (2)

Publication Number Publication Date
TW201523230A true TW201523230A (en) 2015-06-16
TWI502335B TWI502335B (en) 2015-10-01

Family

ID=53935620

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102144919A TWI502335B (en) 2013-12-06 2013-12-06 Auto node deployment method and server system therefor

Country Status (1)

Country Link
TW (1) TWI502335B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW588522B (en) * 2000-07-05 2004-05-21 Ericsson Telefon Ab L M Plug and play installation of router for use in a network such as a cellular telecommunications network
US20060230136A1 (en) * 2005-04-12 2006-10-12 Kenneth Ma Intelligent auto-archiving
US9104962B2 (en) * 2007-03-06 2015-08-11 Trion Worlds, Inc. Distributed network architecture for introducing dynamic content into a synthetic environment
US8619756B2 (en) * 2009-07-15 2013-12-31 Qualcomm Incorporated Systems and methods for providing resource allocation meeting communication constraints for multi-hop network data flows
US8413148B2 (en) * 2011-03-10 2013-04-02 Telefonaktiebolaget L M Ericsson (Publ) Virtualization support in platform management (PLM) information model

Also Published As

Publication number Publication date
TWI502335B (en) 2015-10-01

Similar Documents

Publication Publication Date Title
US10275270B2 (en) Method and apparatus to scale application deployments in cloud computing environments using virtual machine pools
US10530678B2 (en) Methods and apparatus to optimize packet flow among virtualized servers
US8806015B2 (en) Workload-aware placement in private heterogeneous clouds
US9288147B2 (en) Dynamically balancing resources in a server farm
US9164782B2 (en) Virtual machine administration for data center resource managers
WO2018077079A1 (en) Application capacity enlargement method, apparatus and system
TWI459296B (en) Method for increasing virtual machines
US9154549B2 (en) Dynamic server farms
US8108855B2 (en) Method and apparatus for deploying a set of virtual software resource templates to a set of nodes
US9959188B1 (en) Managing processor usage of a physical host configured for hosting computing instances
US20170031622A1 (en) Methods for allocating storage cluster hardware resources and devices thereof
US20150234670A1 (en) Management apparatus and workload distribution management method
US20120311577A1 (en) System and method for monitoring virtual machine
CN107209697B (en) Dynamically controlled workload execution
US20080209016A1 (en) Method and apparatus for policy-based provisioning in a virtualized service delivery environment
US20070028239A1 (en) Dynamic performance management for virtual servers
US20120017074A1 (en) Dynamic system mode switching
US20150193245A1 (en) Autonomously managed virtual machine anti-affinity rules in cloud computing environments
JP2013168140A (en) Method for deploying virtual machines
US8276003B2 (en) Reducing current draw of a plurality of solid state drives at computer startup
US10489208B1 (en) Managing resource bursting
WO2018121334A1 (en) Web application service providing method, apparatus, electronic device and system
CN104660522A (en) Automatic node configuration method and server system
US20130268805A1 (en) Monitoring system and method
US20150019722A1 (en) Determining, managing and deploying an application topology in a virtual environment

Legal Events

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