Information processing device, cluster node, cluster system, information processing method and program
The information processing device and method address the challenge of managing route information during virtual machine migration by transmitting network segment information, facilitating efficient and cost-effective network routing without external virtual networks.
Patent Information
- Application Number
- JP2020130122
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-07-31
- Publication Date
- 2025-01-15
- Estimated Expiration
- 2040-07-31
AI Technical Summary
Existing technologies face challenges in managing route information during virtual machine migration within a device, leading to additional costs and inefficiencies due to the need for separate devices to maintain routing outside the device.
An information processing device and method that transfers and transmits route information of a network segment to which a virtual machine belongs when migration occurs, allowing dynamic network routing without the need for external virtual networks.
Enables efficient and cost-effective network routing changes during virtual machine migration, reducing the time and cost associated with constructing and managing external virtual networks.
Smart Images

Figure 0007613022000001 
Figure 0007613022000002 
Figure 0007613022000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, a cluster node, a cluster system, an information processing method, and a program. [Background technology]
[0002] Patent Document 1 discloses a technique for extracting log information outside a device based on a heartbeat signal in which an internal log of the device is embedded. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] International Publication No. 2016 / 129275 Summary of the Invention [Problem to be solved by the invention]
[0004] Patent Document 1 discloses a technology in which a heartbeat signal in which an internal log of a device is embedded is sent to the outside of the device, and the log information is extracted outside the device. However, when migration occurs inside a device in which a virtual machine (VM) runs, it is necessary to send route information, not log information, to the outside in order to maintain routing between the device and the outside of the device. In addition, managing the route information of the device with a separate device may result in additional costs. An object of the present invention is to provide an information processing device, a cluster node, a cluster system, an information processing method, and a program that solve the above-mentioned problems. [Means for solving the problem]
[0005] The information processing device of the present invention is a device incorporated into a first cluster node on which one or more virtual machines run, and is equipped with a transmitting means for transmitting route information of the network segment to which the virtual machine belongs to an external device when migration of the virtual machine occurs.
[0006] A cluster node according to the present invention comprises a network adapter connected to a network, a host OS function means, one or more virtual machines, and a packet forwarding device which forwards packets between the network adapter and the one or more virtual machines, or between the host OS function means and the one or more virtual machines, and the packet forwarding device has a transmitting means which transmits route information of the network segment to which the virtual machine belongs to an external device when migration of the virtual machine occurs.
[0007] The cluster system of the present invention is a cluster system including a first cluster node and a second cluster node, wherein the first cluster node is equipped with a network adapter connected to a network, a host OS function means, one or more virtual machines, and a packet forwarding device that forwards packets between the network adapter and the one or more virtual machines, or between the host OS function means and the one or more virtual machines, and the packet forwarding device has a transmitting means that transmits route information of the network segment to which the virtual machine belongs to to the outside when migration of the virtual machine occurs.
[0008] The information processing method according to the present invention includes, in a first cluster node on which one or more virtual machines operate, transmitting, when migration of the virtual machine occurs, route information of a network segment to which the virtual machine belongs to an external device.
[0009] The program according to the present invention causes a computer of a first cluster node on which one or more virtual machines operate to transmit, when migration of the virtual machine occurs, route information of the network segment to which the virtual machine belongs to an external source. Effect of the Invention
[0010] According to at least one of the above aspects, when migration occurs in an apparatus including a virtual machine, route information relating to the migration can be received outside the apparatus without providing another apparatus outside the apparatus. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram illustrating a configuration of an information processing system according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating a configuration of a cluster node according to an embodiment. [Diagram 3] FIG. 4 is a diagram illustrating an example of address information according to an embodiment. [Figure 4] 1 is a flowchart illustrating an operation of an information processing system according to an embodiment. [Diagram 5] 4 is a flowchart illustrating an operation of the information processing system according to an embodiment. [Figure 6] FIG. 1 is a diagram showing a configuration of an information processing device according to a basic configuration. [Figure 7] FIG. 1 is a schematic block diagram illustrating a configuration of a computer according to at least one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] First embodiment Configuration of Information Processing System The configuration of the information processing system 1 according to the first embodiment will be described below. 1 is a diagram showing the configuration of an information processing system 1 according to the first embodiment. The information processing system 1 includes a client machine 101, a network 102, and a cluster node 10.
[0013] The information processing system 1 is operated as one system by linking a plurality of cluster nodes 10. The information processing system 1 is an example of a cluster system. In the first embodiment, the information processing system 1 is a high availability (HA) cluster system. Details of the HA cluster system will be described below.
[0014] <HAクラスタシステム> An HA cluster system is a system in which multiple cluster nodes 10 are connected to each other and behave as if they are one system. The HA cluster system uses multiple cluster nodes 10 to make the system redundant. This allows the HA cluster system to minimize the system downtime when a failure occurs in the HA cluster system, and improves the availability of the business that runs on the HA cluster system. Examples of the failure include a failure of a cluster node and a failure of a network that connects the cluster nodes. In an HA cluster system, the cluster nodes are called an active system and a standby system depending on their roles. The active system refers to a cluster node on which a business application is running. The standby system refers to a spare cluster node that switches the business application of the active system when a failure occurs in the active system. The business application runs on a virtual machine that runs on the cluster node.
[0015] Examples of the migration include quick migration (also called cold migration) and live migration. Quick migration refers to pausing a virtual machine operating in an active system when a failure in an HA cluster system is detected, moving the virtual machine to a standby system, and then restarting the virtual machine. On the other hand, live migration refers to moving a virtual machine operating in an active system to a standby system while keeping the virtual machine operating in the active system running when a failure in an HA cluster system is detected. The migration of the information processing system 1 in the first embodiment refers to quick migration.
[0016] Examples of operation modes of HA cluster systems include unidirectional standby and bidirectional standby. Unidirectional standby is an operation mode in which each cluster node is operated as either an active system or a standby system. On the other hand, bidirectional standby is an operation mode in which each cluster node is operated as either an active system or a standby system depending on the business application that is started.
[0017] The HA cluster system sends a signal (hereinafter referred to as a heartbeat signal) at preset intervals to determine whether a failure has occurred in each cluster node. For example, if the power supply to a cluster node is cut off, and the heartbeat signal determines that the cluster node has failed, migration will be performed.
[0018] <Client machine and network> The client machine 101 and the network 102 will now be described. A client machine 101 connects to multiple cluster nodes 10 via a network 102, and uses a business application running on a virtual machine running on the cluster node 10. Although one client machine 101 is shown in FIG. 1, the information processing system 1 may include multiple client machines 101. The network 102 connects the client machine 101 and the cluster node 10 via wired or wireless means.
[0019] <Cluster node> The configuration of the cluster node 10 will now be described. 1, the information processing system 1 includes a cluster node 10A and a cluster node 10B. The information processing system 1 may include three or more cluster nodes 10. The cluster node 10A is an example of a first cluster node. The cluster node 10B is an example of a second cluster node. The cluster node 10 operates one or more virtual machines 116. A detailed configuration of the cluster node 10 will be described below.
[0020] FIG. 2 is a diagram showing the configuration of the cluster node 10. The cluster node 10 includes a host OS (Operating System) 111, a virtual port 112, a physical NIC (Network Interface Card) 113, a packet forwarding device 114, a virtual switch 115, and a virtual machine 116. Here, the virtual port 112, the virtual switch 115, and the virtual machine 116 are realized not by physical devices, but by virtualization software (not shown) recorded in a storage device (not shown) included in the cluster node 10. Also, the host OS 111 is not a physical device, but software recorded in a storage device of the cluster node 10.
[0021] The virtual ports 112 are interfaces for transmitting and receiving data. As shown in Fig. 2, the virtual ports 112 enable data transmission and reception between the hardware and software included in the cluster node 10. Each virtual port 112 is assigned an IP (Internet Protocol) address. Virtual port 112B is connected to virtual port 112A. Virtual port 112B uses virtual port 112A as a default gateway. Virtual port 112A is connected to physical NIC 113A. Virtual port 112A uses any device connected to network 102 as a default gateway. Virtual port 112C is connected to virtual switch 115A. Virtual port 112D is connected to virtual switch 115B. The number of virtual ports 112 connected to virtual switch 115 is an example. Packet forwarding device 114 is connected to the number of virtual ports 112 corresponding to the number of virtual switches 115.
[0022] The physical NIC 113 is a device that connects the cluster node 10 to the network 102. The cluster node 10 can transmit data to and receive data from other cluster nodes 10 or the client machine 101 via the physical NIC 113. The physical NIC 113 is an example of a network adapter. Each of the cluster node 10A and the cluster node 10B includes one physical NIC 113. The physical NIC is connected to the virtual port 112.
[0023] The virtual switch 115 controls the communication state of data and the path of data. For example, the virtual switch 115A receives data from the packet forwarding device 114A and transmits the data to the virtual machine 116A or the virtual machine 116B. The virtual switch 115A also transmits the data received from the virtual machine 116A or the virtual machine 116B to the packet forwarding device 114B. Each cluster node 10 has two virtual switches 115. A cluster node 10 may have three or more virtual switches 115. A cluster node 10 has the same number of virtual switches 115 as the number of network segments 131 to which virtual machines 116 belong. The number of virtual switches 115 shown in FIG. 2 is an example.
[0024] The virtual machine 116 is a virtual computer that runs on a physical machine of the cluster node 10. Operating system software runs on the virtual machine 116. In addition, business applications are started on the operating system software running on the virtual machine 116. Virtual machine 116A and virtual machine 116B are connected to virtual switch 115A. Virtual machine 116A and virtual machine 116B use virtual port 112C as a default gateway. Virtual machine 116C is connected to virtual switch 115B. Virtual machine 116C uses virtual port 112D as a default gateway. The number of virtual machines 116 shown in FIGS. 1 and 2 is an example.
[0025] <Host OS> The host OS 111 will now be described in detail. The host OS 111 is basic software that manages the entire cluster node 10 and operates the virtualization software and the cross platform 141 of the cluster node 10. The host OS 111 is an example of a host OS function means.
[0026] The cross platform 141 is software that operates a cluster information providing unit 142 and a VM monitoring unit 143 that operate in an environment with specifications different from those of the host OS 111. When the specifications under which the cluster information providing unit 142 and the VM monitoring unit 143 operate are similar to the specifications of the host OS 111, the cluster node 10 does not need to operate the cross platform 141. A cluster information providing unit 142 and a VM monitoring unit 143 operate on the cross platform 141 .
[0027] The cluster information providing unit 142 acquires the IP address of the virtual machine 116 and the IP address of the cluster node 10 on which the virtual machine 116 is operating. When the cluster information providing unit 142 receives information on the virtual machine 116 from the VM monitoring unit 143, the cluster information providing unit 142 transmits the IP address of the virtual machine 116 and the IP address of the cluster node 10 involved in the migration to the packet forwarding device 114. For example, when migration occurs in the virtual machine 116, the cluster information providing unit 142 receives information about the virtual machine 116 from the VM monitoring unit 143. The cluster information providing unit 142 acquires the IP address of the virtual machine 116 newly connected to the cluster node 10 due to migration, and the IP address of the cluster node 10. The cluster information providing unit 142 transmits the acquired IP address of the virtual machine 116 and the IP address of the cluster node 10 to the packet forwarding device 114.
[0028] The VM monitor unit 143 judges whether or not a failure has occurred in the virtual machine 116. If it is judged that a failure has occurred in the virtual machine 116, the VM monitor unit 143 executes migration. A detailed operation of migration will be described later. The VM monitor unit 143 also judges whether or not migration has occurred. The VM monitor unit 143 is an example of a judgment means. If migration has occurred, the VM monitor unit 143 transmits information of the virtual machine 116 related to the migration to the cluster information providing unit 142.
[0029] The physical NIC 113A belongs to the network segment 131A. The physical NIC 113B belongs to the network segment 131B. The virtual switch 115A, the virtual machine 116A, the virtual machine 116B, the virtual machine 116C, the virtual switch 115C, and the virtual machine 116D belong to the network segment 131C. The virtual switch 115B, the virtual machine 116C, and the virtual switch 115D belong to the network segment 131D.
[0030] <Migration> The migration of information processing devices will be described below. Assume that a business application on the virtual machine 116C is running. In this case, the cluster node 10A on which the virtual machine 116C operates is the active system. The VM monitoring unit 143A detects a failure of the virtual machine 116C. After that, the VM monitoring unit 143A executes migration of the virtual machine 116C. The migration of the virtual machine 116C is executed as follows. The virtual machine 116C is connected to the virtual switch 115D operating on the other cluster node 10B (standby system) among the virtual switches 115 of the network segment 131D to which the virtual machine 116C belongs. That is, after the migration, the virtual machine 116C is connected to the virtual switch 115D.
[0031] <Packet forwarding device> The packet forwarding device 114 will now be described in detail. When migration of the virtual machine 116 occurs, the packet forwarding device 114 transmits route information of the network segment 131 to which the virtual machine 116 belongs to the outside. The packet forwarding device 114 forwards packets between the physical NIC 113 and the virtual machine 116. The packet forwarding device 114 forwards packets between the host OS 111 and the virtual machine 116. The packet forwarding device 114 is an example of an information processing device. The packet forwarding device 114 includes a routing unit 121, a route information transmission unit 122, a VM startup node storage unit 123, and a header rewriting unit 124.
[0032] The routing unit 121 determines a destination of a packet based on the address information stored in the VM activation node storage unit 123. Furthermore, the routing unit 121 transfers the packet to the determined destination. The routing unit 121 is an example of a transfer means. The address information is information that associates the IP address of the virtual machine 116 with the IP address of the packet transfer device 114. The IP address will be described in detail later. For example, the routing unit 121A transfers a packet received from any one of the virtual ports 112A, 112C, and 112D connected to the packet transfer device 114A to an appropriate virtual port 112 (transfer destination).
[0033] The route information transmitting unit 122 generates route information of the network segment 131 to which the virtual machine 116 belongs, based on the address information stored in the VM startup node storage unit 123. Furthermore, when the VM monitoring unit 143 determines that migration has occurred, the route information transmitting unit 122 transmits the generated route information to the outside. The route information transmitting unit 122 is an example of a transmitting means. The route information transmitting unit 122 uses a dynamic routing algorithm to transmit the route information. For example, the path information transmitting unit 122A transmits to the outside the path information of the network segment 131 to which the virtual machines 116A, 116B, and C belong. That is, the path information transmitting unit 122A transmits to the outside the path information of the network segments 131A and 131B. The path information transmitted to the outside is recorded in a router (not shown) or a switch (not shown) in the network 102. This enables the devices in the network 102 to communicate with the virtual machine 116 belonging to the network segment 131.
[0034] The VM startup node storage unit 123 receives the IP address of the virtual machine 116 and the IP address of the packet forwarding device 114 from the cluster information providing unit 142, and stores the address information. The VM startup node storage unit 123 is an example of a storage unit. Fig. 3 is a diagram showing an example of address information. For example, the IP addresses of the virtual machines 116A, 116B, and 116C and the IP address of the packet forwarding device 114A are associated with each other and stored as address information. The IP address of the virtual machine 116D and the IP address of the packet forwarding device 114B are associated with each other and stored as address information. As shown in Fig. 3, the address information also includes the IP address of the virtual machine 116D that operates on a cluster node 10B that is different from the cluster node 10A.
[0035] For example, when migration occurs in the cluster node 10A, the cluster information providing unit 142A transmits the IP address of the virtual machine 116 involved in the migration and the IP address of the cluster node 10A to the packet forwarding device 114A. The IP address of the virtual machine 116 involved in the migration and the IP address of the cluster node 10A are an example of first information. The VM activation node storage unit 123A receives the IP address of the virtual machine 116 involved in the migration and the IP address of the cluster node 10A, and updates the address information. For example, when migration occurs in the cluster node 10B, the cluster information providing unit 142B transmits the IP address of the virtual machine 116 involved in the migration and the IP address of the cluster node 10B to the packet forwarding device 114B. The IP address of the virtual machine 116 involved in the migration and the IP address of the cluster node 10B are an example of second information. The VM activation node storage unit 123A receives the IP address of the virtual machine 116 involved in the migration and the IP address of the cluster node 10B, and updates the address information.
[0036] When the routing unit 121 receives a packet addressed to the IP address of the virtual port 112 connected to the physical NIC 113, the header rewriting unit 124 creates a new IP header and encapsulates the received packet based on the address information stored in the VM activation node storage unit 123. The other cluster node 10 refers to a cluster node 10 other than the cluster node 10 on which the header rewriting unit 124 is operating. The header rewriting unit 124 is an example of a rewriting means. In this case, the destination IP address is the packet forwarding device 114 operating in another cluster node 10. Also, the source IP address is the packet forwarding device 114 in which the header rewriting unit 124 is operating. Also, the header rewriting unit 124 rewrites the destination MAC address to the MAC address of the gateway of the network 102. Also, the header rewriting unit 124 rewrites the source MAC address to the MAC address of the virtual port 112A. The routing unit 121 forwards the packet related to the address rewritten by the header rewriting unit 124. The routing unit 121 has an ARP (Address Resolution Protocol) function and acquires the MAC address using ARP.
[0037] Furthermore, when the routing unit 121 receives a packet addressed to the packet forwarding device 114 operating in the own cluster node 10, the header rewriting unit 124 decapsulates the packet. The routing unit 121 transfers the decapsulated packet from the corresponding virtual port 112. The own cluster node 10 refers to the cluster node 10 in which the header rewriting unit 124 is operating.
[0038] <Operation of information processing system related to migration> The operation of the information processing system 1 relating to migration will be described below. FIG. 4 is a flowchart showing the operation of the information processing system 1 related to migration.
[0039] The VM monitor 143 detects a failure in the virtual machine 116 (step S1). The VM monitor unit 143 executes migration of the virtual machine 116 (step S2). If the migration fails, the operation from step S1 or the operation from step S2 is performed again.
[0040] The VM monitor unit 143 transmits information about the virtual machine 116 involved in the migration in step S2 to the cluster information provider unit 142 (step S3). The cluster information providing unit 142 transmits the IP address of the virtual machine 116 involved in the migration in step S2 and the IP address of the cluster node 10 to the packet forwarding device 114 (step S4).
[0041] The VM activation node storage unit 123 receives the IP address of the virtual machine 116 and the IP address of the packet forwarding device 114 transmitted in step S4, and updates the address information (step S5). The packet forwarding device 114 determines whether or not the virtual machine 116 has come to belong to a new network segment 131 as a result of the migration in step S2 (step S6).
[0042] If the virtual machine 116 is not to belong to the new network segment 131 (step S6: NO), the operation of the information processing system 1 relating to the migration ends. On the other hand, if the virtual machine 116 belongs to the new network segment 131 (step S6: YES), the route information transmitter 122 transmits route information to the outside (step S7). Here, if no virtual machine 116 belongs to the network segment 131 due to the migration in step S2, the route information transmitter 122 does not transmit route information related to the network segment 131.
[0043] <Operation of the information processing system related to packet reception> The operation of the information processing system 1 related to packet reception will now be described. FIG. 5 is a flowchart showing the operation of the information processing system 1 regarding packet reception.
[0044] The packet transfer device 114 receives the packet (step S11). The packet forwarding device 114 reads the IP header of the packet and determines whether the destination IP address is the IP address of the packet forwarding device 114 associated with its own cluster node 10 and the source IP address is the IP address of the packet forwarding device 114 associated with another cluster node 10 (step S12).
[0045] If the destination IP address is the IP address of the packet forwarding device 114 in the own cluster node 10 and the source IP address is the IP address of the packet forwarding device 114 in another cluster node 10 (step S12: YES), the header rewriting unit 124 decapsulates the packet (step S13). After that, the packet forwarding device 114 reads the address information stored in the VM activation node storage unit 123 (step S14). On the other hand, if the destination IP address is not the IP address of the packet forwarding device 114 associated with the own cluster node 10, or the source IP address is not the IP address of the packet forwarding device 114 associated with another cluster node 10 (step S12: NO), the packet forwarding device 114 reads the address information stored in the VM startup node memory unit 123 (step S14).
[0046] The packet forwarding device 114 compares the address information read in step S14 with the IP header read in step S12, and determines whether the destination IP address belongs to another cluster node 10 (step S15).
[0047] If the destination IP address does not belong to another cluster node 10 (step S15: NO), the routing unit 121 transfers the packet from the virtual port 112 (step S16). On the other hand, if the destination IP address is associated with another cluster node 10 (step S15: YES), the header rewriting unit 124 encapsulates the packet (step S17). After that, the packet forwarding device 114 forwards the packet to the external network 102 (step S18).
[0048] Actions and Effects The information processing device of the present invention is a device incorporated into a first cluster node on which one or more virtual machines 116 operate, and is equipped with a transmitting means for transmitting to the outside, when migration of the virtual machine 116 occurs, route information of the network segment 131 to which the virtual machine 116 belongs. The information processing device includes a transmission unit that transmits route information to the outside when migration occurs. Therefore, the information processing device can build an HA cluster system that protects virtual machines even if an external switch of the cluster node 10 does not support a virtual network such as a VLAN (Virtual Local Area Network). Furthermore, the cluster node 10 including the information processing device can dynamically change the routing of the external network only by the cluster node 10 itself. Furthermore, when migration is performed in an environment in which a virtual network cannot be built outside the cluster node 10, it is not necessary to execute migration of all the virtual machines 116 belonging to the network segment 131. Therefore, the information processing device can reduce the time required for migration. Furthermore, it is possible to reduce the cost for building a virtual network, and the management cost for managing the virtual network and the communication cost incurred during management.
[0049] Moreover, the first cluster node of the information processing device includes a determining means for determining whether or not migration has occurred, and the transmitting means transmits the route information to the outside when the determining means determines that migration has occurred. The information processing device transmits the route information to the outside based on the determination by the determining means, thereby enabling the information processing device to dynamically change the network routing without constructing a virtual network externally.
[0050] In addition, the information processing device further includes a storage means for storing address information that associates the IP address of the virtual machine 116 with the IP address of the information processing device, and a transmission means for generating route information based on the address information stored in the storage means and transmitting the generated route information to the outside. The information processing device generates route information based on the address information and transmits the generated route information, thereby enabling the information processing device to dynamically change the network routing without constructing an external virtual network.
[0051] Furthermore, when migration occurs, the storage means of the information processing device updates the address information based on the first information received from another device included in the first cluster node. The information processing device can dynamically change the network routing based on the updated address information, without having to construct an external virtual network.
[0052] Furthermore, the address information of the information processing device includes an IP address of a virtual machine 116 operating on a second cluster node different from the first cluster node, and the storage means updates the address information based on second information received from the second cluster node. The information processing device can dynamically change the network routing based on the address information related to the second cluster node without constructing an external virtual network.
[0053] The information processing device further comprises a forwarding unit that determines a forwarding destination of the packet based on the address information stored in the storage unit. The information processing device determines a transfer destination of the packet based on the address information, thereby enabling the information processing device to transfer the packet using the transfer destination determined based on the address information.
[0054] The cluster node 10 according to the present invention comprises a network adapter connected to a network 102, a host OS function means, one or more virtual machines 116, and a packet forwarding device 114 for forwarding packets between the network adapter and the one or more virtual machines 116, or between the host OS function means and the one or more virtual machines 116, and the packet forwarding device 114 has a transmission means for transmitting route information of the network segment 131 to which the virtual machine 116 belongs to the outside when migration of the virtual machine 116 occurs. The cluster node 10 can dynamically change the network routing by transmitting the route information of the network segment 131 to the outside, without constructing a virtual network outside.
[0055] The cluster system of the present invention is a cluster system including a first cluster node and a second cluster node, the first cluster node comprising a network adapter connected to a network 102, a host OS function means, one or more virtual machines 116, and a packet forwarding device 114 for forwarding packets between the network adapter and the one or more virtual machines 116 or between the host OS function means and the one or more virtual machines 116, the packet forwarding device 114 having a transmission means for transmitting route information of the network segment 131 to which the virtual machine 116 belongs to an external device when migration of the virtual machine 116 occurs. The cluster system can dynamically change the network routing by transmitting route information of the network segment 131 to the network 102 or the like, without having to provide a virtual network.
[0056] The information processing method according to the present invention includes transmitting, to the outside, route information of the network segment 131 to which the virtual machine 116 belongs, when migration of the virtual machine 116 occurs in a first cluster node on which one or more virtual machines 116 operate. By using the information processing method, a user of the information processing method can dynamically change the routing of the network by transmitting route information of the network segment 131 to the outside, without constructing a virtual network outside.
[0057] The computer of the first cluster node on which one or more virtual machines 116 operate is caused to transmit, when migration of the virtual machine 116 occurs, route information of the network segment 131 to which the virtual machine 116 belongs to the outside. When a user of the program executes the program, the user can dynamically change the network routing by transmitting route information of the network segment 131 to the outside, without constructing a virtual network outside.
[0058] Other Embodiments The above describes the information processing device according to the first embodiment. The information processing device can also be embodied in the following aspects. In the first embodiment, migration is performed between cluster nodes 10. However, migration in an information processing device may be related to the same IP address on the same physical machine. In this case, migration is performed by transferring to a different network segment 131 on the same physical machine.
[0059] <Basic configuration> The information processing device according to the basic configuration will be described below. 6 is a diagram showing the configuration of an information processing device according to a basic configuration. As shown in FIG.
[0060] Actions and Effects The information processing device relating to the basic configuration is a device incorporated into a first cluster node on which one or more virtual machines 116 operate, and has a transmission means for transmitting route information of the network segment 131 to which the virtual machine 116 belongs to an external device when migration of the virtual machine 116 occurs. This allows the information processing device to dynamically change the network routing without having to construct an external virtual network.
[0061] Computer Configuration FIG. 7 is a schematic block diagram illustrating a computer configuration according to at least one embodiment. The computer 1100 comprises a processor 1110, a main memory 1120, storage 1130, and an interface 1140. The above-mentioned client machine 101 and cluster node 10 are implemented in a computer 1100. The operations of the above-mentioned processing units are stored in the storage 1130 in the form of a program. The processor 1110 reads the program from the storage 1130, loads it in the main memory 1120, and executes the above-mentioned processing in accordance with the program. The processor 1110 also secures storage areas in the main memory 1120 corresponding to the above-mentioned storage units in accordance with the program.
[0062] The program may be for realizing a part of the functions to be performed by the computer 1100. For example, the program may be for realizing the functions by combining with other programs already stored in the storage 1130 or by combining with other programs implemented in other devices. In another embodiment, the computer 1100 may include a custom LSI (Large Scale Integrated Circuit) such as a PLD (Programmable Logic Device) in addition to the above configuration or instead of the above configuration. Examples of PLDs include PAL (Programmable Array Logic), GAL (Generic Array Logic), CPLD (Complex Programmable Logic Device), and FPGA (Field Programmable Gate Array). In this case, some or all of the functions to be realized by the processor 1110 may be realized by the integrated circuit.
[0063] Examples of storage 1130 include a magnetic disk, a magneto-optical disk, and a semiconductor memory. Storage 1130 may be an internal medium directly connected to the bus of computer 1100, or an external medium connected to the computer via interface 1140 or a communication line. In addition, when the program is distributed to computer 1100 via a communication line, computer 1100 that receives the program may load the program into main memory 1120 and execute the above-mentioned process. In at least one embodiment, storage 1130 is a non-transitory tangible storage medium.
[0064] The program may be for implementing part of the above-mentioned functions. Furthermore, the program may be a so-called differential file (differential program) that implements the above-mentioned functions in combination with other programs already stored in the storage 1130.
[0065] A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes.
[0066] (Additional Note 1) An information processing device that is incorporated into a first cluster node on which one or more virtual machines run, and that includes a transmission means that, when migration of the virtual machine occurs, transmits route information of a network segment to which the virtual machine belongs to an external device.
[0067] (Supplementary Note 2) The information processing device according to Supplementary Note 1, wherein the first cluster node includes a determination means for determining whether the migration has occurred, and the transmission means transmits the route information to an external location when the determination means determines that the migration has occurred.
[0068] (Appendix 3) The information processing device according to appendix 1 or appendix 2, further comprising a storage means for storing address information associating an IP address of the virtual machine with an IP address of the information processing device, wherein the transmission means generates the route information based on the address information stored in the storage means and transmits the generated route information to an external device.
[0069] (Supplementary Note 4) The information processing device according to Supplementary Note 3, wherein the storage means updates the address information based on first information received from another device included in the first cluster node when the migration occurs.
[0070] (Appendix 5) The information processing device according to appendix 3 or appendix 4, wherein the address information includes an IP address of a virtual machine running on a second cluster node different from the first cluster node, and the storage means updates the address information based on second information received from the second cluster node.
[0071] (Supplementary Note 6) The information processing device according to any one of Supplementary Note 3 to Supplementary Note 5, further comprising a forwarding means for determining a forwarding destination of a packet based on the address information stored in the storage means.
[0072] (Appendix 7) The information processing device according to appendix 6, further comprising a rewriting means for rewriting an IP address in a header of a packet based on the address information stored in the storage means when the forwarding means receives a packet addressed to a virtual machine operating on a second cluster node different from the first cluster node.
[0073] (Appendix 8) A cluster node comprising: a network adapter connected to a network; a host OS function means; one or more virtual machines; and a packet forwarding device that forwards packets between the network adapter and the one or more virtual machines, or between the host OS function means and the one or more virtual machines, wherein the packet forwarding device has a transmission means that, when migration of the virtual machine occurs, transmits to the outside route information of a network segment to which the virtual machine belongs.
[0074] (Additional Note 9) A cluster system including a first cluster node and a second cluster node, the first cluster node comprising: a network adapter connected to a network; a host OS function means; one or more virtual machines; and a packet forwarding device for forwarding packets between the network adapter and the one or more virtual machines, or between the host OS function means and the one or more virtual machines, the packet forwarding device having a transmitting means for transmitting to the outside, when migration of the virtual machine occurs, route information of a network segment to which the virtual machine belongs.
[0075] (Supplementary Note 10) An information processing method including, in a first cluster node on which one or more virtual machines are running, when migration of the virtual machines occurs, transmitting to the outside route information of the network segment to which the virtual machines belong.
[0076] (Appendix 11) A program that causes a computer of a first cluster node on which one or more virtual machines are running to transmit, when migration of the virtual machine occurs, route information of the network segment to which the virtual machine belongs to the outside. [Explanation of symbols]
[0077] 1. Information Processing Systems 10 Cluster Nodes 101 Client Machine 102 Network 111 Host OS 112 Virtual Ports 113 Physical NIC 114 Packet forwarding device 115 Virtual Switch 116 Virtual Machines 121 Routing section 122 Route information transmission unit 123 VM Start Node Storage 124 Header Rewrite Unit 131 network segments 141 Cross-platform 142 Cluster Information Provider 143 VM Monitoring Department 1100 Computer 1110 Processor 1120 Main memory 1130 Storage 1140 Interface
Claims
1. An information processing device incorporated in a first cluster node on which one or more virtual machines operate, a storage means for storing address information that associates an IP address of the virtual machine with an IP address of the information processing device; a determination means for determining whether or not the virtual machine has come to belong to a new network segment due to the occurrence of migration of the virtual machine; a transmission means for generating route information of the network segment to which the virtual machine belongs by using a dynamic routing algorithm when the migration occurs and the virtual machine belongs to the new network segment, and transmitting the route information to an outside, When the migration occurs, the storage means updates the address information based on first information received from another device included in the first cluster node; the transmitting means transmits the route information to an outside when the determining means determines that the migration has occurred and that the virtual machine has come to belong to the new network segment. Information processing device.
2. The transmission means generates the route information based on the address information stored in the storage means, and transmits the generated route information to an external device. The information processing device according to claim 1 .
3. the address information includes an IP address of a virtual machine operating on a second cluster node different from the first cluster node; The storage means updates the address information based on second information received from the second cluster node.
3. The information processing device according to claim 1 or 2.
4. a forwarding unit that determines a forwarding destination of a packet based on the address information stored in the storage unit, 4. The information processing device according to claim 2 or 3.
5. a network adapter connected to a network; A host OS function means; one or more virtual machines; a packet forwarding device that forwards packets between the network adapter and the one or more virtual machines, or between the host OS function means and the one or more virtual machines; Equipped with a storage means for storing address information that associates an IP address of the virtual machine with an IP address of an information processing device incorporated in a cluster node; a determination means for determining whether or not the virtual machine has come to belong to a new network segment due to the occurrence of migration of the virtual machine; when the migration occurs and the virtual machine comes to belong to the new network segment, the packet forwarding device has a transmission means for generating route information of the network segment to which the virtual machine belongs by using a dynamic routing algorithm and transmitting the route information to an outside, When the migration occurs, the storage means updates the address information based on first information received from another device included in the cluster node; the transmitting means transmits the route information to an outside when the determining means determines that the migration has occurred and that the virtual machine has come to belong to the new network segment. Cluster node.
6. A cluster system including a first cluster node and a second cluster node, The first cluster node: a network adapter connected to a network; A host OS function means; one or more virtual machines; a packet forwarding device that forwards packets between the network adapter and the one or more virtual machines, or between the host OS function means and the one or more virtual machines; Equipped with a storage means for storing address information that associates an IP address of the virtual machine with an IP address of an information processing device incorporated in the first cluster node; a determination means for determining whether or not the virtual machine has come to belong to a new network segment due to the occurrence of migration of the virtual machine; when the migration occurs and the virtual machine comes to belong to the new network segment, the packet forwarding device has a transmission means for generating route information of the network segment to which the virtual machine belongs by using a dynamic routing algorithm and transmitting the route information to an outside, When the migration occurs, the storage means updates the address information based on first information received from another device included in the first cluster node; the transmitting means transmits the route information to an outside when the determining means determines that the migration has occurred and that the virtual machine has come to belong to the new network segment. Cluster system.
7. In a first cluster node on which one or more virtual machines run, storing address information that associates an IP address of the virtual machine with an IP address of an information processing device incorporated in the first cluster node; determining whether or not the virtual machine has been migrated to a new network segment; When the migration occurs and the virtual machine comes to belong to the new network segment, generating route information of the network segment to which the virtual machine belongs using a dynamic routing algorithm and transmitting the route information to an outside; The storing includes, when the migration occurs, updating the address information based on first information received from another device included in the first cluster node; The transmitting step includes transmitting the route information to an outside when it is determined that the migration has occurred and the virtual machine has come to belong to the new network segment. Information processing methods.
8. A first cluster node computer on which one or more virtual machines are running, storing address information that associates an IP address of the virtual machine with an IP address of an information processing device incorporated in the first cluster node; determining whether or not the virtual machine has been migrated to a new network segment; When the migration occurs and the virtual machine comes to belong to the new network segment, route information of the network segment to which the virtual machine belongs is generated using a dynamic routing algorithm, and transmitted to the outside; The storing includes, when the migration occurs, updating the address information based on first information received from another device included in the first cluster node; The transmitting step includes transmitting the route information to an outside when it is determined that the migration has occurred and the virtual machine has come to belong to the new network segment. program.
Citation Information
Patent Citations
Program, computer, communicating device, and communication control system
JP2011198299A
Management device, communication system, management method, and management program
JP2015008365A
Information processing system, movement control method and movement control program
JP2015153409A
Information processing device, log management system, log management method, and program recording medium
WO2016129275A1