CONTROL DEVICE, NETWORK CONTROL METHOD, AND PROGRAM
An autoscaling mechanism for distributing tunneling settings among vCPEs in communication systems addresses throughput reduction by using predicted metrics to manage FIB entries, ensuring efficient scaling and routing, thereby maintaining system performance in scenarios with increasing client numbers.
Patent Information
- Application Number
- JP2022574927
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-01-13
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-01-13
AI Technical Summary
In communication systems where CPE and vCPE are connected via tunnels, especially in MaaS scenarios with a large number of clients, the massive number of connections leads to increased lookup times for FIB entries, reducing throughput due to the time required for setting updates and the inability to aggregate Inner and Outer IP address prefixes.
Implement an autoscaling mechanism that distributes tunneling settings among multiple vCPEs, using predicted metrics to determine when to scale out or scale in vCPEs based on the number of FIB entries, ensuring the number of entries remains below a threshold, and optimizing routing to maintain throughput.
This approach prevents a decrease in throughput by efficiently managing tunneling settings across multiple vCPEs, using predicted metrics for proactive scaling, thus maintaining system performance even with increasing client numbers.
Smart Images

Figure 0007544153000011 
Figure 0007544153000016 
Figure 0007544153000024
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for implementing control over a communication system that performs tunneling communication between network devices. [Background technology]
[0002] With use cases such as MaaS (Mobility as a Service) in mind, E2E overlay technology that connects CPE (Customer Premises Equipment) and vCPE (Customer Premises Equipment) via tunnels is being considered.
[0003] Here, the CPE corresponds to, for example, a GW on a mobile client terminal such as an automobile. The vCPE corresponds to a GW on a service infrastructure on a cloud, and relays communications with multiple application containers. [Prior art documents] [Non-patent literature]
[0004] [Non-Patent Document 1] TTC, JJ-90.30 "Common Interface for Interoperability between IMS Carrier Networks" https: / / vincent.bernat.ch / en / blog / 2017-ipv6-route-lookup-linux [Non-Patent Document 2] Reaping the Benefits of IPv6 Segment Routing, September 2017, ICTEAM Summary of the Invention [Problem to be solved by the invention]
[0005] In a communications system in which a CPE and a vCPE on the cloud are connected via a tunnel as described above, if a use case is assumed in which a huge number of clients, such as MaaS, are connected, it is expected that the vCPE will require the configuration of a huge number of FIB (Forwarding Information Base) entries, etc., equivalent to the number of clients.
[0006] However, if the number of settings per vCPE becomes huge, it may take time to look up the FIB and insert new entries, which may reduce throughput.
[0007] The present invention has been made in consideration of the above points, and aims to provide a technology that makes it possible to avoid a decrease in throughput even when the number of clients increases in a communication system in which a CPE and a vCPE on a cloud are connected via a tunnel. [Means for solving the problem]
[0008] According to the disclosed technology, there is provided a control device that controls a communication system in which communication is performed by a tunnel between a network device and a virtual network device on a cloud, the control device comprising: a calculation unit for calculating a predicted value of a future number of setting entries in the virtual network device; an auto-scaling execution unit that executes a scale-out or a scale-in of the virtual network device based on a comparison result between the predicted value and a threshold; a control unit that performs routing control between an application and the virtual network device in the cloud service infrastructure; A control device is provided comprising: Effect of the Invention
[0009] According to the disclosed technology, a technology is provided that makes it possible to avoid a decrease in throughput even if the number of clients increases in a communication system in which a CPE and a vCPE on a cloud are connected via a tunnel. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a diagram illustrating an example of the configuration of a system using E2E overlay technology in this embodiment. [Diagram 2] FIG. 1 is a diagram for explaining an assumption of a use case. [Diagram 3] FIG. 1 is a diagram for explaining an approach to a problem. [Figure 4] FIG. 1 is a diagram for explaining requirements for an auto-scaling method. [Diagram 5] FIG. 1 is a configuration diagram of a system according to an embodiment of the present invention. [Figure 6] 4 is a flowchart showing a processing procedure of the control device 100. [Figure 7] FIG. 13 illustrates an example of scale-out. [Figure 8] FIG. 13 illustrates an example of scale-out. [Figure 9] FIG. 13 illustrates an example of scale-in. [Figure 10] To explain the background and issues of intra-cluster routing control [Figure 11] FIG. 1 is a diagram for explaining an overview of intra-cluster routing. [Figure 12] FIG. 11 is a diagram for explaining intra-cluster routing during scale-out; [Figure 13] FIG. 13 is a diagram for explaining intra-cluster routing during scale-in. [Figure 14] 1 is a configuration diagram of a FIB entry number acquisition unit. [Figure 15] FIG. 13 is a diagram illustrating an example of a FIB entry DB. [Figure 16] FIG. 1 is a configuration diagram of a metric calculation unit 120. [Figure 17] FIG. 13 illustrates an example of a client number statistical information DB; [Figure 18] FIG. 13 is a diagram illustrating an example of a parameter DB for metric calculation. [Figure 19] FIG. 2 is a configuration diagram of an auto-scaling processor 130. [Figure 20]FIG. 13 is a diagram illustrating an example of an auto-scaling processing unit parameter DB. [Figure 21] FIG. 2 is a configuration diagram of a setting policy determination unit 140. [Figure 22] FIG. 13 is a diagram illustrating an example of a parameter DB for a setting policy determination unit. [Figure 23] FIG. 2 is a configuration diagram of a route control unit 150. [Figure 24] FIG. 11 is a sequence diagram showing a metric acquisition process. [Diagram 25] FIG. 11 is a sequence diagram showing a scale-out process. [Figure 26] FIG. 13 is a sequence diagram showing a scale-in process. [Figure 27] FIG. 2 illustrates an example of a hardware configuration of the apparatus. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, an embodiment of the present invention (the present embodiment) will be described with reference to the drawings. The embodiment described below is merely an example, and the embodiment to which the present invention is applied is not limited to the following embodiment.
[0012] (About E2E overlay technology) Since the technology according to the present embodiment is based on the E2E overlay technology, an outline of the E2E overlay technology will be described first. Note that the application of the present invention is not limited to the E2E overlay technology. The technology according to the present invention can also be applied to tunneling protocols other than the E2E overlay technology.
[0013] E2E overlay technology is a technology for seamlessly connecting clients and service platforms without requiring them to be aware of the underlay state. Figure 1 is a diagram showing an example of a system configuration that uses E2E overlay technology. The system shown in Figure 1 includes vCPE1, vCPE2, CPE4, and database (DB) 5. CPE4 is a network (NW) device that starts and ends tunneling. vCPE1 and 2 are containerized CPEs that operate on a service platform on the cloud. vCPE may be called a virtual network device.
[0014] vCPE1 and vCPE2 exist on a cluster. A cluster is a service infrastructure on the cloud (e.g., a Kubernetes cluster) managed by a service provider.
[0015] As shown in Figure 1, SRv6-based tunneling is performed between CPE4 and vCPE1. The device (client) under CPE4 and the container (application) under vCPE1 send packets to each other's EID (Endpoint Identifier) space, and the packets are encapsulated using the opposing RLOC (Routing Locator) address at CPE4 / vCPE1. Here, EID is the IP address of the application or terminal (client), and RLOC is the IP address on the WAN side that terminates the tunneling.
[0016] As shown in Figure 1, DB5 responds with the RLOC of vCPE1 in response to an inquiry from CPE4. Note that the CPE registers the RLOC in DB5 after connecting to the network, and the vCPE registers the RLOC in DB5 after deployment.
[0017] When multiple vCPEs exist, the DB5 responds with the RLOCs of the vCPEs in a round-robin manner, thereby distributing traffic.
[0018] (Assumed use case) In the E2E overlay technology as shown in FIG. 1, in this embodiment, assuming a MaaS use case, the following premises are set for the CPE / Application / vCPE that constitutes the service.
[0019] The CPE corresponds to a gateway on a mobile client terminal such as an automobile, and it is assumed that there are millions of them. For the application, it is assumed that it auto-scales according to the number of client terminals such as automobiles.
[0020] The vCPE corresponds to a gateway of a service infrastructure (cluster) on the cloud, and relays communications to / from a plurality of application containers (APP pods). When communicating in the CPE direction, it learns the tunneling settings, and the scale of the settings is assumed to be 64 destination encap settings × 1 million lines. Also, it deletes the tunneling settings that are not used. Specifically, for example, it manages the settings with TTL and deletes the settings whose TTL has become 0. Note that a pod is a set of containers that provide the same function (service).
[0021] A configuration example of the client, application, and vCPE in the MaaS service is shown in FIG. 2. In vCPE1 of FIG. 2, it has a tunnel setting (SRv6 setting for Encap) for sending packets to the client.
[0022] An example of the SRv6 setting (Linux (registered trademark) Kernel implementation) in vCPE1 shown in FIG. 2 is shown below. Each client in vCPE1 requires an SRv6 setting. For scalability, each setting has a TTL, and the settings that are not used for a certain period of time are deleted.
[0023] <SRv6 setting for Decap> (1) C:2:: / 64 encap seg6 seg6local action END.DX6 <SRv6 setting for Encap> (2) A:1:: / 64 encap seg6 segs encap [2008:a::1] 2008:a::1 via (outside cloud IPv6 GW) (3)B:1:: / 64 encap seg6 segs encap [2008:b::1] 2008:b::1 via (outside cloud IPv6 GW) (4)D:1:: / 64 encap seg6 segs encap [2008:c::1] 2008:d::1 via (outside cloud IPv6 GW) (About the assignment) The cloud-side tunneling termination device (vCPE) requires tunneling settings (FIB settings in the case of SRv6) equivalent to the number of clients. If the number of settings becomes huge, FIB lookup and insertion of new entries take time, resulting in reduced throughput. Also, tunneling protocols other than SRv6 have an upper limit on the number of settings.
[0024] More specifically, as shown in Non-Patent Document 1, when there are several tens to 500,000 route entries, IPv6 lookup takes time, exceeding the allowable value (50 ns) for 10 Gbps. In addition, route insertion also takes time, causing delays in communication to new clients.
[0025] In addition to the above, SRv6 tends to have lower throughput than IPv6 due to recursive lookups and implementation effects, as shown in Non-Patent Document 2. As a related technology, an algorithm has been proposed to incrementally update the FIB, which can respond to routing changes, to address the routing scalability issue (On the Aggregatability of Router Forwarding Tables, 2010).
[0026] In the case of FIB entries for tunneling, entries cannot be aggregated unless both the prefix of the inner IP address (EID of E2E overlay technology) and the prefix of the outer IP address (RLOC of E2E overlay technology) can be aggregated. Therefore, it is not realistic to apply the above related technologies to this problem.
[0027] (Outline of the embodiment) The following provides an overview of the technology according to the present embodiment for solving the above problems.
[0028] <Approach to the issue> First, an approach to the problem will be described. In this embodiment, when the number of tunneling settings (FIB entries in the case of SRv6) increases, auto-scaling of vCPE is performed. In addition, the settings are distributed among multiple vCPEs, and the number of FIB entries is controlled to be below the upper limit (a normal range value that does not become a bottleneck).
[0029] The above approach will be described with reference to Fig. 3. In the normal state shown in Fig. 3(a), if the number of FIB entries of vCPE1 exceeds a threshold (e.g., 300,000 routes), the number of vCPEs is increased (scaled out).
[0030] After scaling out, as shown in (b), existing flows (traffic from existing clients) are pulled to vCPE1, utilizing the SRv6 settings of vCPE1, and SRv6 settings for new flows (traffic from new clients) are inserted into vCPE2.
[0031] After that, when the number of FIB entries decreases, the SRv6 settings are changed and the route is switched so that communications addressed to vCPE2 can be processed by vCPE1, as shown in (c).
[0032] With the above processing, auto-scaling is performed when the tunneling settings increase, and the settings are distributed among multiple vCPEs, so a decrease in throughput can be avoided even if the number of clients increases.
[0033] <Auto-scaling requirements> Next, the requirements for the auto-scaling method will be explained with reference to Figure 4. As shown in (1) (requirement (1)) of Figure 4, a metric and a threshold that serve as the criteria for determining scale-in / scale-out are required. Regarding the metric and threshold, a metric (index) based on a predicted value is used to efficiently scale-out / scale-in.
[0034] Regarding the insertion and route switching of SRv6 settings after scale-out / scale-in, as shown in (2)-i (requirement (2)-i), first, logic is required to select which vCPE to insert the SRv6 settings into.
[0035] In this case, the vCPE to which the configuration is inserted is selected so that the number of FIB entries is below the upper limit. Here, existing flows are drawn to vCPEs with SRv6 settings, and new flows are not drawn to vCPEs with a large number of FIB entries.
[0036] The above upper limit is the maximum number of entries that each vCPE can tolerate. The threshold is a value that triggers scale-out / scale-in, and is set, for example, as a percentage of the upper limit.
[0037] Regarding the change in outbound / inbound traffic routing associated with the scale-out / scale-in shown in (2)-ii (requirement (2)-ii), appropriate route switching is required to insert the settings into the selected vCPE.
[0038] The outline of the technology according to the present embodiment taking the above requirements into consideration will be described below.
[0039] <Regarding requirement (1)> In this embodiment, the number of FIB entries is used as a metric. Also, the number of future clients, which affects both the scale-out and scale-in metrics, is predicted from the number of FIB entries, TTL information, and the connection tendency of new clients.
[0040] <For requirement (2)-i> When scaling out, the vCPE with the fewest number of FIB entries is selected and new SRv6 settings are inserted. In the configuration example shown in Figure 4, the number of FIB entries in vCPE1 is the same as or close to the threshold, and to prevent entry duplication, existing flows are processed but new flows are not accepted. Also, since the number of FIB entries in vCPE2 is small, SRv6 settings for new flows are inserted in vCPE2.
[0041] After the number of FIB entries in each vCPE becomes balanced (after the difference is within a certain threshold), the SRv6 setting is continuously inserted into vCPE2, or a vCPE to which a new SRv6 setting is inserted is selected, taking into account the traffic and the surplus number of FIB entries.
[0042] Regarding the implementation of scale-in (implementation of scale-in after determining to scale-in using metrics), for example, if both the traffic volume and the number of FIB entries are below the threshold, scale-in is implemented. Here, the vCPE with the smallest number of FIB entries is selected as the target for scale-in, and the SRv6 configuration is migrated to the remaining vCPEs.
[0043] <For requirement (2)-ii> In scale-out, when CPE4 inquires of DB5, DB5 instructs CPE4 to connect to the selected vCPE. The application returns communication to the vCPE from which the traffic originates. In scale-in, information on the vCPE to be deleted is deleted from DB5. After confirming that traffic has stopped coming, scale-in (deletion of vCPE) is performed. The configuration and operation of this embodiment will be described in more detail below.
[0044] (System Configuration) Fig. 5 shows an example of the configuration of a communication control system in this embodiment. As shown in Fig. 5, this communication control system has a CPE 4, a vCPE 1, a DB 5, an application 6, and a control device 100. The devices are connected by a network so that information can be exchanged between them as shown in the figure. Note that, although Fig. 5 shows one each of CPE, vCPE, and application, there may be multiple of each.
[0045] CPE4 is a network device that accommodates a client terminal. vCPE1 is a network device on the cloud that accommodates application 6. CPE4 is the starting point of the tunnel, and vCPE1 is the end point of the tunnel. DB5 holds information about the CPE / vCPE, and responds with information about the connection destination in response to an inquiry from the CPE / vCPE.
[0046] The control device 100 includes an FIB entry number acquisition unit 110, a metric calculation unit 120, an auto-scaling processing unit 130, a deployment function unit 160, a setting policy determination unit 140, and a route control unit 150. The control device 100 may be configured with one computer (server) or multiple computers. These computers may be physical machines or virtual machines on a cloud.
[0047] The "FIB entry number acquisition unit 110 + metric calculation unit 120" may be called a calculation unit. The "auto-scaling processing unit 130 + deployment function unit 160" may be called an auto-scaling execution unit. The "setting policy determination unit 140 + route control unit 150" may be called a control unit. The operation of each unit is outlined below.
[0048] The FIB entry number acquisition unit 110 acquires the number of FIB entries currently set in the vCPE 1. The metric calculation unit 120 calculates a metric based on the current number of FIB entries, the TTL, and a predicted value of the number of new connections.
[0049] The auto-scaling processing unit 130 determines the auto-scaling processing content (the number of vCPEs to increase or decrease, and the vCPE to be deleted) based on the metrics acquired from the metric calculation unit 120 and the judgment result of the threshold. The deployment function unit 160 deploys vCPEs, VIPs (virtual IP addresses), and pods for applications based on the instructions of the auto-scaling processing unit 130. Note that the "VIP" here is a service resource to which a virtual IP address that can be used within a cluster is assigned, and is a function unit that performs communication forwarding processing and the like within the cluster.
[0050] The configuration policy determination unit 140 determines a tunnel configuration policy (a vCPE to which a new client configuration is inserted during scale-out, and a vCPE to which an existing client configuration is migrated during scale-in) based on the metric value.
[0051] The route control unit 150 instructs the route setting to the deployed pod and the control policy of the DB5 according to the determined setting policy.
[0052] The operation of each of the above-mentioned components will be described in detail later.
[0053] (Operation overview) An overview of the processing performed by the control device 100 will be described with reference to Fig. 6. In S100, the control device 100 acquires metrics for the vCPE and determines whether to perform scale-out / scale-in.
[0054] When it is decided to perform a scale-out, a scale-out process is executed in S200-1, and intra-cluster routing control related to the scale-out is performed in S300-1. When it is decided to perform a scale-in, a scale-in process is executed in S200-2, and intra-cluster routing control related to the scale-in is performed in S300-2.
[0055] The above steps S100, S200, and S300 will now be described in more detail.
[0056] (S100: Acquisition of metric, determination of scale - out / scale - in) The number of FIB entries in the vCPE depends on the number of clients. Since the number of clients that will leave in the future can be predicted from the set TTL, and the number of new client connections can also be calculated by time - series analysis, in this embodiment, the predicted value of the number of FIB entries is used as a metric. By using the predicted value instead of the measured value, the following effects can be achieved.
[0057] · The acquisition frequency of the measured value can be reduced, and the processing load of the Pod can be reduced.
[0058] · Compared with the measured - value - based approach, especially the scale - in process can be performed earlier, so that resources can be effectively utilized.
[0059] The procedure executed by the control device 100 in S100 will be described in more detail. The control device 100 executes the following steps 1 to 4.
[0060] <S100: Step 1> The control device 100 performs time - series prediction using past client - number statistical information and calculates the predicted value of the number of new client connections. The time - series prediction method is not limited to a specific method. For example, an ARIMA model or the like can be used. This is because the number of clients can be regarded as a unit - root process if it can be leveled within a certain large time width of 1 h. Also, the number of new client connections may be predicted using the demand information of related services such as car navigation.
[0061] <S100: Step 2> The control device 100 acquires the number of FIB entries in the vCPE and the TTL of each FIB entry from the custom metrics of the cloud or from the execution results of the metric - server or the shell at regular time intervals.
[0062] <S100: Step 3> Based on the information in Steps 1 and 2, the control device 100 calculates the predicted value of the future number of FIB entries for the vCPE. As the predicted value, the predicted value for each vCPE may be calculated, or the average value of the predicted values among the vCPEs may be calculated. In this embodiment, it is assumed that the average value is used in S100.
[0063] <S100: Step 4> The control device 100 compares the value calculated in Step 3 with the scale-out threshold (e.g., 300,000 routes), and determines to perform scale-out when the predicted value of the number of FIB entries exceeds the scale-out threshold. Also, when the predicted value of the number of FIB entries is less than the scale-in threshold (e.g., 100,000 routes, or the average value of the FIB entries of the vCPE after scale-in), it is determined to perform scale-in.
[0064] (S200-1: Selection Logic of vCPE at Scale-Out) Next, the selection logic of the vCPE at scale-out will be described.
[0065] To avoid adding SRv6 settings to vCPEs that already have a large number of FIB entries, the control device 100 selects the vCPE with the fewest number of FIB entries from among multiple vCPEs and uses it as the insertion destination for the SRv6 settings (tunnel settings) for the new client. The procedures 1 to 3 for selecting the vCPE into which the new client destination settings are inserted are as follows.
[0066] <S200-1: Step 1> The new vCPE is activated by making the registration from the new vCPE to DB5 effective.
[0067] <S200-1: Step 2> After performing the above scale-out, the control device 100 selects the vCPE with the fewest current number of FIB entries (= the newly deployed vCPE) and uses it as the insertion destination for the SRv6 settings for the new client.
[0068] <S200-1: Step 3> After the number of FIB entries for each vCPE is balanced, the control device 100 obtains the number of FIB entries (metric value) for each vCPE, and switches the insertion destination of the new client-destined SRv6 setting according to one of the following policies.
[0069] (Policy 1) Select the vCPE with the largest difference between the threshold value and the metric value as the insertion destination.
[0070] (Policy 2) Select the insertion destination from among the vCPEs in a round-robin manner.
[0071] The above are steps 1 to 3. The situation during scale-out will be described with reference to FIGS. 7 and 8. FIG. 7 shows that vCPE2 is added as a new vCPE. At this time, for vCPE1, since it has the number of FIB entries equal to or more than the threshold value, in order to avoid adding settings, vCPE2 is selected as the insertion destination for the new client-destined SRv6 setting.
[0072] As shown in FIG. 8, after scale-out, the number of FIB entries in vCPE1 decreases, and the number of FIB clients in vCPE2 increases. After the number of FIB entries in vCPE1 and vCPE2 is balanced, the vCPE serving as the insertion destination for the new client-destined SRv6 setting is reselected according to the above Policy 1 or Policy 2.
[0073] (S200-2: Selection logic of vCPE during scale-in) Next, the selection logic of the vCPE during scale-in will be described.
[0074] The control device 100 selects the vCPE with the smallest number of FIB entries as the target for scale-in, and performs the transfer in order from the vCPE with the largest number of FIB entries. By packing the settings up to the same number as the threshold value in the vCPE with a small number of FIB entries, it is intended to effectively utilize the resources. Steps 1 and 2 for transferring the existing settings during scale-in are as follows. FIG. 9 will be referred to in the description.
[0075] <S200-2: Step 1 (Selection of scale-in target)> The control device 100 acquires the number of FIB entries for each vCPE, and selects the vCPE with the smallest number of FIB entries (vCPE3 in the example of FIG. 9), excluding the vCPE (vCPE2 in the example of FIG. 9) to which a new SRv6 setting is added. The vCPE2 with a small number of FIB entries is left to accommodate the new SRv6 setting.
[0076] <S200-2: Step 2 (Selection of Migration Destination)> The control device 100 migrates the SRv6 settings already set for the scale-in target in descending order of the number of FIB entries (in the order of vCPE1 → vCPE2 in FIG. 9).
[0077] (Background and Issues of Routing Control within a Cluster) Subsequently, the routing control within the cluster will be described. First, the background and issues of the routing control within the cluster will be explained. Refer to FIG. 10 as appropriate.
[0078] (Background and Requirements) The insertion of SRv6 settings and the routing of Outbound Traffic (traffic for clients) are interlinked. In order not to duplicate SRv6 settings between vCPEs, it is necessary to draw existing Outbound Traffic into the vCPE with the encapsulation setting. Also, new Outbound Traffic needs to be drawn into the vCPE with a small number of FIB entries.
[0079] (Issues) It is desirable to execute the path control that satisfies the above requirements in a scalable manner. However, when identifying vCPEs by the next hop of BGP, millions of orders of magnitude of routes to EIDs (A:1:: / 64 or B:1:: / 64 in FIG. 10) are advertised, and it does not scale. Similarly, the size of the NAT table exceeds the limit in the case of SNAT. When using BGP, the host routing table needs to have routes to EIDs corresponding to the number of clients, and it is desirable to reduce this to the order of thousands.
[0080] The following describes intra-cluster routing control that solves the above problems.
[0081] (S300: Overview of routing within a cluster) First, an overview of intra-cluster routing will be provided.
[0082] In this embodiment, the number of paths within a cluster is reduced by fixing the vCPE to be used for each application.
[0083] For example, as shown in Figure 11, suppose there are two applications, a and b, and the Pods associated with vCPE1 are App1a and App1b. Communications addressed to the opposing EIDs of App1a and App1b must go through vCPE1, and unnecessary routes are deleted.
[0084] For the inbound direction, DB5 responds to a connection request from a CPE with the RLOC of the vCPE based on the logic determined in S200. As shown in Fig. 11, for example, DB5 performs control such as returning the RLOC of a vCPE with a small number of FIB entries in response to a query from a new CPE to which a new client is connected. The connected vCPE forwards the packet to its subordinate VIP, and the VIP forwards the packet to the associated APP pod.
[0085] For outbound communication, the app will forward the communication to the vCPE using one of the following methods. The communication will then be forwarded from the vCPE to the CPE via a tunnel.
[0086] -The host kernel performs policy based routing (PBR) to forward communications to the corresponding vCPE. Specifically, as shown in Figure 11, PBR is performed for communications originating from the app using the source address / destination prefix as a key, and the communications are forwarded to the vCPE.
[0087] -In the App pod's Routing Table, set a route to the EID to the vCPE.
[0088] - Prepare a reverse proxy container for each App pod and transfer it to the corresponding vCPE by tunneling.
[0089] Each of the above methods is synonymous with setting up routing for each App Pod (application), and can improve scalability compared to the method described in Figure 10.
[0090] (S300-1: Routing within the cluster during scale-out) The procedures 1 and 2 of the C-Plane in the routing within the cluster during scale-out are as follows.
[0091] <S300-1: Procedure 1 (Input of route setting)> The control device 100 performs routing setting between the newly deployed vCPE and the App Pod. As a method of routing setting, for example, either Method 1 or Method 2 can be used.
[0092] Method 1: Input a static route of the vCPE corresponding to the EID space for the App pod.
[0093] Method 2: Input a PBR setting for transferring the communication of "source: App pod, destination: EID space" to the corresponding vCPE for the host where the APP pod is deployed. This is synonymous with setting up routing for each App Pod, but the necessary policies are at most the number of Pods running on the host, which is much less compared to holding the BGP routes for each CPE, so scalability can be improved.
[0094] In Procedure 1, for example, in the configuration of Figure 12, set a PBR policy on the host to transfer the communication from App 3a and 3b to vCPE3 using the source address / destination Prefix as the key.
[0095] <S300-1: Step 2 (DB Control)> Based on the selection logic described in S200-1, control the RLOC information that responds to the new CPE from DB5. Specifically, in the example of FIG. 12, control such as returning the RLOC of the vCPE with fewer FIB entries in response to a query from the new CPE is performed. At this time, it may be sufficient to respond only with the RLOC of vCPE3, or it may be sufficient to respond with the RLOC of each vCPE in a round-robin manner.
[0096] (S300-2: Intra-cluster Routing during Scale-in) The procedures 1 and 2 of the C-Plane in the intra-cluster routing during scale-in are as follows. This procedure is performed after the completion of procedure 2 of S200-2.
[0097] <S300-2: Step 1 (DB Control)> The control device 100 deletes the information of the vCPE to be scaled in from DB5. In the example of FIG. 13, the information of vCPE3 is deleted. As a result, the new Inbound Traffic stops.
[0098] <S300-2: Step 2 (Deletion of Routing Configuration)> After confirming that the inflow of Inbound Traffic has become zero, the control device 100 deletes the routing configuration between the vCPE to be scaled in and the App Pod. In the example of FIG. 13, the routing configuration between vCPE3 and APP3a, 3b is deleted.
[0099] (Description of the Detailed Functions of the Control Device) Hereinafter, the operations of each functional unit constituting the control device 100 that executes the control as described above will be described in more detail. The functional units constituting the control device 100 are as shown in FIG. 5.
[0100] <FIB Entry Number Acquisition Unit 110> 14 shows an example of the configuration of the FIB entry number acquisition unit 110. As shown in FIG. 14, the FIB entry number acquisition unit 110 has an acquisition API function unit 111, an FB entry DB 112, and a distribution API function unit 113.
[0101] The acquisition API function unit 111 of the FIB entry number acquisition unit 110 accesses each vCPE at regular intervals and acquires the number of FIB entries already set in the vCPE. Then, the acquisition result is stored in the FIB entry DB 112 together with a timestamp. An example of data stored in the FIB entry DB 112 is shown in FIG. 15.
[0102] The information stored in the FIB entry DB 112 is sent to the metric calculation unit 120 and the configuration policy determination unit 140 via the distribution API function unit 113 .
[0103] <Metric Calculation Unit 120> 16 shows an example of the configuration of the metric calculation unit 120. As shown in FIG. 16, the metric calculation unit 120 has a client number statistical information DB 121, a prediction model unit 122, a TTL acquisition unit 123, a metric calculation processing unit 124, and a metric calculation parameter DB 125.
[0104] The metric calculation unit 120 calculates a metric (in this embodiment, the average number of future FIB entries of the vCPE) used to determine whether auto-scaling is triggered.
[0105] The TTL acquisition unit 123 periodically accesses each vCPE and acquires the TTL of each FIB entry. The client number statistical information DB 121 acquires the change in the number of connections for each fixed period of time from the DB 5, calculates the number of new connections by time period / time series, and stores the values. FIG. 17 shows an example of information stored in the client number statistical information DB 121.
[0106] The prediction model unit 122 generates a prediction model from the information stored in the client number statistical information DB 121, and calculates the number of new connections in the future.
[0107] The metric calculation parameter DB 125 holds parameter information necessary for prediction, etc. Specifically, it holds the time span for acquiring client count statistical information that serves as learning data, the ratio of entries that are deleted from the FIB within M minutes due to TTL, the algorithm used to generate a prediction model and its hyperparameters, etc. FIG. 18 shows an example of information stored in the metric calculation parameter DB 125.
[0108] The metric calculation unit 124 calculates the future number of FIB entries as a metric from the current number of FIB entries acquired from the FIB entry number acquisition unit 110, the predicted value of the number of new client connections calculated from the prediction model, and the predicted value of the number of existing client departures acquired from the TTL acquisition unit 123. The calculated metric is transmitted to the auto-scaling processing unit 130 and the setting policy determination unit 140.
[0109] <Auto-scale processing unit 130> Fig. 19 shows an example of the configuration of the auto-scaling processor 130. As shown in Fig. 19, the auto-scaling processor 130 includes an auto-scaling processor parameter DB 131, a threshold value determination unit 132, an API function unit 133, and a threshold value determination unit 134.
[0110] The auto-scaling processor 130 determines the content of the auto-scaling process (the number of vCPEs to be increased or decreased, and the vCPEs to be deleted) based on the result of the comparison between the metric obtained from the metric calculator 120 and a threshold value.
[0111] The threshold determination unit 132 determines a threshold for implementing scale-out / scale-in based on information stored in the auto-scaling processor parameter DB 131. The auto-scaling processor parameter DB 131 holds information necessary for determining a threshold. Specifically, it holds information such as the upper limit of the number of FIB entries for each vCPE and the ratio of the threshold to the upper limit. FIG. 20 shows an example of information stored in the auto-scaling processor parameter DB 131.
[0112] The threshold determination unit 134 compares the metric value acquired from the metric calculation unit 130 with the threshold value acquired from the threshold determination unit 132 to determine whether auto-scaling can be performed and to determine the details of scale-out (the number of pods to be increased during auto-scaling and the vCPE to be deleted). The determination result is sent to the deployment function unit 160 via the API function unit 133, and the vCPE, VIP, app pod, etc. are deployed or deleted.
[0113] <Setting Policy Determination Unit 140> 21 shows an example of the configuration of the setting policy determination unit 140. As shown in FIG. 21, the setting policy determination unit 140 includes a setting policy determination parameter DB 141, a vCPE selection unit 142, a migration destination determination unit 143, and an API function unit 144.
[0114] The configuration policy determination unit 140 determines a tunnel configuration policy (a vCPE to which a new client configuration is inserted during scale-out, and a vCPE to which an existing client configuration is migrated during scale-in) based on the metric value.
[0115] The vCPE selection unit 142 selects a vCPE into which a setting for a new client is inserted after the scale-out based on the metric value acquired from the metric calculation unit 120 and the predicted value of the number of FIB entries for each vCPE. The selection result is sent to the route control unit 150 via the API function unit 144.
[0116] The migration destination determination unit 143 determines a vCPE to which the existing settings are to be migrated during scale-in based on the metric value acquired from the metric calculation unit 120 and the predicted value of the number of FIB entries for each vCPE. The result of the determination is sent to the route control unit 150 via the API function unit 144.
[0117] The parameter DB 141 for the setting policy determination unit stores parameters used by the vCPE selection unit 142 and the migration destination determination unit 143. Specifically, it holds information such as a policy for selecting a vCPE after the FIB entries of the vCPE are balanced, and an upper limit value of each vCPE when migrating settings during scale-in. FIG. 22 shows an example of information stored in the parameter DB 141 for the setting policy determination unit.
[0118] <Route Control Unit 150> 23 shows an example of the configuration of the path control unit 150. As shown in FIG. 23, the path control unit 150 includes a DB control unit 151, a route setting unit 152, and an API function unit 153.
[0119] The route control unit 150 performs route setting to the deployed pod and control policy instructions to the DB 5 in accordance with the determined setting policy.
[0120] The DB control unit 151 receives Pod deployment / deletion information from the deployment function unit 160 via the API function unit 153, and transmits vCPE selection logic (such as connecting a new client to the selected vCPE, distributing using an ECMP (Equal Cost Multipath) protocol) to the DB5 during scale-out based on the policy information received from the configuration policy determination unit 140. Also, when scaling in, the DB control unit 151 deletes information about the vCPE to be scaled in from the DB5.
[0121] The route setting unit 152 inserts route information (for example, tunnel settings, PRB information, etc.) into the vCPE, VIP, and app pod deployed by the deployment function unit 160.
[0122] (Sequence) Next, a processing sequence in the system of this embodiment will be described.
[0123] <Metric acquisition process> A sequence in the metric acquisition process is shown with reference to Fig. 24. This sequence shows a procedure in which the control device 100 acquires metrics, determines whether to perform auto-scaling, and then deploys an additional vCPE.
[0124] In S1 to S3, the metric calculation unit 120 inquires of the DB 5, acquires the number of new connections for each time series, and generates a prediction model for the number of connections using this as learning data. The processing of S1 to S3 corresponds to step 1 of S100.
[0125] In S4 to S6, the FIB entry number acquisition unit 110 inquires of the vCPE 1 and transmits the information to the metric calculation unit 120. In addition, in S7 to S8, the metric calculation unit 120 acquires the TTL from the vCPE 1. The processing of S4 to S8 corresponds to step 2 of S100.
[0126] In S9 to S11, the metric calculation unit 120 calculates a predicted value-based metric from the current number of FIB entries, the predicted value of the number of new connections, and the TTL. The metric calculated by the metric calculation unit 120 is sent to the auto-scaling processing unit 130. The processes of S9 to S11 correspond to step 3 of S100.
[0127] In S12 to S13, the auto-scaling processing unit 130 receives the metric calculated by the metric calculation unit 120, evaluates the metric, and transmits the result to the deployment function unit 160. The processes of S11 to S13 correspond to step 4 of S100.
[0128] <Scale-out processing> A sequence in scale-out processing is shown with reference to Fig. 25. This sequence shows the processing at the time of scale-out and the procedure of D-Plane processing.
[0129] First, in S1, when vCPE2 is newly deployed, it registers its own information (EID and RLOC) in DB5. The processing of S1 corresponds to step 1 of S200-1.
[0130] In S2 to S3, the deployment function unit 160 notifies the setting policy determination unit 140 of the completion of deployment, and the metric calculation unit 120 transmits the metric to the setting policy determination unit 140. After that, in S4 to S5, the setting policy determination unit 140 implements the selection logic of the vCPE, and transmits the policy to the route control unit 150. The processing of S2 to S5 corresponds to step 2 of S200-1.
[0131] In S6 to S7, the route control unit 150 inserts settings for route control into the vCPE, the application pod, the host, etc. In addition, in S8, the route control unit 150 updates the logic for responding to the CPE 4 in the DB 5. The processing of S6 to S8 corresponds to steps 1 and 2 of S300-1.
[0132] In S9 to S10, when the FIB entries between the vCPEs reach a balanced state after auto-scaling, the configuration policy transmission unit 140 updates the selection logic. The processing of S9 to S10 corresponds to step 3 of S200-1.
[0133] In S11 to S12, the configuration policy transmitting unit 140 updates the logic on the DB 5 side by sending the updated result of the selection logic to the route control unit 150. The processing of S11 to S12 corresponds to step 2 of S300-1.
[0134] When the C-Plane processing of the auto-scaling process shown in S1 to S12 is completed, packets can be forwarded in the D-Plane. As part of the D-Plane processing, in S13 to S14, CPE4 queries DB5 and learns the encap rules for the opposing vCPE. Specifically, it sends an RLOC query to DB5 using the inner IP address as the key, and receives an EID and RLOC response from DB5. In S15 to S17, CPE4 performs encap (encapsulation) using the settings obtained from DB5, and the packets are forwarded to the application pod via vCPE2.
[0135] <Scale-in processing> A sequence in a scale-in process is shown with reference to Fig. 26. This sequence shows the process during scale-in.
[0136] First, in S1 to S2, the deployment function unit 160 notifies the setting policy determination unit 140 of the start of scale-in, and the setting policy determination unit 140 determines the selection logic of the vCPE and executes the selection. The processing of S1 to S2 corresponds to step 1 of S200-2.
[0137] In S3 to S4, the setting policy determination unit 140 that has executed the selection transmits a setting transfer request to the vCPE 2, and transfers the setting from the vCPE 2 to be deleted to another vCPE 1. The processing in S3 to S4 corresponds to step 2 of S200-2.
[0138] After the setting is transferred, in S5 to S8, the route is changed by the setting policy determination unit 140. That is, in S5, the target record is deleted from the DB5, in S6, the route control unit 150 is notified of the update of the selection logic of the vCPE, and in S7 and S8, the route and tunnel setting are deleted. The processing of S5 to S8 corresponds to step 1 of S300-2.
[0139] In steps S9 to S11, when the deletion of the path is completed, the deployment function unit 160 deletes the application pod 6 and the vCPE 2 to be deleted. The processing in steps S9 to S11 corresponds to step 2 of S300-2.
[0140] (Hardware configuration example) The control device 100 can be realized, for example, by causing one or more computers to execute a program. The computer may be a physical computer or a virtual machine.
[0141] That is, the control device 100 can be realized by executing a program corresponding to the processing performed by the control device 100 using hardware resources such as a CPU and memory built into a computer. The program can be recorded on a computer-readable recording medium (such as a portable memory) and stored or distributed. The program can also be provided via a network such as the Internet or email.
[0142] Fig. 27 is a diagram showing an example of the hardware configuration of the computer. The computer in Fig. 27 includes a drive device 1000, an auxiliary storage device 1002, a memory device 1003, a CPU 1004, an interface device 1005, a display device 1006, and an input device 1007, which are all connected to each other via a bus B.
[0143] The program for realizing the processing on the computer is provided by a recording medium 1001 such as a CD-ROM or a memory card. When the recording medium 1001 storing the program is set in the drive device 1000, the program is installed from the recording medium 1001 to the auxiliary storage device 1002 via the drive device 1000. However, the program does not necessarily have to be installed from the recording medium 1001, but may be downloaded from another computer via a network. The auxiliary storage device 1002 stores the installed program as well as necessary files, data, etc.
[0144] The memory device 1003 reads out and stores the program from the auxiliary storage device 1002 when an instruction to start the program is received. The CPU 1004 realizes functions related to the control device 100 in accordance with the program stored in the memory device 1003. The interface device 1005 is used as an interface for connecting to a network, and functions as an input means and an output means via the network. The display device 1006 displays a GUI (Graphical User Interface) or the like according to a program. The input device 157 is composed of a keyboard and mouse, buttons, a touch panel, or the like, and is used to input various operation instructions.
[0145] (Effects of the embodiment) As described above, according to this embodiment, auto-scaling is performed when the tunneling settings increase, and the settings are distributed among multiple vCPEs, so that a decrease in throughput can be avoided even if the number of clients increases.
[0146] Furthermore, in this embodiment, the metric used to determine whether to perform auto-scaling is not the actual number of FIB entries, but a predicted number of future FIB entries calculated from a predicted number of connections, TTL, etc., making proactive scheduling possible.
[0147] In addition, in the case of routing control within a cluster, in the past, the number of routes to vCPEs would explode in response to the number of CPEs, causing scalability issues. However, in this embodiment, the number of routes is reduced by fixing the vCPE used for each application, thereby realizing a scalable architecture.
[0148] (Summary of the embodiment) This specification discloses at least the following control device, network control method, and program. (Section 1) A control device that executes control over a communication system in which communication is performed by a tunnel between a network device and a virtual network device on a cloud, a calculation unit for calculating a predicted value of a future number of setting entries in the virtual network device; an auto-scaling execution unit that executes a scale-out or a scale-in of the virtual network device based on a comparison result between the predicted value and a threshold; a control unit that performs routing control between an application and the virtual network device in the cloud service infrastructure; A control device comprising: (Section 2) The calculation unit calculates a predicted value of the number of setting entries based on a predicted value of the number of future new clients, the current number of setting entries, and the TTL of each current setting entry. 2. The control device according to claim 1. (Section 3) At the time of scale-out, the control unit inserts a tunnel setting for a new client into the virtual network device having the smallest number of setting entries. 3. The control device according to claim 1 or 2. (Section 4) The control unit reselects a virtual network device into which a tunnel setting for a new client is to be inserted after the number of setting entries in each virtual network device is balanced. 4. The control device according to claim 3. (Section 5) At the time of scale-in, the control unit performs control to migrate existing tunnel settings in the virtual network device to be deleted to one or more existing virtual network devices in descending order of the number of setting entries. 5. A control device according to any one of claims 1 to 4. (Section 6) The control unit performs routing settings between a newly installed virtual network device and an application when a scale-out of a virtual network device is executed in the service infrastructure on the cloud, and deletes routing settings between a deleted virtual network device and an application when a scale-in of a virtual network device is executed. 6. A control device according to any one of claims 1 to 5. (Section 7) A network control method by a control device that controls a communication system in which communication is performed by a tunnel between a network device and a virtual network device on a cloud, comprising: calculating a predicted value of a future number of setting entries in the virtual network device; Executing a scale-out or scale-in of the virtual network device based on a comparison result between the predicted value and a threshold value; performing routing control between an application and the virtual network device in the service infrastructure on the cloud; A network control method comprising: (Section 8) A program for causing a computer to function as each part of the control device described in any one of claims 1 to 6.
[0149] Although the present embodiment has been described above, the present invention is not limited to such a specific embodiment, and various modifications and variations are possible within the scope of the gist of the present invention described in the claims. [Explanation of symbols]
[0150] 1, 2, 3 vCPE 4 CPE 5 DB 6 App 100 Control device 110 FIB entry number acquisition unit 111 Acquisition API function section 112 FB entry DB 113 Distribution API Function Section 120 Metric Calculation Unit 121 Client Statistical Information DB 122 Prediction Model Division 123 TTL acquisition part 124 Metric calculation processing unit 125 Metric calculation parameter DB 130 Auto-scale processing unit 131 Parameter DB for auto-scaling processing unit 132 Threshold determination unit 133 API Function Section 134 Threshold judgment unit 140 Configuration policy determination unit 141 Parameter DB for determining configuration policy 142 vCPE Selection Section 143 Migration Destination Decision Department 144 API Function Section 150 Route control unit 151 Database Control Section 152 Route setting section 153 API Function Section 160 Deployment Function Division 1000 Drive Device 1001 Recording media 1002 Auxiliary storage 1003 Memory device 1004 CPU 1005 Interface device 1006 Display device 1007 Input Device
Claims
1. A control device that executes control over a communication system in which communication is performed by a tunnel between a network device and a virtual network device on a cloud, a calculation unit for calculating a predicted value of a future number of setting entries in the virtual network device; an auto-scaling execution unit that executes a scale-out or a scale-in of the virtual network device based on a comparison result between the predicted value and a threshold; a control unit that performs routing control between an application and the virtual network device in the cloud service infrastructure; A control device comprising:
2. The calculation unit calculates a predicted value of the number of setting entries based on a predicted value of the number of future new clients, the current number of setting entries, and the TTL of each current setting entry. The control device according to claim 1 .
3. At the time of scale-out, the control unit inserts a tunnel setting for a new client into the virtual network device having the smallest number of setting entries. The control device according to claim 1 or 2.
4. The control unit reselects a virtual network device into which a tunnel setting for a new client is to be inserted after the number of setting entries in each virtual network device is balanced. The control device according to claim 3.
5. At the time of scale-in, the control unit performs control to migrate existing tunnel settings in the virtual network device to be deleted to one or more existing virtual network devices in descending order of the number of setting entries. A control device according to any one of claims 1 to 4.
6. The control unit performs routing settings between a newly installed virtual network device and an application when a scale-out of a virtual network device is executed in the service infrastructure on the cloud, and deletes routing settings between a deleted virtual network device and an application when a scale-in of a virtual network device is executed. A control device according to any one of claims 1 to 5.
7. A network control method by a control device that controls a communication system in which communication is performed by a tunnel between a network device and a virtual network device on a cloud, comprising: calculating a predicted value of a future number of setting entries in the virtual network device; Executing a scale-out or scale-in of the virtual network device based on a comparison result between the predicted value and a threshold value; performing routing control between an application and the virtual network device in the service infrastructure on the cloud; A network control method comprising:
8. A program for causing a computer to function as each unit in the control device according to any one of claims 1 to 6.
Citation Information
Patent Citations
Firewall controller, firewall device, and firewall control method
JP2017069614A
Communication system
JP2017142717A
Communication method and communication system
JP2018137612A
Service chain management apparatus, service chain management system, service chain management method, and program recording medium
WO2015194182A1
