[go: up one dir, main page]

TW201937900A - Method and system for establishing virtual backup network and virtual network card - Google Patents

Method and system for establishing virtual backup network and virtual network card Download PDF

Info

Publication number
TW201937900A
TW201937900A TW107105768A TW107105768A TW201937900A TW 201937900 A TW201937900 A TW 201937900A TW 107105768 A TW107105768 A TW 107105768A TW 107105768 A TW107105768 A TW 107105768A TW 201937900 A TW201937900 A TW 201937900A
Authority
TW
Taiwan
Prior art keywords
network
virtual
backup
network card
module
Prior art date
Application number
TW107105768A
Other languages
Chinese (zh)
Other versions
TWI659631B (en
Inventor
黃詩宜
唐錦為
張國華
簡士哲
Original Assignee
中華電信股份有限公司
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 中華電信股份有限公司 filed Critical 中華電信股份有限公司
Priority to TW107105768A priority Critical patent/TWI659631B/en
Application granted granted Critical
Publication of TWI659631B publication Critical patent/TWI659631B/en
Publication of TW201937900A publication Critical patent/TW201937900A/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method and a system for establishing virtual backup network and virtual network card are provided. In some embodiments, a network Orchestrator module generates a provision template for a virtual backup network, and a software-based network management module reserves resources for establishing the virtual backup network. Then, an IP assignment module, based on the provision template and the reserved resources, sets the IP address in a room to be only assigned to a virtual network card used in that room, so as to complete the establishment of virtual backup network. Therefore, a safe and reliable backup network would be established quickly.

Description

用於建置虛擬備援網路和虛擬網路卡的方法與系統 Method and system for building a virtual backup network and a virtual network card

本發明係關於一種用於建置虛擬備援網路和虛擬網路卡的技術,特別是一種用於建置大二層(L2)虛擬備援網路和大二層中之虛擬網路卡的方法與系統。 The present invention relates to a technology for building a virtual backup network and a virtual network card, in particular, a virtual network card for building a large Layer 2 (L2) virtual backup network and a large second layer. Method and system.

傳統上,當網路環境中的網路路徑損壞時,才會進行與其他網路路徑的開通(即,與備援網路的連通),並將原本的網路路徑切換至備援網路。然而這樣被動的開通方式,經常需要花費額外時間來進行網路路徑的切換,才能讓網路通訊恢復正常。如此,對於亟欲連網通訊的使用者,會帶來極大的困擾與不便。 Traditionally, when the network path in the network environment is damaged, the other network paths are opened (that is, the communication with the backup network), and the original network path is switched to the backup network. . However, such a passive mode of opening often requires extra time to switch the network path in order to restore network communication. In this way, users who want to connect to the Internet will have great troubles and inconveniences.

此外,要在網路環境(如:大二層網路環境、跨機房網路環境等)中設置虛擬及/或實體備援網路,經常需要網路、系統管理者針對各個環節手動進行設定。然而,這樣手動設定的方式,在規模成長快速的現今網路環境中,不僅耗費大量時間,也會增加許多的人力成本,從而變得不切實際。 In addition, to set up a virtual and/or physical backup network in a network environment (such as a large Layer 2 network environment, cross-machine network environment, etc.), it is often necessary for the network and system administrator to manually set each link. . However, such a manual setting method is not only practically expensive, but also requires a lot of time and a lot of labor costs, which becomes unrealistic.

再者,除了快速設置備援網路的需求外,更要能確保備援網路在使用上的安全性與可靠度。如此,才能讓使用者在使用備援網路的同時,不用擔心資料被其他非備援網路或相異網段中的第三方所存取,而有資料外洩疑慮。 Furthermore, in addition to the need to quickly set up a backup network, it is also necessary to ensure the security and reliability of the backup network. In this way, users can use the backup network without worrying that the data is accessed by other non-backup networks or third parties in different network segments, and there is data leakage.

鑑於前述問題,著實有必要提供一有效建置備援網路及使用備援網路的方法,來快速設置安全、可靠的備援網路。 In view of the foregoing problems, it is necessary to provide a method for effectively setting up a backup network and using a backup network to quickly set up a secure and reliable backup network.

基於先前技術所存在的問題,本發明揭示了用於建置虛擬備援網路和虛擬網路卡的方法與系統。相較於先前技術,本發明之一實施例揭示利用網路協調器(Orchestrator)模組、軟體式網路管理模組、IP分派模組之協作來設置備援網路,以提升備援網路的設置效率。 Based on the problems of the prior art, the present invention discloses a method and system for building a virtual backup network and a virtual network card. Compared with the prior art, an embodiment of the present invention discloses that a backup network is set up by using a collaboration of an Internet coordinator (Orchestrator) module, a software network management module, and an IP dispatching module to enhance a backup network. The efficiency of setting the road.

本發明之一實施例提供了一種建置一虛擬備援網路的系統,包含:一虛擬備援網路操作與呈現模組,其接收針對該虛擬備援網路的一建置請求;一網路協調器模組,其分析該建置請求以確認目前機房中的網路設備資源是否足以用來建立該虛擬備援網路,俾供該網路協調器模組產生與該虛擬備援網路相關之一供裝範本;一軟體式網路管理模組,其在該網路設備資源中預留建立該虛擬備援網路所需的資源;及一IP分派模組,其根據該供裝範本及該預留資源,將該機房中的IP位址設定為僅能與該機房中的一虛擬機之虛擬網路卡進行綁定以完成該虛擬備援網路之建置。 An embodiment of the present invention provides a system for establishing a virtual backup network, comprising: a virtual backup network operation and presentation module, which receives a setup request for the virtual backup network; The network coordinator module analyzes the configuration request to confirm whether the network device resources in the current equipment room are sufficient for establishing the virtual backup network, and the network coordinator module generates the virtual backup a network-related provisioning template; a software network management module that reserves resources required to establish the virtual backup network in the network device resource; and an IP dispatch module, according to the The provisioning template and the reserved resource set the IP address in the equipment room to be bound only to the virtual network card of a virtual machine in the equipment room to complete the virtual backup network.

本發明之又一實施例提供了一種建置一虛擬備援網路的方法,包含以下步驟:(1)接收針對該虛擬備援網路的一建置請求;(2)確認目前機房中的網路設備資源是否足以用來建立該虛擬備援網路;(3)產生與該虛擬備援網路相關之一供裝範本;(4)依據該供裝範本,在該網路設備資源中預留建立該虛擬備援網路所需的資源;及(5)根據該供裝範本及該預留資源,將該機房中的IP位址設定為僅能與該機房中的一虛擬機之虛擬網路卡進行綁定以完成該虛擬備援網路之建置。 A further embodiment of the present invention provides a method for establishing a virtual backup network, comprising the steps of: (1) receiving a setup request for the virtual backup network; and (2) confirming that the current room is in the room. Whether the network device resource is sufficient to establish the virtual backup network; (3) generating a provisioning template related to the virtual backup network; and (4) according to the provisioning template, in the network device resource Retaining the resources required to establish the virtual backup network; and (5) setting the IP address in the equipment room to be only compatible with a virtual machine in the equipment room according to the provisioning template and the reserved resource The virtual network card is bound to complete the establishment of the virtual backup network.

在另一實施例中,更包含在完成該虛擬備援網路之建置後,將該虛擬備援網路之防火牆規則設定為使用該虛擬備援網路的該虛擬機僅能與使用該虛擬備援網路的其他虛擬機進行通訊。 In another embodiment, after the completion of the establishment of the virtual backup network, setting the firewall rule of the virtual backup network to use the virtual backup network can only use the virtual machine. Other virtual machines on the virtual backup network communicate.

在另一實施例中,該等網路設備資源包含以下之至少一者:異質SDN控制器、同質SDN控制器、SDN虛擬交換器、SDN實體交換器及可用的IP位址。 In another embodiment, the network device resources comprise at least one of the following: a heterogeneous SDN controller, a homogeneous SDN controller, an SDN virtual switch, an SDN physical switch, and an available IP address.

在另一實施例中,該供裝範本係描述建置該虛擬備援網路所需的網路ID、網路名稱、IP網段及閘道器IP中之至少一者。 In another embodiment, the provisioning template describes at least one of a network ID, a network name, an IP network segment, and a gateway IP required to build the virtual backup network.

在另一實施例中,該供裝範本係符合Open Stack Heat格式或TOSCA格式之供裝範本。 In another embodiment, the supplied template conforms to a supply template of the Open Stack Heat format or the TOSCA format.

本發明之一實施例提供了一種建置一虛擬網路卡的系統,包含:一虛擬機網路卡操作與呈現模組,其接收針對該虛擬網路卡之一建置請求;一網路協調器模組,其基於 該建置請求,產生一虛擬網路卡供裝範本;一虛擬基礎資源管理模組,其根據該虛擬網路卡供裝範本,對該虛擬網路卡進行供裝;及一IP分派模組,其將該虛擬網路卡之MAC位址與一虛擬備援網路中的一IP位址綁定。 An embodiment of the present invention provides a system for building a virtual network card, comprising: a virtual machine network card operation and presentation module, which receives a request for establishing a virtual network card; Coordinator module based on The configuration request generates a virtual network card installation template; a virtual basic resource management module, which supplies the virtual network card according to the virtual network card provisioning template; and an IP distribution module And binding the MAC address of the virtual network card to an IP address in a virtual backup network.

本發明之再一實施例提供了一種建置一虛擬網路卡的方法,包含以下步驟:(1)接收針對該虛擬網路卡之一建置請求;(2)基於該建置請求,產生一虛擬網路卡供裝範本;(3)根據該虛擬網路卡供裝範本,對該虛擬網路卡進行供裝;及(4)將該虛擬網路卡之MAC位址與一虛擬備援網路中的一IP位址綁定。 A further embodiment of the present invention provides a method for constructing a virtual network card, comprising the steps of: (1) receiving a request for establishing a virtual network card; and (2) generating a request based on the configuration request. a virtual network card is provided with a template; (3) supplying the virtual network card according to the virtual network card provisioning template; and (4) the virtual network card's MAC address and a virtual standby An IP address binding in the network.

在另一實施例中,該步驟(1)包含提供一使用者介面以供使用者在該使用者介面輸入針對該虛擬網路卡之該建置請求、及查詢目前有哪些虛擬備援網路。 In another embodiment, the step (1) includes providing a user interface for the user to input the request for the virtual network card in the user interface, and querying which virtual backup network is currently available. .

在另一實施例中,該步驟(2)包含基於該建置請求,配置用於該建置請求之資源,以產生描述該資源之該虛擬網路卡供裝範本。 In another embodiment, the step (2) includes configuring a resource for the setup request based on the build request to generate the virtual network card provisioning template describing the resource.

在另一實施例中,該等資源包含以下之一者或多者:該虛擬備援網路之識別碼、該虛擬備援網路之名稱及該虛擬網路卡之該MAC位址。 In another embodiment, the resources include one or more of the following: an identifier of the virtual backup network, a name of the virtual backup network, and the MAC address of the virtual network card.

在另一實施例中,該虛擬網路卡供裝範本係符合Open Stack Heat格式或TOSCA格式之供裝範本。 In another embodiment, the virtual network card is loaded with a template that conforms to the Open Stack Heat format or the TOSCA format.

在另一實施例中,更包含以下步驟:(5)分析該建置請求之相關參數以產生一跨機房虛擬網卡連通供裝範本。 In another embodiment, the method further includes the following steps: (5) analyzing related parameters of the configuration request to generate a cross-device virtual network card connection and installation template.

在另一實施例中,該等相關參數包含以下之至少一 者:該虛擬備援網路之名稱、與該虛擬備援網路相關之實體網路設備識別碼、與該虛擬網路卡綁定之該IP位址、該虛擬網路卡之該MAC位址及該虛擬網路卡之跨機房連通需求。 In another embodiment, the related parameters include at least one of the following The name of the virtual backup network, the physical network device identifier associated with the virtual backup network, the IP address bound to the virtual network card, and the MAC address of the virtual network card Address and inter-machine connectivity requirements for the virtual network card.

在另一實施例中,更包含基於該跨機房虛擬網卡連通供裝範本,使用一軟體定義網路控制器模組以將該虛擬網路卡設定為跨機房連通。 In another embodiment, the method further comprises: using a software-defined network controller module to set the virtual network card to be connected across the computer room based on the cross-device virtual network card connection installation template.

應理解,以上描述的標的可實施為電腦控制的設備、電腦程式、計算系統,或作為製品,諸如,電腦可讀取儲存媒體。 It should be understood that the subject matter described above can be implemented as a computer-controlled device, computer program, computing system, or as an article of manufacture, such as a computer readable storage medium.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明。在以下描述內容中將部分闡述本發明之額外特徵及優點,且此等特徵及優點將部分自所述描述內容顯而易見,或可藉由對本發明之實踐習得。本發明之特徵及優點借助於在申請專利範圍中特別指出的元件及組合來認識到並達到。應理解,前文一般描述與以下詳細描述兩者均僅為例示性及解釋性的,且不欲約束本發明所主張之範圍。 The above described features and advantages of the invention will be apparent from the description and appended claims. The additional features and advantages of the invention will be set forth in part in the description in the description. The features and advantages of the present invention are realized and attained by the <RTIgt; It is to be understood that both the foregoing general description

200‧‧‧透過控制器動態開通L2備援網路至多機房的系統 200‧‧‧Dynamicly open the system of L2 backup network to multi-room through the controller

210‧‧‧跨機房之虛擬備援網路建置子系統 210‧‧‧Virtual backup network construction subsystem across the computer room

211‧‧‧虛擬備援網路操作與呈現模組 211‧‧‧Virtual Backup Network Operation and Presentation Module

212‧‧‧備援網路資源與拓樸相依關係資料庫 212‧‧‧Reserving network resources and topology dependencies database

213‧‧‧網路協調器(Orchestrator)模組 213‧‧‧Network Coordinator (Orchestrator) Module

214‧‧‧軟體式網路管理模組 214‧‧‧Software Network Management Module

215‧‧‧虛擬網路功能管理模組 215‧‧‧Virtual Network Function Management Module

216‧‧‧虛擬基礎資源管理模組 216‧‧‧Virtual Basic Resource Management Module

217‧‧‧軟體定義網路控制器模組 217‧‧‧Software Defined Network Controller Module

218‧‧‧IP分派模組 218‧‧‧IP dispatch module

219‧‧‧虛擬防火牆模組 219‧‧‧Virtual Firewall Module

220‧‧‧虛擬機網路卡連通暨IP取得機制子系統 220‧‧‧Virtual Machine Network Card Connectivity and IP Acquisition Mechanism Subsystem

221‧‧‧虛擬機網路卡操作與呈現模組 221‧‧‧Virtual Machine Network Card Operation and Rendering Module

222‧‧‧虛擬機虛擬網路卡資源資料庫 222‧‧‧Virtual Machine Virtual Network Card Resource Database

S310-S390‧‧‧步驟 S310-S390‧‧‧Steps

S361-S369‧‧‧步驟 S361-S369‧‧‧Steps

S381-S384‧‧‧步驟 S381-S384‧‧‧Steps

S391-S394‧‧‧步驟 S391-S394‧‧‧Steps

S401-S410‧‧‧步驟 S401-S410‧‧‧Steps

S501-S507‧‧‧步驟 S501-S507‧‧‧Steps

第1圖所示係為本發明之透過控制器動態開通大二層備援網路至多機房的系統架構圖;第2圖所示係為本發明之跨機房之虛擬備援網路建置子系統的系統架構圖;第3圖所示係為本發明之虛擬機網路卡連通暨IP取得 機制子系統的系統架構圖;第4圖所示係為根據本發明之一實施例,建置跨機房之虛擬備援網路的方法流程圖;第5圖所示係為根據本發明之一實施例,使用網路協調器模組來進行虛擬備援網路供裝的方法流程圖;第6圖所示係為根據本發明之一實施例,使用網路協調器模組來啟動IP分派模組設定的方法流程圖;第7圖所示係為根據本發明之一實施例,使用網路協調器模組來進行虛擬防火牆設定的方法流程圖;第8圖所示係為根據本發明之一實施例,虛擬機網路卡連通暨IP取得機制的方法流程圖;及第9圖所示係為根據本發明之一實施例,使用網路協調器模組來進行跨機房虛擬網卡連通供裝的方法流程圖。 Figure 1 is a system architecture diagram of dynamically opening a second-level backup network to a multi-machine room through a controller according to the present invention; Figure 2 is a virtual backup network building device for the cross-machine room of the present invention. The system architecture diagram of the system; Figure 3 shows the virtual machine network card connectivity and IP acquisition of the present invention. System architecture diagram of the mechanism subsystem; FIG. 4 is a flowchart of a method for establishing a virtual backup network across the equipment room according to an embodiment of the present invention; FIG. 5 is a diagram according to the present invention. Embodiments, a flowchart of a method for using a network coordinator module for virtual backup network provisioning; and FIG. 6 is a diagram showing the use of a network coordinator module to initiate IP assignment according to an embodiment of the present invention A flowchart of a method for setting a module; FIG. 7 is a flowchart of a method for setting a virtual firewall using a network coordinator module according to an embodiment of the present invention; FIG. 8 is a diagram of a method according to the present invention. One embodiment, a flowchart of a method for virtual machine network card connectivity and IP acquisition mechanism; and FIG. 9 is a diagram of using a network coordinator module to perform virtual network card connectivity across a computer room according to an embodiment of the present invention. Flow chart of the method of loading.

以下實施方式係針對建置虛擬備援網路和虛擬網路卡的概念及技術。根據本文描述的概念及技術,計算裝置可執行建置虛擬備援網路和虛擬網路卡的演算法、步驟、及流程。 The following implementations are directed to the concepts and techniques for building virtual backup networks and virtual network cards. In accordance with the concepts and techniques described herein, a computing device can execute algorithms, steps, and processes for building a virtual backup network and a virtual network card.

雖然本文描述的標的呈現在與電腦系統上的作業系統及應用程式的執行一同執行的一般情境中,但熟習此項技術者將瞭解其他實施方式亦可以其他方式來執行。一般而言,模組可以依軟體、硬體、及韌體的方式來實施,包括但不限於系統、裝置、常式、程式、元件、資料結構及執行特定任務或實施特定抽象資料類型之其他類型的結 構。 Although the subject matter described herein is presented in the general context of execution with an operating system and an application on a computer system, those skilled in the art will appreciate that other embodiments can be performed in other manners. In general, modules may be implemented in software, hardware, and firmware, including but not limited to systems, devices, routines, programs, components, data structures, and others that perform particular tasks or implement specific types of abstract data. Type of knot Structure.

在以下實施方式中,參閱隨附圖式,該等圖式形成實施方式的一部分,及在該等圖式中藉由圖示顯示具體實施例或實例。現在參閱圖式,在該等圖式中,相同元件符號貫穿數個圖代表相同元件,將呈現用於建置虛擬備援網路和虛擬網路卡的方法與系統之態樣。 In the following embodiments, the drawings are a part of the embodiments, and the specific embodiments or examples are illustrated in the drawings. Referring now to the drawings in which like reference numerals refer to the same elements throughout the drawings, the embodiments of the method and system for the construction of the virtual backup network and the virtual network card are presented.

現在參閱第1圖,係本發明之透過控制器動態開通大二層備援網路至多機房的系統架構圖。其中,透過控制器動態開通大二層備援網路至多機房的系統200包含跨機房之虛擬備援網路建置子系統210與虛擬機網路卡連通暨IP取得機制子系統220。 Referring now to Figure 1, the system architecture diagram of the present invention dynamically opens a large Layer 2 backup network to a multi-machine room through a controller. The system 200 for dynamically opening a large Layer 2 backup network to a multi-machine room through a controller includes a virtual backup network establishment subsystem 210 and a virtual machine network card connection and IP acquisition mechanism subsystem 220 across the equipment room.

跨機房之虛擬備援網路建置子系統210可用於建立跨越多個機房的虛擬備援網路,以達到動態建立及管理虛擬備援網路(以下亦簡稱「備援網路」)之技術效果。此外,跨機房之虛擬備援網路建置子系統210可在產生虛擬機之前,先將建立虛擬備援網路所需的資源備妥並予以保留。 The virtual backup network construction subsystem 210 across the computer room can be used to establish a virtual backup network spanning multiple computer rooms to dynamically establish and manage a virtual backup network (hereinafter referred to as a "backup network"). Technical effects. In addition, the virtual backup network deployment subsystem 210 across the computer room can prepare and reserve the resources required to establish a virtual backup network before generating the virtual machine.

在一實施例中,跨機房之虛擬備援網路建置子系統210亦可使用IP分派及防火牆設定的機制來提高備援網路之安全性。 In an embodiment, the virtual backup network construction subsystem 210 across the computer room can also use the IP assignment and firewall setting mechanism to improve the security of the backup network.

另外,虛擬機網路卡連通暨IP取得機制子系統220可針對虛擬機之虛擬網卡進行網路IP的取得、及進行跨機房之軟體定義網路(Software Defined Networking;SDN)的網路設備設定,使虛擬機之虛擬網卡能使用備援網路來與跨越多機房的網路連通,並達到隨建即連的備援網路功能。 In addition, the virtual machine network card connectivity and IP acquisition mechanism subsystem 220 can perform network IP acquisition for the virtual network card of the virtual machine and network device setting of Software Defined Networking (SDN) across the computer room. The virtual machine's virtual network card can use the backup network to connect with the network across multiple computer rooms, and achieve the built-in backup network function.

在一實施例中,虛擬機網路卡連通暨IP取得機制子系統220可使用網路協調器(Orchestrator)模組來針對虛擬機之虛擬網卡進行SDN網路設備之連通設定,並將虛擬機之虛擬網卡的MAC Address(MAC位址)與備援網路中專屬的IP位址綁定,而開啟虛擬機的網路連通功能。 In an embodiment, the virtual machine network card connectivity and IP acquisition mechanism subsystem 220 can use the network coordinator (Orchestrator) module to perform SDN network device connectivity settings for the virtual machine virtual network card, and the virtual machine The virtual network card's MAC Address is bound to the dedicated IP address in the backup network, and the virtual machine's network connectivity function is enabled.

在一實施例中,可先由跨機房之虛擬備援網路建置子系統210針對各機房建立虛擬備援網路,並將虛擬備援網路建立過程中所需的資源備妥並予以保留。爾後,再由虛擬機網路卡連通暨IP取得機制子系統220將虛擬機之虛擬網卡與備援網路中的IP位址進行綁定,以讓虛擬機之虛擬網卡能使用虛擬備援網路的資源。 In an embodiment, the virtual backup network establishment subsystem 210 of the cross-machine room may first establish a virtual backup network for each computer room, and prepare and provide resources required for the virtual backup network establishment process. Reserved. Then, the virtual machine network card connection and IP acquisition mechanism subsystem 220 binds the virtual network card of the virtual machine to the IP address in the backup network, so that the virtual network card of the virtual machine can use the virtual backup network. Road resources.

請參看第2圖,係本發明之跨機房之虛擬備援網路建置子系統的系統架構圖。 Please refer to FIG. 2, which is a system architecture diagram of the virtual backup network construction subsystem of the cross-machine room of the present invention.

其中,虛擬備援網路操作與呈現模組211可提供使用者介面予使用者,藉此使用者可以在使用者介面中觀看各機房的虛擬備援網路之目前狀態、並查詢與控管虛擬備援網路。 The virtual backup network operation and presentation module 211 can provide a user interface to the user, so that the user can view the current status of the virtual backup network of each computer room in the user interface, and query and control. Virtual backup network.

在一實施例中,虛擬備援網路操作與呈現模組211所提供之使用者介面可以選項、圖標(icon)等視覺呈現方式來顯示與各備援網路之所在機房的連結。待使用者對於選項進行選取、或點擊圖標時,虛擬備援網路操作與呈現模組211可以將對應之備援網路所在機房之相關資訊的畫面呈現給使用者瀏覽。 In an embodiment, the virtual backup network operation and the user interface provided by the presentation module 211 can display the connection with the computer room where each backup network is located, such as an option, an icon, or the like. When the user selects an option or clicks an icon, the virtual backup network operation and presentation module 211 can present a screen of related information of the corresponding backup network in the computer room to the user for browsing.

網路協調器模組213可事先收集各機房的軟硬體資源 (如:異質、同質的SDN控制器、SDN虛擬交換器、SDN實體交換器、可用的IP位址、及網路拓樸關係等),以便對於各機房的資源進行統一分配、管理來建立跨越不同機房的備援網路而達到提供虛擬機備援網路之效果。 The network coordinator module 213 can collect the software and hardware resources of each computer room in advance. (such as: heterogeneous, homogeneous SDN controller, SDN virtual switch, SDN entity switch, available IP address, and network topology relationship, etc.), in order to uniformly allocate and manage the resources of each computer room to establish a leap The backup network of different computer rooms achieves the effect of providing a virtual machine backup network.

在一實施例中,網路協調器模組213可分析系統管理者、系統維護者、與使用者的輸入需求,以針對需求建立備援網路供裝、及產生描述相關供裝參數的供裝範本。爾後,再將產生的供裝範本傳送給軟體式網路管理模組214、虛擬網路功能管理模組215、虛擬基礎資源管理模組216。 In an embodiment, the network coordinator module 213 can analyze the input requirements of the system administrator, the system maintainer, and the user to establish a backup network for the demand, and generate a description of the relevant supply parameters. Install the template. Then, the generated template is transmitted to the software network management module 214, the virtual network function management module 215, and the virtual basic resource management module 216.

軟體式網路管理模組214可藉由管理不同的軟體定義網路控制器模組217(如:同質軟體定義網路控制器、異質軟體定義網路控制器),來進行網路設備資源的控管。 The software network management module 214 can perform network device resources by managing different software defined network controller modules 217 (eg, homogeneous software defined network controllers, heterogeneous software defined network controllers). Control.

虛擬網路功能管理模組215係用以管理網路功能虛擬化(Network Functions Virtualization;NFV)的元件。在一實施例中,虛擬網路功能管理模組215係使用meta-data的方式來處理供裝流程,以便管理各種NFV網路元件。 The virtual network function management module 215 is used to manage components of Network Functions Virtualization (NFV). In one embodiment, the virtual network function management module 215 processes the provisioning process using meta-data to manage various NFV network elements.

另外,虛擬網路功能管理模組215可調用IP分派模組218與虛擬防火牆模組219來進行後續的IP分派任務及防火牆設定功能。 In addition, the virtual network function management module 215 can invoke the IP dispatch module 218 and the virtual firewall module 219 to perform subsequent IP assignment tasks and firewall setting functions.

在一實施例中,IP分派模組218係使用動態主機組態協定(Dynamic Host Configuration Protocol;DHCP)來進行IP分派,而虛擬防火牆模組219可用於設定各備援網路專屬的防火牆。如此一來,藉由虛擬網路功能管理模組215 對於IP分派模組218與虛擬防火牆模組219的調用,可以提供通訊安全及架構彈性的備援網路。 In one embodiment, the IP dispatch module 218 uses the Dynamic Host Configuration Protocol (DHCP) for IP assignment, and the virtual firewall module 219 can be used to set firewalls specific to each backup network. In this way, the virtual network function management module 215 For the call of the IP dispatch module 218 and the virtual firewall module 219, a backup network with communication security and structural flexibility can be provided.

請參閱第3圖,係本發明之虛擬機網路卡連通暨IP取得機制子系統的系統架構圖。 Please refer to FIG. 3, which is a system architecture diagram of the virtual machine network card connectivity and IP acquisition mechanism subsystem of the present invention.

如第3圖所示,虛擬機網路卡操作與呈現模組221可提供使用者介面予使用者,讓使用者可以藉由介面操作來建立虛擬機的虛擬網卡,並讓使用者選擇想要的備援網路。而虛擬機虛擬網路卡資源資料庫222係儲存與虛擬網卡與虛擬備援網路間關係相關的資料。 As shown in FIG. 3, the virtual machine network card operation and presentation module 221 can provide a user interface to the user, so that the user can establish a virtual network card of the virtual machine through the interface operation, and let the user select the desired Backup network. The virtual machine virtual network card resource database 222 stores data related to the relationship between the virtual network card and the virtual backup network.

在一實施例中,網路協調器(Orchestrator)模組213具備虛擬機網卡生成管理功能,其可進行流程供裝的程序管理。網路協調器模組213會分析系統管理者、系統維護者、與使用者的輸入需求,並且參照虛擬機虛擬網路卡資源資料庫222中所記錄虛擬網卡與虛擬備援網路間的關係,以啟動供裝步驟規劃與供裝參數生成操作,並在過程中產生虛擬機虛擬網卡使用備援網路之供裝範本。 In one embodiment, the network coordinator (Orchestrator) module 213 is provided with a virtual machine network card generation management function, which can perform program management of the process supply. The network coordinator module 213 analyzes the input requirements of the system administrator, the system maintainer, and the user, and refers to the relationship between the virtual network card recorded in the virtual machine virtual network card resource database 222 and the virtual backup network. To initiate the installation step planning and supply parameter generation operation, and generate a virtual template for the virtual machine virtual network card to use the backup network in the process.

在一實施例中,軟體式網路管理模組214提供Spine-Leaf實體設備的連通功能,其使用軟體定義網路控制器模組217的實體網路設備管控功能,以將虛擬網路卡之MAC address的訊息在跨越機房間傳送,如此可將虛擬機的虛擬網路卡資訊透過備援網路傳送到其他機房。 In an embodiment, the software network management module 214 provides a connectivity function of the Spine-Leaf physical device, which uses the software to define the physical network device management function of the network controller module 217 to The MAC address message is transmitted across the machine room, so that the virtual machine's virtual network card information can be transmitted to other computer rooms through the backup network.

此外,虛擬網路功能管理模組215可設定各機房中的IP分派模組218。 In addition, the virtual network function management module 215 can set the IP dispatch module 218 in each computer room.

在一實施例中,虛擬網路功能管理模組215可將IP分 派模組218設定為僅能將機房內之IP與同一機房中虛擬機的虛擬網路卡進行綁定,而忽略來自其他機房之虛擬機虛擬網路卡的IP綁定請求。如此,可達到各機房中的IP分派模組218對於IP綁定係各自獨立,但不同機房間的虛擬機係網路連通的彈性架構,以減少在不同機房間使用廣播封包所帶來的影響。 In an embodiment, the virtual network function management module 215 can divide the IP into IP points. The dispatch module 218 is configured to only bind the IP in the equipment room to the virtual network card of the virtual machine in the same equipment room, and ignore the IP binding request of the virtual machine virtual network card from the other equipment room. In this way, the IP distribution module 218 in each equipment room can be independent of the IP binding system, but the virtual machine network of different machine rooms is connected to the flexible architecture to reduce the impact of using the broadcast packet in different machine rooms. .

請參看第4圖,係根據本發明之一實施例,建置跨機房之虛擬備援網路的方法流程圖。 Referring to FIG. 4, a flow chart of a method for establishing a virtual backup network across a computer room according to an embodiment of the present invention.

首先,在步驟S310中,使用者可以在虛擬機網路卡操作與呈現模組221所提供的使用者介面上查詢由虛擬備援網路所組成之虛擬私有雲及虛擬備援網路拓樸的資訊。此時,可以透過查詢備援網路資源與拓樸相依關係資料庫212來得知目前有哪些虛擬私有雲及虛擬備援網路。 First, in step S310, the user can query the virtual private cloud and the virtual backup network topology composed of the virtual backup network in the user interface provided by the virtual machine network card operation and presentation module 221. Information. At this time, the virtual network and the virtual backup network can be known by querying the backup network resource and the topology dependency database 212.

在步驟S320中,使用者可在虛擬機網路卡操作與呈現模組221所提供之使用者介面中輸入建置跨機房之虛擬備援網路的需求。 In step S320, the user can input the requirement of establishing a virtual backup network across the computer room in the user interface provided by the virtual machine network card operation and presentation module 221 .

接著,在步驟S330中,網路協調器模組213可根據此需求來查詢備援網路資源與拓樸相依關係資料庫212,以便確認需要橫跨之機房網路設備的網路資源是否足夠。 Then, in step S330, the network coordinator module 213 can query the backup network resource and the topology dependency database 212 according to the requirement, so as to confirm whether the network resources of the network device that needs to be traversed are sufficient. .

如果確認結果為需要橫跨之機房網路設備的網路資源係為不足,則會進入步驟S350,此時網路協調器模組213會將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 If the result of the confirmation is that the network resources of the network device that needs to be traversed are insufficient, the process proceeds to step S350, where the network coordinator module 213 returns the message that the backup network is currently unavailable. Give the user and end the supply process.

反之,如果需要橫跨之機房網路設備的網路資源充 足,則會進入步驟S340,此時網路協調器模組213會針對使用者的需求進行分析,並配置虛擬備援網路所需的網路ID、網路名稱、IP網段、閘道器IP等參數,以創建所需的供裝範本(如:Open Stack Heat供裝範本、TOSCA供裝範本)。 On the other hand, if you need to span the network resources of the computer room equipment in the computer room, If yes, the process proceeds to step S340. At this time, the network coordinator module 213 analyzes the user's needs and configures the network ID, network name, IP network segment, and gateway required for the virtual backup network. Parameters such as IP to create the required supply model (eg Open Stack Heat supply model, TOSCA supply template).

爾後,進入步驟S370,此步驟係針對單一機房之供裝操作。步驟S370可細分為三個步驟:步驟S360、步驟S380、及步驟S390。 Thereafter, the process proceeds to step S370, which is for the supply operation of a single machine room. Step S370 can be subdivided into three steps: step S360, step S380, and step S390.

在步驟S360中,網路協調器模組213會進行虛擬備援網路供裝。其中,網路協調器模組213會在機房的網路設備中預留專屬的網路資源、並對機房的網路設備進行設定。 In step S360, the network coordinator module 213 performs virtual backup network provisioning. The network coordinator module 213 reserves dedicated network resources in the network equipment of the equipment room and sets the network equipment of the equipment room.

在一實施例中,網路協調器模組213可將供裝範本傳送至虛擬基礎資源管理模組216以供虛擬備援網路、閘道器、及IP網段建立之用。此外,網路協調器模組213可將供裝範本傳送至軟體式網路管理模組214以對於實體網路設備之備援網路資源進行預先保留之操作。 In one embodiment, the network coordinator module 213 can communicate the provisioning template to the virtual base resource management module 216 for use in virtual backup networks, gateways, and IP network segments. In addition, the network coordinator module 213 can transmit the supplied template to the software network management module 214 to perform pre-reserved operations on the backup network resources of the physical network device.

在一實施例中,軟體式網路管理模組214可管理異質的軟體定義網路控制器模組217。其中,軟體式網路管理模組214可配置軟體定義網路控制器模組217所需之SDN網路設備與虛擬網路參數,且可呼叫軟體定義網路控制器模組217來進行實體網路設備上備援網路的建置。 In one embodiment, the software network management module 214 can manage a heterogeneous software-defined network controller module 217. The software network management module 214 can configure the SDN network device and virtual network parameters required by the software definition network controller module 217, and can call the software definition network controller module 217 to perform the physical network. The establishment of a backup network on the road device.

在步驟S380中,網路協調器模組213會啟動IP分派模組218的設定。其中,網路協調器模組213可呼叫虛擬網路功能管理模組215,爾後由虛擬網路功能管理模組215 調用IP分派模組218來進行IP的分派。 In step S380, the network coordinator module 213 starts the setting of the IP dispatch module 218. The network coordinator module 213 can call the virtual network function management module 215, and then the virtual network function management module 215. The IP dispatch module 218 is invoked for IP assignment.

在一實施例中,在虛擬網路功能管理模組215調用IP分派模組218時,可將IP分派模組218設定為僅能將機房內之IP與同一機房中虛擬機的虛擬網路卡進行綁定,而忽略來自其他機房之虛擬機虛擬網路卡的IP綁定請求。 In an embodiment, when the virtual network function management module 215 invokes the IP dispatch module 218, the IP dispatch module 218 can be set to only the IP address in the equipment room and the virtual network card of the virtual machine in the same equipment room. Bind and ignore IP binding requests from virtual machine virtual network cards in other equipment rooms.

在步驟S390中,網路協調器模組213會進行虛擬防火牆設定。其中,網路協調器模組213可呼叫虛擬網路功能管理模組215,爾後由虛擬網路功能管理模組215調用虛擬防火牆模組219來進行防火牆的設定。 In step S390, the network coordinator module 213 performs virtual firewall setting. The network coordinator module 213 can call the virtual network function management module 215, and then the virtual network function management module 215 calls the virtual firewall module 219 to set the firewall.

在一實施例中,虛擬網路功能管理模組215可將防火牆設定為:只有使用相同備援網路的虛擬機(虛擬網卡)能網路通訊,並拒絕來自不同備援網路之虛擬機(虛擬網卡)的連線,藉此以強化備援網路中資料(如:備援資料)傳遞的安全性。 In an embodiment, the virtual network function management module 215 can set the firewall to: only the virtual machine (virtual network card) using the same backup network can communicate with the network, and reject virtual machines from different backup networks. The connection (virtual network card) is used to enhance the security of the data in the backup network (eg, backup data).

在一實施例中,需依步驟S360至步驟S380之順序在各機房依序執行,待所有機房的備援網路相關功能都供裝完成後,網路協調器模組213才會將備援網路供裝訊息寫回備援網路資源與拓樸相依關係資料庫212。 In an embodiment, the steps S360 to S380 are sequentially performed in each computer room. After the backup network related functions of all the equipment rooms are installed, the network coordinator module 213 will provide backup. The network provisioning message writes back the backup network resource and topology dependency database 212.

前述步驟S360、步驟S380、及步驟S390之詳細步驟內容可參照第5至7圖。 The detailed step contents of the foregoing steps S360, S380, and S390 can be referred to the fifth to seventh figures.

請參閱第5圖,係根據本發明之一實施例,使用網路協調器模組來進行虛擬備援網路供裝的方法流程圖。 Referring to FIG. 5, a flow chart of a method for using a network coordinator module to perform virtual backup network provisioning according to an embodiment of the present invention.

首先,在步驟S361中,網路協調器模組213會將虛擬備援網路供裝範本送至虛擬基礎資源管理模組216。 First, in step S361, the network coordinator module 213 sends the virtual backup network provisioning template to the virtual basic resource management module 216.

爾後,在步驟S362中,虛擬基礎資源管理模組216會評估所在機房的網路資源是否足夠用以建立新的虛擬備援網路。如若資源不足,會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 Then, in step S362, the virtual basic resource management module 216 evaluates whether the network resources of the computer room are sufficient for establishing a new virtual backup network. If the resources are insufficient, the process proceeds to step S350, and the message that the backup network is currently unavailable cannot be returned to the user, and the supply process is terminated.

如若資源足夠,則會進入步驟S363中,此時虛擬基礎資源管理模組216會進行備援網路、子網路(subnet)、與閘道器虛擬網卡的供裝,並監控供裝狀態。 If the resource is sufficient, the process proceeds to step S363. At this time, the virtual basic resource management module 216 supplies the backup network, the subnet, and the virtual network card of the gateway, and monitors the state of the installation.

之後,進入步驟S364,此時會判斷虛擬基礎資源管理模組216的供裝是否成功。若否,會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 Then, proceeding to step S364, it is determined whether the supply of the virtual basic resource management module 216 is successful. If not, the process proceeds to step S350, and the message that the backup network is currently unavailable cannot be returned to the user, and the supply process is terminated.

若虛擬基礎資源管理模組216的供裝係為成功,則會進入步驟S365。在步驟S365中,網路協調器模組213會呼叫軟體式網路管理模組214以分析供裝需求、進行與實體網路設備的資源統整,並指定可以通過實體網路設備的備援網路類別。 If the supply of the virtual basic resource management module 216 is successful, the process proceeds to step S365. In step S365, the network coordinator module 213 calls the software network management module 214 to analyze the supply requirements, perform resource integration with the physical network device, and specify backup through the physical network device. Network category.

接著,在步驟S366中,判斷供裝需求分析與資源統整是否成功。若否,會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 Next, in step S366, it is determined whether the supply demand analysis and the resource integration are successful. If not, the process proceeds to step S350, and the message that the backup network is currently unavailable cannot be returned to the user, and the supply process is terminated.

反之,若供裝需求分析與資源統整係為成功,則會進入步驟S367,此時軟體式網路管理模組214會配置本機房內之軟體定義網路控制器模組217所需之SDN網路設備與虛擬網路參數,以呼叫軟體定義網路控制器模組217來進行備援網路之建置。 On the other hand, if the supply demand analysis and the resource integration are successful, the process proceeds to step S367, where the software network management module 214 configures the SDN required by the software defined network controller module 217 in the local room. The network device and virtual network parameters are defined by the call software definition network controller module 217 for the backup network.

在步驟S368中,軟體定義網路控制器模組217會在SDN網路設備上建立備援網路,同時亦會監控網路狀態。 In step S368, the software-defined network controller module 217 establishes a backup network on the SDN network device and also monitors the network status.

之後,在步驟S369中,判斷是否在SDN網路設備上成功建立備援網路。如若軟體定義網路控制器模組217在SDN網路設備上成功建立備援網路,則會回報網路協調器模組213此一成功訊息。反之,若軟體定義網路控制器模組217無法在SDN網路設備上建立備援網路,則會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 Thereafter, in step S369, it is determined whether the backup network is successfully established on the SDN network device. If the software-defined network controller module 217 successfully establishes the backup network on the SDN network device, the network coordinator module 213 will report the success message. On the other hand, if the software-defined network controller module 217 cannot establish a backup network on the SDN network device, the process proceeds to step S350, and the message that the backup network is currently unavailable cannot be returned to the user. End the supply process.

請參閱第6圖,係根據本發明之一實施例,使用網路協調器模組來啟動IP分派模組設定的方法流程圖。 Please refer to FIG. 6, which is a flowchart of a method for starting an IP dispatch module setting using a network coordinator module according to an embodiment of the present invention.

在步驟S381中,網路協調器模組213將備援網路之供裝範本(特別是針對IP分派的部分)傳送至虛擬網路功能管理模組215。 In step S381, the network coordinator module 213 transmits the provisioning template of the backup network (particularly for the IP dispatched part) to the virtual network function management module 215.

接著,在步驟S382中,虛擬網路功能管理模組215檢查IP分派模組218是否正常運作。 Next, in step S382, the virtual network function management module 215 checks whether the IP dispatch module 218 is operating normally.

如果IP分派模組218運作異常,則會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。反之,則會進入步驟S383,此時虛擬網路功能管理模組215會分析供裝需求,以依據供裝需求來配置IP分派模組218之專屬分派功能的設定。 If the IP dispatch module 218 is abnormal, the process proceeds to step S350, and the message that the backup network is currently unavailable cannot be returned to the user, and the supply process is terminated. Otherwise, the process proceeds to step S383. At this time, the virtual network function management module 215 analyzes the supply requirements to configure the setting of the exclusive dispatch function of the IP dispatch module 218 according to the supply requirements.

爾後,在步驟S384中,虛擬網路功能管理模組215會呼叫IP分派模組218來進行專屬分派功能的設定,例如:設定IP分派模組218只能接受特定虛擬機(虛擬網卡) 的IP綁定需求(即,IP的專屬分派),而不理會來自其他機房及其他虛擬機的IP綁定需求。 Then, in step S384, the virtual network function management module 215 calls the IP dispatching module 218 to perform the setting of the dedicated dispatching function. For example, the setting IP dispatching module 218 can only accept a specific virtual machine (virtual network card). IP binding requirements (ie, IP-specific assignments), regardless of IP binding requirements from other machine rooms and other virtual machines.

請參閱第7圖,係根據本發明之一實施例,使用網路協調器模組來進行虛擬防火牆設定的方法流程圖。 Referring to FIG. 7, a flowchart of a method for setting a virtual firewall using a network coordinator module according to an embodiment of the present invention.

在步驟S391中,網路協調器模組213可將備援網路之供裝範本(特別是針對防火牆設置的部分)傳送至虛擬網路功能管理模組215,並要求虛擬網路功能管理模組215針對虛擬防火牆模組219進行防火牆設定。 In step S391, the network coordinator module 213 can transmit the template of the backup network (particularly for the firewall setting) to the virtual network function management module 215, and requires the virtual network function management module. Group 215 performs firewall settings for virtual firewall module 219.

在一實施例中,虛擬防火牆模組219係為目前備援網路所使用的閘道器防火牆。 In one embodiment, the virtual firewall module 219 is a gateway firewall used by the current backup network.

接著,在步驟S392中,虛擬網路功能管理模組215會確認虛擬防火牆模組219是否正常運作。 Next, in step S392, the virtual network function management module 215 confirms whether the virtual firewall module 219 is operating normally.

如果虛擬防火牆模組219運作異常,則會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 If the virtual firewall module 219 is abnormal, the process proceeds to step S350, and the message that the backup network is currently unavailable cannot be returned to the user, and the supply process is terminated.

反之,若虛擬防火牆模組219運作正常,則會進入步驟S393,此時虛擬網路功能管理模組215會分析供裝需求,並依據供裝需求來配置虛擬防火牆模組219之防火牆設定。 On the other hand, if the virtual firewall module 219 is working normally, the process proceeds to step S393. At this time, the virtual network function management module 215 analyzes the supply requirements and configures the firewall settings of the virtual firewall module 219 according to the installation requirements.

接著,在步驟S394中,虛擬網路功能管理模組215會呼叫虛擬防火牆模組219進行防火牆設定,例如:限制特定機房或特定網域的電腦不能透過路由的方式將封包傳送至備援網路。如此一來,可以強化備援網路在通訊上的安全性。 Next, in step S394, the virtual network function management module 215 calls the virtual firewall module 219 to perform firewall setting, for example, restricting the computer in a specific computer room or a specific domain from transmitting the packet to the backup network through routing. . In this way, the security of the backup network in communication can be enhanced.

請參看第8圖,係根據本發明之一實施例,虛擬機網路卡連通暨IP取得機制的方法流程圖。 Referring to FIG. 8, a flow chart of a method for virtual machine network card connectivity and IP acquisition mechanism according to an embodiment of the present invention.

在步驟S401中,使用者可在虛擬機網路卡操作與呈現模組221所提供的使用者介面上查詢目前虛擬私有雲中可使用的備援網路。 In step S401, the user can query the backup network available in the current virtual private cloud in the user interface provided by the virtual machine network card operation and presentation module 221.

此時,可以透過查詢備援網路資源與拓樸相依關係資料庫212,來將目前虛擬私有雲中有哪些可使用的備援網路之訊息告知使用者。 At this time, the backup network resource and the topology dependency database 212 can be queried to inform the user of the available backup network information in the current virtual private cloud.

在步驟S402中,使用者執行跨機房之虛擬網路卡之開通或連通(即,建置)。此時,使用者會使用跨機房之虛擬備援網路建置子系統210所建立的備援網路來將建置虛擬網路卡的需求送至網路協調器模組213。 In step S402, the user performs the opening or communication (ie, establishment) of the virtual network card across the computer room. At this time, the user will use the backup network established by the virtual backup network construction subsystem 210 across the equipment room to send the requirement for establishing the virtual network card to the network coordinator module 213.

接著,在步驟S404中,網路協調器模組213會確認與建立虛擬網路卡需求相關的每個機房的備援網路是否都正常運行。 Next, in step S404, the network coordinator module 213 confirms whether the backup network of each equipment room related to the establishment of the virtual network card requirement is normal.

倘若並非每個機房的備援網路都在正常運行中,則會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 If not all the backup networks of each equipment room are in normal operation, the process proceeds to step S350, and the message that the backup network is currently unavailable cannot be returned to the user, and the supply process is terminated.

反之,如果每個機房的備援網路都在正常運行中,則會啟動分析需求與配置供裝參數動作,並進入步驟S405。 On the other hand, if the backup network of each equipment room is in normal operation, the analysis request and the configuration supply parameter action are started, and the process proceeds to step S405.

在一實施例中,網路協調器模組213會分析需求,並配置此備援網路所需的備援網路識別碼(ID)、備援網路名稱、虛擬網卡使用的IP、虛擬網路卡使用的MAC Address等軟硬體資源。 In an embodiment, the network coordinator module 213 analyzes the requirements and configures the backup network identifier (ID), the backup network name, the IP used by the virtual network card, and the virtual network required for the backup network. Software and hardware resources such as MAC Address used by the network card.

在步驟S405中,網路協調器模組213將描述配置此備援網路所需軟硬體資源(參數)的虛擬機網卡供裝範本(如:Open Stack Heat供裝範本、TOSCA供裝範本)傳送至虛擬基礎資源管理模組216,以請求虛擬基礎資源管理模組216執行虛擬網路卡之供裝、將虛擬網路卡與備援網路進行綁定。 In step S405, the network coordinator module 213 will describe a virtual machine network card provisioning template for configuring the hardware and software resources (parameters) required for the backup network (eg, Open Stack Heat supply template, TOSCA supply template). The virtual basic resource management module 216 is requested to perform the virtual network card installation and bind the virtual network card to the backup network.

在步驟S406中,虛擬基礎資源管理模組216進行備援網路之虛擬網卡供裝、並監控供裝狀態。 In step S406, the virtual basic resource management module 216 supplies the virtual network card of the backup network and monitors the state of the installation.

之後,在步驟407中,判斷虛擬網卡供裝是否成功。如若供裝失敗,則會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。反之,如若虛擬網路卡供裝成功,則將成功訊息傳送給網路協調器模組213。 Then, in step 407, it is determined whether the virtual network card is successfully loaded. If the installation fails, the process proceeds to step S350, and the message that the backup network is currently unavailable cannot be returned to the user, and the supply process is terminated. On the other hand, if the virtual network card is successfully installed, the success message is transmitted to the network coordinator module 213.

之後,在步驟S408中,由網路協調器模組213分析供裝需求,以依據供裝需求進行供裝配置。其中,網路協調器模組213呼叫虛擬網路功能管理模組215,以由虛擬網路功能管理模組215調用IP分派模組218來進行專屬的虛擬網路卡MAC Address設定。此時,IP分派模組218會將可使用的備援網路之IP位置分配給虛擬網路卡(即,將專屬的IP位置與虛擬網路卡MAC address進行綁定)。 Thereafter, in step S408, the network coordinator module 213 analyzes the supply requirements to perform the provisioning configuration according to the supply requirements. The network coordinator module 213 calls the virtual network function management module 215 to invoke the IP dispatch module 218 by the virtual network function management module 215 to perform a dedicated virtual network card MAC Address setting. At this point, the IP dispatch module 218 assigns the IP location of the available backup network to the virtual network card (ie, binds the dedicated IP location to the virtual network card MAC address).

在步驟S409中,網路協調器模組213分析供裝需求(建置需求)中的相關參數(如:虛擬網路卡所使用的備援網路名稱、虛擬網路卡的IP、虛擬網路卡的MAC Address、與備援網路相關之實體網路設備識別碼(ID)、跨機房虛擬網 卡連通需求等)、並針對單一機房生成跨機房虛擬網卡連通供裝範本。之後,再依序對於此備援網路所涵蓋的其他機房進行實體網路設備設定,以使此虛擬網路卡的MAC Address能連通至備援網路所涵蓋的其他機房。 In step S409, the network coordinator module 213 analyzes related parameters in the supply requirement (construction requirement) (eg, the name of the backup network used by the virtual network card, the IP of the virtual network card, and the virtual network). MAC address of the road card, physical network device identification code (ID) related to the backup network, virtual network across the computer room Card connectivity requirements, etc., and for the single room to generate a cross-machine room virtual network card connectivity model. After that, physical network device settings are performed for other equipment rooms covered by the backup network, so that the MAC address of the virtual network card can be connected to other computer rooms covered by the backup network.

接著,進入步驟S410,此步驟係針對單一機房之供裝操作。其中,網路協調器模組213會呼叫軟體式網路管理模組214來進行跨機房虛擬網卡連通供裝流程。此時,軟體式網路管理模組214會配置本機房中軟體定義網路控制器模組217所需之SDN網路設備與虛擬網路卡參數。爾後,再由軟體定義網路控制器模組217進行跨機房虛擬網路卡的連通開啟。其中,步驟S410之更詳細步驟內容可參照第9圖。 Next, the process proceeds to step S410, which is for the supply operation of a single machine room. The network coordinator module 213 calls the software network management module 214 to perform the process of connecting and installing the virtual network card across the computer room. At this time, the software network management module 214 configures the SDN network device and virtual network card parameters required by the software defined network controller module 217 in the local room. Then, the network controller module 217 is defined by the software to enable the communication of the virtual network card across the computer room. For details of the steps of step S410, refer to FIG. 9.

請參看第9圖,係根據本發明之一實施例,使用網路協調器模組來進行跨機房虛擬網卡連通供裝的方法流程圖在步驟S501中,網路協調器模組213將跨機房虛擬網卡連通供裝範本送至軟體式網路管理模組214。 Referring to FIG. 9, a flow chart of a method for using a network coordinator module to connect and supply a virtual network card across a computer room according to an embodiment of the present invention. In step S501, a network coordinator module 213 will cross the machine room. The virtual network card connection and installation template is sent to the software network management module 214.

在步驟S502中,軟體式網路管理模組214會分析供裝需求及確認與供裝需求相關之實體網路設備資源是否充足。 In step S502, the software network management module 214 analyzes the supply requirements and confirms whether the physical network device resources related to the supply requirements are sufficient.

在步驟S504中,軟體式網路管理模組214會確認軟體定義網路控制器模組217是否正常運作,及實體網路設備中是否保留了備援網路會用到的資源。 In step S504, the software network management module 214 confirms whether the software-defined network controller module 217 is operating normally, and whether the resources used by the backup network are retained in the physical network device.

如若需求分析與資源確認成功,則會進入步驟S505,此時軟體式網路管理模組214會配置本地之軟體定義網路 控制器模組217所需之虛擬網路卡相關參數,以呼叫軟體定義網路控制器模組217來進行本地實體軟體定義網路交換器之跨機房連通設定。 If the requirement analysis and the resource confirmation succeed, the process proceeds to step S505, where the software network management module 214 configures the local software definition network. The virtual network card related parameters required by the controller module 217 are used by the call software definition network controller module 217 to perform cross-device connectivity setting of the local entity software-defined network switch.

反之,若需求分析與資源確認失敗,則會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 On the other hand, if the demand analysis and the resource confirmation fail, the process proceeds to step S350, and the message that the backup network is currently unavailable cannot be returned to the user, and the supply process is terminated.

接著,在步驟S506中,軟體定義網路控制器模組217會針對本地的實體網路設備(如:實體軟體定義網路交換器)進行跨機房備援節點的建置、在網路設備上建立虛擬網路卡連通之設定、同時監控網路狀態。 Next, in step S506, the software-defined network controller module 217 performs the establishment of the cross-system backup node for the local physical network device (for example, the entity software defines the network switch), and is on the network device. Establish settings for virtual network card connectivity and monitor network status.

之後,在步驟S507中,確認此虛擬網路卡的跨機房連通設定是否成功。若成功,則表示自動供裝完成。 Thereafter, in step S507, it is confirmed whether the cross-machine connectivity setting of the virtual network card is successful. If successful, the automatic supply is complete.

反之,如果此虛擬網路卡的跨機房連通設定失敗,則會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 On the other hand, if the cross-machine connection setting of the virtual network card fails, the process proceeds to step S350, and the message that the backup network is currently unavailable cannot be returned to the user, and the supply process is terminated.

上述實施形態僅例示性說明本發明之原理、特點及其功效,並非用以限制本發明之可實施範疇,任何熟習此項技藝之人士均可在不違背本發明之精神及範疇下,對上述實施形態進行修飾與改變。任何運用本發明所揭示內容而完成之等效改變及修飾,均仍應為申請專利範圍所涵蓋。因此,本發明之權利保護範圍,應如申請專利範圍所列。 The above-described embodiments are merely illustrative of the principles, features, and effects of the present invention, and are not intended to limit the scope of the present invention. Any person skilled in the art can recite the above without departing from the spirit and scope of the present invention. The embodiment is modified and changed. Any equivalent changes and modifications made by the disclosure of the present invention should still be covered by the scope of the patent application. Therefore, the scope of protection of the present invention should be as set forth in the scope of the patent application.

Claims (15)

一種建置一虛擬備援網路的系統,包含:一虛擬備援網路操作與呈現模組,其接收針對該虛擬備援網路的一建置請求;一網路協調器模組,其分析該建置請求以確認目前機房中的網路設備資源是否足以用來建立該虛擬備援網路,俾供該網路協調器模組產生與該虛擬備援網路相關之一供裝範本;一軟體式網路管理模組,其在該網路設備資源中預留建立該虛擬備援網路所需的資源;及一IP分派模組,其根據該供裝範本及該預留資源,將該機房中的IP位址設定為僅能與該機房中的一虛擬機之虛擬網路卡進行綁定以完成該虛擬備援網路之建置。 A system for establishing a virtual backup network includes: a virtual backup network operation and presentation module that receives a build request for the virtual backup network; and a network coordinator module Analyzing the configuration request to confirm whether the network device resource in the current equipment room is sufficient to establish the virtual backup network, and the network coordinator module generates a model for supplying the virtual backup network. a software network management module that reserves the resources required to establish the virtual backup network in the network device resource; and an IP dispatch module, according to the provisioning template and the reserved resource The IP address in the equipment room is set to be bound only to the virtual network card of a virtual machine in the equipment room to complete the virtual backup network. 一種建置一虛擬備援網路的方法,包含以下步驟:(1)接收針對該虛擬備援網路的一建置請求;(2)確認目前機房中的網路設備資源是否足以用來建立該虛擬備援網路;(3)產生與該虛擬備援網路相關之一供裝範本;(4)依據該供裝範本,在該等網路設備資源中預留建立該虛擬備援網路所需的資源;及(5)根據該供裝範本及該預留資源,將該機房中的IP位址設定為僅能與該機房中的一虛擬機之虛擬網路卡進行綁定以完成該虛擬備援網路之建置。 A method for establishing a virtual backup network includes the following steps: (1) receiving a configuration request for the virtual backup network; and (2) confirming whether the network device resources in the current equipment room are sufficient for establishing The virtual backup network; (3) generating a provisioning template related to the virtual backup network; (4) according to the provisioning template, reserving the virtual backup network in the network device resources The resource required for the road; and (5) according to the provisioning template and the reserved resource, the IP address in the equipment room is set to be bound only to the virtual network card of a virtual machine in the equipment room. Complete the establishment of the virtual backup network. 如申請專利範圍第2項所述之方法,更包含在完成該虛擬備援網路之建置後,將該虛擬備援網路之防火牆規則設定為使用該虛擬備援網路的該虛擬機僅能與使用該虛擬備援網路的其他虛擬機進行通訊。 The method of claim 2, further comprising setting the firewall rule of the virtual backup network to the virtual machine using the virtual backup network after completing the establishment of the virtual backup network. Only communicate with other virtual machines that use this virtual backup network. 如申請專利範圍第2項所述之方法,其中,該等網路設備資源包含以下之至少一者:異質SDN控制器、同質SDN控制器、SDN虛擬交換器、SDN實體交換器及可用的IP位址。 The method of claim 2, wherein the network device resources comprise at least one of the following: a heterogeneous SDN controller, a homogeneous SDN controller, an SDN virtual switch, an SDN entity switch, and an available IP. Address. 如申請專利範圍第2至4項中任一項所述之方法,其中,該供裝範本係描述建置該虛擬備援網路所需的網路ID、網路名稱、IP網段及閘道器IP中之至少一者。 The method of any one of claims 2 to 4, wherein the provisioning template describes a network ID, a network name, an IP network segment, and a gate required to construct the virtual backup network. At least one of the router IPs. 如申請專利範圍第2至4項中任一項所述之方法,其中,該供裝範本係符合Open Stack Heat格式或TOSCA格式之供裝範本。 The method of any one of claims 2 to 4, wherein the supplied template conforms to a supply template of the Open Stack Heat format or the TOSCA format. 一種建置一虛擬網路卡的系統,包含:一虛擬機網路卡操作與呈現模組,其接收針對該虛擬網路卡之一建置請求;一網路協調器模組,其基於該建置請求,產生一虛擬網路卡供裝範本;一虛擬基礎資源管理模組,其根據該虛擬網路卡供裝範本對該虛擬網路卡進行供裝;及一IP分派模組,其將該虛擬網路卡之MAC位址與一虛擬備援網路中的一IP位址綁定。 A system for building a virtual network card, comprising: a virtual machine network card operation and presentation module, receiving a request for establishing a virtual network card; and a network coordinator module based on the Establishing a request to generate a virtual network card installation template; a virtual basic resource management module, which supplies the virtual network card according to the virtual network card provisioning template; and an IP distribution module, Binding the MAC address of the virtual network card to an IP address in a virtual backup network. 一種建置一虛擬網路卡的方法,包含以下步驟: (1)接收針對該虛擬網路卡之一建置請求;(2)基於該建置請求,產生一虛擬網路卡供裝範本;(3)根據該虛擬網路卡供裝範本,對該虛擬網路卡進行供裝;及(4)將該虛擬網路卡之MAC位址與一虛擬備援網路中的一IP位址綁定。 A method of constructing a virtual network card includes the following steps: (1) receiving a request for establishing a virtual network card; (2) generating a virtual network card installation template based on the configuration request; and (3) supplying the template according to the virtual network card; The virtual network card is installed; and (4) binding the MAC address of the virtual network card to an IP address in a virtual backup network. 如申請專利範圍第8項所述之方法,其中,該步驟(1)包含提供一使用者介面以供使用者在該使用者介面輸入針對該虛擬網路卡之該建置請求、及查詢目前有哪些虛擬備援網路。 The method of claim 8, wherein the step (1) comprises providing a user interface for the user to input the request for the virtual network card at the user interface, and querying the current What are the virtual backup networks? 如申請專利範圍第8項所述之方法,其中,該步驟(2)包含基於該建置請求,配置用於該建置請求之資源,以產生描述該資源之該虛擬網路卡供裝範本。 The method of claim 8, wherein the step (2) comprises configuring a resource for the configuration request based on the configuration request to generate a virtual network card provisioning template describing the resource. . 如申請專利範圍第10項所述之方法,其中,該資源包含以下之一者或多者:該虛擬備援網路之識別碼、該虛擬備援網路之名稱及該虛擬網路卡之該MAC位址。 The method of claim 10, wherein the resource comprises one or more of the following: an identifier of the virtual backup network, a name of the virtual backup network, and a virtual network card. The MAC address. 如申請專利範圍第8項所述之方法,其中,該虛擬網路卡供裝範本係符合Open Stack Heat格式或TOSCA格式之供裝範本。 The method of claim 8, wherein the virtual network card supply model conforms to a supply template of the Open Stack Heat format or the TOSCA format. 如申請專利範圍第8至12項中任一項所述之方法,在該步驟(4)後,更包含以下步驟:(5)分析該建置請求之相關參數以產生一跨機房虛擬網卡連通供裝範本。 The method of any one of claims 8 to 12, after the step (4), further comprising the following steps: (5) analyzing relevant parameters of the configuration request to generate a virtual network card connection across the computer room. Supply model. 如申請專利範圍第13項所述之方法,其中,該等相關參數包含以下之至少一者:該虛擬備援網路之名稱、與該虛擬備援網路相關之實體網路設備識別碼、與該虛擬網路卡綁定之該IP位址、該虛擬網路卡之該MAC位址及該虛擬網路卡之跨機房連通需求。 The method of claim 13, wherein the related parameters include at least one of: a name of the virtual backup network, a physical network device identifier associated with the virtual backup network, The IP address bound to the virtual network card, the MAC address of the virtual network card, and the inter-machine connectivity requirement of the virtual network card. 如申請專利範圍第13項所述之方法,更包含基於該跨機房虛擬網卡連通供裝範本,使用一軟體定義網路控制器模組以將該虛擬網路卡設定為跨機房連通。 The method of claim 13, further comprising: using a software-defined network controller module to set the virtual network card to be connected across the computer room based on the cross-machine room virtual network card connection and installation template.
TW107105768A 2018-02-21 2018-02-21 Method and system for establishing virtual backup network and virtual network card TWI659631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107105768A TWI659631B (en) 2018-02-21 2018-02-21 Method and system for establishing virtual backup network and virtual network card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107105768A TWI659631B (en) 2018-02-21 2018-02-21 Method and system for establishing virtual backup network and virtual network card

Publications (2)

Publication Number Publication Date
TWI659631B TWI659631B (en) 2019-05-11
TW201937900A true TW201937900A (en) 2019-09-16

Family

ID=67347954

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107105768A TWI659631B (en) 2018-02-21 2018-02-21 Method and system for establishing virtual backup network and virtual network card

Country Status (1)

Country Link
TW (1) TWI659631B (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3028528A4 (en) * 2013-08-27 2017-05-03 Huawei Technologies Co., Ltd. System and method for mobile network function virtualization
CN104144135B (en) * 2014-07-25 2017-06-13 电子科技大学 Resource allocation methods for multicast virtual network and anti-ruin resource allocation methods

Also Published As

Publication number Publication date
TWI659631B (en) 2019-05-11

Similar Documents

Publication Publication Date Title
US11588675B2 (en) Systems and methods for selectively implementing services on virtual machines and containers
US11799727B2 (en) Extending center cluster membership to additional compute resources
CN103703724B (en) A method of distributing resources
EP3133794B1 (en) Network function virtualization network system
CN107689882B (en) A method and device for service deployment in a virtualized network
US11223536B2 (en) Model driven process for automated deployment of domain 2.0 virtualized services and applications on cloud infrastructure
CN106533883B (en) A kind of method for building up, the apparatus and system of network special line
CN107911463B (en) Business cross-cloud architecture and creation method and management method thereof
CN109391490B (en) Network slice management method and device
CN111245634B (en) A virtualization management method and device
CN105429780A (en) Virtualized network service business automatic generation and dynamic monitoring method
WO2016155394A1 (en) Method and device for establishing link between virtual network functions
CN115296993A (en) System, function and interface for interconnected multi-domain network fragmentation control and management
CN104104572A (en) Automatic deploying method and device for switch in SDN network
CN105282004A (en) Network virtualization processing method, device and system
CN106919435A (en) The creation method of virtual machine, the management method of resource and device
CN109587024B (en) A resource processing method and related device
WO2009059505A1 (en) A remote initialization method and system
CN112087311B (en) Virtual network function VNF deployment method and device
CN103401954B (en) The implementation method of virtual DHCP
CN106161171A (en) A kind of method and apparatus setting up Network example
US20220350637A1 (en) Virtual machine deployment method and related apparatus
CN118860633B (en) Cluster deployment method and computing device
TWI659631B (en) Method and system for establishing virtual backup network and virtual network card
WO2017182086A1 (en) Management of network resources shared by multiple customers