Protocol definition for software bridge failover
First Claim
1. A computer implemented method for providing software bridge failover in a logical partition data processing system having a plurality of logical partitions that each have an operating system running therein, the computer implemented method comprising steps performed by a computer of:
- sending keep-alive packets onto a virtual network by a first software bridge using a given virtual adapter associated with a given partition of the plurality of logical partitions, wherein the keep-alive packet informs a second software bridge that the first software bridge is active and that failover is not necessary;
monitoring for the keep-alive packets on the virtual network by the second software bridge using another given virtual adapter associated with another given partition;
monitoring, by the computer, for a failure in the first software bridge executing in the given partition of the plurality of logical partitions; and
responsive to detecting the failure in the first software bridge, initiating bridging of traffic by the second software bridge in place of the first software bridge, wherein the second software bridge is executing in the another given partition of the plurality of logical partitions, wherein initiating bridging of traffic by the second software bridge is initiated by;
sending a limbo packet to the second software bridge alerting the second software bridge that the first software bridge is no longer bridging traffic;
receiving at the second software bridge the limbo packet; and
responsive to receiving the limbo packet at the second software bridge, initiating bridging of traffic by a second software bridge in the logical partition data processing system in place of the first software bridge in the logical partition data processing system;
wherein the first software bridge and the second software bridge are both operable for providing a communication path from each of the plurality of logical partitions to a respective physical network adapter associated with the first software bridge and second software bridge, respectively, and wherein the failure in the first software bridge is a failure of a network physical adapter physically attached to the logical partition data processing system and associated with the given partition, wherein the given partition comprises a given virtual adapter, and wherein the another given partition comprises another given virtual adapter and another network physical adapter physically attached to the logical partition data processing system that are both used by the second software bridge, and wherein the first software bridge and the second software bridge communicate with each other within the logical partition data processing system using the given virtual adapter and the another given virtual adapter.
0 Assignments
0 Petitions
Accused Products
Abstract
A method, data processing system, and computer usable code are provided for protocol definition for software bridge failover. In a first aspect of the present invention, a first software bridge determines the proper working operation of a physical adapter. Limbo packets are sent to a second software bridge alerting the second software bridge that the first software bridge is no longer bridging traffic responsive to the physical adapter failure in the first software bridge. The second software bridge receives the limbo packets, and, in response to receiving the limbo packets, asserts primary control and initiates bridging of traffic. In an alternative aspect of the present invention a first software bridge sends keep-alive packets. A second software bridge monitors the keep-alive packets from the first software bridge and, in response to a failure to detect the keep-alive packets from the first software bridge, the second software bridge initiates bridging of traffic.
-
Citations
15 Claims
-
1. A computer implemented method for providing software bridge failover in a logical partition data processing system having a plurality of logical partitions that each have an operating system running therein, the computer implemented method comprising steps performed by a computer of:
-
sending keep-alive packets onto a virtual network by a first software bridge using a given virtual adapter associated with a given partition of the plurality of logical partitions, wherein the keep-alive packet informs a second software bridge that the first software bridge is active and that failover is not necessary; monitoring for the keep-alive packets on the virtual network by the second software bridge using another given virtual adapter associated with another given partition; monitoring, by the computer, for a failure in the first software bridge executing in the given partition of the plurality of logical partitions; and responsive to detecting the failure in the first software bridge, initiating bridging of traffic by the second software bridge in place of the first software bridge, wherein the second software bridge is executing in the another given partition of the plurality of logical partitions, wherein initiating bridging of traffic by the second software bridge is initiated by; sending a limbo packet to the second software bridge alerting the second software bridge that the first software bridge is no longer bridging traffic; receiving at the second software bridge the limbo packet; and responsive to receiving the limbo packet at the second software bridge, initiating bridging of traffic by a second software bridge in the logical partition data processing system in place of the first software bridge in the logical partition data processing system; wherein the first software bridge and the second software bridge are both operable for providing a communication path from each of the plurality of logical partitions to a respective physical network adapter associated with the first software bridge and second software bridge, respectively, and wherein the failure in the first software bridge is a failure of a network physical adapter physically attached to the logical partition data processing system and associated with the given partition, wherein the given partition comprises a given virtual adapter, and wherein the another given partition comprises another given virtual adapter and another network physical adapter physically attached to the logical partition data processing system that are both used by the second software bridge, and wherein the first software bridge and the second software bridge communicate with each other within the logical partition data processing system using the given virtual adapter and the another given virtual adapter. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A multi-partitioned data processing system comprising:
-
a central processing unit and memory coupled to a bus; a plurality of partitions each having an operating system running therein; a first software bridge executing in one partition of the plurality of partitions; and a second software bridge executing in another partition of the plurality of partitions, wherein the first software bridge executes a set of instructions to monitor for a failure in the first software bridge and the second software bridge executes a set of instructions to initiate bridging of traffic for the plurality of partitions in place of the first software bridge responsive detecting the failure in the first software bridge, and wherein the first software bridge and the second software bridge communicate with each other using a first virtual adapter associated with the one partition and a second virtual adapter associated with the another partition, wherein the instructions executed by the second software bridge to initiate bridging of traffic by the second software bridge is initiated by the first software bridge executing a set of instructions to send a limbo packet to the second software bridge alerting the second software bridge that the first software bridge is no longer bridging traffic;
the second software bridge executing a set of instructions to receive at the second software bridge the limbo packet;
the second software bridge executing a set of instructions to initiating bridging of traffic by the second software bridge in place of the first software bridge in response to receiving the limbo packet at the second software bridge;
the first software bridge executing a set of instructions to send keep-alive packets onto a virtual network by the first software bridge using a given virtual adapter associated with the one partition, wherein the keep-alive packet informs the second software bridge that the first software bridge is active and that failover is not necessary;
the second software bridge executing a set of instructions to monitor for the keep-alive packets on the virtual network by the second software bridge using another given virtual adapter associated with the another partition, wherein each of the first and second software bridges are operable for receiving traffic generated by the plurality of partitions and sending it to a respective physical network adapter, wherein the first software bridge and the second software bridge are both operable for providing a communication path from each of the plurality of partitions to a respective physical network adapter associated with the first software bridge and second software bridge, respectively, and wherein the failure in the first software bridge is a failure of a network physical adapter physically attached to the logical partition data processing system and associated with the given partition, wherein the given partition comprises a given virtual adapter, and wherein the another given partition comprises another given virtual adapter and another network physical adapter physically attached to the logical partition data processing system that are both used by the second software bridge, and wherein the first software bridge and the second software bridge communicate with each other within the logical partition data processing system using the given virtual adapter and the another given virtual adapter. - View Dependent Claims (11, 12)
-
-
13. A computer program product comprising:
-
a non-transitory computer readable medium including computer usable program code stored thereon for providing software bridge failover in a logical partition data processing system having a plurality of logical partitions that each have an operating system running therein, the computer program product including; computer usable program code for sending keep-alive packets onto a virtual network by a first software bridge using a given virtual adapter associated with a given partition of the plurality of logical partitions, wherein the keep-alive packet informs a second software bridge that the first software bridge is active and that failover is not necessary; computer usable program code for monitoring for the keep-alive packets on the virtual network by the second software bridge using another given virtual adapter associated with another given partition; computer usable program code for monitoring for a failure in the first software bridge executing in the given partition of the plurality of logical partitions; and
computer usable program code for initiating bridging of traffic by the second software bridge in place of the first software bridge in response to detecting the failure in the first software bridge, wherein the second software bridge is executing in the another given partition of the plurality of logical partitions,and wherein the first software bridge and the second software bridge communicate with each other using a first virtual adapter associated with the given partition and a second virtual adapter associated with the another given partition, wherein the first software bridge and the second software bridge are both operable for providing a communication path from each of the plurality of logical partitions to a respective physical network adapter associated with the first software bridge and second software bridge, respectively, wherein the computer usable program code for initiating bridging of traffic by the second software bridge is initiated by; computer usable program code for sending a limbo packet to the second software bridge alerting the second software bridge that the first software bridge is no longer bridging traffic; computer usable program code for receiving at the second software bridge the limbo packet; and computer usable program code for initiating bridging of traffic by a second software bridge in place of the first software bridge in response to receiving the limbo packet at the second software bridge; wherein the failure in the first software bridge is a failure of a network physical adapter physically attached to the logical partition data processing system and associated with the given partition, wherein the given partition comprises a given virtual adapter, and wherein the another given partition comprises another given virtual adapter and another network physical adapter physically attached to the logical partition data processing system that are both used by the second software bridge, and wherein the first software bridge and the second software bridge communicate with each other within the logical partition data processing system using the given virtual adapter and the another given virtual adapter. - View Dependent Claims (14, 15)
-
Specification