[go: up one dir, main page]

CN106569871A - Method and device for upgrade processing - Google Patents

Method and device for upgrade processing Download PDF

Info

Publication number
CN106569871A
CN106569871A CN201510659275.0A CN201510659275A CN106569871A CN 106569871 A CN106569871 A CN 106569871A CN 201510659275 A CN201510659275 A CN 201510659275A CN 106569871 A CN106569871 A CN 106569871A
Authority
CN
China
Prior art keywords
physical server
vnfm
vim
virtual machine
upgrade
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
CN201510659275.0A
Other languages
Chinese (zh)
Inventor
王明涛
蒋天超
杜鹏玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510659275.0A priority Critical patent/CN106569871A/en
Publication of CN106569871A publication Critical patent/CN106569871A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)

Abstract

本发明公开了一种升级处理方法及装置,其中,该方法包括:VIM向虚拟化网络功能管理器VNFM发送升级该物理服务器的指示消息,其中,该指示消息用于指示该VNFM将该VNFM管理的虚拟机业务进行迁移;该VIM接收该VNFM发送的允许升级该物理服务器的通知消息;该VIM关闭该物理服务器上运行的虚拟机,并对该物理服务器的管理程序进行升级处理,解决了相关技术中对物理服务器进行升级存在缺陷的问题,降低了出错的可能性,保证在升级过程中业务无中断。

The present invention discloses an upgrade processing method and device, wherein the method includes: VIM sends an instruction message to upgrade the physical server to the virtualized network function manager VNFM, wherein the instruction message is used to instruct the VNFM to manage the VNFM The virtual machine business is migrated; the VIM receives the notification message from the VNFM that the physical server is allowed to be upgraded; the VIM shuts down the virtual machine running on the physical server, and upgrades the hypervisor of the physical server, solving related problems There are defects in the upgrade of physical servers in the technology, which reduces the possibility of errors and ensures that the business will not be interrupted during the upgrade process.

Description

升级处理方法及装置Upgrading treatment method and device

技术领域technical field

本发明涉及云计算领域,具体而言,涉及升级处理方法及装置。The present invention relates to the field of cloud computing, in particular to an upgrade processing method and device.

背景技术Background technique

近几年来,随着云计算技术的快速发展和逐渐成熟,提高物理服务器的资源使用率,进而降低运营商的运营成本,使得网络功能虚拟化(Network Function Virtualization,简称为NFV)架构得到了广泛的应用。通过NFV,大部分电信业务的运行载体从原有的物理服务器转移到了虚拟机上,通过软硬件解耦及功能抽象,使网络设备功能不再依赖于专用硬件,资源可以充分灵活共享,实现新业务的快速开发和应用快速部署,从而降低昂贵的设备成本和运营成本。In recent years, with the rapid development and gradual maturity of cloud computing technology, the resource utilization rate of physical servers has been improved, thereby reducing the operating costs of operators, and the network function virtualization (Network Function Virtualization, NFV for short) architecture has been widely used. Applications. Through NFV, the operating carrier of most telecom services has been transferred from the original physical server to the virtual machine. Through the decoupling of software and hardware and functional abstraction, the functions of network equipment are no longer dependent on dedicated hardware, and resources can be fully and flexibly shared to realize new technologies. Rapid business development and rapid deployment of applications, thereby reducing expensive equipment costs and operating costs.

但是为了提高虚拟机的性能以及保持虚拟机运行稳定,进而保证虚拟机上业务运行稳定,需要不时的对(系统)管理程序hypervisor进行升级。而对hypervisor进行升级,大多数情况下都需要重启物理服务器,如果直接重启,势必会影响到运行在该服务器上的虚拟机里面的业务,导致业务中断。而针对此类情况,传统的处理方式是采取手动的方式预先处理该服务器上的虚拟机。主要有以下两种方式:①在升级之前手动迁移虚拟机上面的业务;②升级之前将该服务器上的所有运行的虚拟机迁移到另外一台服务器上。However, in order to improve the performance of the virtual machine and keep the virtual machine running stably, thereby ensuring the stable operation of the business on the virtual machine, it is necessary to upgrade the (system) management program hypervisor from time to time. To upgrade the hypervisor, in most cases, the physical server needs to be restarted. If it is restarted directly, it will inevitably affect the business in the virtual machine running on the server, resulting in business interruption. For such situations, the traditional processing method is to pre-process the virtual machine on the server in a manual manner. There are two main methods: ① manually migrate the business on the virtual machine before the upgrade; ② migrate all the running virtual machines on the server to another server before the upgrade.

采用第一种方式,可能需要登录到每个业务虚拟机里面进行业务的迁移或者需要手动的操作虚拟化网络功能管理器(Virtualized Network Function Manager,简称为VNFM),迁移其管理的虚拟机业务,比较繁琐。而第二种方式,因为迁移虚拟机需要考虑内存和存储因素,可能耗时较长,此外在迁移的过程中,可能会有丢包的情况发生,这样就会导致业务中断。如果待升级的服务器上运行的业务虚拟机比较多,以上两种方式都需要手动操作多个虚拟机,比较繁琐,还有可能导致误操作,因此具有一定的局限性。Using the first method, you may need to log in to each business virtual machine to migrate services or manually operate the virtualized network function manager (Virtualized Network Function Manager, referred to as VNFM) to migrate the virtual machine business it manages. More cumbersome. In the second way, since memory and storage factors need to be considered for migrating virtual machines, it may take a long time. In addition, during the migration process, packet loss may occur, which will cause business interruption. If there are many business virtual machines running on the server to be upgraded, the above two methods need to manually operate multiple virtual machines, which is cumbersome and may lead to misoperation, so it has certain limitations.

