WO2016197798A1 - Method, virtual machine and standby machine for realizing configuration synchronization - Google Patents

Method, virtual machine and standby machine for realizing configuration synchronization Download PDF

Info

Publication number
WO2016197798A1
WO2016197798A1 PCT/CN2016/082353 CN2016082353W WO2016197798A1 WO 2016197798 A1 WO2016197798 A1 WO 2016197798A1 CN 2016082353 W CN2016082353 W CN 2016082353W WO 2016197798 A1 WO2016197798 A1 WO 2016197798A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration
host
standby
machine
configuration information
Prior art date
Application number
PCT/CN2016/082353
Other languages
French (fr)
Chinese (zh)
Inventor
邵亚刚
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016197798A1 publication Critical patent/WO2016197798A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements

Definitions

  • the present application relates to, but is not limited to, the field of metropolitan area network communication, and in particular, to a method, a virtual machine and a standby machine for implementing configuration synchronization.
  • Active/standby protection is an important factor in ensuring the security and stability of access devices (eg, DSL (Digital Subscriber Line), Passive Optical Network (PON), or aggregation devices (eg, switches).
  • access devices eg, DSL (Digital Subscriber Line), Passive Optical Network (PON), or aggregation devices (eg, switches).
  • PON Passive Optical Network
  • aggregation devices eg, switches.
  • the most important technical link in the active and standby protection is the synchronization of the configuration of the host and the standby. That is, when the host is configured, the standby is synchronized.
  • the configuration synchronization between the host and the standby device includes: when the host performs configuration (mainly the configuration of the switch chip), the configuration information is sent to the standby device one by one through synchronous or asynchronous messages, and the standby device performs data after receiving the configuration message. Save and configure, configuration synchronization is complicated. Moreover, after the host configuration information is sent to the standby device, the host cannot know the data storage state of the standby device and the result of the synchronization configuration of the standby device; the standby device cannot determine whether the host sends all configuration information to itself. If the system or the network is delayed, the configuration will not be completed in time. If the configuration of the host and the backup is not complete, the system will not work properly.
  • configuration mainly the configuration of the switch chip
  • the related host and backup configurations are synchronized.
  • the configuration cannot be synchronized in time.
  • the host cannot determine the status of the configuration. If the configuration is not completed, the host and the backup will fail to work properly. Interrupted.
  • the present application provides a method, a standby machine, and a virtual machine for implementing configuration synchronization, which can simplify the configuration synchronization process and determine the configuration synchronization completion status.
  • the application provides a method for implementing configuration synchronization, including:
  • the virtual machine receives the configuration information when the host performs configuration in real time
  • the virtual machine sends the configuration information to the standby device through the Remote Central Processing Unit (RCPU) protocol, so that the standby device performs configuration synchronization according to the configuration information of the received host.
  • RCPU Remote Central Processing Unit
  • the virtual machine is set on the host, and the switch chip of the virtual machine is the same as the switch chip of the standby machine.
  • sending configuration information to the standby device includes:
  • the virtual machine sends the RCPU packet containing the configuration information to the standby device on the interconnected port of the pre-configured host and the standby device through the RCPU protocol.
  • the method further includes:
  • the virtual machine receives the setting of the RCPU host (MASTER) mode configured by the host, so that it has the function of transmitting and receiving processing.
  • the application also provides a method for implementing configuration synchronization, including:
  • the standby machine receives configuration information about the configuration of the host from the virtual machine in real time;
  • the standby device According to the configuration information of the received host, the standby device performs configuration synchronization.
  • the method further includes:
  • the RCPU protocol is set on the CPU Management Interface Controller (CMIC) port of the standby device, so that the CMIC port of the standby device supports the RCPU function.
  • CMIC CPU Management Interface Controller
  • performing configuration synchronization includes:
  • the standby machine After receiving the RCPU message including the configuration information of the host, the standby machine converts the RCPU message to a preset CMIC port of the RCPU protocol on a preset virtual local area network (VLAN);
  • VLAN virtual local area network
  • the CMIC port parses the RCPU message including the configuration information of the host to obtain the host Configuration information
  • the standby device performs configuration synchronization according to the configuration information of the host obtained by the analysis.
  • the method further includes:
  • the standby device After the configuration synchronization is completed, the standby device sends a configuration feedback message to the host according to the configuration synchronization result, so that the host determines whether the configuration synchronization is completed.
  • the application further provides a virtual machine that implements configuration synchronization, where the virtual machine is disposed on the host, and includes: a receiving unit and a sending unit, where
  • the receiving unit is configured to receive configuration information of the host in real time when the host performs configuration
  • the sending unit is configured to send the configuration information of the host to the standby machine through the RCPU protocol;
  • the switch chip of the virtual machine is the same as the switch chip of the standby machine.
  • the application further provides a standby device that implements configuration synchronization, including: a receiving configuration unit and a configuration synchronization unit; wherein
  • Receiving a configuration unit configured to receive configuration information of a host from the virtual machine
  • the receiving configuration unit is configured to: after receiving the RCPU message containing the configuration information from the virtual machine, convert the RCPU message to a CMIC port that sets the RCPU protocol in a preset VLAN; The CMIC port parses the RCPU message including the configuration information to obtain configuration information of the host.
  • the standby device further includes: a feedback unit, configured to: after the configuration synchronization is completed, send a configuration feedback message to the host according to the configuration synchronization result, so that the host determines whether the configuration synchronization is completed.
  • a feedback unit configured to: after the configuration synchronization is completed, send a configuration feedback message to the host according to the configuration synchronization result, so that the host determines whether the configuration synchronization is completed.
  • the present application also provides a computer readable storage medium storing computer executable instructions that, when executed, implement a method of implementing configuration synchronization applied to a virtual machine side.
  • the present application also provides a computer readable storage medium storing computer executable instructions that, when executed, implement a method of implementing configuration synchronization applied to a standby side.
  • the technical solution of the present application includes: the virtual machine set on the host receives configuration information when the host performs configuration in real time; the virtual machine sends configuration information to the standby machine through a remote central processing unit (RCPU) protocol, so that The standby device performs configuration synchronization according to the configuration information of the received host.
  • the switch chip of the virtual machine and the switch chip of the standby device have the same type.
  • the method of the present application configures a virtual machine on the host, and sends configuration information to the virtual machine in real time when the host performs configuration.
  • the configuration information of the host is sent to the standby device in real time through the virtual machine, so that the host and the standby device are synchronized in time.
  • the configuration feedback message sent by the standby device is used to obtain the state information of the configuration synchronization of the host, which prevents the system from being affected when the configuration synchronization is not completed, and the service is interrupted.
  • FIG. 1 is a flowchart of a method for implementing configuration synchronization according to an embodiment of the present invention
  • FIG. 2 is another flowchart of a method for implementing configuration synchronization according to an embodiment of the present invention
  • FIG. 3 is a structural diagram of a virtual machine that implements configuration synchronization according to an embodiment of the present invention
  • FIG. 4 is a structural diagram of a standby machine that implements configuration synchronization according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a method according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for implementing configuration synchronization according to an embodiment of the present invention. As shown in FIG. 1 , a virtual machine is disposed on a host, and the method includes the following steps:
  • Step 100 The virtual machine receives the configuration information when the host performs configuration in real time
  • the switch chip of the virtual machine is the same as the switch chip of the standby machine.
  • the host and the virtual machine are distinguished by different units, and the virtual machine is configured by calling a software development kit (sdk) interface provided by Broadcom.
  • sdk software development kit
  • the encapsulation of the RCPU packet and the parsing of the RCPU packet by the standby device are all implemented by the function provided by sdk.
  • the specific implementation manner is common knowledge of those skilled in the art.
  • Step 101 The virtual machine sends configuration information to the standby device through a remote central processing unit (RCPU) protocol, so that the standby device performs configuration synchronization according to the configuration information of the received host.
  • RCPU remote central processing unit
  • the sending configuration information to the standby device includes:
  • the virtual machine sends the RCPU packet containing the configuration information to the standby device on the interconnected ports of the host and the standby device through the RCPU protocol.
  • the method in this embodiment further includes:
  • the virtual machine is mounted and configured
  • the virtual machine receives the settings of the RCPU host (MASTER) mode of the host configuration to enable it to have the transceiver processing function.
  • the virtual machine is configured on the host, and when the host is configured, the configuration information is sent to the virtual machine, and the configuration information of the host is sent to the standby device in real time through the virtual machine, so that the host and the standby are configured in time. .
  • FIG. 2 is another flowchart of a method for implementing configuration synchronization according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
  • Step 200 The standby machine receives configuration information about the configuration of the host from the virtual machine in real time;
  • the method in this embodiment further includes:
  • Step 201 Perform synchronization configuration on the standby device according to the configuration information of the received host.
  • This step includes:
  • the standby device After receiving the RCPU packet containing the configuration information of the host, the standby device converts the RCPU packet to a CMIC port that sets the RCPU protocol on a preset virtual local area network (VLAN).
  • VLAN virtual local area network
  • the CMIC port parses the RCPU packet containing the configuration information of the host to obtain configuration information of the host;
  • the standby device performs configuration synchronization based on the configuration information of the host obtained by the analysis.
  • the method in this embodiment further includes:
  • the standby device sends a configuration feedback message to the host according to the configuration synchronization result, so that the host determines whether the configuration synchronization is completed.
  • the configuration information sent by the standby device is used to obtain the status information of the configuration synchronization of the host. This prevents the system from working when the configuration is not synchronized.
  • FIG. 3 is a structural diagram of a virtual machine that implements configuration synchronization according to an embodiment of the present invention.
  • a virtual machine is disposed on a host, where the virtual machine includes: a receiving unit and a sending unit, where
  • the receiving unit is configured to receive configuration information of the host in real time when the host performs configuration
  • the sending unit is configured to send the configuration information of the host to the standby machine through the RCPU protocol;
  • the switch chip of the virtual machine is the same as the switch chip of the standby machine.
  • the standby device includes a receiving configuration unit and a configuration synchronization unit.
  • Receiving a configuration unit configured to receive configuration information of a host from the virtual machine
  • the RCPU protocol is set on the CMIC port of the standby machine.
  • the receiving configuration unit is configured to: after receiving the RCPU message containing the configuration information from the virtual machine, convert the RCPU message to a CMIC port that sets the RCPU protocol in a preset VLAN; wherein, the CMIC port is parsed
  • the RCPU packet containing the configuration information obtains the configuration information of the host.
  • the standby unit of the embodiment further includes a feedback unit, configured to: after the configuration synchronization is completed, send a configuration feedback message to the host according to the configuration synchronization result, so that the host determines whether the configuration synchronization is completed.
  • the embodiment of the present invention further provides a system for implementing configuration synchronization, including a host and a backup machine provided with a virtual machine; wherein, the switching chip of the virtual machine and the switching chip of the standby machine have the same type, wherein
  • the virtual machine is configured to: when the host performs configuration, receive configuration information in real time, and send configuration information to the standby machine through the RCPU protocol;
  • the standby device is configured to receive configuration information about the configuration of the host from the virtual machine, and perform configuration synchronization according to the configuration information.
  • the configuration information of the host refers to the configuration information of the switch chip of the host; based on this, the virtual machine set on the host actually sets a switch chip type on the switch chip of the host.
  • Virtual machine Set the RCPU protocol on the CMIC port of the standby machine so that the CMIC port of the standby machine supports the RCPU function.
  • the RCPU standby (SLAVE) mode can be set on the standby machine.
  • the host's switch chip is initialized, and the configured virtual machine is mounted and configured.
  • the configured virtual machine is set in the RCPU host (MASTER) mode, so that the virtual machine has the transceiver processing function.
  • FIG. 5 is a flowchart of a method according to an embodiment. As shown in FIG. 5, the method includes the following steps:
  • Step 500 When the switch chip of the host is configured, the configuration information is sent to the switch chip of the virtual machine in real time;
  • Step 501 When the switch chip of the virtual machine receives the configuration information, add the configuration information to the RCPU packet of the switch chip that is sent to the standby device.
  • Step 502 The switching chip of the virtual machine sends the RCPU packet containing the configuration information to the switching chip of the standby device on the interconnected port of the host and the standby device through the RCPU protocol.
  • Step 503 The switch chip of the standby machine receives the RCPU message including the configuration information of the switch chip of the host, and then switches to the CMIC port that sets the RCPU protocol in a preset VLAN.
  • Step 504 The CMIC port parses the RCPU message including the configuration information of the switch chip of the host to obtain configuration information of the switch chip of the host, and the switch chip of the standby device performs configuration synchronization according to the parsed configuration information.
  • Step 505 According to the configuration synchronization result, the switch chip of the standby device sends a configuration feedback message to the switch chip of the host, so that the switch chip of the host determines whether the configuration synchronization is completed.
  • the embodiment of the invention further provides a computer readable storage medium, which stores a computer executable finger
  • the method of implementing configuration synchronization applied to the virtual machine side is implemented when the computer executable instructions are executed.
  • the embodiment of the invention further provides a computer readable storage medium, which stores computer executable instructions, and when the computer executable instructions are executed, implements a method for implementing configuration synchronization on the standby side.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • This application is not limited to any specific combination of hardware and software.
  • the embodiment of the present application provides a method for implementing configuration synchronization, a virtual machine, and a standby machine.
  • a virtual machine When a virtual machine is configured on a host, the configuration information is sent to the virtual machine in real time, and the configuration information of the host is real-time through the virtual machine.
  • the device is sent to the standby device to synchronize the configuration of the host and the standby device.
  • the configuration feedback message sent by the standby device is used to obtain the status information of the host synchronization. This prevents the system from working when the configuration is not synchronized. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

A method for realizing configuration synchronization, The method comprises: a virtual machine receiving configuration information in real time when an active machine is configured; and the virtual machine sending the configuration information to a standby machine through a remote central processing unit (RCPU) protocol, so that the standby machine can perform configuration synchronization according to the received configuration information about the active machine, wherein the type of a switching chip of the virtual machine is consistent with that of the standby machine. By means of the method, through configuring a virtual machine on an active machine, when the active machine is configured, configuration information is sent to the virtual machine in real time, and the virtual machine sends the configuration information about the active machine to a standby machine in real time, thereby realizing in-time configuration synchronization between the active machine and the standby machine; in addition, configuration feedback information sent by the standby machine enables the active machine to acquire status information about configuration synchronization, thereby preventing system working from being affected due to unfinished configuration synchronization which may cause service interruption.

Description

一种实现配置同步的方法、虚拟机及备机Method, virtual machine and standby machine for realizing configuration synchronization 技术领域Technical field
本申请涉及但不限于城域网通信领域,尤指一种实现配置同步的方法、虚拟机及备机。The present application relates to, but is not limited to, the field of metropolitan area network communication, and in particular, to a method, a virtual machine and a standby machine for implementing configuration synchronization.
背景技术Background technique
随着城域网的快速发展,接入和汇聚网络设备不断追求更高的性能、更强的安全性和更好的稳定性。主备保护是保证接入设备(例如、调制解调器(DSL,Digital Subscriber Line)、无源光纤网络(PON,Passive Optical Network)等)或者汇聚设备(例如、交换机)安全性和稳定性的一项重要技术手段,主备保护中最为重要的技术环节就是主机和备机配置的同步,即主机进行配置时,备机进行同步配置。With the rapid development of metropolitan area networks, access and aggregation network equipment is constantly pursuing higher performance, greater security and better stability. Active/standby protection is an important factor in ensuring the security and stability of access devices (eg, DSL (Digital Subscriber Line), Passive Optical Network (PON), or aggregation devices (eg, switches). Technical means, the most important technical link in the active and standby protection is the synchronization of the configuration of the host and the standby. That is, when the host is configured, the standby is synchronized.
目前,主机和备机间实现配置同步大致包括:主机进行配置时(主要是交换芯片的配置),通过同步或异步消息将配置信息逐个发送给备机,备机收到配置消息后进行数据的保存和配置,配置同步复杂。而且,在主机配置信息发送给备机后,主机无法获知备机的数据保存状态以及备机同步配置的结果;备机也无法确定主机是否将所有配置信息都发往自身。若出现系统或网络延迟,还会造成配置同步无法及时完成;在主机和备机的配置同步未完成时,如果进行主机与备机的倒换,系统将无法正常工作,严重时造成业务中断。At present, the configuration synchronization between the host and the standby device includes: when the host performs configuration (mainly the configuration of the switch chip), the configuration information is sent to the standby device one by one through synchronous or asynchronous messages, and the standby device performs data after receiving the configuration message. Save and configure, configuration synchronization is complicated. Moreover, after the host configuration information is sent to the standby device, the host cannot know the data storage state of the standby device and the result of the synchronization configuration of the standby device; the standby device cannot determine whether the host sends all configuration information to itself. If the system or the network is delayed, the configuration will not be completed in time. If the configuration of the host and the backup is not complete, the system will not work properly.
综上,相关的主机和备机配置同步的方法,无法及时保证配置同步,主机无法确定配置同步的状态,如果配置同步未完成,主机和备机倒换将导致系统无法正常工作,严重时造成业务中断。In summary, the related host and backup configurations are synchronized. The configuration cannot be synchronized in time. The host cannot determine the status of the configuration. If the configuration is not completed, the host and the backup will fail to work properly. Interrupted.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。 The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本申请提供一种实现配置同步的方法、备机及虚拟机,能够简化配置同步过程,确定配置同步完成状态。The present application provides a method, a standby machine, and a virtual machine for implementing configuration synchronization, which can simplify the configuration synchronization process and determine the configuration synchronization completion status.
本申请提供了一种实现配置同步的方法,包括:The application provides a method for implementing configuration synchronization, including:
虚拟机实时接收主机进行配置时的配置信息;The virtual machine receives the configuration information when the host performs configuration in real time;
虚拟机通过远端中央处理器(RCPU,Remote Central Processing Unit)协议发送配置信息到备机,以使备机根据接收的主机的配置信息进行配置同步;The virtual machine sends the configuration information to the standby device through the Remote Central Processing Unit (RCPU) protocol, so that the standby device performs configuration synchronization according to the configuration information of the received host.
其中,虚拟机设置在主机上,虚拟机的交换芯片与备机的交换芯片的类型一致。The virtual machine is set on the host, and the switch chip of the virtual machine is the same as the switch chip of the standby machine.
可选地,发送配置信息到备机包括:Optionally, sending configuration information to the standby device includes:
虚拟机通过RCPU协议,在预先配置的主机与备机的互联端口上发送包含有配置信息的RCPU报文到所述备机。The virtual machine sends the RCPU packet containing the configuration information to the standby device on the interconnected port of the pre-configured host and the standby device through the RCPU protocol.
可选地,该方法还包括:Optionally, the method further includes:
根据所述主机进行初始化设置,所述虚拟机进行挂载和配置;Initializing settings according to the host, the virtual machine is mounted and configured;
所述虚拟机接收主机配置的进行RCPU主机(MASTER)模式的设置,以使自身具备收发处理功能。The virtual machine receives the setting of the RCPU host (MASTER) mode configured by the host, so that it has the function of transmitting and receiving processing.
另一方面,本申请还提供一种实现配置同步的方法,包括:On the other hand, the application also provides a method for implementing configuration synchronization, including:
备机实时接收来自虚拟机的关于主机进行配置的配置信息;The standby machine receives configuration information about the configuration of the host from the virtual machine in real time;
根据接收的主机的配置信息,备机进行配置同步。According to the configuration information of the received host, the standby device performs configuration synchronization.
可选地,该方法还包括:Optionally, the method further includes:
在所述备机的中央处理器管理接口控制器(CMIC,CPU Management Interface Controller)端口上设置RCPU协议,以使所述备机的CMIC端口支持RCPU功能。The RCPU protocol is set on the CPU Management Interface Controller (CMIC) port of the standby device, so that the CMIC port of the standby device supports the RCPU function.
可选地,进行配置同步包括:Optionally, performing configuration synchronization includes:
所述备机接收所述包含有主机的配置信息的RCPU报文后,将RCPU报文在预先设定的虚拟局域网(VLAN)上转换到设置RCPU协议的所述CMIC端口;After receiving the RCPU message including the configuration information of the host, the standby machine converts the RCPU message to a preset CMIC port of the RCPU protocol on a preset virtual local area network (VLAN);
所述CMIC端口解析包含有主机的配置信息的RCPU报文获得所述主机 的配置信息;The CMIC port parses the RCPU message including the configuration information of the host to obtain the host Configuration information;
所述备机根据解析获得的所述主机的配置信息进行配置同步。The standby device performs configuration synchronization according to the configuration information of the host obtained by the analysis.
可选地,该方法还包括:Optionally, the method further includes:
在配置同步完成后,所述备机根据配置同步结果,发送配置反馈消息到所述主机,以使所述主机确定是否完成配置同步。After the configuration synchronization is completed, the standby device sends a configuration feedback message to the host according to the configuration synchronization result, so that the host determines whether the configuration synchronization is completed.
再一方面,本申请还提供一种实现配置同步的虚拟机,虚拟机设置于主机,包括:接收单元及发送单元,其中,In another aspect, the application further provides a virtual machine that implements configuration synchronization, where the virtual machine is disposed on the host, and includes: a receiving unit and a sending unit, where
接收单元,设置为:在主机进行配置时,实时接收主机的配置信息;The receiving unit is configured to receive configuration information of the host in real time when the host performs configuration;
发送单元,设置为通过RCPU协议发送主机的配置信息到备机;The sending unit is configured to send the configuration information of the host to the standby machine through the RCPU protocol;
其中,虚拟机的交换芯片与备机的交换芯片的类型一致。The switch chip of the virtual machine is the same as the switch chip of the standby machine.
又一方面,本申请还提供一种实现配置同步的备机,包括:接收配置单元及配置同步单元;其中,In another aspect, the application further provides a standby device that implements configuration synchronization, including: a receiving configuration unit and a configuration synchronization unit; wherein
接收配置单元,设置为接收来自虚拟机的主机的配置信息;Receiving a configuration unit, configured to receive configuration information of a host from the virtual machine;
配置同步单元,设置为根据接收主机的配置信息进行配置同步。Configure the synchronization unit and set it to synchronize the configuration according to the configuration information of the receiving host.
可选地,Optionally,
备机的CMIC端口上设置RCPU协议,Set the RCPU protocol on the CMIC port of the standby machine.
所述接收配置单元是设置为:接收到来自虚拟机的包含有配置信息的RCPU报文后,将所述RCPU报文在预先设定的VLAN上转换到设置RCPU协议的所述CMIC端口;其中,所述CMIC端口解析包含有配置信息的RCPU报文获得所述主机的配置信息。The receiving configuration unit is configured to: after receiving the RCPU message containing the configuration information from the virtual machine, convert the RCPU message to a CMIC port that sets the RCPU protocol in a preset VLAN; The CMIC port parses the RCPU message including the configuration information to obtain configuration information of the host.
可选地,该备机还包括反馈单元,设置为:在配置同步完成后,根据配置同步结果,发送配置反馈消息到所述主机,以使所述主机确定是否完成配置同步。Optionally, the standby device further includes: a feedback unit, configured to: after the configuration synchronization is completed, send a configuration feedback message to the host according to the configuration synchronization result, so that the host determines whether the configuration synchronization is completed.
本申请还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于虚拟机侧的实现配置同步的方法。The present application also provides a computer readable storage medium storing computer executable instructions that, when executed, implement a method of implementing configuration synchronization applied to a virtual machine side.
本申请还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于备机侧的实现配置同步的方法。 The present application also provides a computer readable storage medium storing computer executable instructions that, when executed, implement a method of implementing configuration synchronization applied to a standby side.
与相关技术相比,本申请技术方案包括:设置在主机上的虚拟机实时接收主机进行配置时的配置信息;虚拟机通过远端中央处理器(RCPU)协议发送配置信息到备机,以使备机根据接收的主机的配置信息进行配置同步;其中,虚拟机的交换芯片与备机的交换芯片的类型一致。本申请的方法通过在主机上配置虚拟机,在主机进行配置时,实时发送配置信息到虚拟机,通过虚拟机将主机的配置信息实时发往备机,实现了主机和备机及时配置同步。Compared with the related art, the technical solution of the present application includes: the virtual machine set on the host receives configuration information when the host performs configuration in real time; the virtual machine sends configuration information to the standby machine through a remote central processing unit (RCPU) protocol, so that The standby device performs configuration synchronization according to the configuration information of the received host. The switch chip of the virtual machine and the switch chip of the standby device have the same type. The method of the present application configures a virtual machine on the host, and sends configuration information to the virtual machine in real time when the host performs configuration. The configuration information of the host is sent to the standby device in real time through the virtual machine, so that the host and the standby device are synchronized in time.
可选地,通过备机发送的配置反馈消息,实现了主机获取配置同步的状态信息,避免了未完成配置同步时影响系统工作,造成业务中断。Optionally, the configuration feedback message sent by the standby device is used to obtain the state information of the configuration synchronization of the host, which prevents the system from being affected when the configuration synchronization is not completed, and the service is interrupted.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1为本发明实施例的实现配置同步的方法的流程图;FIG. 1 is a flowchart of a method for implementing configuration synchronization according to an embodiment of the present invention;
图2为本发明实施例的实现配置同步的方法的另一流程图;2 is another flowchart of a method for implementing configuration synchronization according to an embodiment of the present invention;
图3为本发明实施例的实现配置同步的虚拟机的结构程图;3 is a structural diagram of a virtual machine that implements configuration synchronization according to an embodiment of the present invention;
图4为本发明实施例的实现配置同步的备机的结构程图;4 is a structural diagram of a standby machine that implements configuration synchronization according to an embodiment of the present invention;
图5为本发明实施例的方法流程图。FIG. 5 is a flowchart of a method according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图1为本发明实施例的实现配置同步的方法的流程图,如图1所示,在主机上设置有虚拟机,所述方法包括以下步骤:FIG. 1 is a flowchart of a method for implementing configuration synchronization according to an embodiment of the present invention. As shown in FIG. 1 , a virtual machine is disposed on a host, and the method includes the following steps:
步骤100、虚拟机实时接收主机进行配置时的配置信息;Step 100: The virtual machine receives the configuration information when the host performs configuration in real time;
其中,虚拟机的交换芯片与备机的交换芯片的类型一致。 The switch chip of the virtual machine is the same as the switch chip of the standby machine.
需要说明的是,主机和虚拟机通过不同的单元来进行区分,通过调用博通(broadcom)提供的软件开发工具包(sdk)接口实现对虚拟机的配置。RCPU报文的封装以及备机对RCPU报文的解析均由sdk提供的函数实现,具体实现方式属于本领域人员的公知常识。It should be noted that the host and the virtual machine are distinguished by different units, and the virtual machine is configured by calling a software development kit (sdk) interface provided by Broadcom. The encapsulation of the RCPU packet and the parsing of the RCPU packet by the standby device are all implemented by the function provided by sdk. The specific implementation manner is common knowledge of those skilled in the art.
步骤101、虚拟机通过远端中央处理器(RCPU)协议发送配置信息到备机,以使备机根据接收的主机的配置信息进行配置同步。Step 101: The virtual machine sends configuration information to the standby device through a remote central processing unit (RCPU) protocol, so that the standby device performs configuration synchronization according to the configuration information of the received host.
其中,发送配置信息到备机包括:The sending configuration information to the standby device includes:
虚拟机通过RCPU协议,在预先配置的主机与备机的互联端口上发送包含有配置信息的RCPU报文到备机。The virtual machine sends the RCPU packet containing the configuration information to the standby device on the interconnected ports of the host and the standby device through the RCPU protocol.
在步骤100之前,本实施例的方法还包括:Before the step 100, the method in this embodiment further includes:
根据主机进行初始化设置,虚拟机进行挂载和配置;According to the host initialization settings, the virtual machine is mounted and configured;
虚拟机接收主机配置的进行RCPU主机(MASTER)模式的设置,以使自身具备收发处理功能。The virtual machine receives the settings of the RCPU host (MASTER) mode of the host configuration to enable it to have the transceiver processing function.
本实施例的方法通过在主机上配置虚拟机,在主机进行配置时,实施发送配置信息到虚拟机,通过虚拟机将主机的配置信息实时发往备机,实现了主机和备机及时配置同步。In the method of the embodiment, the virtual machine is configured on the host, and when the host is configured, the configuration information is sent to the virtual machine, and the configuration information of the host is sent to the standby device in real time through the virtual machine, so that the host and the standby are configured in time. .
图2为本发明实施例的实现配置同步的方法的另一流程图,如图2所示,所述方法包括以下步骤:FIG. 2 is another flowchart of a method for implementing configuration synchronization according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
步骤200、备机实时接收来自虚拟机的关于主机进行配置的配置信息;Step 200: The standby machine receives configuration information about the configuration of the host from the virtual machine in real time;
在步骤200之前,本实施例的方法还包括:Before the step 200, the method in this embodiment further includes:
在备机的中央处理器管理接口控制器(CMIC)端口上设置RCPU协议,以使备机的CMIC端口支持RCPU功能。Set the RCPU protocol on the central processor management interface controller (CMIC) port of the standby machine so that the CMIC port of the standby machine supports the RCPU function.
步骤201、根据接收的主机的配置信息,备机进行配置同步。Step 201: Perform synchronization configuration on the standby device according to the configuration information of the received host.
本步骤包括:This step includes:
备机接收包含有主机的配置信息的RCPU报文后,将RCPU报文在预先设定的虚拟局域网(VLAN,Virtual Local Area Network)上转换到设置RCPU协议的CMIC端口; After receiving the RCPU packet containing the configuration information of the host, the standby device converts the RCPU packet to a CMIC port that sets the RCPU protocol on a preset virtual local area network (VLAN).
CMIC端口解析包含有主机的配置信息的RCPU报文获得主机的配置信息;The CMIC port parses the RCPU packet containing the configuration information of the host to obtain configuration information of the host;
备机根据解析获得的主机的配置信息进行配置同步。The standby device performs configuration synchronization based on the configuration information of the host obtained by the analysis.
在配置同步完成后,本实施例的方法还包括:After the configuration synchronization is completed, the method in this embodiment further includes:
备机根据配置同步结果,发送配置反馈消息到主机,以使主机确定是否完成配置同步。The standby device sends a configuration feedback message to the host according to the configuration synchronization result, so that the host determines whether the configuration synchronization is completed.
通过备机发送的配置反馈消息,实现了主机获取配置同步的状态信息,避免了未完成配置同步时影响系统工作,造成业务中断。The configuration information sent by the standby device is used to obtain the status information of the configuration synchronization of the host. This prevents the system from working when the configuration is not synchronized.
图3为本发明实施例的实现配置同步的虚拟机的结构程图,如图3所示,虚拟机设置于主机,所述虚拟机包括:接收单元及发送单元,其中,3 is a structural diagram of a virtual machine that implements configuration synchronization according to an embodiment of the present invention. As shown in FIG. 3, a virtual machine is disposed on a host, where the virtual machine includes: a receiving unit and a sending unit, where
接收单元,设置为:在主机进行配置时,实时接收主机的配置信息;The receiving unit is configured to receive configuration information of the host in real time when the host performs configuration;
发送单元,设置为通过RCPU协议发送主机的配置信息到备机;The sending unit is configured to send the configuration information of the host to the standby machine through the RCPU protocol;
其中,虚拟机的交换芯片与备机的交换芯片的类型一致。The switch chip of the virtual machine is the same as the switch chip of the standby machine.
图4为本发明实施例的实现配置同步的备机的结构程图,如图4所示,所述备机包括接收配置单元及配置同步单元;其中,4 is a structural diagram of a standby machine that implements configuration synchronization according to an embodiment of the present invention. As shown in FIG. 4, the standby device includes a receiving configuration unit and a configuration synchronization unit.
接收配置单元,设置为接收来自虚拟机的主机的配置信息;Receiving a configuration unit, configured to receive configuration information of a host from the virtual machine;
其中,备机的CMIC端口上设置RCPU协议,The RCPU protocol is set on the CMIC port of the standby machine.
接收配置单元是设置为:接收到来自虚拟机的包含有配置信息的RCPU报文后,将所述RCPU报文在预先设定的VLAN上转换到设置RCPU协议的CMIC端口;其中,CMIC端口解析包含有配置信息的RCPU报文获得主机的配置信息。The receiving configuration unit is configured to: after receiving the RCPU message containing the configuration information from the virtual machine, convert the RCPU message to a CMIC port that sets the RCPU protocol in a preset VLAN; wherein, the CMIC port is parsed The RCPU packet containing the configuration information obtains the configuration information of the host.
配置同步单元,设置为根据接收的主机的配置信息进行配置同步。Configure the synchronization unit and set it to synchronize the configuration according to the configuration information of the received host.
本实施例的备机还包括反馈单元,设置为:在配置同步完成后,根据配置同步结果,发送配置反馈消息到主机,以使主机确定是否完成配置同步。The standby unit of the embodiment further includes a feedback unit, configured to: after the configuration synchronization is completed, send a configuration feedback message to the host according to the configuration synchronization result, so that the host determines whether the configuration synchronization is completed.
需要说明的是,本发明实施例还提供一种实现配置同步的系统,包括设置有虚拟机的主机和备机;其中,虚拟机的交换芯片与备机的交换芯片的类型一致,其中, It should be noted that, the embodiment of the present invention further provides a system for implementing configuration synchronization, including a host and a backup machine provided with a virtual machine; wherein, the switching chip of the virtual machine and the switching chip of the standby machine have the same type, wherein
所述虚拟机设置为:在主机进行配置时,实时接收配置信息,通过RCPU协议发送配置信息到备机;The virtual machine is configured to: when the host performs configuration, receive configuration information in real time, and send configuration information to the standby machine through the RCPU protocol;
备机,设置为:接收来自虚拟机的关于主机进行配置的配置信息,根据配置信息进行配置同步。The standby device is configured to receive configuration information about the configuration of the host from the virtual machine, and perform configuration synchronization according to the configuration information.
以下通过具体实施例对本发明实施例的方法进行清楚详细的说明,实施例仅用于陈述本申请,并不用于限制本申请的保护范围。The method of the embodiments of the present invention is described in detail below by way of specific examples. The embodiments are only used to describe the present application, and are not intended to limit the scope of the present application.
在本实施例中,主机的配置信息是指主机的交换芯片的配置信息;基于此,在主机上设置的虚拟机,实际上是在主机的交换芯片上设置一个与备机的交换芯片类型一致的虚拟机。在备机的CMIC端口上设置RCPU协议,以使备机的CMIC端口支持RCPU功能。其中,可以在备机上进行RCPU备机(SLAVE)模式的设置。主机的交换芯片进行初始化设置,进行配置的虚拟机的挂载和配置;对配置的虚拟机进行RCPU主机(MASTER)模式设置,以使虚拟机具备收发处理功能。In this embodiment, the configuration information of the host refers to the configuration information of the switch chip of the host; based on this, the virtual machine set on the host actually sets a switch chip type on the switch chip of the host. Virtual machine. Set the RCPU protocol on the CMIC port of the standby machine so that the CMIC port of the standby machine supports the RCPU function. Among them, the RCPU standby (SLAVE) mode can be set on the standby machine. The host's switch chip is initialized, and the configured virtual machine is mounted and configured. The configured virtual machine is set in the RCPU host (MASTER) mode, so that the virtual machine has the transceiver processing function.
图5为本实施例的方法流程图,如图5所示,所述方法包括以下步骤:FIG. 5 is a flowchart of a method according to an embodiment. As shown in FIG. 5, the method includes the following steps:
步骤500、主机的交换芯片进行配置时,实时发送配置信息到虚拟机的交换芯片;Step 500: When the switch chip of the host is configured, the configuration information is sent to the switch chip of the virtual machine in real time;
步骤501、虚拟机的交换芯片接收到配置信息时,将配置信息添加到发送到备机的交换芯片的RCPU报文;Step 501: When the switch chip of the virtual machine receives the configuration information, add the configuration information to the RCPU packet of the switch chip that is sent to the standby device.
步骤502、虚拟机的交换芯片通过RCPU协议,在预先配置的主机与备机的互联端口上发送包含有配置信息的RCPU报文到备机的交换芯片;Step 502: The switching chip of the virtual machine sends the RCPU packet containing the configuration information to the switching chip of the standby device on the interconnected port of the host and the standby device through the RCPU protocol.
步骤503、备机的交换芯片接收包含有主机的交换芯片的配置信息的RCPU报文后,在预先设定的VLAN上转换到设置RCPU协议的CMIC端口;Step 503: The switch chip of the standby machine receives the RCPU message including the configuration information of the switch chip of the host, and then switches to the CMIC port that sets the RCPU protocol in a preset VLAN.
步骤504、CMIC端口解析包含有主机的交换芯片的配置信息的RCPU报文获得主机的交换芯片的配置信息,备机的交换芯片根据解析的配置信息进行配置同步;Step 504: The CMIC port parses the RCPU message including the configuration information of the switch chip of the host to obtain configuration information of the switch chip of the host, and the switch chip of the standby device performs configuration synchronization according to the parsed configuration information.
步骤505、根据配置同步结果,备机的交换芯片发送配置反馈消息到主机的交换芯片,以使主机的交换芯片确定是否完成配置同步。Step 505: According to the configuration synchronization result, the switch chip of the standby device sends a configuration feedback message to the switch chip of the host, so that the switch chip of the host determines whether the configuration synchronization is completed.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指 令,所述计算机可执行指令被执行时实现应用于虚拟机侧的实现配置同步的方法。The embodiment of the invention further provides a computer readable storage medium, which stores a computer executable finger The method of implementing configuration synchronization applied to the virtual machine side is implemented when the computer executable instructions are executed.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于备机侧的实现配置同步的方法。The embodiment of the invention further provides a computer readable storage medium, which stores computer executable instructions, and when the computer executable instructions are executed, implements a method for implementing configuration synchronization on the standby side.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本申请不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. This application is not limited to any specific combination of hardware and software.
虽然本申请所揭露的实施方式如上,但所述的内容仅为便于理解本申请而采用的实施方式,并非用以限定本申请。任何本申请所属领域内的技术人员,在不脱离本申请所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请的专利保护范围,仍须以所附的权利要求书所界定的范围为准。The embodiments disclosed in the present application are as described above, but the description is only for the purpose of understanding the present application, and is not intended to limit the present application. Any modifications and changes in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the disclosure. The scope defined by the appended claims shall prevail.
工业实用性Industrial applicability
本申请实施例提供一种实现配置同步的方法、虚拟机及备机,通过在主机上配置虚拟机,在主机进行配置时,实时发送配置信息到虚拟机,通过虚拟机将主机的配置信息实时发往备机,实现了主机和备机及时配置同步,而且,通过备机发送的配置反馈消息,实现了主机获取配置同步的状态信息,避免了未完成配置同步时影响系统工作,造成业务中断。 The embodiment of the present application provides a method for implementing configuration synchronization, a virtual machine, and a standby machine. When a virtual machine is configured on a host, the configuration information is sent to the virtual machine in real time, and the configuration information of the host is real-time through the virtual machine. The device is sent to the standby device to synchronize the configuration of the host and the standby device. In addition, the configuration feedback message sent by the standby device is used to obtain the status information of the host synchronization. This prevents the system from working when the configuration is not synchronized. .

Claims (11)

  1. 一种实现配置同步的方法,包括:A method for implementing configuration synchronization, including:
    虚拟机实时接收主机进行配置时的配置信息;The virtual machine receives the configuration information when the host performs configuration in real time;
    所述虚拟机通过远端中央处理器RCPU协议发送配置信息到备机,以使所述备机根据接收的主机的配置信息进行配置同步;The virtual machine sends the configuration information to the standby device through the RCPU protocol of the remote central processor, so that the standby device performs configuration synchronization according to the configuration information of the received host.
    其中,所述虚拟机设置在主机上,所述虚拟机的交换芯片与备机的交换芯片的类型一致。The virtual machine is disposed on the host, and the switch chip of the virtual machine is the same as the switch chip of the standby machine.
  2. 根据权利要求1所述的方法,其中,所述发送配置信息到备机包括:The method of claim 1, wherein the transmitting the configuration information to the standby machine comprises:
    所述虚拟机通过RCPU协议,在预先配置的主机与备机的互联端口上发送包含有配置信息的RCPU报文到所述备机。The virtual machine sends an RCPU packet containing the configuration information to the standby device on the interconnected port of the host and the standby device through the RCPU protocol.
  3. 根据权利要求1所述的方法,该方法还包括:The method of claim 1 further comprising:
    根据所述主机进行初始化设置,所述虚拟机进行挂载和配置;Initializing settings according to the host, the virtual machine is mounted and configured;
    所述虚拟机接收主机配置的进行RCPU主机MASTER模式的设置,以使自身具备收发处理功能。The virtual machine receives the setting of the MASTER mode of the RCPU host configured by the host, so that it has the function of transmitting and receiving processing.
  4. 一种实现配置同步的方法,包括:A method for implementing configuration synchronization, including:
    备机实时接收来自虚拟机的关于主机进行配置的配置信息;The standby machine receives configuration information about the configuration of the host from the virtual machine in real time;
    根据接收的主机的配置信息,所述备机进行配置同步。The standby device performs configuration synchronization according to the configuration information of the received host.
  5. 根据权利要求4所述的方法,该方法还包括:The method of claim 4, further comprising:
    在所述备机的中央处理器管理接口控制器CMIC端口上设置远端中央处理器RCPU协议,以使所述备机的CMIC端口支持RCPU功能。The remote central processor RCPU protocol is set on the central processor management interface controller CMIC port of the standby machine, so that the CMIC port of the standby machine supports the RCPU function.
  6. 根据权利要求4所述的方法,其中,所述进行配置同步包括:The method of claim 4 wherein said performing configuration synchronization comprises:
    所述备机接收所述包含有主机的配置信息的远端中央处理器RCPU报文后,将所述RCPU报文在预先设定的虚拟局域网VLAN上转换到设置RCPU协议的中央处理器管理接口控制器CMIC端口;After receiving the remote central processor RCPU message including the configuration information of the host, the standby machine converts the RCPU message to a central processor management interface that sets the RCPU protocol on a preset virtual local area network VLAN. Controller CMIC port;
    所述CMIC端口解析包含有主机的配置信息的RCPU报文获得所述主机的配置信息; The CMIC port parses the RCPU message including the configuration information of the host to obtain configuration information of the host;
    所述备机根据解析获得的所述主机的配置信息进行配置同步。The standby device performs configuration synchronization according to the configuration information of the host obtained by the analysis.
  7. 根据权利要求4至6任一项所述的方法,该方法还包括:A method according to any one of claims 4 to 6, further comprising:
    所述配置同步完成后,所述备机根据配置同步结果,发送配置反馈消息到所述主机,以使所述主机确定是否完成配置同步。After the configuration is synchronized, the standby sends a configuration feedback message to the host according to the configuration synchronization result, so that the host determines whether the configuration synchronization is completed.
  8. 一种实现配置同步的虚拟机,所述虚拟机设置于主机,所述虚拟机包括:接收单元及发送单元,其中,A virtual machine that implements configuration synchronization, where the virtual machine is disposed on a host, where the virtual machine includes: a receiving unit and a sending unit, where
    接收单元,设置为:在主机进行配置时,实时接收主机的配置信息;The receiving unit is configured to receive configuration information of the host in real time when the host performs configuration;
    发送单元,设置为通过远端中央处理器RCPU协议发送主机的配置信息到备机;The sending unit is configured to send the configuration information of the host to the standby machine through the remote central processor RCPU protocol;
    其中,所述虚拟机的交换芯片与备机的交换芯片的类型一致。The switch chip of the virtual machine is the same as the switch chip of the standby machine.
  9. 一种实现配置同步的备机,包括:接收配置单元及配置同步单元;其中,A standby machine for implementing configuration synchronization, comprising: a receiving configuration unit and a configuration synchronization unit; wherein
    接收配置单元,设置为接收来自虚拟机的主机的配置信息;Receiving a configuration unit, configured to receive configuration information of a host from the virtual machine;
    配置同步单元,设置为根据接收的主机的配置信息进行配置同步。Configure the synchronization unit and set it to synchronize the configuration according to the configuration information of the received host.
  10. 根据权利要求9所述的备机,其中,所述备机的中央处理器管理接口控制器CMIC端口上设置远端中央处理器RCPU协议,The standby machine according to claim 9, wherein the central processor management interface controller of the standby machine sets a remote central processor RCPU protocol on the CMIC port,
    所述接收配置单元是设置为:接收到来自虚拟机的包含有配置信息的RCPU报文后,将所述RCPU报文在预先设定的虚拟局域网VLAN上转换到设置RCPU协议的所述CMIC端口;其中,所述CMIC端口解析包含有配置信息的RCPU报文获得所述主机的配置信息。The receiving configuration unit is configured to: after receiving the RCPU message containing the configuration information from the virtual machine, convert the RCPU message to the CMIC port that sets the RCPU protocol on a preset virtual local area network VLAN. The CMIC port parses the RCPU message including the configuration information to obtain configuration information of the host.
  11. 根据权利要求9所述的备机,该备机还包括反馈单元,设置为:在配置同步完成后,根据配置同步结果,发送配置反馈消息到所述主机,以使所述主机确定是否完成配置同步。 The standby device according to claim 9, further comprising a feedback unit, configured to: after the configuration synchronization is completed, send a configuration feedback message to the host according to the configuration synchronization result, so that the host determines whether the configuration is completed. Synchronize.
PCT/CN2016/082353 2015-06-08 2016-05-17 Method, virtual machine and standby machine for realizing configuration synchronization WO2016197798A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510310411.5A CN106301856A (en) 2015-06-08 2015-06-08 A kind of method, virtual machine and standby host realizing configuration synchronization
CN201510310411.5 2015-06-08

Publications (1)

Publication Number Publication Date
WO2016197798A1 true WO2016197798A1 (en) 2016-12-15

Family

ID=57504485

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082353 WO2016197798A1 (en) 2015-06-08 2016-05-17 Method, virtual machine and standby machine for realizing configuration synchronization

Country Status (2)

Country Link
CN (1) CN106301856A (en)
WO (1) WO2016197798A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109991899A (en) * 2019-04-01 2019-07-09 上海电气泰雷兹交通自动化系统有限公司 Half dynamic synchronization method of data between the active and standby controller of Rail Transit System

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197702A (en) * 2006-12-08 2008-06-11 中兴通讯股份有限公司 Method for implementing communication and service processing between main and standby system
US20080155300A1 (en) * 2006-12-21 2008-06-26 Inventec Corporation Method of updating a dual redundant chassis management system
CN101876926A (en) * 2009-11-26 2010-11-03 北京航空航天大学 Asymmetric software triple-computer hot backup fault-tolerant method
CN101958783A (en) * 2010-10-15 2011-01-26 杭州迪普科技有限公司 Inter-board communication method and virtual intermediate layer device
US20110208908A1 (en) * 2010-02-24 2011-08-25 Avaya, Inc. Method and apparatus for high availability (ha) protection of a running virtual machine (vm)
CN103401773A (en) * 2013-06-26 2013-11-20 杭州华三通信技术有限公司 Method and network equipment realizing interboard communication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197702A (en) * 2006-12-08 2008-06-11 中兴通讯股份有限公司 Method for implementing communication and service processing between main and standby system
US20080155300A1 (en) * 2006-12-21 2008-06-26 Inventec Corporation Method of updating a dual redundant chassis management system
CN101876926A (en) * 2009-11-26 2010-11-03 北京航空航天大学 Asymmetric software triple-computer hot backup fault-tolerant method
US20110208908A1 (en) * 2010-02-24 2011-08-25 Avaya, Inc. Method and apparatus for high availability (ha) protection of a running virtual machine (vm)
CN101958783A (en) * 2010-10-15 2011-01-26 杭州迪普科技有限公司 Inter-board communication method and virtual intermediate layer device
CN103401773A (en) * 2013-06-26 2013-11-20 杭州华三通信技术有限公司 Method and network equipment realizing interboard communication

Also Published As

Publication number Publication date
CN106301856A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
US11005752B2 (en) Packet transmission
US9692697B2 (en) Control channel establishing method, forwarding point, and controller
WO2016034074A1 (en) Method, apparatus and system for implementing software-defined networking (sdn)
EP2843906B1 (en) Method, apparatus, and system for data transmission
US20140115142A1 (en) Port Setting Method, Routing Device, and Computer Program Product
WO2017128953A1 (en) Server virtualization network sharing apparatus and method
CN104378299B (en) Flow table item processing method and device
WO2017000832A1 (en) Mac address synchronization method, device and system
KR101969396B1 (en) Method, Apparatus and System for Remotely Configuring PTP Service of Optical Network Unit
CN114745255B (en) Hardware chip, DPU, server, communication method and related device
US10938527B2 (en) Forwarding table generation method and forwarding device
EP2924926B1 (en) Lookup table creation method and query method, and controller, forwarding device and system therefor
WO2016124117A1 (en) Method, switching device and network controller for protecting links in software-defined network (sdn)
US9300529B2 (en) Communication system and network relay device
US20150055662A1 (en) Internet group management protocol (igmp) leave message processing synchronization
WO2015188331A1 (en) 转发控制方法、驱动器及sdn网络 forwarding control method, driver and sdn network
CN110235417B (en) SDN and message forwarding method and device thereof
CN108512737B (en) Data center IP layer interconnection method and SDN controller
WO2019041944A1 (en) Method and apparatus for processing packets
WO2016197798A1 (en) Method, virtual machine and standby machine for realizing configuration synchronization
US20160134522A1 (en) Data flow processing method, device, and system
CN106169982B (en) Method, device and system for processing expansion port
JP6118464B2 (en) Port status synchronization method, related device, and system
US20170317924A1 (en) Point-to-Multipoint Service Transmission Method and Apparatus
WO2019056239A1 (en) Packet synchronization method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16806696

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16806696

Country of ref document: EP

Kind code of ref document: A1