Method and related apparatus for upgrading virtualized resource pool

By using an automated virtualization resource pool upgrade method, the problem of low efficiency in existing technologies is solved, enabling efficient and accurate Power virtualization resource pool upgrades without human intervention, thus meeting the needs of batch upgrades.

CN115964059BActive Publication Date: 2026-04-17CHINA CONSTRUCTION BANK
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA CONSTRUCTION BANK
Filing Date
2022-12-09
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Upgrading the existing Power virtualization resource pool requires human-computer interaction and manual operation, which is inefficient and inaccurate, and cannot meet the needs of batch upgrades.

Method used

This paper provides an automated method for upgrading virtualized resource pools. The method involves obtaining a server list, distributing upgrade packages, verifying files, setting the SEA network card to standby status, uninstalling temporary patches, checking installation packages, calling openssl to connect to the upgrade patch, and restarting the server, thus achieving an upgrade process without human intervention.

Benefits of technology

It enables efficient and accurate upgrades of Power virtualization resource pools, reducing manpower costs and time consumption, and improving upgrade efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115964059B_ABST
    Figure CN115964059B_ABST
Patent Text Reader

Abstract

This invention discloses a method and related apparatus for upgrading a virtualized resource pool. The method involves: obtaining a list of servers to be upgraded in the Power virtualized resource pool; for any given server, sending a corresponding upgrade package to the corresponding virtual I / O server; verifying the files on the virtual I / O server; if all files pass verification, setting the SEA network interface card of the virtual I / O server to standby mode; checking and uninstalling temporary patches for the virtual I / O server; checking for unsubmitted installation packages in the operating system of the virtual I / O server; if no unsubmitted installation packages exist in the operating system, using OpenSSL to connect and upgrade the patches for the virtual I / O server; and restarting the virtual I / O server to complete the upgrade of the virtual I / O servers in the Power virtualized resource pool. This invention can automatically upgrade virtual I / O servers without manual intervention, offering high efficiency and accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computers, and in particular to a method and apparatus for upgrading a virtualized resource pool. Background Technology

[0002] In cloud infrastructure architecture, virtualization technology is the foundation of cloud computing. Virtualization organizes computing resources into different resource pools according to various standards. Users can define different computing resource pools based on different computing resource attributes, such as high-performance computing resource pools, high-storage-capacity resource pools, transaction processing server resource pools, etc. They can also create resource pools according to their own definitions, such as database resource pools, middleware resource pools, or other specific needs. The definition mode of resource pools is flexible and convenient. Based on PowerVM virtualization technology, PowerVM resource pools consisting of one or more CDPs can be created. PowerVM resource pools typically adopt a dual-virtual I / O server architecture, which can improve the performance, availability, and maintainability of the PowerVM virtualization environment.

[0003] In practical use, due to various reasons such as software design, functionality improvement, and vulnerability patching, it is necessary to upgrade the Power virtualization resource pool. Upgrading the Power virtualization resource pool is essentially upgrading the virtual I / O server. Currently, upgrades are generally performed following the official upgrade implementation steps, which requires human-computer interaction and manual operation, resulting in low efficiency and accuracy. Summary of the Invention

[0004] In view of the above problems, the present invention provides a virtualization resource pool upgrade method and related apparatus to overcome the above problems or at least partially solve the above problems.

[0005] Firstly, a method for upgrading a virtualized resource pool includes:

[0006] Obtain a list of servers to be upgraded in the Power virtualization resource pool, wherein the server list records server information of multiple virtual IO servers to be upgraded;

[0007] For any of the server information, a corresponding upgrade package is sent to the virtual IO server corresponding to the server information;

[0008] The files of the virtual I / O server are verified, including the files in the upgrade package, the configuration file of the virtual I / O server's OpenSSL link, and the installation file of the OpenSSL tool.

[0009] If all the files pass the verification, the SEA network card of the virtual IO server is set to standby mode.

[0010] Check and uninstall the temporary patch for the virtual I / O server;

[0011] Check if there are any unsubmitted installation packages in the operating system of the virtual I / O server;

[0012] If the unsubmitted installation package does not exist in the operating system, then the openssl link is invoked to upgrade the patch of the virtual I / O server;

[0013] Restart the virtual I / O server to complete the upgrade of the virtual I / O server in the Power virtualization resource pool.

[0014] In conjunction with the first aspect, in some optional implementations, the verification of files on the virtual I / O server includes:

