Load balancing for single-address tenants
First Claim
1. At a computer system that includes one or more processors and system memory, the computer system being configured as a load balancer that controls the routing of network packets between virtual addresses and destination addresses, a method for configuring load balancing for a virtual address, the method comprising:
- an act of the load balancer detecting that a virtual address that is being managed by the load balancer is associated with only a single destination address;
in response to detecting, an act of the load balancer setting a flag for the virtual address to distinguish the virtual address from other virtual addresses that are associated with a plurality of destination addresses;
in response to detecting, an act of the load balancer sending a configuration message to a router, the configuration message interpretable by the router as an instruction to send network packets that are addressed to the virtual address to the destination address in a manner that bypasses the load balancer;
subsequent to sending the configuration message to the router, an act of the load balancer refraining from storing subsequent flow state for the virtual address;
an act of the load balancer detecting that said virtual address that is being managed by the load balancer is to be scaled up from being associated with only a first destination address to being associated with at least an additional second destination address;
in response to detecting, an act of the load balancer setting a new flag for the virtual address to distinguish the virtual address from other virtual addresses that are associated with a single destination address;
in response to detecting, an act of the load balancer sending a new configuration message to a router, the new configuration message interpretable by the router as an instruction to send network packets that are addressed to the virtual address to the load balancer, and cease a previous practice to bypass the load balancer for network packets that are addressed to the virtual address; and
subsequent to sending the new configuration message to the router, an act of the load balancer storing flow state for said virtual address.
2 Assignments
0 Petitions
Accused Products
Abstract
When a load balancer detects that a virtual address is associated with a single destination address, the load balancer sets a flag to distinguish the virtual address from virtual addresses that are associated with a plurality of destination addresses. The load balancer instructs the router to bypass the load balancer for network packets that are addressed to the virtual address, and refrains from storing subsequent flow state for the virtual address. When the virtual address is to be scaled up with an additional destination address, the load balancer sets a flag to distinguish the virtual address from virtual addresses that are associated with a single destination addresses. The load balancer instructs the router to route network packets that are addressed to the virtual address through the load balancer, instead of bypassing the load balancer, and starts storing flow state for the virtual address.
-
Citations
20 Claims
-
1. At a computer system that includes one or more processors and system memory, the computer system being configured as a load balancer that controls the routing of network packets between virtual addresses and destination addresses, a method for configuring load balancing for a virtual address, the method comprising:
-
an act of the load balancer detecting that a virtual address that is being managed by the load balancer is associated with only a single destination address; in response to detecting, an act of the load balancer setting a flag for the virtual address to distinguish the virtual address from other virtual addresses that are associated with a plurality of destination addresses; in response to detecting, an act of the load balancer sending a configuration message to a router, the configuration message interpretable by the router as an instruction to send network packets that are addressed to the virtual address to the destination address in a manner that bypasses the load balancer; subsequent to sending the configuration message to the router, an act of the load balancer refraining from storing subsequent flow state for the virtual address; an act of the load balancer detecting that said virtual address that is being managed by the load balancer is to be scaled up from being associated with only a first destination address to being associated with at least an additional second destination address; in response to detecting, an act of the load balancer setting a new flag for the virtual address to distinguish the virtual address from other virtual addresses that are associated with a single destination address; in response to detecting, an act of the load balancer sending a new configuration message to a router, the new configuration message interpretable by the router as an instruction to send network packets that are addressed to the virtual address to the load balancer, and cease a previous practice to bypass the load balancer for network packets that are addressed to the virtual address; and subsequent to sending the new configuration message to the router, an act of the load balancer storing flow state for said virtual address. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. At a computer system that includes one or more processors and system memory, the computer system being configured as a load balancer that controls the routing of network packets between virtual addresses and destination addresses, a method for scaling up load balancing for a virtual address from a single destination address to a plurality of destination addresses, the method comprising:
-
an act of the load balancer detecting that a virtual address that is being managed by the load balancer is to be scaled up from being associated with only a first destination address to being associated with at least an additional second destination address; in response to detecting, an act of the load balancer setting a flag for the virtual address to distinguish the virtual address from other virtual addresses that are associated with a single destination address; in response to detecting, an act of the load balancer sending a configuration message to a router, the configuration message interpretable by the router as an instruction to send network packets that are addressed to the virtual address to the load balancer, and cease a previous practice to bypass the load balancer for network packets that are addressed to the virtual address; and subsequent to sending the configuration message to the router, an act of the load balancer storing flow state for the virtual address. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. A computer system, comprising:
-
a router; a load balancer, the load balancer being configured to; detect that a virtual address of a tenant that is being managed by the load balancer is associated with only a single virtual machine instance of the tenant; in response to detecting, set a flag for the virtual address to distinguish the virtual address from other virtual addresses that are associated with multi-address tenants; in response to detecting, send a configuration message to the router, the configuration message interpretable by the router as an instruction to send network packets that are addressed to the virtual address to the virtual machine in a manner that bypasses the load balancer; refrain from storing subsequent flow state for the virtual address; detect that a virtual address that is being managed by the load balancer is to be scaled up from being associated with only a first destination address to being associated with at least an additional second destination address; in response to detecting, set a new flag for the virtual address to distinguish the virtual address from other virtual addresses that are associated with a single destination address; in response to detecting, send a new configuration message to the router, the new configuration message interpretable by the router as an instruction to send network packets that are addressed to the virtual address to the load balancer, and cease a previous practice to bypass the load balancer for network packets that are addressed to the virtual address; and subsequent to sending the new configuration message to the router, store flow state for the virtual address; and a virtualization host computer system that is configured to execute the virtual machine instance, the virtualization host computer system including a host agent that is configured to; detect that a network packet is addressed to the virtual address, and translate the network packet to be addressed to the virtual machine instance.
-
Specification