针对相关技术中对物理服务器进行升级存在缺陷的问题,还未提出有效的解决方案。No effective solution has been proposed for the problem of defects in upgrading the physical server in the related art.

发明内容Contents of the invention

本发明提供了一种升级处理方法及装置,以至少解决相关技术中对物理服务器进行升级存在缺陷的问题。The present invention provides an upgrade processing method and device to at least solve the problem of defects in the upgrade of physical servers in the related art.

根据本发明的一个方面,提供了一种升级处理方法,包括:虚拟化基础设施管理器(Virtualised Infrastructure Manager,简称为VIM)向虚拟化网络功能管理器VNFM发送升级物理服务器的指示消息,其中,所述指示消息用于指示所述VNFM将所述VNFM管理的虚拟机业务进行迁移;所述VIM接收所述VNFM发送的允许升级所述物理服务器的通知消息;所述VIM关闭所述物理服务器上运行的虚拟机,并对所述物理服务器的管理程序进行升级处理。According to one aspect of the present invention, an upgrade processing method is provided, including: a virtualized infrastructure manager (Virtualized Infrastructure Manager, referred to as VIM) sends an instruction message to upgrade a physical server to a virtualized network function manager VNFM, wherein, The instruction message is used to instruct the VNFM to migrate the virtual machine business managed by the VNFM; the VIM receives the notification message sent by the VNFM to allow the upgrading of the physical server; the VIM closes the physical server on the physical server. running virtual machine, and upgrade the hypervisor of the physical server.

进一步地,在对所述物理服务器的管理程序进行升级处理之后,所述方法还包括:所述VIM开启关闭的所述物理服务器上运行的虚拟机。Further, after the hypervisor of the physical server is upgraded, the method further includes: the VIM turning on and off the virtual machine running on the physical server.

进一步地,在所述VIM开启关闭的虚拟机之后,所述方法还包括:所述VIM向所述VNFM发送所述物理服务器升级成功的通知消息。Further, after the VIM starts the closed virtual machine, the method further includes: the VIM sends a notification message that the upgrade of the physical server is successful to the VNFM.

根据本发明的另一方面,提供了一种升级处理方法,包括:虚拟化网络功能管理器VNFM接收虚拟化基础设施管理器VIM发送的升级物理服务器的指示消息;所述VNFM根据所述指示消息将所述VNFM管理的虚拟机业务进行迁移;所述VNFM向所述VIM发送允许升级所述物理服务器的通知消息,所述通知消息用于所述VIM在接收到所述通知消息之后关闭所述物理服务器上运行的虚拟机,并对所述物理服务器的管理程序进行升级处理。According to another aspect of the present invention, an upgrade processing method is provided, including: the virtualized network function manager VNFM receives an instruction message for upgrading a physical server sent by the virtualized infrastructure manager VIM; Migrate the virtual machine business managed by the VNFM; the VNFM sends a notification message allowing the upgrade of the physical server to the VIM, and the notification message is used for the VIM to close the physical server after receiving the notification message virtual machine running on the physical server, and upgrade the hypervisor of the physical server.

进一步地,在所述VNFM向所述VIM发送允许升级所述物理服务器的通知消息之后,所述方法还包括:所述VNFM接收所述VIM对所述物理服务器升级成功的通知消息。Further, after the VNFM sends to the VIM a notification message allowing the physical server to be upgraded, the method further includes: the VNFM receiving a notification message that the VIM upgrades the physical server successfully.

进一步地,在所述VNFM接收所述VIM对所述物理服务器升级成功的通知之后,所述方法还包括:所述VNFM对管理的虚拟机业务进行恢复;在虚拟机业务恢复完成之后,所述VNFM将虚拟机业务恢复的结果通知给所述VIM。Further, after the VNFM receives the notification from the VIM that the upgrade of the physical server is successful, the method further includes: the VNFM recovers the managed virtual machine service; after the virtual machine service recovery is completed, the The VNFM notifies the VIM of the result of the service recovery of the virtual machine.

根据本发明的另一方面,还提供了一种升级处理装置,应用于虚拟化基础设施管理器VIM,包括:发送模块,用于向虚拟化网络功能管理器VNFM发送升级物理服务器的指示消息,其中,所述指示消息用于指示所述VNFM将所述VNFM管理的虚拟机业务进行迁移;第一接收模块,用于接收所述VNFM发送的允许升级所述物理服务器的通知消息;升级模块,用于关闭所述物理服务器上运行的虚拟机,并对所述物理服务器的管理程序进行升级处理。According to another aspect of the present invention, an upgrade processing device is also provided, which is applied to a virtualized infrastructure manager VIM, including: a sending module, configured to send an instruction message for upgrading a physical server to a virtualized network function manager VNFM, Wherein, the instruction message is used to instruct the VNFM to migrate the virtual machine business managed by the VNFM; the first receiving module is used to receive the notification message sent by the VNFM to allow the upgrading of the physical server; the upgrading module, It is used to shut down the virtual machine running on the physical server, and upgrade the hypervisor of the physical server.

进一步地,所述装置还包括:开启模块,用于开启关闭的所述物理服务器上运行的虚拟机。Further, the device further includes: an enabling module, configured to enable the virtual machine running on the shut down physical server.