[0015] Execute the file verification command for the files in the upgrade package to verify whether the upgrade package matches the virtual I / O server;

[0016] Check if the configuration file for the openssl link and the installation file for the openssl tool exist in the virtual I / O server;

[0017] If the upgrade package matches the virtual I / O server, and the virtual I / O server contains the configuration file for the openssl link and the installation file for the openssl tool, then all the files are determined to have passed the verification.

[0018] In conjunction with the first aspect, in some optional implementations, the step of setting the SEA network interface card of the virtual I / O server to standby status if all the files pass verification includes:

[0019] If all the files pass the verification, the production network card in the SEA network card of the virtual IO server will be set to standby status by switching command.

[0020] In conjunction with the first aspect, in some alternative implementations, the checking and uninstallation of the temporary patch for the virtual I / O server includes:

[0021] The temporary patch is checked by executing a patch check command.

[0022] If the virtual I / O server has the temporary patch installed, then uninstall the temporary patch.

[0023] In conjunction with the first aspect, in some optional implementations, checking whether there are unsubmitted installation packages in the operating system of the virtual I / O server includes:

[0024] By executing the installation package check command, the system checks whether there are any unsubmitted installation packages in the AIX operating system of the virtual I / O server.

[0025] In conjunction with the previous implementation, in some optional implementations, after checking whether there are unsubmitted installation packages in the AIX operating system of the virtual I / O server by executing the installation package check instruction, the method further includes:

[0026] If the AIX operating system of the virtual I / O server contains an unsubmitted installation package, the installation package is submitted by executing the corresponding installation package submission command.

[0027] In conjunction with the first aspect, in some alternative implementations, before restarting the virtual I / O server to complete the upgrade of the virtual I / O server in the Power virtualization resource pool, the method further includes:

[0028] Modify the target configuration file of the virtual I / O server, wherein the target configuration file includes at least the / etc / ssh / sshd_config file.

[0029] In conjunction with the first aspect, in some optional embodiments, after sending the corresponding upgrade package to the virtual I / O server corresponding to any of the server information, the method further includes:

[0030] Extract the upgrade package to the specified directory of the corresponding virtual I / O server.

[0031] Secondly, a virtualization resource pool upgrade device includes: a list acquisition unit, an upgrade package distribution unit, a file verification unit, a network card setting unit, a patch uninstallation unit, an installation package checking unit, a patch upgrade unit, and a server restart unit.

[0032] The list obtaining unit is used to obtain a list of servers to be upgraded in the Power virtualization resource pool, wherein the server list records server information of multiple virtual IO servers to be upgraded;

[0033] The upgrade package distribution unit is used to distribute a corresponding upgrade package to the virtual IO server corresponding to any of the server information.

[0034] The file verification unit is used to verify the files of the virtual I / O server, wherein the files include files in the upgrade package, configuration files for the OpenSSL link of the virtual I / O server, and installation files for the OpenSSL tools;

[0035] The network card setting unit is used to set the SEA network card of the virtual IO server to standby state if all the files pass the verification.

[0036] The patch uninstallation unit is used to check and uninstall temporary patches for the virtual I / O server.

[0037] The installation package checking unit is used to check whether there are any unsubmitted installation packages in the operating system of the virtual IO server;

[0038] The patch upgrade unit is used to call the openssl link to upgrade the patch of the virtual I / O server if the unsubmitted installation package does not exist in the operating system.

[0039] The server restart unit is used to restart the virtual IO server to complete the upgrade of the virtual IO server in the Power virtualization resource pool.

[0040] Thirdly, an electronic device includes at least one processor, at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; the processor is used to call program instructions in the memory to execute the virtualization resource pool upgrade method described in any of the preceding claims.

[0041] By employing the above technical solution, the present invention provides a virtualization resource pool upgrade method and related apparatus. This method involves obtaining a list of servers to be upgraded in a Power virtualization resource pool, wherein the server list records server information for multiple virtual I / O servers to be upgraded; for any given server information, issuing a corresponding upgrade package to the corresponding virtual I / O server; verifying the files of the virtual I / O server, wherein the files include files from the upgrade package, the configuration file for the virtual I / O server's OpenSSL link, and the installation file for the OpenSSL tool; if all files pass verification, setting the SEA network card of the virtual I / O server to standby status; checking and uninstalling temporary patches for the virtual I / O server; checking whether there are any unsubmitted installation packages in the operating system of the virtual I / O server; if no unsubmitted installation packages exist in the operating system, calling the OpenSSL link to upgrade the patch of the virtual I / O server; and restarting the virtual I / O server to complete the upgrade of the virtual I / O servers in the Power virtualization resource pool. Therefore, the present invention can automatically upgrade virtual I / O servers without manual intervention, achieving high efficiency and accuracy.

