VIRTUAL CLUSTER ESTABLISHMENT METHOD AND NETWORK DEVICE
First Claim
1. A virtual cluster establishment method, comprising:
- establishing, by a first network device, a network-layer-based first communication connection with a second network device;
sending, by the first network device, a first registration request message to the second network device through the first communication connection, wherein the first registration request message is used to request to establish a virtual cluster with the second network device;
after the first network device receives a first registration response message sent by the second network device, wherein the first registration response message indicates that the virtual cluster is successfully established, selecting the second network device as an active main control device of the first network device in the virtual cluster;
establishing, by the first network device, a network-layer-based second communication connection with a third network device;
sending, by the first network device, a second registration request message to the third network device through the second communication connection, wherein the second registration request message is used to request the third network device to join the virtual cluster; and
after the first network device receives a second registration response message sent by the third network device, selecting the third network device as a standby main control device of the first network device in the virtual cluster.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a virtual cluster establishment method and a network device. The method includes: a first network device establishes, a network-layer-based first communication connection with a second network device; the first network device sends a first registration request message to the second network device through the first communication connection, where the first registration request message is used to establish a virtual cluster with the second network device; after the first network device receives a registration response message, selecting the second network device as an active main control device in the virtual cluster system; establishes, a network-layer-based second communication connection with a third network device; sends, a second registration request message to the third network device; and selects the third network device as a standby main control device. In this invention, a structure of a cluster is simplified, and scalability of the cluster is improved.
-
Citations
19 Claims
-
1. A virtual cluster establishment method, comprising:
-
establishing, by a first network device, a network-layer-based first communication connection with a second network device; sending, by the first network device, a first registration request message to the second network device through the first communication connection, wherein the first registration request message is used to request to establish a virtual cluster with the second network device; after the first network device receives a first registration response message sent by the second network device, wherein the first registration response message indicates that the virtual cluster is successfully established, selecting the second network device as an active main control device of the first network device in the virtual cluster; establishing, by the first network device, a network-layer-based second communication connection with a third network device; sending, by the first network device, a second registration request message to the third network device through the second communication connection, wherein the second registration request message is used to request the third network device to join the virtual cluster; and after the first network device receives a second registration response message sent by the third network device, selecting the third network device as a standby main control device of the first network device in the virtual cluster. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A virtual cluster establishment method, comprising:
-
establishing, by a second network device, a network-layer-based first communication connection with a first network device; establishing, by the second network device, a network-layer-based third communication connection with a third network device; receiving, by the second network device, a first registration request message sent through the first communication connection by the first network device; receiving, by the second network device, a third registration request message sent through the third communication connection by the third network device; and establishing, by the second network device, a virtual cluster with the first network device and the third network device according to the first registration request message and the third registration request message, wherein the second network device is used as an active main control device of the first network device in the virtual cluster, and the third network device is used as a standby main control device of the first network device in the virtual cluster. - View Dependent Claims (8, 9, 10)
-
-
11. A first network device, comprising:
-
a communication connecting unit, configured to establish a network-layer-based first communication connection with a second network device, and configured to establish a network-layer-based second communication connection with a third network device; a message transmitting unit, configured to; send a first registration request message to the second network device through the first communication connection, wherein the first registration request message is used to request establishment of a virtual cluster with the second network device;
receive a first registration response message sent by the second network device, wherein the first registration response message indicates that the virtual cluster is successfully established,send a second registration request message to the third network device through the second communication connection, wherein the second registration request message is used to request the third network device to join the virtual cluster; and receive a second registration response message sent by the third network device; and a device determining unit, configured to; after the message transmitting unit receives the first registration response message sent by the second network device, wherein the first registration response message indicates that the virtual cluster is successfully established, select the second network device as an active main control device of the first network device in the virtual cluster system; and after the message transmitting unit receives the second registration response message sent by the third network device, select the third network device as a standby main control device of the network device itself in the virtual cluster. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A second network device, comprising:
-
a communication connecting unit, configured to; establish a network-layer-based first communication connection with a first network device, and establish a network-layer-based third communication connection with a third network device; a message transmitting unit, configured to; receive a first registration request message that is sent through the first communication connection by the first network device, and receive a third registration request message that is sent through the third communication connection by the third network device; and a cluster establishing unit, configured to establish a virtual cluster with the first network device and the third network device according to the first registration request message and the third registration request message, wherein the second network device is used as an active main control device of the first network device in the virtual cluster, and the third network device is used as a standby main control device of the first network device in the virtual cluster. - View Dependent Claims (18, 19)
-
Specification