根据本发明的再一方面,还提供了一种升级处理装置,应用于虚拟化网络功能管理器VNFM,包括:第二接收模块,用于接收虚拟化基础设施管理器VIM发送的升级物理服务器的指示消息;迁移模块,用于根据所述指示消息将所述VNFM管理的虚拟机业务进行迁移;发送模块,用于向所述VIM发送允许升级所述物理服务器的通知消息,所述通知消息用于所述VIM在接收到所述通知消息之后关闭所述物理服务器上运行的虚拟机,并对所述物理服务器的管理程序进行升级处理。According to another aspect of the present invention, an upgrade processing device is also provided, which is applied to the virtualized network function manager VNFM, including: a second receiving module, configured to receive the upgrade physical server sent by the virtualized infrastructure manager VIM An indication message; a migration module, configured to migrate the virtual machine business managed by the VNFM according to the indication message; a sending module, configured to send a notification message allowing the upgrade of the physical server to the VIM, and the notification message uses After the VIM receives the notification message, it shuts down the virtual machine running on the physical server, and upgrades the hypervisor of the physical server.

进一步地,所述装置还包括:第三接收模块,用于接收所述VIM对所述物理服务器升级成功的通知消息。Further, the device further includes: a third receiving module, configured to receive a notification message that the VIM upgrades the physical server successfully.

通过本发明,采用VIM向虚拟化网络功能管理器VNFM发送升级物理服务器的指示消息,其中,所述指示消息用于指示所述VNFM将所述VNFM管理的虚拟机业务进行迁移;所述VIM接收所述VNFM发送的允许升级所述物理服务器的通知消息;所述VIM关闭所述物理服务器上运行的虚拟机,并对所述物理服务器的管理程序进行升级处理,解决了相关技术中对物理服务器进行升级存在缺陷的问题,降低了出错的可能性,保证在升级过程中业务无中断。Through the present invention, the VIM is used to send an instruction message to upgrade the physical server to the virtualized network function manager VNFM, wherein the instruction message is used to instruct the VNFM to migrate the virtual machine services managed by the VNFM; the VIM receives The notification message sent by the VNFM to allow the upgrading of the physical server; the VIM closes the virtual machine running on the physical server, and upgrades the management program of the physical server, which solves the problem of the physical server in the related art. The problem of defects in the upgrade reduces the possibility of errors and ensures that the business will not be interrupted during the upgrade process.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1是根据本发明实施例的升级处理方法的流程图一;FIG. 1 is a flowchart 1 of an upgrade processing method according to an embodiment of the present invention;

图2是根据本发明实施例的升级处理方法的流程图二;FIG. 2 is a second flowchart of an upgrade processing method according to an embodiment of the present invention;

图3是根据本发明实施例的升级处理装置的框图一;FIG. 3 is a first block diagram of an upgrade processing device according to an embodiment of the present invention;

图4是根据本发明优选实施例的升级处理装置的框图一;Fig. 4 is a block diagram 1 of an upgrade processing device according to a preferred embodiment of the present invention;

图5是根据本发明实施例的升级处理装置的框图二;FIG. 5 is a second block diagram of an upgrade processing device according to an embodiment of the present invention;

图6是根据本发明优选实施例的升级处理装置的框图二;Fig. 6 is a second block diagram of an upgrade processing device according to a preferred embodiment of the present invention;

图7是根据本发明实施例的物理服务器自动升级的系统架构图;FIG. 7 is a system architecture diagram of an automatic physical server upgrade according to an embodiment of the present invention;

图8是根据本发明实施例的物理服务器自动升级的流程图。Fig. 8 is a flow chart of automatic upgrading of physical servers according to an embodiment of the present invention.

具体实施方式detailed description

下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

本发明实施例提供了一种升级处理方法,图1是根据本发明实施例的升级处理方法的流程图一,如图1所示,包括:An embodiment of the present invention provides an upgrade processing method. FIG. 1 is a flowchart 1 of the upgrade processing method according to an embodiment of the present invention. As shown in FIG. 1 , it includes:

步骤S102,VIM向虚拟化网络功能管理器VNFM发送升级物理服务器的指示消息,其中,该指示消息用于指示该VNFM将该VNFM管理的虚拟机业务进行迁移;Step S102, the VIM sends an instruction message to upgrade the physical server to the virtualized network function manager VNFM, wherein the instruction message is used to instruct the VNFM to migrate the virtual machine service managed by the VNFM;

步骤S104,VIM接收该VNFM发送的允许升级该物理服务器的通知消息;Step S104, the VIM receives the notification message of allowing the upgrade of the physical server sent by the VNFM;

步骤S106,VIM关闭该物理服务器上运行的虚拟机,并对该物理服务器的管理程序进行升级处理。Step S106, the VIM shuts down the virtual machine running on the physical server, and upgrades the hypervisor of the physical server.

通过上述步骤,VIM向虚拟化网络功能管理器VNFM发送升级物理服务器的指示消息,其中,该指示消息用于指示该VNFM将该VNFM管理的虚拟机业务进行迁移;该VIM接收该VNFM发送的允许升级该物理服务器的通知消息;该VIM关闭该物理服务器上运行的虚拟机,并对该物理服务器的管理程序进行升级处理,解决了相关技术中对物理服务器进行升级存在缺陷的问题,降低了出错的可能性,保证在升级过程中业务无中断。Through the above steps, the VIM sends an instruction message to upgrade the physical server to the virtualized network function manager VNFM, wherein the instruction message is used to instruct the VNFM to migrate the virtual machine business managed by the VNFM; the VIM receives the permission sent by the VNFM Upgrade the notification message of the physical server; the VIM closes the virtual machine running on the physical server, and upgrades the management program of the physical server, which solves the problem of defects in the upgrade of the physical server in the related technology and reduces errors The possibility of ensuring no service interruption during the upgrade process.