[0042] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0043] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:

[0044] Figure 1 A flowchart of a virtualization resource pool upgrade method provided by the present invention is shown;

[0045] Figure 2 This diagram illustrates the structure of a virtualization resource pool upgrade device provided by the present invention.

[0046] Figure 3 A schematic diagram of the structure of an electronic device provided by the present invention is shown. Detailed Implementation

[0047] PowerVM is an industry-leading family of virtualization technologies offered on POWER processor-based hardware platforms. It is a new and unified brand for IBM Power System virtualization technologies (Logical Partitioning, Micro-partitioning, Hypervisor, Virtual I / O Server, APV, PowerVM Lx86, Live Partition Mobility). PowerVM's main functions include: 1. Micro-partitioning: Chip-level virtualization technology that partitions CPU resources in units of 1 / 10 of the CPU and adjusts resources in units of 1 / 100; 2. Virtual I / O Server: VIOS enables sharing of Ethernet, SCSI, and Fibre Channel disks; 3. Live Partition Mobility (LPM): LPM enables the real-time migration of a running logical partition to another physical server.

[0048] In cloud infrastructure architecture, virtualization technology is the foundation of cloud computing. Virtualization organizes computing resources into different resource pools according to various standards. Users can define different computing resource pools based on different computing resource attributes, such as high-performance computing resource pools, high-storage-capacity resource pools, transaction processing server resource pools, etc. They can also create resource pools according to their own definitions, such as database resource pools, middleware resource pools, or other specific needs. The definition mode of resource pools is flexible and convenient. Based on PowerVM virtualization technology, PowerVM resource pools consisting of one or more CDPs can be created. PowerVM resource pools typically adopt a dual-virtual I / O server architecture, which can improve the performance, availability, and maintainability of the PowerVM virtualization environment.

[0049] In practical use, due to various reasons such as software design, functionality improvement, and vulnerability patching, it is necessary to upgrade the Power virtualization resource pool. Upgrading the Power virtualization resource pool is essentially upgrading the virtual I / O servers. Currently, upgrades are generally performed according to the official upgrade implementation steps, requiring human-computer interaction and manual operation, lacking an automated process; the operation steps are complex and prone to errors; there is a real need for batch upgrades of virtual I / O servers, and manually upgrading them one by one would consume significant time and manpower costs.

[0050] This invention introduces a method and related apparatus for upgrading a virtualized resource pool. By constructing a script system, standardized upgrade steps are provided to automatically and rapidly upgrade the Power virtualized resource pool.

[0051] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

[0052] like Figure 1 As shown, the present invention provides a method for upgrading a virtualized resource pool, including: S100, S200, S300, S400, S500, S600, S700 and S800;

[0053] S100. Obtain a list of servers to be upgraded in the Power virtualization resource pool, wherein the server list records server information of multiple virtual IO servers to be upgraded.

[0054] Optionally, the Power virtualization resource pool may contain one or more virtual I / O servers awaiting upgrade; therefore, the entity executing this invention can obtain the corresponding server list. This invention does not limit the server information recorded for each virtual I / O server in the server list. For example, the server information mentioned in this invention may include: the virtual I / O server's IP address, hostname, CDP configuration, and HMC management configuration, etc., and this invention does not limit this information.

[0055] Optionally, the server information and the virtual I / O server can correspond one-to-one. That is, one virtual I / O server corresponds to one piece of server information, and one piece of server information can include all the above-mentioned information; this invention does not impose any limitations on this.

[0056] S200. For any of the server information, send a corresponding upgrade package to the virtual IO server corresponding to the server information;

[0057] Optionally, for any server information, i.e., for any virtual I / O server, this invention can obtain the corresponding virtual I / O server's upgrade package. It should be noted that this invention does not restrict the source or acquisition method of the upgrade package. For example, this invention can pre-download the upgrade package from the official website, copy it to an FTP server, and then distribute the corresponding upgrade package to each virtual I / O server through the FTP server. Of course, each virtual I / O server can also actively download the corresponding upgrade package from the FTP server; this invention does not restrict this.

