TWI659631B - 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 PDFInfo
- Publication number
- TWI659631B TWI659631B TW107105768A TW107105768A TWI659631B TW I659631 B TWI659631 B TW I659631B TW 107105768 A TW107105768 A TW 107105768A TW 107105768 A TW107105768 A TW 107105768A TW I659631 B TWI659631 B TW I659631B
- Authority
- TW
- Taiwan
- Prior art keywords
- virtual
- network
- backup
- network card
- module
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000009434 installation Methods 0.000 claims abstract description 65
- 238000010276 construction Methods 0.000 claims description 32
- 238000007726 management method Methods 0.000 description 57
- 238000011900 installation process Methods 0.000 description 12
- 230000007246 mechanism Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000010354 integration Effects 0.000 description 3
- HRANPRDGABOKNQ-ORGXEYTDSA-N (1r,3r,3as,3br,7ar,8as,8bs,8cs,10as)-1-acetyl-5-chloro-3-hydroxy-8b,10a-dimethyl-7-oxo-1,2,3,3a,3b,7,7a,8,8a,8b,8c,9,10,10a-tetradecahydrocyclopenta[a]cyclopropa[g]phenanthren-1-yl acetate Chemical group C1=C(Cl)C2=CC(=O)[C@@H]3C[C@@H]3[C@]2(C)[C@@H]2[C@@H]1[C@@H]1[C@H](O)C[C@@](C(C)=O)(OC(=O)C)[C@@]1(C)CC2 HRANPRDGABOKNQ-ORGXEYTDSA-N 0.000 description 2
- 230000004913 activation Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000009429 distress Effects 0.000 description 1
- 238000005315 distribution function Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本案提供一種用於建置虛擬備援網路和虛擬網路卡的方法與系統。在一些實施例中,網路協調器模組產生虛擬備援網路之供裝範本,以由軟體式網路管理模組預留建立虛擬備援網路所需的資源。爾後,IP分派模組根據供裝範本及預留的資源,將一機房中的IP位址設定為僅能分派給在該機房內所使用的一虛擬網路卡,以完成虛擬備援網路之建置,藉此快速設置安全、可靠的備援網路。 This case provides a method and system for building a virtual backup network and a virtual network card. In some embodiments, the network coordinator module generates an installation template for the virtual backup network to reserve resources required by the software-based network management module to establish the virtual backup network. Thereafter, the IP assignment module sets the IP address in a computer room to only be assigned to a virtual network card used in the computer room to complete the virtual backup network according to the installation template and reserved resources. To quickly set up a secure and reliable backup network.
Description
本發明係關於一種用於建置虛擬備援網路和虛擬網路卡的技術,特別是一種用於建置大二層(L2)虛擬備援網路和大二層中之虛擬網路卡的方法與系統。 The invention relates to a technology for constructing a virtual backup network and a virtual network card, in particular to a technology for constructing a large second-layer (L2) virtual backup network and a virtual network card in the second layer Methods and systems.
傳統上,當網路環境中的網路路徑損壞時,才會進行與其他網路路徑的開通(即,與備援網路的連通),並將原本的網路路徑切換至備援網路。然而這樣被動的開通方式,經常需要花費額外時間來進行網路路徑的切換,才能讓網路通訊恢復正常。如此,對於亟欲連網通訊的使用者,會帶來極大的困擾與不便。 Traditionally, when the network path in the network environment is damaged, the opening with other network paths (that is, the connection to the backup network) is performed, and the original network path is switched to the backup network. . However, such a passive activation method often requires extra time to switch the network path in order for the network communication to return to normal. In this way, it will bring great distress and inconvenience to users who are eager to communicate on the Internet.
此外,要在網路環境(如:大二層網路環境、跨機房網路環境等)中設置虛擬及/或實體備援網路,經常需要網路、系統管理者針對各個環節手動進行設定。然而,這樣手動設定的方式,在規模成長快速的現今網路環境中,不僅耗費大量時間,也會增加許多的人力成本,從而變得不切實際。 In addition, to set up a virtual and / or physical backup network in a network environment (such as a large two-tier network environment, a cross-machine room network environment, etc.), it is often necessary for the network and system administrator to manually set up for each link . However, such a manual setting method not only consumes a lot of time, but also increases a lot of labor costs in today's rapidly growing network environment, which becomes impractical.
再者,除了快速設置備援網路的需求外,更要能確保備援網路在使用上的安全性與可靠度。如此,才能讓使用者在使用備援網路的同時,不用擔心資料被其他非備援網路或相異網段中的第三方所存取,而有資料外洩疑慮。 Furthermore, in addition to the need to quickly set up a backup network, it is also necessary to ensure the safety and reliability of the backup network in use. In this way, users can use the redundant network without worrying about data being accessed by third parties in other non-redundant networks or in different network segments, and having data leakage concerns.
鑑於前述問題,著實有必要提供一有效建置備援網路及使用備援網路的方法,來快速設置安全、可靠的備援網路。 In view of the foregoing problems, it is really necessary to provide a method for effectively constructing a backup network and using the backup network to quickly set up a secure and reliable backup network.
基於先前技術所存在的問題,本發明揭示了用於建置虛擬備援網路和虛擬網路卡的方法與系統。相較於先前技術,本發明之一實施例揭示利用網路協調器(Orchestrator)模組、軟體式網路管理模組、IP分派模組之協作來設置備援網路,以提升備援網路的設置效率。 Based on the problems existing in 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 the cooperation of a network coordinator (Orchestrator) module, a software-based network management module, and an IP dispatching module to improve the backup network. Road setting efficiency.
本發明之一實施例提供了一種建置一虛擬備援網路的系統,包含:一虛擬備援網路操作與呈現模組,其接收針對該虛擬備援網路的一建置請求;一網路協調器模組,其分析該建置請求以確認目前機房中的網路設備資源是否足以用來建立該虛擬備援網路,俾供該網路協調器模組產生與該虛擬備援網路相關之一供裝範本;一軟體式網路管理模組,其在該網路設備資源中預留建立該虛擬備援網路所需的資源;及一IP分派模組,其根據該供裝範本及該預留資源,將該機房中的IP位址設定為僅能與該機房中的一虛擬機之虛擬網路卡進行綁定以完成該虛擬備援網路之建置。 An embodiment of the present invention provides a system for constructing a virtual backup network, including: a virtual backup network operation and presentation module that receives a construction request for the virtual backup network; A network coordinator module that analyzes the construction request to determine whether the current network equipment resources in the computer room are sufficient to establish the virtual backup network for the network coordinator module to generate and the virtual backup A network-related one for installing a template; a software-based network management module that reserves the resources required to establish the virtual standby network among the network equipment resources; and an IP dispatching module that is based on the For the installation template and the reserved resources, the IP address in the computer room is set to only bind with the virtual network card of a virtual machine in the computer room to complete the construction of the virtual backup network.
本發明之又一實施例提供了一種建置一虛擬備援網路的方法,包含以下步驟:(1)接收針對該虛擬備援網路的一建置請求;(2)確認目前機房中的網路設備資源是否足以用來建立該虛擬備援網路;(3)產生與該虛擬備援網路相關之一供裝範本;(4)依據該供裝範本,在該網路設備資源中預留建立該虛擬備援網路所需的資源;及(5)根據該供裝範本及該預留資源,將該機房中的IP位址設定為僅能與該機房中的一虛擬機之虛擬網路卡進行綁定以完成該虛擬備援網路之建置。 Another embodiment of the present invention provides a method for constructing a virtual backup network, including the following steps: (1) receiving a construction request for the virtual backup network; (2) confirming the current Whether the network equipment resources are sufficient to establish the virtual backup network; (3) generating a provision template related to the virtual backup network; (4) according to the provisioning template, among the network equipment resources Reserve the resources required to establish the virtual backup network; and (5) set the IP address in the computer room to only match the virtual machine in the computer room according to the provisioning template and the reserved resources. The virtual network card is bound to complete the construction of the virtual backup network.
在另一實施例中,更包含在完成該虛擬備援網路之建置後,將該虛擬備援網路之防火牆規則設定為使用該虛擬備援網路的該虛擬機僅能與使用該虛擬備援網路的其他虛擬機進行通訊。 In another embodiment, after the virtual backup network is constructed, the firewall rules of the virtual backup network are set to use the virtual machine of the virtual backup network only with the virtual machine. Other virtual machines on the virtual standby network communicate.
在另一實施例中,該等網路設備資源包含以下之至少一者:異質SDN控制器、同質SDN控制器、SDN虛擬交換器、SDN實體交換器及可用的IP位址。 In another embodiment, the network equipment resources include 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 installation 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 installation template is an installation template conforming to the Open Stack Heat format or the TOSCA format.
本發明之一實施例提供了一種建置一虛擬網路卡的系統,包含:一虛擬機網路卡操作與呈現模組,其接收針對該虛擬網路卡之一建置請求;一網路協調器模組,其基於 該建置請求,產生一虛擬網路卡供裝範本;一虛擬基礎資源管理模組,其根據該虛擬網路卡供裝範本,對該虛擬網路卡進行供裝;及一IP分派模組,其將該虛擬網路卡之MAC位址與一虛擬備援網路中的一IP位址綁定。 An embodiment of the present invention provides a system for constructing a virtual network card, including: a virtual machine network card operation and presentation module, which receives a construction request for one of the virtual network cards; a network Coordinator module, which is based on The establishment request generates a virtual network card installation template; a virtual basic resource management module that installs the virtual network card according to the virtual network card installation template; and an IP distribution module , Which binds the MAC address of the virtual network card to an IP address in a virtual standby network.
本發明之再一實施例提供了一種建置一虛擬網路卡的方法,包含以下步驟:(1)接收針對該虛擬網路卡之一建置請求;(2)基於該建置請求,產生一虛擬網路卡供裝範本;(3)根據該虛擬網路卡供裝範本,對該虛擬網路卡進行供裝;及(4)將該虛擬網路卡之MAC位址與一虛擬備援網路中的一IP位址綁定。 Another embodiment of the present invention provides a method for constructing a virtual network card, including the following steps: (1) receiving a construction request for one of the virtual network cards; (2) generating based on the construction request A virtual network card installation template; (3) the virtual network card is installed according to the virtual network card installation template; and (4) the virtual network card MAC address and a virtual backup An IP address is bound in the network.
在另一實施例中,該步驟(1)包含提供一使用者介面以供使用者在該使用者介面輸入針對該虛擬網路卡之該建置請求、及查詢目前有哪些虛擬備援網路。 In another embodiment, the step (1) includes providing a user interface for the user to input the establishment request for the virtual network card in the user interface, and querying which virtual backup networks are currently available. .
在另一實施例中,該步驟(2)包含基於該建置請求,配置用於該建置請求之資源,以產生描述該資源之該虛擬網路卡供裝範本。 In another embodiment, step (2) includes configuring a resource for the construction request based on the construction request to generate a virtual network card installation template describing the resource.
在另一實施例中,該等資源包含以下之一者或多者:該虛擬備援網路之識別碼、該虛擬備援網路之名稱及該虛擬網路卡之該MAC位址。 In another embodiment, the resources include one or more of the following: an identification code 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 installation template is an installation template conforming to the Open Stack Heat format or the TOSCA format.
在另一實施例中,更包含以下步驟:(5)分析該建置請求之相關參數以產生一跨機房虛擬網卡連通供裝範本。 In another embodiment, the method further includes the following steps: (5) Analyze related parameters of the establishment request to generate a cross-machine room virtual network card connection for installation template.
在另一實施例中,該等相關參數包含以下之至少一 者:該虛擬備援網路之名稱、與該虛擬備援網路相關之實體網路設備識別碼、與該虛擬網路卡綁定之該IP位址、該虛擬網路卡之該MAC位址及該虛擬網路卡之跨機房連通需求。 In another embodiment, the related parameters include at least one of the following By: the name of the virtual backup network, the identification code of the physical network device associated with the virtual backup network, the IP address bound to the virtual network card, and the MAC bit of the virtual network card Address and cross-computer room connectivity requirements of the virtual network card.
在另一實施例中,更包含基於該跨機房虛擬網卡連通供裝範本,使用一軟體定義網路控制器模組以將該虛擬網路卡設定為跨機房連通。 In another embodiment, it further includes an installation template based on the cross-computer room virtual network card connection, and a software-defined network controller module is used to set the virtual network card to cross-computer room communication.
應理解,以上描述的標的可實施為電腦控制的設備、電腦程式、計算系統,或作為製品,諸如,電腦可讀取儲存媒體。 It should be understood that the subject matter described above may be implemented as a computer-controlled device, computer program, computing system, or as a product, such as a computer-readable storage medium.
為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明。在以下描述內容中將部分闡述本發明之額外特徵及優點,且此等特徵及優點將部分自所述描述內容顯而易見,或可藉由對本發明之實踐習得。本發明之特徵及優點借助於在申請專利範圍中特別指出的元件及組合來認識到並達到。應理解,前文一般描述與以下詳細描述兩者均僅為例示性及解釋性的,且不欲約束本發明所主張之範圍。 In order to make the above features and advantages of the present invention more comprehensible, embodiments are described below in detail with reference to the accompanying drawings. Additional features and advantages of the present invention will be partially explained in the following description, and these features and advantages will be partially obvious from the description, or may be learned through practice of the present invention. The features and advantages of the invention are realized and achieved by means of elements and combinations specifically pointed out in the scope of the patent application. It should be understood that both the foregoing general description and the following detailed description are merely exemplary and explanatory and are not intended to limit the scope of the invention as claimed.
200‧‧‧透過控制器動態開通L2備援網路至多機房的系統 200‧‧‧ Dynamically open L2 backup network to multi-computer room system through the controller
210‧‧‧跨機房之虛擬備援網路建置子系統 210‧‧‧ Cross-machine room virtual backup network construction subsystem
211‧‧‧虛擬備援網路操作與呈現模組 211‧‧‧Virtual backup network operation and presentation module
212‧‧‧備援網路資源與拓樸相依關係資料庫 212‧‧‧Reliability database for network resources and topology dependencies
213‧‧‧網路協調器(Orchestrator)模組 213‧‧‧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 Distribution Module
219‧‧‧虛擬防火牆模組 219‧‧‧Virtual Firewall Module
220‧‧‧虛擬機網路卡連通暨IP取得機制子系統 220‧‧‧ Virtual machine network card connection and IP acquisition mechanism subsystem
221‧‧‧虛擬機網路卡操作與呈現模組 221‧‧‧Virtual Machine Network Card Operation and Presentation Module
222‧‧‧虛擬機虛擬網路卡資源資料庫 222‧‧‧Virtual Machine Virtual Network Card Resource Database
S310-S390‧‧‧步驟 S310-S390‧‧‧step
S361-S369‧‧‧步驟 S361-S369‧‧‧step
S381-S384‧‧‧步驟 S381-S384‧‧‧step
S391-S394‧‧‧步驟 S391-S394‧‧‧step
S401-S410‧‧‧步驟 S401-S410‧‧‧step
S501-S507‧‧‧步驟 S501-S507‧‧‧step
第1圖所示係為本發明之透過控制器動態開通大二層備援網路至多機房的系統架構圖;第2圖所示係為本發明之跨機房之虛擬備援網路建置子系統的系統架構圖;第3圖所示係為本發明之虛擬機網路卡連通暨IP取得 機制子系統的系統架構圖;第4圖所示係為根據本發明之一實施例,建置跨機房之虛擬備援網路的方法流程圖;第5圖所示係為根據本發明之一實施例,使用網路協調器模組來進行虛擬備援網路供裝的方法流程圖;第6圖所示係為根據本發明之一實施例,使用網路協調器模組來啟動IP分派模組設定的方法流程圖;第7圖所示係為根據本發明之一實施例,使用網路協調器模組來進行虛擬防火牆設定的方法流程圖;第8圖所示係為根據本發明之一實施例,虛擬機網路卡連通暨IP取得機制的方法流程圖;及第9圖所示係為根據本發明之一實施例,使用網路協調器模組來進行跨機房虛擬網卡連通供裝的方法流程圖。 Figure 1 shows the system architecture diagram of the present invention for dynamically opening a large second-tier redundant network to multiple computer rooms through a controller; Figure 2 shows the virtual redundant network building sub-computer room of the present invention. System architecture diagram of the system; Figure 3 shows the virtual machine network card connection and IP acquisition of the present invention System architecture diagram of the mechanism subsystem; FIG. 4 shows a flowchart of a method for constructing a virtual backup network across computer rooms according to an embodiment of the present invention; and FIG. 5 shows one of the methods according to the present invention. In the embodiment, a flowchart of a method for installing a virtual backup network using a network coordinator module is shown in FIG. 6. FIG. 6 shows an example of using the network coordinator module to start IP allocation according to an embodiment of the present invention. A flowchart of a method for module setting; 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; and FIG. 8 is a flowchart according to the present invention According to one embodiment, a method flowchart of a virtual machine network card connection and IP obtaining mechanism is shown in FIG. 9; and FIG. 9 shows an embodiment of the present invention using a network coordinator module to perform cross-machine room virtual network card connection. Provided method flow chart.
以下實施方式係針對建置虛擬備援網路和虛擬網路卡的概念及技術。根據本文描述的概念及技術,計算裝置可執行建置虛擬備援網路和虛擬網路卡的演算法、步驟、及流程。 The following implementations are directed to the concept and technology of building a virtual backup network and a virtual network card. According to the concepts and technologies 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 operating systems and application programs on computer systems, those skilled in the art will understand that other implementations can also be performed in other ways. In general, modules can be implemented in software, hardware, and firmware, including but not limited to systems, devices, routines, programs, components, data structures, and other tasks that perform specific tasks or implement specific types of abstract data. Type of knot 结构。 Structure.
在以下實施方式中,參閱隨附圖式,該等圖式形成實施方式的一部分,及在該等圖式中藉由圖示顯示具體實施例或實例。現在參閱圖式,在該等圖式中,相同元件符號貫穿數個圖代表相同元件,將呈現用於建置虛擬備援網路和虛擬網路卡的方法與系統之態樣。 In the following embodiments, reference is made to the accompanying drawings, which form a part of the embodiment, and specific embodiments or examples are shown in the drawings by diagrams. Referring now to the drawings, in these drawings, the same component symbols are used to represent the same components through several figures, and the methods and systems for building a virtual redundant network and a virtual network card will be presented.
現在參閱第1圖,係本發明之透過控制器動態開通大二層備援網路至多機房的系統架構圖。其中,透過控制器動態開通大二層備援網路至多機房的系統200包含跨機房之虛擬備援網路建置子系統210與虛擬機網路卡連通暨IP取得機制子系統220。 Referring now to FIG. 1, it is a system architecture diagram of the present invention for dynamically opening a large second-layer backup network to multiple computer rooms through a controller. Among them, the system 200 for dynamically opening a large-scale second-layer backup network to multiple computer rooms through a controller includes a virtual backup network construction subsystem 210 across computer rooms, which is connected to a virtual machine network card and an IP acquisition mechanism subsystem 220.
跨機房之虛擬備援網路建置子系統210可用於建立跨越多個機房的虛擬備援網路,以達到動態建立及管理虛擬備援網路(以下亦簡稱「備援網路」)之技術效果。此外,跨機房之虛擬備援網路建置子系統210可在產生虛擬機之前,先將建立虛擬備援網路所需的資源備妥並予以保留。 The cross-machine room virtual backup network construction subsystem 210 can be used to establish a virtual backup network that spans multiple computer rooms to achieve the dynamic creation and management of a virtual backup network (hereinafter also referred to as the "backup network") Technical effects. In addition, the cross-machine room virtual backup network construction subsystem 210 can prepare and reserve the resources required to establish the virtual backup network before generating virtual machines.
在一實施例中,跨機房之虛擬備援網路建置子系統210亦可使用IP分派及防火牆設定的機制來提高備援網路之安全性。 In one embodiment, the virtual backup network construction subsystem 210 across the computer rooms can also use the mechanisms of IP allocation and firewall settings to improve the security of the backup network.
另外,虛擬機網路卡連通暨IP取得機制子系統220可針對虛擬機之虛擬網卡進行網路IP的取得、及進行跨機房之軟體定義網路(Software Defined Networking;SDN)的網路設備設定,使虛擬機之虛擬網卡能使用備援網路來與跨越多機房的網路連通,並達到隨建即連的備援網路功能。 In addition, the virtual machine network card connection and IP acquisition mechanism subsystem 220 can obtain the network IP for the virtual network card of the virtual machine, and perform network device setting of Software Defined Networking (SDN) across the computer room. , So that the virtual network adapter of the virtual machine can use the redundant network to connect to the network that spans multiple computer rooms, and achieve the built-in redundant network function.
在一實施例中,虛擬機網路卡連通暨IP取得機制子系統220可使用網路協調器(Orchestrator)模組來針對虛擬機之虛擬網卡進行SDN網路設備之連通設定,並將虛擬機之虛擬網卡的MAC Address(MAC位址)與備援網路中專屬的IP位址綁定,而開啟虛擬機的網路連通功能。 In an embodiment, the virtual machine network card connection and IP obtaining mechanism subsystem 220 may use an network coordinator (Orchestrator) module to perform the connection setting of the SDN network device for the virtual network card of the virtual machine, and configure the virtual machine. The MAC Address of the virtual network card is bound to a dedicated IP address in the backup network, and the network connection function of the virtual machine is enabled.
在一實施例中,可先由跨機房之虛擬備援網路建置子系統210針對各機房建立虛擬備援網路,並將虛擬備援網路建立過程中所需的資源備妥並予以保留。爾後,再由虛擬機網路卡連通暨IP取得機制子系統220將虛擬機之虛擬網卡與備援網路中的IP位址進行綁定,以讓虛擬機之虛擬網卡能使用虛擬備援網路的資源。 In one embodiment, the virtual backup network construction subsystem 210 across the computer rooms may first establish a virtual backup network for each computer room, and prepare and provide the resources required during the virtual backup network establishment process. Reserved. After that, 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. Resources.
請參看第2圖,係本發明之跨機房之虛擬備援網路建置子系統的系統架構圖。 Please refer to FIG. 2, which is a system architecture diagram of a virtual backup network construction subsystem across computer rooms according to the present invention.
其中,虛擬備援網路操作與呈現模組211可提供使用者介面予使用者,藉此使用者可以在使用者介面中觀看各機房的虛擬備援網路之目前狀態、並查詢與控管虛擬備援網路。 Among them, the virtual backup network operation and presentation module 211 can provide a user interface to the user, whereby the user can view the current status of the virtual backup network in each computer room in the user interface, and query and control it Virtual backup network.
在一實施例中,虛擬備援網路操作與呈現模組211所提供之使用者介面可以選項、圖標(icon)等視覺呈現方式來顯示與各備援網路之所在機房的連結。待使用者對於選項進行選取、或點擊圖標時,虛擬備援網路操作與呈現模組211可以將對應之備援網路所在機房之相關資訊的畫面呈現給使用者瀏覽。 In one embodiment, the user interface provided by the virtual backup network operation and presentation module 211 may display the connection with the computer room where each backup network is located by visual presentation methods such as options and icons. When the user selects an option or clicks an icon, the virtual backup network operation and presentation module 211 may present a screen of related information of the computer room where the corresponding backup network is located to the user to browse.
網路協調器模組213可事先收集各機房的軟硬體資源 (如:異質、同質的SDN控制器、SDN虛擬交換器、SDN實體交換器、可用的IP位址、及網路拓樸關係等),以便對於各機房的資源進行統一分配、管理來建立跨越不同機房的備援網路而達到提供虛擬機備援網路之效果。 Network coordinator module 213 can collect software and hardware resources of each computer room in advance (Such as: heterogeneous and homogeneous SDN controllers, SDN virtual switches, SDN entity switches, available IP addresses, and network topology relationships, etc.) in order to uniformly allocate and manage resources in each computer room to establish a span The backup network of different computer rooms achieves the effect of providing a virtual machine backup network.
在一實施例中,網路協調器模組213可分析系統管理者、系統維護者、與使用者的輸入需求,以針對需求建立備援網路供裝、及產生描述相關供裝參數的供裝範本。爾後,再將產生的供裝範本傳送給軟體式網路管理模組214、虛擬網路功能管理模組215、虛擬基礎資源管理模組216。 In one embodiment, the network coordinator module 213 can analyze the input requirements of the system manager, system maintainer, and users to establish a backup network for installation according to the requirements, and generate a description describing related installation parameters. Install templates. Thereafter, the generated installation template is transmitted to the software-based network management module 214, the virtual network function management module 215, and the virtual basic resource management module 216.
軟體式網路管理模組214可藉由管理不同的軟體定義網路控制器模組217(如:同質軟體定義網路控制器、異質軟體定義網路控制器),來進行網路設備資源的控管。 The software-based network management module 214 can manage network device resources by managing different software-defined network controller modules 217 (eg, homogeneous software-defined network controllers and heterogeneous software-defined network controllers). Control.
虛擬網路功能管理模組215係用以管理網路功能虛擬化(Network Functions Virtualization;NFV)的元件。在一實施例中,虛擬網路功能管理模組215係使用meta-data的方式來處理供裝流程,以便管理各種NFV網路元件。 The virtual network function management module 215 is a component for managing Network Functions Virtualization (NFV). In one embodiment, the virtual network function management module 215 uses a meta-data method to process the installation process in order to manage various NFV network components.
另外,虛擬網路功能管理模組215可調用IP分派模組218與虛擬防火牆模組219來進行後續的IP分派任務及防火牆設定功能。 In addition, the virtual network function management module 215 can call the IP assignment 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 dispatching module 218 uses Dynamic Host Configuration Protocol (DHCP) for IP dispatching, and the virtual firewall module 219 can be used to set a firewall dedicated to each redundant network. As such, the virtual network function management module 215 The call of the IP dispatch module 218 and the virtual firewall module 219 can provide a backup network with communication security and flexible architecture.
請參閱第3圖,係本發明之虛擬機網路卡連通暨IP取得機制子系統的系統架構圖。 Please refer to FIG. 3, which is a system architecture diagram of a virtual machine network card connection and IP obtaining mechanism subsystem of the present invention.
如第3圖所示,虛擬機網路卡操作與呈現模組221可提供使用者介面予使用者,讓使用者可以藉由介面操作來建立虛擬機的虛擬網卡,並讓使用者選擇想要的備援網路。而虛擬機虛擬網路卡資源資料庫222係儲存與虛擬網卡與虛擬備援網路間關係相關的資料。 As shown in Figure 3, the virtual machine network card operation and presentation module 221 can provide a user interface to the user, so that the user can create a virtual network card for the virtual machine through the interface operation, and let the user choose 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 standby network.
在一實施例中,網路協調器(Orchestrator)模組213具備虛擬機網卡生成管理功能,其可進行流程供裝的程序管理。網路協調器模組213會分析系統管理者、系統維護者、與使用者的輸入需求,並且參照虛擬機虛擬網路卡資源資料庫222中所記錄虛擬網卡與虛擬備援網路間的關係,以啟動供裝步驟規劃與供裝參數生成操作,並在過程中產生虛擬機虛擬網卡使用備援網路之供裝範本。 In one embodiment, the network coordinator (Orchestrator) module 213 has a virtual machine network card generation management function, which can perform program management for process installation. The network coordinator module 213 analyzes the input requirements of the system manager, system maintainer, and user, and refers to the relationship between the virtual network card and the virtual backup network recorded in the virtual machine virtual network card resource database 222. To start the installation step planning and installation parameter generation operation, and generate virtual machine virtual network adapters to use the backup network installation template in the process.
在一實施例中,軟體式網路管理模組214提供Spine-Leaf實體設備的連通功能,其使用軟體定義網路控制器模組217的實體網路設備管控功能,以將虛擬網路卡之MAC address的訊息在跨越機房間傳送,如此可將虛擬機的虛擬網路卡資訊透過備援網路傳送到其他機房。 In one embodiment, the software-based network management module 214 provides the Spine-Leaf physical device connection function. It uses the software-defined network controller module 217's physical network device management function to connect the virtual network card to the virtual network card. The MAC address information is transmitted across the computer room, so the virtual network card information of the virtual machine can be transmitted to other computer rooms through the redundant network.
此外,虛擬網路功能管理模組215可設定各機房中的IP分派模組218。 In addition, the virtual network function management module 215 can set the IP distribution module 218 in each computer room.
在一實施例中,虛擬網路功能管理模組215可將IP分 派模組218設定為僅能將機房內之IP與同一機房中虛擬機的虛擬網路卡進行綁定,而忽略來自其他機房之虛擬機虛擬網路卡的IP綁定請求。如此,可達到各機房中的IP分派模組218對於IP綁定係各自獨立,但不同機房間的虛擬機係網路連通的彈性架構,以減少在不同機房間使用廣播封包所帶來的影響。 In one embodiment, the virtual network function management module 215 can divide the IP The dispatch module 218 is set to only bind the IP in the computer room with the virtual network card of the virtual machine in the same computer room, and ignore the IP binding request of the virtual network card of the virtual machine from the other computer room. In this way, the IP dispatching module 218 in each machine room can achieve an independent architecture for the IP binding system, but the virtual machine system network connectivity in different machine rooms is flexible, so as to reduce the impact of using broadcast packets in different machine rooms. .
請參看第4圖,係根據本發明之一實施例,建置跨機房之虛擬備援網路的方法流程圖。 Please refer to FIG. 4, which is a flowchart of a method for constructing a virtual backup network across computer rooms according to an embodiment of the present invention.
首先,在步驟S310中,使用者可以在虛擬機網路卡操作與呈現模組221所提供的使用者介面上查詢由虛擬備援網路所組成之虛擬私有雲及虛擬備援網路拓樸的資訊。此時,可以透過查詢備援網路資源與拓樸相依關係資料庫212來得知目前有哪些虛擬私有雲及虛擬備援網路。 First, in step S310, the user can query the virtual private cloud and virtual backup network topology composed of the virtual backup network on the user interface provided by the virtual machine network card operation and presentation module 221. Information. At this time, it is possible to know which virtual private clouds and virtual backup networks currently exist by querying the backup network resources and the topology dependency database 212.
在步驟S320中,使用者可在虛擬機網路卡操作與呈現模組221所提供之使用者介面中輸入建置跨機房之虛擬備援網路的需求。 In step S320, the user can input the requirements for establishing a virtual backup network across the computer rooms in the user interface provided by the virtual machine network card operation and presentation module 221.
接著,在步驟S330中,網路協調器模組213可根據此需求來查詢備援網路資源與拓樸相依關係資料庫212,以便確認需要橫跨之機房網路設備的網路資源是否足夠。 Next, in step S330, the network coordinator module 213 can query the backup network resource and topology dependency database 212 according to this requirement, so as to confirm whether the network resources of the network equipment of the computer room to be crossed are sufficient .
如果確認結果為需要橫跨之機房網路設備的網路資源係為不足,則會進入步驟S350,此時網路協調器模組213會將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 If the result of the confirmation is that the network resources of the network equipment of the computer room to be crossed are insufficient, it will proceed to step S350, and at this time, the network coordinator module 213 will return a message that the current backup network installation is not available. To the user and end the installation process.
反之,如果需要橫跨之機房網路設備的網路資源充 足,則會進入步驟S340,此時網路協調器模組213會針對使用者的需求進行分析,並配置虛擬備援網路所需的網路ID、網路名稱、IP網段、閘道器IP等參數,以創建所需的供裝範本(如:Open Stack Heat供裝範本、TOSCA供裝範本)。 On the contrary, if you need to recharge the network resources of the network equipment across the computer room If it is sufficient, it will proceed to step S340. At this time, the network coordinator module 213 will analyze the needs of the user and configure the network ID, network name, IP network segment, and gateway required for the virtual backup network. Parameters such as the server IP to create the required installation template (such as: Open Stack Heat installation template, TOSCA installation template).
爾後,進入步驟S370,此步驟係針對單一機房之供裝操作。步驟S370可細分為三個步驟:步驟S360、步驟S380、及步驟S390。 Thereafter, it proceeds to step S370, which is a supply operation for a single computer 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 installation. Among them, the network coordinator module 213 reserves exclusive 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 an embodiment, the network coordinator module 213 may send the installation template to the virtual basic resource management module 216 for the establishment of the virtual standby network, the gateway, and the IP network segment. In addition, the network coordinator module 213 may send the installation template to the software-based 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-based network management module 214 can manage heterogeneous software-defined network controller modules 217. Among them, the software-based network management module 214 can configure the SDN network equipment and virtual network parameters required by the software-defined network controller module 217, and can call the software-defined network controller module 217 to perform a physical network. Construction of backup network on road equipment.
在步驟S380中,網路協調器模組213會啟動IP分派模組218的設定。其中,網路協調器模組213可呼叫虛擬網路功能管理模組215,爾後由虛擬網路功能管理模組215 調用IP分派模組218來進行IP的分派。 In step S380, the network coordinator module 213 activates the setting of the IP dispatch module 218. Among them, 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 called for IP assignment.
在一實施例中,在虛擬網路功能管理模組215調用IP分派模組218時,可將IP分派模組218設定為僅能將機房內之IP與同一機房中虛擬機的虛擬網路卡進行綁定,而忽略來自其他機房之虛擬機虛擬網路卡的IP綁定請求。 In one embodiment, when the virtual network function management module 215 calls the IP dispatch module 218, the IP dispatch module 218 can be set to a virtual network card that can only set the IP in the computer room and the virtual machines in the same computer room. Perform binding, and ignore IP binding requests from virtual machine virtual network cards of other computer rooms.
在步驟S390中,網路協調器模組213會進行虛擬防火牆設定。其中,網路協調器模組213可呼叫虛擬網路功能管理模組215,爾後由虛擬網路功能管理模組215調用虛擬防火牆模組219來進行防火牆的設定。 In step S390, the network coordinator module 213 performs virtual firewall settings. 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 virtual machines (virtual network cards) using the same backup network can communicate on the network, and reject virtual machines from different backup networks (Virtual network card) connection to enhance the security of data transmission in the backup network (such as backup data).
在一實施例中,需依步驟S360至步驟S380之順序在各機房依序執行,待所有機房的備援網路相關功能都供裝完成後,網路協調器模組213才會將備援網路供裝訊息寫回備援網路資源與拓樸相依關係資料庫212。 In an embodiment, steps S360 to S380 need to be performed in each computer room in sequence. The network coordinator module 213 will perform the backup only after the backup network related functions in all computer rooms are installed. The network provisioning message is written back to the backup network resource and topology dependency database 212.
前述步驟S360、步驟S380、及步驟S390之詳細步驟內容可參照第5至7圖。 For details of the foregoing steps S360, S380, and S390, refer to FIGS. 5 to 7.
請參閱第5圖,係根據本發明之一實施例,使用網路協調器模組來進行虛擬備援網路供裝的方法流程圖。 Please refer to FIG. 5, which is a flowchart of a method for installing a virtual backup network using a network coordinator module 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 installation template to the virtual basic resource management module 216.
爾後,在步驟S362中,虛擬基礎資源管理模組216會評估所在機房的網路資源是否足夠用以建立新的虛擬備援網路。如若資源不足,會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 Thereafter, in step S362, the virtual basic resource management module 216 evaluates whether the network resources of the computer room are sufficient to establish a new virtual backup network. If the resources are insufficient, it will proceed to step S350, return the message that the backup network cannot be installed currently to the user, and end the installation process.
如若資源足夠,則會進入步驟S363中,此時虛擬基礎資源管理模組216會進行備援網路、子網路(subnet)、與閘道器虛擬網卡的供裝,並監控供裝狀態。 If the resources are sufficient, the process proceeds to step S363. At this time, the virtual basic resource management module 216 performs the installation of the backup network, the subnet, and the gateway virtual network card, and monitors the installation status.
之後,進入步驟S364,此時會判斷虛擬基礎資源管理模組216的供裝是否成功。若否,會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 After that, it proceeds to step S364, at which time it is determined whether the installation of the virtual basic resource management module 216 is successful. If not, it will proceed to step S350, returning the message that the backup network cannot be installed currently to the user, and end the installation process.
若虛擬基礎資源管理模組216的供裝係為成功,則會進入步驟S365。在步驟S365中,網路協調器模組213會呼叫軟體式網路管理模組214以分析供裝需求、進行與實體網路設備的資源統整,並指定可以通過實體網路設備的備援網路類別。 If the installation 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-based network management module 214 to analyze the supply requirements, perform resource integration with the physical network equipment, and specify that backups can be made through the physical network equipment. Network category.
接著,在步驟S366中,判斷供裝需求分析與資源統整是否成功。若否,會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 Next, in step S366, it is determined whether the supply and demand analysis and resource integration are successful. If not, it will proceed to step S350, returning the message that the backup network cannot be installed currently to the user, and end the installation process.
反之,若供裝需求分析與資源統整係為成功,則會進入步驟S367,此時軟體式網路管理模組214會配置本機房內之軟體定義網路控制器模組217所需之SDN網路設備與虛擬網路參數,以呼叫軟體定義網路控制器模組217來進行備援網路之建置。 Conversely, if the supply demand analysis and resource integration are successful, the process proceeds to step S367. At this time, the software-based network management module 214 configures the SDN required by the software-defined network controller module 217 in the computer room. The network equipment and virtual network parameters are called by the software-defined network controller module 217 to build a redundant 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,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 After that, in step S369, it is determined whether a backup network is successfully established on the SDN network device. If the software-defined network controller module 217 successfully establishes a backup network on the SDN network device, it will report a success message to the network coordinator module 213. Conversely, if the software-defined network controller module 217 cannot establish a backup network on the SDN network device, it proceeds to step S350, and returns a message that the backup network cannot be installed currently to the user, and End the supply process.
請參閱第6圖,係根據本發明之一實施例,使用網路協調器模組來啟動IP分派模組設定的方法流程圖。 Please refer to FIG. 6, which is a flowchart of a method for using a network coordinator module to start an IP dispatch module setting according to an embodiment of the present invention.
在步驟S381中,網路協調器模組213將備援網路之供裝範本(特別是針對IP分派的部分)傳送至虛擬網路功能管理模組215。 In step S381, the network coordinator module 213 transmits the installation template of the backup network (particularly for the IP assignment 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 dispatching module 218 operates normally.
如果IP分派模組218運作異常,則會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。反之,則會進入步驟S383,此時虛擬網路功能管理模組215會分析供裝需求,以依據供裝需求來配置IP分派模組218之專屬分派功能的設定。 If the IP dispatching module 218 operates abnormally, it will proceed to step S350, return the message that the backup network cannot be installed currently to the user, and end the installation process. Otherwise, it proceeds to step S383. At this time, the virtual network function management module 215 analyzes the installation requirements to configure the settings of the exclusive distribution function of the IP distribution module 218 according to the installation requirements.
爾後,在步驟S384中,虛擬網路功能管理模組215會呼叫IP分派模組218來進行專屬分派功能的設定,例如:設定IP分派模組218只能接受特定虛擬機(虛擬網卡) 的IP綁定需求(即,IP的專屬分派),而不理會來自其他機房及其他虛擬機的IP綁定需求。 Thereafter, in step S384, the virtual network function management module 215 calls the IP dispatch module 218 to set the dedicated dispatch function. For example, the IP dispatch module 218 can only accept specific virtual machines (virtual network adapters). IP binding requirements (ie, exclusive allocation of IP), regardless of IP binding requirements from other computer rooms and other virtual machines.
請參閱第7圖,係根據本發明之一實施例,使用網路協調器模組來進行虛擬防火牆設定的方法流程圖。 Please refer to FIG. 7, which is 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 may transmit the installation template of the backup network (particularly for the part of the firewall settings) to the virtual network function management module 215 and request the virtual network function management module. Group 215 performs firewall settings for the virtual firewall module 219.
在一實施例中,虛擬防火牆模組219係為目前備援網路所使用的閘道器防火牆。 In one embodiment, the virtual firewall module 219 is a gateway firewall used in a current backup network.
接著,在步驟S392中,虛擬網路功能管理模組215會確認虛擬防火牆模組219是否正常運作。 Next, in step S392, the virtual network function management module 215 confirms whether the virtual firewall module 219 operates normally.
如果虛擬防火牆模組219運作異常,則會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 If the virtual firewall module 219 operates abnormally, it will proceed to step S350, returning the message that the backup network cannot be installed currently to the user, and end the installation process.
反之,若虛擬防火牆模組219運作正常,則會進入步驟S393,此時虛擬網路功能管理模組215會分析供裝需求,並依據供裝需求來配置虛擬防火牆模組219之防火牆設定。 Conversely, if the virtual firewall module 219 works normally, it 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 supply requirements.
接著,在步驟S394中,虛擬網路功能管理模組215會呼叫虛擬防火牆模組219進行防火牆設定,例如:限制特定機房或特定網域的電腦不能透過路由的方式將封包傳送至備援網路。如此一來,可以強化備援網路在通訊上的安全性。 Next, in step S394, the virtual network function management module 215 will call the virtual firewall module 219 to set the firewall, for example, restricting computers in a specific computer room or a specific network domain from sending packets to the backup network through routing. . In this way, the security of the backup network in communication can be strengthened.
請參看第8圖,係根據本發明之一實施例,虛擬機網路卡連通暨IP取得機制的方法流程圖。 Please refer to FIG. 8, which is a flowchart of a method for a virtual machine network card connection and IP obtaining mechanism according to an embodiment of the present invention.
在步驟S401中,使用者可在虛擬機網路卡操作與呈現模組221所提供的使用者介面上查詢目前虛擬私有雲中可使用的備援網路。 In step S401, the user can query the backup network currently available in the virtual private cloud on the user interface provided by the virtual machine network card operation and presentation module 221.
此時,可以透過查詢備援網路資源與拓樸相依關係資料庫212,來將目前虛擬私有雲中有哪些可使用的備援網路之訊息告知使用者。 At this time, the user can be informed of the available backup network information in the current virtual private cloud by querying the backup network resource and topology dependency database 212.
在步驟S402中,使用者執行跨機房之虛擬網路卡之開通或連通(即,建置)。此時,使用者會使用跨機房之虛擬備援網路建置子系統210所建立的備援網路來將建置虛擬網路卡的需求送至網路協調器模組213。 In step S402, the user performs activation or connection (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 computer room to send the demand for the construction of 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 computer room related to the requirement for establishing the virtual network card is operating normally.
倘若並非每個機房的備援網路都在正常運行中,則會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 If the backup network of each computer room is not in normal operation, it will proceed to step S350, returning the message that the backup network cannot be installed currently to the user, and end the installation process.
反之,如果每個機房的備援網路都在正常運行中,則會啟動分析需求與配置供裝參數動作,並進入步驟S405。 Conversely, if the backup network of each equipment room is in normal operation, the action of analyzing the requirements and configuring the supply parameters is started, and the process proceeds to step S405.
在一實施例中,網路協調器模組213會分析需求,並配置此備援網路所需的備援網路識別碼(ID)、備援網路名稱、虛擬網卡使用的IP、虛擬網路卡使用的MAC Address等軟硬體資源。 In one embodiment, the network coordinator module 213 analyzes the requirements and configures the backup network identification code (ID), the backup network name, the IP used by the virtual network card, and the virtual network card. 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 installation template (such as an Open Stack Heat installation template and a TOSCA installation template) for configuring the software and hardware resources (parameters) required by the redundant network. ) To the virtual basic resource management module 216 to request the virtual basic resource management module 216 to perform the installation of the virtual network card and bind the virtual network card to the backup network.
在步驟S406中,虛擬基礎資源管理模組216進行備援網路之虛擬網卡供裝、並監控供裝狀態。 In step S406, the virtual basic resource management module 216 performs installation of the virtual network adapter of the backup network, and monitors the installation status.
之後,在步驟407中,判斷虛擬網卡供裝是否成功。如若供裝失敗,則會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。反之,如若虛擬網路卡供裝成功,則將成功訊息傳送給網路協調器模組213。 After that, in step 407, it is determined whether the installation of the virtual network card is successful. If the installation fails, it will proceed to step S350, returning the message that the installation on the backup network is currently unavailable to the user, and ending the installation process. Conversely, if the virtual network card is successfully installed, a success message is sent to the network coordinator module 213.
之後,在步驟S408中,由網路協調器模組213分析供裝需求,以依據供裝需求進行供裝配置。其中,網路協調器模組213呼叫虛擬網路功能管理模組215,以由虛擬網路功能管理模組215調用IP分派模組218來進行專屬的虛擬網路卡MAC Address設定。此時,IP分派模組218會將可使用的備援網路之IP位置分配給虛擬網路卡(即,將專屬的IP位置與虛擬網路卡MAC address進行綁定)。 After that, in step S408, the network coordinator module 213 analyzes the supply requirements to perform the supply configuration according to the supply requirements. Among them, the network coordinator module 213 calls the virtual network function management module 215, and the virtual network function management module 215 calls the IP dispatching module 218 to set a dedicated virtual network card MAC Address. At this time, the IP dispatching module 218 assigns the IP address of the available backup network to the virtual network card (that is, 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 (such as the backup network name used by the virtual network card, the IP of the virtual network card, and the virtual network) in the installation requirements (building requirements). MAC address of Luca, physical network equipment identification code (ID) related to the backup network, cross-machine room virtual network Card connection requirements, etc.), and generate a cross-machine room virtual network card connection supply template for a single machine room. After that, the physical network device settings are sequentially performed for other computer rooms covered by the redundant network so that the MAC Address of this virtual network card can be connected to other computer rooms covered by the redundant network.
接著,進入步驟S410,此步驟係針對單一機房之供裝操作。其中,網路協調器模組213會呼叫軟體式網路管理模組214來進行跨機房虛擬網卡連通供裝流程。此時,軟體式網路管理模組214會配置本機房中軟體定義網路控制器模組217所需之SDN網路設備與虛擬網路卡參數。爾後,再由軟體定義網路控制器模組217進行跨機房虛擬網路卡的連通開啟。其中,步驟S410之更詳細步驟內容可參照第9圖。 Next, it proceeds to step S410, which is a supply operation for a single computer room. Among them, the network coordinator module 213 will call the software-based network management module 214 to perform the cross-machine room virtual network card connection and installation process. At this time, the software-based network management module 214 configures the SDN network equipment and virtual network card parameters required by the software-defined network controller module 217 in the computer room. Thereafter, the software-defined network controller module 217 is used to open and connect the virtual network card across the computer room. For details of step S410, refer to FIG. 9.
請參看第9圖,係根據本發明之一實施例,使用網路協調器模組來進行跨機房虛擬網卡連通供裝的方法流程圖在步驟S501中,網路協調器模組213將跨機房虛擬網卡連通供裝範本送至軟體式網路管理模組214。 Please refer to FIG. 9, which is a flowchart of a method for using a network coordinator module to connect and install virtual network cards across a computer room according to an embodiment of the present invention. In step S501, the network coordinator module 213 will cross a computer room. The virtual network card is connected to the installation template and sent to the software-based network management module 214.
在步驟S502中,軟體式網路管理模組214會分析供裝需求及確認與供裝需求相關之實體網路設備資源是否充足。 In step S502, the software-based network management module 214 analyzes the supply requirements and confirms whether the physical network equipment resources related to the supply requirements are sufficient.
在步驟S504中,軟體式網路管理模組214會確認軟體定義網路控制器模組217是否正常運作,及實體網路設備中是否保留了備援網路會用到的資源。 In step S504, the software-based network management module 214 confirms whether the software-defined network controller module 217 is operating normally and whether resources used by the backup network are reserved in the physical network device.
如若需求分析與資源確認成功,則會進入步驟S505,此時軟體式網路管理模組214會配置本地之軟體定義網路 控制器模組217所需之虛擬網路卡相關參數,以呼叫軟體定義網路控制器模組217來進行本地實體軟體定義網路交換器之跨機房連通設定。 If the requirements analysis and resource confirmation are successful, it will proceed to step S505, at which time the software-based network management module 214 will configure a local software-defined network For the virtual network card related parameters required by the controller module 217, the software-defined network controller module 217 is called to perform the cross-computer room connection setting of the local physical software-defined network switch.
反之,若需求分析與資源確認失敗,則會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 Conversely, if the demand analysis and resource confirmation fails, it will proceed to step S350, returning the message that the current backup network installation is not available to the user, and end the installation process.
接著,在步驟S506中,軟體定義網路控制器模組217會針對本地的實體網路設備(如:實體軟體定義網路交換器)進行跨機房備援節點的建置、在網路設備上建立虛擬網路卡連通之設定、同時監控網路狀態。 Next, in step S506, the software-defined network controller module 217 performs cross-machine room backup node construction on the local physical network equipment (for example, a physical software-defined network switch) on the network equipment. Establish virtual network card connection settings and monitor network status.
之後,在步驟S507中,確認此虛擬網路卡的跨機房連通設定是否成功。若成功,則表示自動供裝完成。 After that, in step S507, it is confirmed whether the cross-computer room connection setting of the virtual network card is successful. If successful, it means that the automatic installation is complete.
反之,如果此虛擬網路卡的跨機房連通設定失敗,則會進入步驟S350,將目前無法進行備援網路供裝的訊息回傳給使用者,並結束供裝流程。 Conversely, if the cross-machine room connection setting of this virtual network card fails, it will proceed to step S350, returning the message that the backup network installation is currently unavailable to the user, and ending the installation process.
上述實施形態僅例示性說明本發明之原理、特點及其功效,並非用以限制本發明之可實施範疇,任何熟習此項技藝之人士均可在不違背本發明之精神及範疇下,對上述實施形態進行修飾與改變。任何運用本發明所揭示內容而完成之等效改變及修飾,均仍應為申請專利範圍所涵蓋。因此,本發明之權利保護範圍,應如申請專利範圍所列。 The above-mentioned embodiments merely exemplify the principles, features, and effects of the present invention, and are not intended to limit the implementable scope of the present invention. Anyone who is familiar with this technology can perform the above operations without departing from the spirit and scope of the present invention. Modifications and changes to the implementation form. Any equivalent changes and modifications made by using the disclosure of the present invention should still be covered by the scope of patent application. Therefore, the scope of protection of the rights of the present invention should be as listed in the scope of patent application.
Claims (15)
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 true TWI659631B (en) | 2019-05-11 |
| TW201937900A 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) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104144135A (en) * | 2014-07-25 | 2014-11-12 | 电子科技大学 | Resource allocation method and indestructible resource allocation method for multicast virtual network |
| US20150063166A1 (en) * | 2013-08-27 | 2015-03-05 | Futurewei Technologies, Inc. | System and Method for Mobile Network Function Virtualization |
-
2018
- 2018-02-21 TW TW107105768A patent/TWI659631B/en active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150063166A1 (en) * | 2013-08-27 | 2015-03-05 | Futurewei Technologies, Inc. | System and Method for Mobile Network Function Virtualization |
| CN104144135A (en) * | 2014-07-25 | 2014-11-12 | 电子科技大学 | Resource allocation method and indestructible resource allocation method for multicast virtual network |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201937900A (en) | 2019-09-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11799727B2 (en) | Extending center cluster membership to additional compute resources | |
| US11588675B2 (en) | Systems and methods for selectively implementing services on virtual machines and containers | |
| EP2922238B1 (en) | Resource allocation method | |
| EP3455728B1 (en) | Orchestrator for a virtual network platform as a service (vnpaas) | |
| KR101954480B1 (en) | Automated build-out of a cloud-computing stamp | |
| CN104704775B (en) | It was found that, confirm and configuration hardware inventory component | |
| US20170289060A1 (en) | Model driven process for automated deployment of domain 2.0 virtualized services and applications on cloud infrastructure | |
| CN104104572A (en) | Automatic deploying method and device for switch in SDN network | |
| CN107634843B (en) | Mobile local area network management system and method | |
| CN110661641B (en) | A kind of virtual network function VNF deployment method and device | |
| CN109587024B (en) | A resource processing method and related device | |
| US12513573B2 (en) | Network resource request method and related device thereof | |
| CN103401954A (en) | Implementation method of virtual DHCP (dynamic host configuration protocol) | |
| US20220350637A1 (en) | Virtual machine deployment method and related apparatus | |
| WO2017133020A1 (en) | Method and device for policy transmission in nfv system | |
| TWI659631B (en) | Method and system for establishing virtual backup network and virtual network card | |
| CN113342456A (en) | Connection method, device, equipment and storage medium | |
| TW202031016A (en) | ICT resource management device, ICT resource management method, and ICT resource management program | |
| CN112636968B (en) | Network scheme construction method, device, readable medium and equipment | |
| WO2018039878A1 (en) | Method, apparatus, and system for managing virtual resource | |
| US20250141737A1 (en) | Pre-provisioning server hardware for deployment on an edge network | |
| CN119603138A (en) | A switch network configuration method and system based on cloud native environment | |
| CN118573575A (en) | Topology updating method, computing device and super-fusion system | |
| CN118802509A (en) | Device online method, device and electronic device |