为了确保升级之后业务的正常运行,在对该物理服务器的管理程序进行升级处理之后,该VIM开启关闭的该物理服务器上运行的虚拟机。In order to ensure the normal operation of the business after the upgrade, after the hypervisor of the physical server is upgraded, the VIM starts the virtual machine running on the closed physical server.

进一步地,在该VIM开启关闭的虚拟机之后,该VIM向该VNFM发送该物理服务器升级成功的通知消息。Further, after the VIM starts the closed virtual machine, the VIM sends a notification message that the upgrade of the physical server is successful to the VNFM.

本发明实施例还提供了一种升级处理方法,图2是根据本发明实施例的升级处理方法的流程图二,如图2所示,包括:The embodiment of the present invention also provides an upgrade processing method. FIG. 2 is a flowchart 2 of the upgrade processing method according to the embodiment of the present invention. As shown in FIG. 2 , it includes:

步骤S202,VNFM接收虚拟化基础设施管理器VIM发送的升级物理服务器的指示消息;Step S202, the VNFM receives an instruction message to upgrade the physical server sent by the virtualization infrastructure manager VIM;

步骤S204,VNFM根据该指示消息将该VNFM管理的虚拟机业务进行迁移;Step S204, the VNFM migrates the virtual machine service managed by the VNFM according to the indication message;

步骤S206,VNFM向该VIM发送允许升级该物理服务器的通知消息,该通知消息用于该VIM在接收到该通知消息之后关闭该物理服务器上运行的虚拟机,并对该物理服务器的管理程序进行升级处理。Step S206, the VNFM sends to the VIM a notification message allowing the physical server to be upgraded, and the notification message is used for the VIM to shut down the virtual machine running on the physical server after receiving the notification message, and perform the hypervisor of the physical server Escalation process.

进一步地,在该VNFM向该VIM发送允许升级该物理服务器的通知消息之后,该VNFM接收该VIM对该物理服务器升级成功的通知消息。Further, after the VNFM sends the VIM a notification message allowing the upgrade of the physical server, the VNFM receives the notification message that the VIM upgrades the physical server successfully.

进一步地,在该VNFM接收该VIM对该物理服务器升级成功的通知之后,该VNFM对管理的虚拟机业务进行恢复;在虚拟机业务恢复完成之后,该VNFM将虚拟机业务恢复的结果通知给该VIM。Further, after the VNFM receives the notification from the VIM that the physical server has been successfully upgraded, the VNFM restores the managed virtual machine service; after the virtual machine service recovery is completed, the VNFM notifies the virtual machine service recovery result to the VIM.

本发明实施例提供了一种升级处理装置,应用于虚拟化基础设施管理器VIM,图3是根据本发明实施例的升级处理装置的框图一,如图3所示,包括发送模块32、第一接收模块34和升级模块36,下面对各个模块进行简要说明。An embodiment of the present invention provides an upgrade processing device, which is applied to a virtualized infrastructure manager VIM. FIG. 3 is a block diagram 1 of an upgrade processing device according to an embodiment of the present invention. As shown in FIG. A receiving module 34 and an upgrading module 36, each module will be briefly described below.

发送模块32,用于向虚拟化网络功能管理器VNFM发送升级物理服务器的指示消息,其中,该指示消息用于指示该VNFM将该VNFM管理的虚拟机业务进行迁移;The sending module 32 is configured to send an instruction message to upgrade the physical server to the virtualized network function manager VNFM, wherein the instruction message is used to instruct the VNFM to migrate the virtual machine service managed by the VNFM;

第一接收模块34,用于接收该VNFM发送的允许升级该物理服务器的通知消息;The first receiving module 34 is configured to receive a notification message that the VNFM sends to allow upgrading the physical server;

升级模块36,用于关闭该物理服务器上运行的虚拟机,并对该物理服务器的管理程序进行升级处理。The upgrade module 36 is configured to shut down the virtual machine running on the physical server, and upgrade the hypervisor of the physical server.

图4是根据本发明优选实施例的升级处理装置的框图一,如图4所示,该装置还包括:Fig. 4 is a block diagram one of an upgrade processing device according to a preferred embodiment of the present invention. As shown in Fig. 4, the device also includes:

开启模块42,用于开启关闭的该物理服务器上运行的虚拟机。The starting module 42 is used to start the virtual machine running on the closed physical server.

本发明实施例还提供了一种升级处理装置,应用于虚拟化网络功能管理器VNFM,图5是根据本发明实施例的升级处理装置的框图二,如图5所示,包括第二接收模块52、迁移模块54和发送模块56,下面对各个模块进行简要说明。The embodiment of the present invention also provides an upgrade processing device, which is applied to the virtualized network function manager VNFM. FIG. 5 is a block diagram 2 of the upgrade processing device according to the embodiment of the present invention. As shown in FIG. 5 , it includes a second receiving module 52. Migration module 54 and sending module 56, each module will be briefly described below.

第二接收模块52,用于接收虚拟化基础设施管理器VIM发送的升级物理服务器的指示消息;The second receiving module 52 is configured to receive an instruction message for upgrading a physical server sent by the virtualization infrastructure manager VIM;

迁移模块54,用于根据该指示消息将该VNFM管理的虚拟机业务进行迁移;Migration module 54, configured to migrate the virtual machine business managed by the VNFM according to the indication message;

发送模块56,用于向该VIM发送允许升级该物理服务器的通知消息,该通知消息用于该VIM在接收到该通知消息之后关闭该物理服务器上运行的虚拟机,并对该物理服务器的管理程序进行升级处理。Sending module 56, is used for sending to this VIM the notification message that allows upgrading this physical server, and this notification message is used for this VIM closes the virtual machine that runs on this physical server after receiving this notification message, and the management of this physical server The program is upgraded.