[0058] Optionally, this invention can directly send the decompressed upgrade package to the virtual I / O server, or it can send the compressed package to the virtual I / O server first and then decompress it, thereby improving efficiency. That is, combining... Figure 1 In some optional embodiments, after S200, the method further includes: decompressing the upgrade package to a specified directory of the corresponding virtual I / O server.

[0059] Optionally, the present invention does not impose specific restrictions on the instruction directory, and the corresponding directory path can be set according to actual needs.

[0060] S300. Verify the files of the virtual IO server, wherein the files include the files in the upgrade package, the configuration file of the virtual IO server's OpenSSL link, and the installation file of the OpenSSL tool;

[0061] Optionally, concepts such as OpenSSL links and Penssl tools are well-known in the art, and this invention will not elaborate on them further; please refer to relevant descriptions in the art for details. It should be noted that this invention does not impose specific limitations on the verification process of the aforementioned files; any feasible method falls within the protection scope of this invention.

[0062] For example, combining Figure 1 In some optional embodiments, the illustrated implementation includes steps 1.1, 1.2, and 1.3.

[0063] Step 1.1: Execute the file verification command for the files in the upgrade package to verify whether the upgrade package matches the virtual I / O server;

[0064] Optionally, the upgrade package includes a file "ck_sum.bff", which can be used to verify the correctness of all files within the upgrade package. For example, taking the upgrade package VIOS2.2.6.10.tar as an example: 1. Unzip the upgrade package to " / home / backupfile / VIOS2.2.6.10"; 2. Copy the "ck_sum.bff" file to the "padmin" user directory using "cp / home / backupfile / VIOS2.2.6.10 / ck_sum.bff / home / padmin"; 3. Execute the file verification command " / home / padmin / ck_sum.bff / home / backupfile / VIOS2.2.6.10", and then observe whether the output shows "All VIOS update files verified correctly". If so, the upgrade package has passed verification; otherwise, it has failed verification.

[0065] Step 1.2: Check if the configuration file for the openssl link and the installation file for the openssl tool exist in the virtual I / O server;

[0066] Optionally, following the official steps, upgrading the virtual I / O server requires using the OpenSSL tool and creating a symbolic link "ln -s / usr / bin / openssl / usr / ios / utils / openssl". Therefore, this invention can check whether the OpenSSL configuration file and the OpenSSL tool installation file exist in the virtual I / O server.

[0067] Optionally, there is no necessary order of execution between steps 1.1 and 1.2. Step 1.1 can be executed first, or step 1.2 can be executed first, or steps 1.1 and 1.2 can be executed in parallel. This invention does not impose any restrictions on this.

[0068] Step 1.3: If the upgrade package matches the virtual IO server, and the virtual IO server contains the configuration file for the openssl link and the installation file for the openssl tool, then all the files are verified.

[0069] Optionally, if the upgrade package does not match the virtual I / O server, a matching upgrade package can be re-delivered to the virtual I / O server; if the configuration file for the openssl link exists in the virtual I / O server, relevant personnel can be reminded to configure the configuration file; if the installation file for the openssl tool does not exist, it indicates that the openssl tool is not installed, and the installation of the openssl tool can be controlled. This invention does not impose any restrictions on this.

[0070] S400. If all the files pass the verification, the SEA network card of the virtual IO server is set to standby mode.

[0071] Optionally, the SEA network interface card (NIC) is a well-known concept in the art, and this invention will not elaborate on it further; please refer to relevant descriptions in the art for details. It should be noted that, as mentioned above, this invention generally employs a dual-virtual I / O server architecture. Therefore, both virtual I / O servers have corresponding SEA NICs. When upgrading one virtual I / O server, the SEA NIC of that server needs to be set to standby mode. To avoid affecting the operation of related systems, the SEA NIC of the other virtual I / O server, which does not currently require upgrading, can also be set to active mode.

[0072] For example, initially, the production network interface card (NIC) of virtual I / O server 1 is in Primary state, while the management NIC and heartbeat NIC are in Standby state; the production NIC of virtual I / O server 2 is in Standby state, while the management NIC and heartbeat NIC are in Primary state. Before upgrading, it is necessary to switch the production NIC of the virtual I / O server 1 to be upgraded to Standby state. The switching command is: chdev-dev entxx-attr ha_mode=standby. This invention does not impose any restrictions on this.