图6是根据本发明优选实施例的升级处理装置的框图二,如图6所示,该装置还包括:Fig. 6 is a block diagram two of an upgrade processing device according to a preferred embodiment of the present invention. As shown in Fig. 6, the device also includes:

第三接收模块62,用于接收该VIM对该物理服务器升级成功的通知消息。The third receiving module 62 is configured to receive a notification message that the VIM has successfully upgraded the physical server.

下面以版本服务器为例,结合具体实施例对本发明进行进一步说明。Taking the version server as an example below, the present invention will be further described in combination with specific embodiments.

本发明实施例通过自动编排升级流程,以及通过VNFM来控制虚拟化网络功能(Virtualised Network Function,简称为VNF)上业务迁移和恢复,减少了人工参与,降低出错的可能性,重要的是还能保证在升级过程中业务无中断。图7是根据本发明实施例的物理服务器自动升级的系统架构图,如图7所示,版本服务器包括多个物理服务器,即包括多个主机,VIM检测到某个物理服务器(也可简称为服务器)的hypervisor需要升级,首先对该服务器进行维护操作,然后向各个VNFM发送将要升级该物理服务器的消息。VNFM收到消息之后,将其管理的虚拟机业务进行迁移,业务迁移完成之后,VNFM通知VIM允许升级服务器。VIM将该服务器上运行的虚拟机进行关机,之后对服务器的hypervisor进行升级操作,升级完成之后对服务器的维护状态进行恢复,再开启之前关闭的虚拟机,虚拟机开启完成之后VIM通知VNFM服务器升级成功。VNFM管理的虚拟机业务进行恢复,恢复完成之后VNFM通知VIM业务恢复结果,升级结束。The embodiment of the present invention automatically arranges the upgrade process, and controls the migration and recovery of services on the virtualized network function (Virtualized Network Function, referred to as VNF) through VNFM, which reduces manual participation and reduces the possibility of errors. Ensure that services are not interrupted during the upgrade process. Fig. 7 is a system architecture diagram according to the physical server automatic upgrade of the embodiment of the present invention, as shown in Fig. 7, version server includes a plurality of physical servers, promptly includes a plurality of mainframes, and VIM detects a certain physical server (also can be referred to as The hypervisor of the server) needs to be upgraded. First, the server is maintained, and then a message that the physical server will be upgraded is sent to each VNFM. After the VNFM receives the message, it migrates the virtual machine business it manages. After the business migration is completed, the VNFM notifies the VIM to allow the server to be upgraded. VIM shuts down the virtual machine running on the server, and then upgrades the hypervisor of the server. After the upgrade is completed, restores the maintenance status of the server, and then starts the previously closed virtual machine. After the virtual machine is turned on, VIM notifies the VNFM server to upgrade success. The virtual machine service managed by the VNFM is restored. After the restoration is completed, the VNFM notifies the VIM of the service restoration result, and the upgrade is completed.

图8是根据本发明实施例的物理服务器自动升级的流程图,如图8所示,包括以下步骤:Fig. 8 is a flowchart of an automatic upgrade of a physical server according to an embodiment of the present invention, as shown in Fig. 8, including the following steps:

步骤S802,检测物理服务器是否需要升级,在检测结果为是的情况下,执行步骤S804,在否则结束;在VIM上设置各个VNFM的消息通知地址;在版本服务器上放置待升级的目标版本信息。该步骤属于前置条件设置。VIM通过与版本服务器对比,检测到某个服务器的hypervisor版本需要升级。Step S802, detect whether the physical server needs to be upgraded, if the detection result is yes, execute step S804, otherwise end; set the message notification address of each VNFM on the VIM; place the target version information to be upgraded on the version server. This step belongs to precondition setting. VIM detects that the hypervisor version of a server needs to be upgraded by comparing it with the version server.

步骤S804,检查待升级物理服务器的维护状态,并将该状态进行记录,以便升级完成之后恢复到该状态。Step S804, check the maintenance status of the physical server to be upgraded, and record the status, so that the status can be restored after the upgrade is completed.

步骤S806,判断物理服务器是否是维护态,若当前状态是维护模式,则执行步骤S810;若当前状态是未维护模式,则执行步骤S808。In step S806, it is judged whether the physical server is in the maintenance state. If the current state is the maintenance mode, execute step S810; if the current state is the non-maintenance mode, execute step S808.

步骤S808,维护主机,需要将该服务器设置为维护模式。Step S808, to maintain the host, it is necessary to set the server to the maintenance mode.

步骤S810,发送业务迁移消息到VNFM,将服务器设置为维护模式的目的是防止在升级过程中该服务器仍然参与虚拟化的资源调度,这样其它的虚拟机就有可能启动在该服务器上,对升级过程和结果产生影响。VIM将待升级服务器以及运行其上的虚拟机的基本信息以及VIM的消息返回通知地址,以消息方式通知给各个VNFM,告知VNFM将要升级该服务器,需要迁移运行在该服务器上的VNF业务。Step S810, send a service migration message to the VNFM. The purpose of setting the server to maintenance mode is to prevent the server from still participating in virtualized resource scheduling during the upgrade process, so that other virtual machines may be started on the server, which is not conducive to the upgrade. processes and outcomes. The VIM will return the basic information of the server to be upgraded and the virtual machine running on it, and the VIM message to the notification address, and notify each VNFM in the form of a message, telling the VNFM that the server will be upgraded and the VNF business running on the server needs to be migrated.

步骤S812,VNFM收到VIM的消息之后,将其管理的VNF业务进行迁移。In step S812, after receiving the message from the VIM, the VNFM migrates the VNF services it manages.

步骤S814,关闭虚拟机。Step S814, shutting down the virtual machine.

步骤S816,下载版本文件,升级hypervisor,待业务迁移完成之后,同样以消息方式通知VIM,告知该VNFM所管理的业务已经迁移完毕,可以对该服务器的hypervisor进行升级;VIM收到各个VNFM返回的消息之后,将该服务器上当前正在运行的虚拟机进行关机,并将关机的虚拟机列表信息进行记录。待所有虚拟机关闭完成之后,VIM根据服务器当前hypervisor版本号,从版本服务器上下载需要升级到的目标版本,待版本下载完成之后,执行升级命令。Step S816, download the version file, upgrade the hypervisor, and after the service migration is completed, notify the VIM in the form of a message, informing the VNFM that the service managed by the VNFM has been migrated, and the hypervisor of the server can be upgraded; the VIM receives the information returned by each VNFM After the message is displayed, the currently running virtual machine on the server is shut down, and the list information of the shut down virtual machine is recorded. After all virtual machines are shut down, VIM downloads the target version to be upgraded from the version server according to the current hypervisor version number of the server, and executes the upgrade command after the version download is completed.

步骤S818,恢复物理服务器至未维护模式;hypervisor升级命令执行成功之后,重启服务器(是否重启需要根据目标版本的升级内容和跨度来确定);待服务器重启完毕之后,将物理服务器设置为未维护模式,以便于在该服务器上重新启动关闭的虚拟机。Step S818, restore the physical server to the non-maintenance mode; after the hypervisor upgrade command is successfully executed, restart the server (whether to restart needs to be determined according to the upgrade content and span of the target version); after the server is restarted, set the physical server to the non-maintenance mode , so that a powered-off virtual machine can be restarted on that server.

步骤S820,重新启动关闭的虚拟机。Step S820, restart the shut down virtual machine.

步骤S822,恢复服务器至保存状态;对记录的执行关机操作的虚拟机进行开启。待记录的所有虚拟机开启成功之后,判断保存的服务器状态:如果保存状态为维护模式,则对服务器执行维护操作;如果保存状态为未维护模式,则不进行任何处理。Step S822, restore the server to the saved state; start the recorded virtual machine that performs the shutdown operation. After all the virtual machines to be recorded are started successfully, judge the saved server status: if the saved status is in maintenance mode, perform maintenance operations on the server; if the saved status is in non-maintenance mode, do not perform any processing.

步骤S824,发送业务恢复消息到VNFM;服务器状态恢复之后,VIM同样以消息方式通知各个VNFM,告知VNFM主机hypervisor升级成功,需要将VNF之前迁移的业务进行恢复。Step S824, sending a service recovery message to the VNFM; after the server status is restored, the VIM also notifies each VNFM in the form of a message, informing the VNFM that the host hypervisor has been upgraded successfully, and that the service migrated by the VNF needs to be restored.