[0073] That is, combining Figure 1 In some optional embodiments of the illustrated implementation, S400 includes:

[0074] If all the files pass the verification, the production network card in the SEA network card of the virtual IO server will be set to standby status by switching command.

[0075] S500, Check and uninstall the temporary patch for the virtual IO server;

[0076] Optionally, the upgrade package is usually a large patch set containing multiple patches. If the virtual I / O server has already upgraded some of the temporary patches in the package, these need to be uninstalled before upgrading; otherwise, the upgrade cannot be completed.

[0077] For example, combining Figure 1 In some optional embodiments of the illustrated implementation, S500 includes:

[0078] The temporary patch is checked by executing a patch check command.

[0079] Optionally, the patch checking command mentioned in this invention can be "emgr -l 2", and this invention does not limit it.

[0080] If the virtual I / O server has the temporary patch installed, then uninstall the temporary patch.

[0081] S600. Check if there are any unsubmitted installation packages in the operating system of the virtual IO server;

[0082] Optionally, taking the AIX operating system as an example, there may be installation packages in the APPLIED state that have not been committed. These packages need to be committed before the upgrade can continue. The command to check the installation package can be "lslpp -l|grep APPLIED", and the command to commit the installation package can be " / usr / ios / cli / ioscli updateios-commit". This invention does not impose any restrictions on these commands.

[0083] For example, combining Figure 1 In some optional embodiments of the illustrated implementation, S600 includes:

[0084] By executing the installation package check command, the system checks whether there are any unsubmitted installation packages in the AIX operating system of the virtual I / O server.

[0085] For example, in conjunction with the previous embodiment, in some optional embodiments, after checking whether there are unsubmitted installation packages in the AIX operating system of the virtual I / O server by executing the installation package check instruction, the method further includes:

[0086] If the AIX operating system of the virtual I / O server contains an unsubmitted installation package, the installation package is submitted by executing the corresponding installation package submission command.

[0087] S700. If the unsubmitted installation package does not exist in the operating system, then the openssl link is invoked to upgrade the patch of the virtual IO server.

[0088] Optionally, this invention can automatically upgrade patches by calling an OpenSSL link, without manual intervention, which is highly efficient. For example, executing the command " / usr / ios / cli / ioscli updateios-accept-install-dev / home / backupfile / VIOS2.2.6.10" is not a limitation of this invention.

[0089] S800. Restart the virtual IO server to complete the upgrade of the virtual IO server in the Power virtualization resource pool.

[0090] Optionally, this invention does not impose specific restrictions on the method of restarting the virtual I / O server. For example, the command " / usr / ios / cli / ioscli shutdown –restart" can be executed to restart the virtual I / O server.

[0091] Optionally, before rebooting, this invention can also modify configuration files such as ` / etc / ssh / sshd_config` to ensure root user login authorization. For example, combined with... Figure 1 In some optional embodiments, prior to S800, the method further includes:

[0092] Modify the target configuration file of the virtual I / O server, wherein the target configuration file includes at least the / etc / ssh / sshd_config file.

[0093] For example, this invention can remove the "#" at the beginning of the line "#PermitRootLogin yes" in the / etc / ssh / shd_config file and restart the sshd service or host to allow the root user to access it.

[0094] Optionally, after a reboot, the present invention can also check the system version, system services, and processes, etc. For example, by executing the command " / usr / ios / cli / ioscli ioslevel", the present invention does not impose any limitations on this.

[0095] Optionally, any virtual I / O server can be automatically upgraded through the process provided by this invention without manual intervention, which is highly efficient and accurate.

[0096] like Figure 2 As shown, the present invention provides a virtualization resource pool upgrade device, including: a list acquisition unit 100, an upgrade package distribution unit 200, a file verification unit 300, a network card setting unit 400, a patch uninstallation unit 500, an installation package checking unit 600, a patch upgrade unit 700, and a server restart unit 800.

[0097] The list obtaining unit 100 is used to obtain a list of servers to be upgraded in the Power virtualization resource pool, wherein the server list records server information of multiple virtual IO servers to be upgraded.

[0098] The upgrade package distribution unit 200 is used to distribute a corresponding upgrade package to the virtual IO server corresponding to any of the server information.

[0099] The file verification unit 300 is used to verify the files of the virtual IO server, wherein the files include files in the upgrade package, configuration files for the virtual IO server's OpenSSL link, and installation files for the OpenSSL tools;

[0100] The network card setting unit 400 is used to set the SEA network card of the virtual IO server to standby state if all the files pass the verification.

[0101] The patch uninstallation unit 500 is used to check and uninstall temporary patches for the virtual IO server.

[0102] The installation package checking unit 600 is used to check whether there are any unsubmitted installation packages in the operating system of the virtual IO server;

[0103] The patch upgrade unit 700 is used to call the openssl link to upgrade the patch of the virtual IO server if the unsubmitted installation package does not exist in the operating system.

[0104] The server restart unit 800 is used to restart the virtual IO server to complete the upgrade of the virtual IO server in the Power virtualization resource pool.

[0105] Combination Figure 2 In some optional embodiments, the file verification unit 300, as shown in the implementation, includes: an upgrade package verification subunit, a file verification subunit, and a first result subunit;

[0106] The upgrade package verification subunit is used to execute file verification commands for the files in the upgrade package, thereby verifying whether the upgrade package matches the virtual I / O server.

[0107] The file verification subunit is used to check whether the configuration file for the openssl link and the installation file for the openssl tool exist in the virtual I / O server;

[0108] The first result subunit is configured to determine that all the files have passed the verification if the upgrade package matches the virtual IO server and the virtual IO server contains the configuration file of the openssl link and the installation file of the openssl tool.

[0109] Combination Figure 2 In some optional embodiments, the network interface card (NIC) setting unit 400, as shown in the embodiments, includes: a NIC setting subunit;

[0110] The network card setting subunit is used to set the production network card in the SEA network card of the virtual IO server to standby status by means of a switching command if all the files pass the verification.

[0111] Combination Figure 2 In some optional embodiments, the patch unloading unit 500 shown includes: a patch checking subunit and a patch unloading subunit;

[0112] The patch checking subunit is used to check whether the virtual IO server has the temporary patch installed by executing a patch checking command;

[0113] The patch uninstallation subunit is used to uninstall the temporary patch if the virtual I / O server has the temporary patch installed.

[0114] Combination Figure 2 In some optional embodiments, the installation package checking unit 600, as shown in the embodiments, includes an installation package checking subunit;

[0115] The installation package checking subunit is used to check whether there are any unsubmitted installation packages in the AIX operating system of the virtual IO server by executing installation package checking instructions.

[0116] In conjunction with the previous embodiment, in some optional embodiments, the apparatus further includes: an installation package submission unit;

[0117] The installation package submission unit is used to submit the installation package by executing a corresponding installation package submission command if, after checking whether there is an unsubmitted installation package in the AIX operating system of the virtual IO server by executing the installation package check instruction, the unsubmitted installation package exists in the AIX operating system of the virtual IO server.

[0118] Combination Figure 2 In some optional embodiments, the apparatus further includes a file modification unit as shown in the embodiments.

[0119] The file modification unit is used to modify the target configuration file of the virtual IO server before restarting the virtual IO server to complete the upgrade of the virtual IO server in the Power virtualization resource pool, wherein the target configuration file includes at least the / etc / ssh / sshd_config file.

[0120] Combination Figure 2 In some optional embodiments, the apparatus further includes an upgrade package decompression unit as shown in the embodiments illustrated.

[0121] The upgrade package decompression unit is used to decompress the upgrade package to a specified directory of the corresponding virtual IO server after the corresponding upgrade package is sent to the virtual IO server corresponding to any of the server information.

[0122] The present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the virtualization resource pool upgrade method described in any of the preceding claims.

[0123] like Figure 3 As shown, the present invention provides an electronic device 70, which includes at least one processor 701, at least one memory 702 and a bus 703 connected to the processor 701; wherein the processor 701 and the memory 702 communicate with each other through the bus 703; the processor 701 is used to call program instructions in the memory 702 to execute the virtualization resource pool upgrade method described above.

[0124] In this invention, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, without necessarily requiring or implying any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0125] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0126] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined in this invention may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

[0127] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.

Claims