步骤S826,恢复VNF业务;VNFM收到VIM的通知消息之后,则进行VNF业务的恢复操作;VNFM完成VNF的业务恢复之后,以消息方式通知VIM该VNFM所管理VNF业务已经恢复完毕。待VIM收到所有VNFM的返回消息之后,升级结束。Step S826, restore the VNF service; after the VNFM receives the notification message from the VIM, it resumes the VNF service; after the VNFM completes the restoration of the VNF service, it notifies the VIM that the VNF service managed by the VNFM has been restored by means of a message. After the VIM receives the return messages from all VNFMs, the upgrade ends.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1.一种升级处理方法,其特征在于,包括:1. An upgrade processing method, characterized in that, comprising: 虚拟化基础设施管理器VIM向虚拟化网络功能管理器VNFM发送升级物理服务器的指示消息,其中,所述指示消息用于指示所述VNFM将所述VNFM管理的虚拟机业务进行迁移;The virtualized infrastructure manager VIM sends an instruction message to upgrade the physical server to the virtualized network function manager VNFM, wherein the instruction message is used to instruct the VNFM to migrate the virtual machine service managed by the VNFM; 所述VIM接收所述VNFM发送的允许升级所述物理服务器的通知消息;The VIM receives a notification message from the VNFM that allows upgrading the physical server; 所述VIM关闭所述物理服务器上运行的虚拟机,并对所述物理服务器的管理程序进行升级处理。The VIM shuts down the virtual machine running on the physical server, and upgrades the hypervisor of the physical server. 2.根据权利要求1所述的方法,其特征在于,在对所述物理服务器的管理程序进行升级处理之后,所述方法还包括:2. The method according to claim 1, characterized in that, after the management program of the physical server is upgraded, the method further comprises: 所述VIM开启关闭的所述物理服务器上运行的虚拟机。The VIM starts and closes the virtual machine running on the physical server. 3.根据权利要求2所述的方法,其特征在于,在所述VIM开启关闭的虚拟机之后,所述方法还包括:3. The method according to claim 2, characterized in that, after the VIM starts and closes the virtual machine, the method further comprises: 所述VIM向所述VNFM发送所述物理服务器升级成功的通知消息。The VIM sends a notification message that the upgrade of the physical server is successful to the VNFM. 4.一种升级处理方法,其特征在于,包括:4. An upgrade processing method, characterized in that, comprising: 虚拟化网络功能管理器VNFM接收虚拟化基础设施管理器VIM发送的升级物理服务器的指示消息;The virtualized network function manager VNFM receives the instruction message for upgrading the physical server sent by the virtualized infrastructure manager VIM; 所述VNFM根据所述指示消息将所述VNFM管理的虚拟机业务进行迁移;The VNFM migrates the virtual machine service managed by the VNFM according to the indication message; 所述VNFM向所述VIM发送允许升级所述物理服务器的通知消息,所述通知消息用于所述VIM在接收到所述通知消息之后关闭所述物理服务器上运行的虚拟机,并对所述物理服务器的管理程序进行升级处理。The VNFM sends a notification message allowing the physical server to be upgraded to the VIM, and the notification message is used for the VIM to shut down the virtual machine running on the physical server after receiving the notification message, and to update the The hypervisor of the physical server performs the upgrade process. 5.根据权利要求4所述的方法,其特征在于,在所述VNFM向所述VIM发送允许升级所述物理服务器的通知消息之后,所述方法还包括:5. The method according to claim 4, characterized in that, after the VNFM sends a notification message allowing the physical server to be upgraded to the VIM, the method further comprises: 所述VNFM接收所述VIM对所述物理服务器升级成功的通知消息。The VNFM receives a notification message that the VIM upgrades the physical server successfully. 6.根据权利要求5所述的方法,其特征在于,在所述VNFM接收所述VIM对所述物理服务器升级成功的通知之后,所述方法还包括:6. The method according to claim 5, wherein, after the VNFM receives the VIM notification that the physical server is successfully upgraded, the method further comprises: 所述VNFM对管理的虚拟机业务进行恢复;The VNFM restores the managed virtual machine services; 在虚拟机业务恢复完成之后,所述VNFM将虚拟机业务恢复的结果通知给所述VIM。After the service recovery of the virtual machine is completed, the VNFM notifies the VIM of the result of service recovery of the virtual machine. 7.一种升级处理装置,其特征在于,应用于虚拟化基础设施管理器VIM,包括:7. An upgrade processing device, characterized in that it is applied to a virtualization infrastructure manager VIM, comprising: 发送模块,用于向虚拟化网络功能管理器VNFM发送升级物理服务器的指示消息,其中,所述指示消息用于指示所述VNFM将所述VNFM管理的虚拟机业务进行迁移;A sending module, configured to send an instruction message for upgrading a physical server to a virtualized network function manager VNFM, wherein the instruction message is used to instruct the VNFM to migrate the virtual machine services managed by the VNFM; 第一接收模块,用于接收所述VNFM发送的允许升级所述物理服务器的通知消息;A first receiving module, configured to receive a notification message sent by the VNFM to allow upgrading of the physical server; 升级模块,用于关闭所述物理服务器上运行的虚拟机,并对所述物理服务器的管理程序进行升级处理。The upgrade module is used to shut down the virtual machine running on the physical server, and upgrade the hypervisor of the physical server. 8.根据权利要求7所述的装置,其特征在于,所述装置还包括:8. The device according to claim 7, further comprising: 开启模块,用于开启关闭的所述物理服务器上运行的虚拟机。The starting module is used to start the virtual machine running on the closed physical server. 9.一种升级处理装置,其特征在于,应用于虚拟化网络功能管理器VNFM,包括:9. An upgrade processing device, characterized in that it is applied to a virtualized network function manager VNFM, comprising: 第二接收模块,用于接收虚拟化基础设施管理器VIM发送的升级物理服务器的指示消息;The second receiving module is configured to receive an instruction message for upgrading a physical server sent by the virtualization infrastructure manager VIM; 迁移模块,用于根据所述指示消息将所述VNFM管理的虚拟机业务进行迁移;A migration module, configured to migrate the virtual machine service managed by the VNFM according to the indication message; 发送模块,用于向所述VIM发送允许升级所述物理服务器的通知消息,所述通知消息用于所述VIM在接收到所述通知消息之后关闭所述物理服务器上运行的虚拟机,并对所述物理服务器的管理程序进行升级处理。A sending module, configured to send to the VIM a notification message that allows upgrading the physical server, the notification message is used for the VIM to close the virtual machine running on the physical server after receiving the notification message, and to The management program of the physical server performs an upgrade process. 10.根据权利要求9所述的装置,其特征在于,所述装置还包括:10. The device according to claim 9, further comprising: 第三接收模块,用于接收所述VIM对所述物理服务器升级成功的通知消息。The third receiving module is configured to receive a notification message that the VIM upgrades the physical server successfully.
CN201510659275.0A 2015-10-12 2015-10-12 Method and device for upgrade processing Withdrawn CN106569871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510659275.0A CN106569871A (en) 2015-10-12 2015-10-12 Method and device for upgrade processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510659275.0A CN106569871A (en) 2015-10-12 2015-10-12 Method and device for upgrade processing

Publications (1)

Publication Number Publication Date
CN106569871A true CN106569871A (en) 2017-04-19

Family

ID=58508742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510659275.0A Withdrawn CN106569871A (en) 2015-10-12 2015-10-12 Method and device for upgrade processing

Country Status (1)

Country Link
CN (1) CN106569871A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874411A (en) * 2017-05-12 2018-11-23 华为技术有限公司 A kind of method and related system of system infrastructure upgrading
CN108958889A (en) * 2018-07-12 2018-12-07 郑州云海信息技术有限公司 The management method and device of virtual machine in cloud data system
CN109324820A (en) * 2018-11-01 2019-02-12 郑州云海信息技术有限公司 A method, device, device and medium for updating a host
CN109391482A (en) * 2017-08-02 2019-02-26 华为技术有限公司 The upgrade method and updating and management entity of network function
CN111522569A (en) * 2020-05-09 2020-08-11 中瓴智行(成都)科技有限公司 Hypervisor-based embedded multi-system upgrading method and computer-readable storage medium
CN111897554A (en) * 2019-05-06 2020-11-06 中兴通讯股份有限公司 Upgrading method, device and system
WO2021027689A1 (en) * 2019-08-09 2021-02-18 华为技术有限公司 Network function virtualization-based version upgrade method and device
WO2023050947A1 (en) * 2021-09-29 2023-04-06 中兴通讯股份有限公司 Network upgrade method, electronic device and storage medium
WO2024140131A1 (en) * 2022-12-30 2024-07-04 华为技术有限公司 Software upgrading method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876883A (en) * 2009-11-30 2010-11-03 英业达股份有限公司 Method for Keeping Remote Operation of Virtual Machine Uninterrupted
US20140297864A1 (en) * 2013-03-27 2014-10-02 Ericsson Ab Method and system to allocate bandwidth for heterogeneous bandwidth request in cloud computing networks
CN104320274A (en) * 2014-10-24 2015-01-28 华为技术有限公司 Disaster tolerance method and device
WO2015099036A1 (en) * 2013-12-27 2015-07-02 株式会社Nttドコモ Management system, overall management node, and management method
CN104869023A (en) * 2015-05-29 2015-08-26 华为技术有限公司 Method, device and system for time correction

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876883A (en) * 2009-11-30 2010-11-03 英业达股份有限公司 Method for Keeping Remote Operation of Virtual Machine Uninterrupted
US20140297864A1 (en) * 2013-03-27 2014-10-02 Ericsson Ab Method and system to allocate bandwidth for heterogeneous bandwidth request in cloud computing networks
WO2015099036A1 (en) * 2013-12-27 2015-07-02 株式会社Nttドコモ Management system, overall management node, and management method
CN104320274A (en) * 2014-10-24 2015-01-28 华为技术有限公司 Disaster tolerance method and device
CN104869023A (en) * 2015-05-29 2015-08-26 华为技术有限公司 Method, device and system for time correction

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874411A (en) * 2017-05-12 2018-11-23 华为技术有限公司 A kind of method and related system of system infrastructure upgrading
CN109391482B (en) * 2017-08-02 2021-01-29 华为技术有限公司 Network function upgrading method and upgrading management entity
CN109391482A (en) * 2017-08-02 2019-02-26 华为技术有限公司 The upgrade method and updating and management entity of network function
CN108958889A (en) * 2018-07-12 2018-12-07 郑州云海信息技术有限公司 The management method and device of virtual machine in cloud data system
CN109324820B (en) * 2018-11-01 2021-12-17 郑州云海信息技术有限公司 Host updating method, device, equipment and medium
CN109324820A (en) * 2018-11-01 2019-02-12 郑州云海信息技术有限公司 A method, device, device and medium for updating a host
CN111897554A (en) * 2019-05-06 2020-11-06 中兴通讯股份有限公司 Upgrading method, device and system
WO2020224421A1 (en) * 2019-05-06 2020-11-12 中兴通讯股份有限公司 Upgrade method, apparatus and system, and storage medium
WO2021027689A1 (en) * 2019-08-09 2021-02-18 华为技术有限公司 Network function virtualization-based version upgrade method and device
CN111522569A (en) * 2020-05-09 2020-08-11 中瓴智行(成都)科技有限公司 Hypervisor-based embedded multi-system upgrading method and computer-readable storage medium
CN111522569B (en) * 2020-05-09 2023-08-18 中瓴智行(成都)科技有限公司 Hypervisor-based embedded multi-system upgrading method and computer readable storage medium
WO2023050947A1 (en) * 2021-09-29 2023-04-06 中兴通讯股份有限公司 Network upgrade method, electronic device and storage medium
WO2024140131A1 (en) * 2022-12-30 2024-07-04 华为技术有限公司 Software upgrading method and apparatus

Similar Documents

Publication Publication Date Title
CN106569871A (en) Method and device for upgrade processing
US11416342B2 (en) Automatically configuring boot sequence of container systems for disaster recovery
US9507586B2 (en) Virtual machine based controller and upgrade mechanism
JP6025136B2 (en) Method and computer program for dynamic software version selection
US9960963B2 (en) Dynamic client fail-over during a rolling patch installation based on temporal server conditions
US9965304B2 (en) Delayed hardware upgrades in virtualization systems
CN102708018B (en) An exception handling method and system, agent equipment and control device
CN113032085A (en) Management method, device, server, management system and medium of cloud operating system
US9483314B2 (en) Systems and methods for fault tolerant batch processing in a virtual environment
US20120159473A1 (en) Early network notification in live migration
US20150278041A1 (en) Vm availability during management and vm network failures in host computing systems
EP2864873B1 (en) Auto-update while running a client software application with update handshake between versions and runtime validation of the successor version
CN105681060A (en) Virtualization network function management upgrading method and apparatus and virtualization network function management server
CN103595801B (en) Cloud computing system and real-time monitoring method for virtual machine in cloud computing system
KR20120052406A (en) Firmware image update and management
US10942831B2 (en) Automating and monitoring rolling cluster reboots
WO2016177260A1 (en) Libvirt software hot upgrading method and device
CN105468717A (en) Database operation method and device
WO2018095414A1 (en) Method and apparatus for detecting and recovering fault of virtual machine
WO2016045439A1 (en) Vnfm disaster-tolerant protection method and device, nfvo and storage medium
CN111641515A (en) VNF life cycle management method and device
CN108319492B (en) Method, device and system for resetting a physical machine
US20250342050A1 (en) Lifecycle and recovery for virtualized dpu management operating systems
CN107911467A (en) A kind of the service operations management system and method for scripting operation
CN110795211A (en) Method and device for upgrading configuration of virtual machine, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20170419