1. A method for upgrading a virtualized resource pool, the method comprising: include: Obtain a list of servers to be upgraded in the Power virtualization resource pool, wherein the server list records server information of multiple virtual IO servers to be upgraded; For any of the server information, a corresponding upgrade package is sent to the virtual IO server corresponding to the server information; The files of the virtual I / O server are verified, including the files in the upgrade package, the configuration file of the virtual I / O server's OpenSSL link, and the installation file of the OpenSSL tool. If all the files pass the verification, the SEA network card of the virtual IO server is set to standby mode. Check and uninstall the temporary patch for the virtual I / O server; Check if there are any unsubmitted installation packages in the operating system of the virtual I / O server; If the unsubmitted installation package does not exist in the operating system, then the openssl link is invoked to upgrade the patch of the virtual I / O server; Restart the virtual I / O server to complete the upgrade of the virtual I / O server in the Power virtualization resource pool; The verification of files on the virtual I / O server includes: Execute the file verification command for the files in the upgrade package to verify whether the upgrade package matches the virtual I / O server; Check if the configuration file for the openssl link and the installation file for the openssl tool exist in the virtual I / O server; If the upgrade package matches the virtual I / O server, and the virtual I / O server contains the configuration file for the openssl link and the installation file for the openssl tool, then all the files are determined to have passed the verification.

2. The method of claim 1, wherein, If all the files pass the verification, the SEA network card of the virtual IO server is set to standby mode, including: If all the files pass the verification, the production network card in the SEA network card of the virtual IO server is set to standby status by switching command.

3. The method according to claim 1, characterized in that, The process of checking and uninstalling the temporary patch for the virtual I / O server includes: The temporary patch is checked by executing a patch check command. If the virtual I / O server has the temporary patch installed, then uninstall the temporary patch.

4. The method according to claim 1, characterized in that, The step of checking whether there are unsubmitted installation packages in the operating system of the virtual I / O server includes: By executing the installation package check command, the system checks whether there are any unsubmitted installation packages in the AIX operating system of the virtual I / O server.

5. The method according to claim 4, characterized in that, After checking for unsubmitted installation packages in the AIX operating system of the virtual I / O server by executing an installation package check instruction, the method further includes: If the AIX operating system of the virtual I / O server contains an unsubmitted installation package, the installation package is submitted by executing the corresponding installation package submission command.

6. The method according to claim 1, characterized in that, Before restarting the virtual I / O server to complete the upgrade of the virtual I / O server in the Power virtualization resource pool, the method further includes: Modify the target configuration file of the virtual I / O server, wherein the target configuration file includes at least the / etc / ssh / sshd_config file.

7. The method according to claim 1, characterized in that, After sending the corresponding upgrade package to the virtual I / O server corresponding to any of the server information, the method further includes: Extract the upgrade package to the specified directory of the corresponding virtual I / O server.

8. A virtualized resource pool upgrade device, characterized in that, include: The system includes a list acquisition unit, an upgrade package distribution unit, a file verification unit, a network card setting unit, a patch uninstallation unit, an installation package checking unit, a patch upgrade unit, and a server restart unit. The list obtaining unit is used to obtain a list of servers to be upgraded in the Power virtualization resource pool, wherein the server list records server information of multiple virtual IO servers to be upgraded; The upgrade package distribution unit is used to distribute a corresponding upgrade package to the virtual IO server corresponding to any of the server information. The file verification unit is used to verify the files of the virtual I / O server, wherein the files include files in the upgrade package, configuration files for the OpenSSL link of the virtual I / O server, and installation files for the OpenSSL tools; The network card setting unit is used to set the SEA network card of the virtual IO server to standby state if all the files pass the verification. The patch uninstallation unit is used to check and uninstall temporary patches for the virtual I / O server. The installation package checking unit is used to check whether there are any unsubmitted installation packages in the operating system of the virtual IO server; The patch upgrade unit is used to call the openssl link to upgrade the patch of the virtual I / O server if the unsubmitted installation package does not exist in the operating system. The server restart unit is used to restart the virtual IO server to complete the upgrade of the virtual IO server in the Power virtualization resource pool; The file verification unit is specifically used for: Execute the file verification command for the files in the upgrade package to verify whether the upgrade package matches the virtual I / O server; Check if the configuration file for the openssl link and the installation file for the openssl tool exist in the virtual I / O server; If the upgrade package matches the virtual I / O server, and the virtual I / O server contains the configuration file for the openssl link and the installation file for the openssl tool, then all the files are determined to have passed the verification.

9. An electronic device, characterized in that, The electronic device includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; the processor is used to call program instructions in the memory to execute the virtualization resource pool upgrade method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Cloud-mode virtualization method

    CN103473117A

  • Method and apparatus for upgrading a virtualized system

    CN108958770A