Power server disk adapter hotspot elimination method, device, equipment and medium
By monitoring and adjusting the physical disk adapter usage status through dynamic partition migration technology, hotspot issues in server virtualization technology are resolved, enabling efficient disk adapter adjustment without system downtime and improving the operating efficiency of the server and system.
Patent Information
- Application Number
- CN202211726617.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2042-12-30
AI Technical Summary
Existing server virtualization technology has difficulty dynamically adjusting physical disk adapters, leading to hotspot issues that require system downtime for maintenance and disrupt business operations.
Dynamic partition migration technology is used to monitor the usage status of physical disk adapters, identify hotspot conditions, and avoid system downtime by migrating virtual servers to transit servers and adjusting disk adapter usage.
It reduced the impact of adjusting physical disk adapter configurations on business operations, improved the utilization efficiency of server equipment and system operating efficiency, and reduced human and technical costs.
Smart Images

Figure CN115963993B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of server virtualization, and in particular to a Power server disk adapter hotspot elimination method, device, equipment and medium. BACKGROUND
[0002] In the operation process of large enterprises, it is often necessary to adjust the server partition resource configuration according to the application business scale and data volume changes, so as to balance the use rate of server functional components, eliminate hotspot server functional components, and improve the use efficiency of physical servers. High-end servers are installed with multiple physical disk adapters, which are allocated to multiple server partitions through virtualization technology. When multiple server partitions with heavy business load share the use of a physical disk adapter, it will cause individual physical disk adapters to be busy, and physical disk adapter hotspots may occur.
[0003] Generally, after the occurrence of physical disk adapter hotspots, system administrators will adjust the server partition resource configuration to make server partitions with heavy business load use different physical disk adapters to eliminate physical disk adapter hotspots and improve the operation performance of disk adapters. However, the current server virtualization technology is difficult to dynamically modify the physical disk adapters used by server partitions, and system administrators often need to arrange system downtime maintenance of virtual servers with disk adapter hotspots, adjust the server partition configuration after shutting down the system, and then restart the system. This approach can eliminate physical disk adapter hotspots, but it requires system downtime maintenance, which affects the operation of application businesses. SUMMARY
[0004] Therefore, the purpose of the present application is to provide a Power server disk adapter hotspot elimination method, device, equipment and medium, which can reduce the impact of adjusting the current physical disk adapter configuration of virtual servers on user application businesses, improve the use efficiency of server equipment and the operation efficiency of the system. The specific scheme is as follows:
[0005] In a first aspect, the present application provides a Power server disk adapter hotspot elimination method, comprising:
[0006] listening to the use state of a current physical disk adapter in an initial physical server, and determining whether the use state of the current physical disk adapter meets a preset disk adapter hotspot condition;
[0007] if the preset disk adapter hotspot condition is met, using a dynamic partition migration technology to migrate a target virtual server using the current physical disk adapter from the initial physical server to a transit physical server, so that the target virtual server stops using the current physical disk adapter;
[0008] determining a target physical disk adapter from the physical disk adapters of the initial physical server that do not satisfy the preset disk adapter hotspot condition, and migrating the target virtual server from the initial physical server to the transit physical server using the dynamic partition migration technology, and setting the target virtual server to use the target physical disk adapter.
[0009] Optionally, the determining of the target physical disk adapter from the physical disk adapters of the initial physical server that do not satisfy the preset disk adapter hotspot condition comprises:
[0010] filtering all physical disk adapters of the initial physical server that do not satisfy the preset disk adapter hotspot condition;
[0011] filtering a plurality of physical disk adapters that satisfy a preset disk adapter idle condition from the all physical disk adapters that do not satisfy the preset disk adapter hotspot condition as the target physical disk adapters.
[0012] Optionally, the migrating of the target virtual server using the current physical disk adapter from the initial physical server to the transit physical server using the dynamic partition migration technology comprises:
[0013] obtaining a preset partition adjustment scheme;
[0014] determining a transit physical server based on the preset partition adjustment scheme;
[0015] migrating the target virtual server using the current physical disk adapter from the initial physical server to the transit physical server using the dynamic partition migration technology and according to the preset partition adjustment scheme.
[0016] Optionally, the determining of the transit physical server based on the preset partition adjustment scheme comprises:
[0017] determining a plurality of available physical servers based on the preset partition adjustment scheme;
[0018] filtering a target physical server from the plurality of available physical servers, and determining the target physical server as the transit physical server.
[0019] Optionally, before the migrating of the target virtual server using the current physical disk adapter from the initial physical server to the transit physical server using the dynamic partition migration technology and according to the preset partition adjustment scheme, the method further comprises:
[0020] obtaining preset migration policy information in the preset partition adjustment scheme;
[0021] determining whether to perform the step of migrating the target virtual server using the current physical disk adapter from the initial physical server to a transit physical server according to the preset migration policy information.
[0022] Optionally, before the step of obtaining the preset migration policy information in the preset partition adjustment scheme, the method further comprises:
[0023] determining whether a preset allowed migration condition is met;
[0024] if the preset allowed migration condition is met, triggering the step of obtaining the preset migration policy information in the preset partition adjustment scheme.
[0025] Optionally, after the step of migrating the target virtual server from the transit physical server back to the initial physical server using the dynamic partition migration technology, the method further comprises:
[0026] obtaining a preset configuration script to complete server configuration verification according to the preset configuration script.
[0027] In a second aspect, the present application provides a Power server disk adapter hotspot elimination device, comprising:
[0028] a disk adapter hotspot condition determination module configured to monitor a use state of a current physical disk adapter in an initial physical server and determine whether the use state of the current physical disk adapter meets a preset disk adapter hotspot condition;
[0029] a first server migration module configured to, if the preset disk adapter hotspot condition is met, migrate a target virtual server using the current physical disk adapter from the initial physical server to a transit physical server using a dynamic partition migration technology, so that the target virtual server stops using the current physical disk adapter;
[0030] a second server migration module configured to determine a target physical disk adapter from physical disk adapters in the initial physical server that do not meet the preset disk adapter hotspot condition, and migrate the target virtual server from the transit physical server back to the initial physical server using the dynamic partition migration technology, and set the target virtual server to use the target physical disk adapter.
[0031] In a third aspect, the present application provides an electronic device, comprising:
[0032] a memory configured to save a computer program;
[0033] A processor is configured to execute the computer program to implement the Power server disk adapter hotspot elimination method.
[0034] In a fourth aspect, the present application provides a computer readable storage medium for storing a computer program, which, when executed by a processor, implements the Power server disk adapter hotspot elimination method.
[0035] In the present application, the use state of a current physical disk adapter in an initial physical server is monitored, and it is determined whether the use state of the current physical disk adapter meets a preset disk adapter hotspot condition; if the preset disk adapter hotspot condition is met, a target virtual server using the current physical disk adapter is migrated from the initial physical server to a transit physical server by using a dynamic partition migration technology, so that the target virtual server stops using the current physical disk adapter; a target physical disk adapter is determined from the physical disk adapters of the initial physical server that do not meet the preset disk adapter hotspot condition, and the target virtual server is migrated from the transit physical server back to the initial physical server by using the dynamic partition migration technology, and the target virtual server is set to use the target physical disk adapter. In this way, the physical disk adapter configuration of the virtual server can be adjusted without shutting down the system first, reducing the impact of adjusting the current physical disk adapter configuration of the virtual server on user application services, and reducing labor costs and technical costs, thereby improving the use efficiency of the server equipment and the operation efficiency of the system. BRIEF DESCRIPTION OF DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor based on the provided drawings.
[0037] Figure 1 A Power server disk adapter hotspot elimination method flowchart is provided for the present application;
[0038] Figure 2 A specific Power server disk adapter hotspot elimination method flowchart is provided for the present application;
[0039] Figure 3 A prior art Power server disk adapter hotspot elimination method flowchart is provided for the present application;
[0040] Figure 4A specific flowchart of a Power server disk adapter hotspot elimination method provided in the present application is shown in the figure;
[0041] Figure 5 A specific structural diagram of a Power server disk adapter hotspot elimination device provided in the present application is shown in the figure;
[0042] Figure 6 A specific structural diagram of an electronic device provided in the present application is shown in the figure. DETAILED DESCRIPTION
[0043] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.
[0044] Generally, after a physical disk adapter hotspot occurs, the system administrator often needs to arrange a system downtime maintenance period, adjust the current physical disk adapter configuration of the virtual server after the system is shut down, and then restart the system, but this method will affect the operation of application business. Therefore, the present application discloses a Power server disk adapter hotspot elimination method, which can avoid shutting down the system of the virtual server first and then adjusting the physical disk adapter configuration of the server partition, reduce the impact of adjusting the current physical disk adapter configuration of the virtual server on user application business, and thus improve the use efficiency of the server device and the operation efficiency of the system.
[0045] Referring to Figure 1 The present application discloses a Power server disk adapter hotspot elimination method, which comprises the following steps:
[0046] In step S11, the use state of the current physical disk adapter in the initial physical server is listened to, and it is determined whether the use state of the current physical disk adapter meets a preset disk adapter hotspot condition.
[0047] In the present embodiment, since the server often has multiple physical disk adapters installed, and the multiple physical disk adapters are allocated to multiple virtual servers for use through virtualization technology, when multiple virtual servers with large business loads share the use of one physical disk adapter, the above-mentioned physical disk adapter will be busy, and thus a physical disk adapter hotspot problem may occur. Therefore, the present application listens to the use state of the current physical disk adapter in the initial physical server, and determines whether the use state of the current physical disk adapter meets a preset disk adapter hotspot condition. When the use state of the disk adapter meets the preset disk adapter hotspot condition, step S12 is performed.
[0048] If the preset disk adapter hotspot condition is met, the target virtual server using the current physical disk adapter is migrated from the initial physical server to a transit physical server by using a dynamic partition migration technology, so that the target virtual server stops using the current physical disk adapter.
[0049] In the embodiment, if the use state of the current physical disk adapter meets the preset disk adapter hotspot condition, the target virtual server using the current physical disk adapter is migrated from the initial physical server to a transit physical server by using a dynamic partition migration technology, so that the target virtual server stops using the current physical disk adapter. It can be understood that in the process of migrating the target virtual server using the current physical disk adapter from the initial physical server to the transit physical server by using the dynamic partition migration technology, the target virtual server uses the physical disk adapter in the transit physical server, thereby avoiding the problem of data loss that may be caused by the target virtual server stopping using the physical disk adapter in the initial physical server.
[0050] In the process of migrating the target virtual server using the current physical disk adapter from the initial physical server to the transit physical server by using the dynamic partition migration technology, the target virtual server uses the physical disk adapter in the transit physical server, thereby avoiding the problem of data loss that may be caused by the target virtual server stopping using the physical disk adapter in the initial physical server.
[0051] In this embodiment, the target physical disk adapter is determined from the physical disk adapters of the initial physical server that do not satisfy the preset disk adapter hotspot condition, and the target virtual server is migrated from the relay physical server back to the initial physical server by using the dynamic partition migration technology, the target virtual server is set to stop using the physical disk adapter in the relay physical server, and the target virtual server is set to use the target physical disk adapter. It can be understood that the target physical disk adapter is determined from the physical disk adapters of the initial physical server that do not satisfy the preset disk adapter hotspot condition, and specifically can include: screening all physical disk adapters of the initial physical server that do not satisfy the preset disk adapter hotspot condition; screening several physical disk adapters that satisfy the preset disk adapter idle condition from the all physical disk adapters that do not satisfy the preset disk adapter hotspot condition as the target physical disk adapter. That is, when it is judged that the use state of the current physical disk adapter satisfies the preset disk adapter hotspot condition, the other physical disk adapters in the initial physical server are judged and screened in this application, the physical disk adapters that do not satisfy the preset disk adapter hotspot condition are screened out, and several physical disk adapters that satisfy the preset disk adapter idle condition are screened out from the physical disk adapters that do not satisfy the preset disk adapter hotspot condition as the target physical disk adapter. In this way, it can be avoided that the target physical disk adapter satisfies the preset disk adapter hotspot condition after being used by the target virtual server, so that the disk adapter hotspot elimination operation needs to be performed again, the time cost is reduced, and the operation efficiency of the system is improved.
[0052] In the embodiment, the use state of a current physical disk adapter in an initial physical server is monitored, and it is determined whether the use state of the current physical disk adapter satisfies a preset disk adapter hotspot condition. If the preset disk adapter hotspot condition is satisfied, a target virtual server using the current physical disk adapter is migrated from the initial physical server to a transit physical server by using a dynamic partition migration technology, so that the target virtual server stops using the current physical disk adapter. A target physical disk adapter is determined from physical disk adapters in the initial physical server that do not satisfy the preset disk adapter hotspot condition, and the target virtual server is migrated from the transit physical server back to the initial physical server by using the dynamic partition migration technology, and the target virtual server is set to use the target physical disk adapter. In this way, the physical disk adapter configuration of the virtual server can be adjusted without shutting down the system, the impact of adjusting the current physical disk adapter configuration of the virtual server on user application services is reduced, and the labor cost and technical cost are reduced, thereby improving the use efficiency of the server device and the operation efficiency of the system.
[0053] Referring to Figure 2 As shown in the figure, the embodiment of the application discloses a specific Power server disk adapter hotspot elimination method, which comprises:
[0054] In step S21, the use state of a current physical disk adapter in an initial physical server is monitored, and it is determined whether the use state of the current physical disk adapter satisfies a preset disk adapter hotspot condition.
[0055] In step S22, if the preset disk adapter hotspot condition is satisfied, a preset partition adjustment scheme is obtained, and a transit physical server is determined based on the preset partition adjustment scheme.
[0056] In the embodiment, if the use state of the current physical disk adapter satisfies the preset disk adapter hotspot condition, a preset partition adjustment scheme is obtained, and then the transit physical server is determined based on the obtained preset partition adjustment scheme. It can be understood that the determination of the transit physical server based on the preset partition adjustment scheme can specifically comprise: determining a plurality of available physical servers based on the preset partition adjustment scheme; screening a target physical server from the plurality of available physical servers, and determining the target physical server as the transit physical server. That is, a plurality of available physical servers are determined from other physical servers of the system based on the preset partition adjustment scheme, and a target physical server screened from the plurality of available physical servers is determined as the transit physical server, wherein the preset partition adjustment scheme is a planning scheme for adjusting the virtual server partition on the physical server.
[0057] Step S23, migrating the target virtual server using the current physical disk adapter from the initial physical server to a transit physical server according to the preset partition adjustment scheme by using a dynamic partition migration technology.
[0058] It is to be noted that before the step of migrating the target virtual server using the current physical disk adapter from the initial physical server to a transit physical server according to the preset partition adjustment scheme by using a dynamic partition migration technology, the method can further include: obtaining preset migration policy information in the preset partition adjustment scheme; and determining whether to perform the step of migrating the target virtual server using the current physical disk adapter from the initial physical server to a transit physical server according to the preset partition adjustment scheme by using a dynamic partition migration technology according to the preset migration policy information. That is, whether to perform the step S23 is determined according to the preset migration policy information in the obtained preset partition adjustment scheme. For example, if the migration order of the target virtual server in this migration is 3, and the current migration is only up to the second order, the step S23 is not performed on the target virtual server. It can be understood that the preset migration policy information can be set by a user according to the user's own needs, so that the migration of the server can be performed under the condition of meeting the user's needs.
[0059] It can be understood that before the step of obtaining the preset migration policy information in the preset partition adjustment scheme, the method can further include: determining whether a preset migration permission condition is met; and triggering the step of obtaining the preset migration policy information in the preset partition adjustment scheme if the preset migration permission condition is met. For example, if the operation of migrating the virtual server to the transit server is being performed, it is determined that the preset migration permission condition is not met, and the step of obtaining the preset migration policy information in the preset partition adjustment scheme is triggered after the current migration operation is completed. In this way, the partition configuration adjustment plan of all virtual server partitions on the whole physical server can be obtained, the use state of each physical disk adapter in the whole server is monitored, it is identified whether there is a physical disk adapter hotspot problem, the virtual server is migrated to the transit physical server according to the preset partition adjustment scheme, and the migration period and the migration order of the virtual server migration are determined, so that the dynamic partition migration of the server can be performed according to the configurable migration policy.
[0060] It is to be noted that the current physical disk adapter configuration information, the physical server information, and the basic information of the virtual server can be recorded by using a traditional relational database. For example, three tables are designed as follows, wherein Table 1 is a physical server information table, Table 2 is a virtual server information table, and Table 3 is a physical disk adapter configuration information table.
[0061] Table 1
[0062] Data Name Data Type Data Length Required / Optional Data Description ms_serial_number varchar 60 Server serial number, primary key ms_name varchar 60 Can be null Server name ms_type_model varchar 20 Server model firmware_version varchar 60 Can be null Firmware version create_time datetime 0 Creation time update_time datetime 0 Synchronization update time
[0063] Table 2
[0064] Data Name Data Type Data Length Required / Optional Data Description partition_id int Partition information table primary key default_profile_id int Can be null Default profile id curr_profile_id int Can be null Currently used profile id ms_serial_number varchar 60 Physical machine serial number foreign key lpar_id int Partition id lpar_name varchar 60 Can be null Partition name dlpar_ready tinyint 1 Whether the dlpar is ready rmc_ip_addr varchar 15 RMC IP address is_msp int Whether it is an msp mgm_ip_addrs varchar 255 Can be null Operating system management ip create_time datetime 0 Creation time update_time datetime 0 Can be null Update time Description varchar 255 Can be null Description
[0065] Table 3
[0066] Data Name Data Type Data Length Required / Optional Data Description profile_id int Profile table foreign key slot_id int Adapter slot id slot_type varchar 60 Adapter slot type match_slot_id int Can be null Matching adapter slot id match_partition_id int Can be null Matching virtual server id vlan_id int Can be null VLAN configuration description varchar 255 Can be null Remark
[0067] According to the above three tables, the migration strategy configuration for the migration of the virtual server is recorded, and the migration information of the virtual server is recorded.
[0068] In step S24, a target physical disk adapter is determined from the physical disk adapters of the initial physical server that do not satisfy the preset disk adapter hotspot condition, and the target virtual server is migrated from the transit physical server back to the initial physical server by using the dynamic partition migration technology, and the target virtual server is set to use the target physical disk adapter.
[0069] In this embodiment, it is pointed out that after the target virtual server is migrated from the transit physical server back to the initial physical server by using the dynamic partition migration technology, the method specifically further includes: obtaining a preset configuration script, so as to complete server configuration verification according to the preset configuration script.
[0070] In this embodiment, the use state of the current physical disk adapter in the initial physical server is monitored, and it is determined whether the use state of the current physical disk adapter satisfies a preset disk adapter hotspot condition; if the preset disk adapter hotspot condition is satisfied, a preset partition adjustment scheme is obtained and a transit physical server is determined based on the preset partition adjustment scheme; a target virtual server using the current physical disk adapter is migrated from the initial physical server to the transit physical server by using a dynamic partition migration technology and according to the preset partition adjustment scheme; a target physical disk adapter is determined from the physical disk adapters of the initial physical server that do not satisfy the preset disk adapter hotspot condition, and the target virtual server is migrated from the transit physical server back to the initial physical server by using the dynamic partition migration technology, and the target virtual server is set to use the target physical disk adapter. Through the above scheme, the present application can perform partition configuration adjustment planning on all virtual servers on the whole physical server according to a preset partition adjustment scheme, which facilitates the operation of the user, saves the time cost and the technical cost, and improves the operation efficiency of the system.
[0071] The specific embodiments of the Power server disk adapter hotspot elimination method disclosed in the present application are described below in comparison with prior art solutions.
[0072] As shown in Figure 3 , Figure 3 is a prior art method of modifying virtual server configuration to eliminate physical disk adapter hotspot. Since virtual servers VM1 and VM2 use physical disk adapter C1 and virtual server VM3 uses physical disk adapter C2, C1 is heavily loaded and C2 is lightly loaded, which results in C1 being busy and C2 being idle, and there is a physical disk adapter hotspot in the E980 server. At this time, virtual server VM2 is closed, and the configuration of virtual server VM2 is modified so that virtual server VM2 uses physical disk adapter C2. However, this method requires that virtual server VM2 be closed before adjusting the current physical disk adapter configuration of virtual server VM2, and all application services running on virtual server VM2 are stopped, and then virtual server VM2 is restarted, which affects the running of application services and causes inconvenience to users, and reduces the efficiency of the system.
[0073] As shown in Figure 4 , Figure 4 is a specific Power server disk adapter hotspot elimination method disclosed in the present application. When a physical disk adapter hotspot occurs in the physical disk adapter C1 connected to the target virtual server VM2 in the initial physical server E980, the application services running on the target virtual server VM2 do not need to be stopped, and the LPM (Live Partition Mobility) technology can be used to migrate the target virtual server VM2 to the transit physical server E924, and set the target virtual server VM2 to use the physical disk adapter C3 in the transit physical server E924, then use the LPM technology to migrate the target virtual server VM2 back to the initial physical server E980, set the target virtual server VM2 to stop using the physical disk adapter C3 in the transit physical server E924, and adjust to use the physical disk adapter C2 in the initial physical server E980, thereby eliminating the physical disk adapter hotspot.
[0074] As shown in Figure 5 , the present application discloses a Power server disk adapter hotspot elimination device, comprising:
[0075] The disk adapter hotspot condition judgment module 11 is used for listening to the use state of the current physical disk adapter in the initial physical server, and judging whether the use state of the current physical disk adapter meets the preset disk adapter hotspot condition;
[0076] The first server migration module 12 is configured to, if the preset disk adapter hotspot condition is met, migrate the target virtual server using the current physical disk adapter from the initial physical server to a transit physical server by using a dynamic partition migration technology, so that the target virtual server stops using the current physical disk adapter.
[0077] The second server migration module 13 is configured to determine a target physical disk adapter from the physical disk adapters of the initial physical server that do not meet the preset disk adapter hotspot condition, and migrate the target virtual server from the transit physical server back to the initial physical server by using the dynamic partition migration technology, and set the target virtual server to use the target physical disk adapter.
[0078] In the present application, the use state of the current physical disk adapter in the initial physical server is monitored, and it is determined whether the use state of the current physical disk adapter meets a preset disk adapter hotspot condition. If the preset disk adapter hotspot condition is met, the target virtual server using the current physical disk adapter is migrated from the initial physical server to a transit physical server by using a dynamic partition migration technology, so that the target virtual server stops using the current physical disk adapter. A target physical disk adapter is determined from the physical disk adapters of the initial physical server that do not meet the preset disk adapter hotspot condition, and the target virtual server is migrated from the transit physical server back to the initial physical server by using the dynamic partition migration technology, and the target virtual server is set to use the target physical disk adapter. In this way, the system can be avoided to be shut down before the physical disk adapter configuration of the virtual server is adjusted, the influence of adjusting the current physical disk adapter configuration of the virtual server on user application services is reduced, and the human and technical costs are reduced, thereby improving the use efficiency of the server device and the operation efficiency of the system.
[0079] In some specific embodiments, the second server migration module 13 can specifically include:
[0080] The physical disk adapter screening unit is configured to screen all physical disk adapters that do not meet the preset disk adapter hotspot condition from the initial physical server;
[0081] The target physical disk adapter determination unit is configured to screen a plurality of physical disk adapters that meet a preset disk adapter idle condition from all the physical disk adapters that do not meet the preset disk adapter hotspot condition as target physical disk adapters.
[0082] In some specific embodiments, the first server migration module 12 can specifically include:
[0083] The partition adjustment scheme acquisition unit is configured to acquire a preset partition adjustment scheme.
[0084] The transit physical server determination sub-module is configured to determine a transit physical server based on the preset partition adjustment scheme.
[0085] The virtual server migration unit is configured to migrate a target virtual server using the current physical disk adapter from the initial physical server to a transit physical server by using a dynamic partition migration technology and according to the preset partition adjustment scheme.
[0086] In some embodiments, the transit physical server determination sub-module can specifically include:
[0087] The available physical server determination unit is configured to determine a plurality of available physical servers based on the preset partition adjustment scheme.
[0088] The transit physical server screening unit is configured to screen a target physical server from the plurality of available physical servers and determine the target physical server as the transit physical server.
[0089] In some embodiments, the Power server disk adapter hotspot elimination device can further include:
[0090] The migration policy acquisition unit is configured to acquire preset migration policy information in the preset partition adjustment scheme.
[0091] The step execution determination unit is configured to determine whether to execute the step of migrating the target virtual server using the current physical disk adapter from the initial physical server to the transit physical server by using the dynamic partition migration technology and according to the preset partition adjustment scheme according to the preset migration policy information.
[0092] In some embodiments, the Power server disk adapter hotspot elimination device can further include:
[0093] The migration condition judgment unit is configured to judge whether a preset allowed migration condition is met at present.
[0094] The step triggering determination unit is configured to trigger the step of acquiring the preset migration policy information in the preset partition adjustment scheme if the preset allowed migration condition is met at present.
[0095] In some embodiments, the Power server disk adapter hotspot elimination device can further include:
[0096] The configuration script obtaining unit is configured to obtain a preset configuration script, so as to complete server configuration verification according to the preset configuration script.
[0097] Further, the embodiment of the application further discloses an electronic device, Figure 6 The electronic device 20 is shown in a structural diagram according to an exemplary embodiment, and the content in the diagram cannot be considered as any limitation on the use range of the application.
[0098] Figure 6 A structural diagram of an electronic device 20 is provided in the embodiment of the application. The electronic device 20 specifically can include at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25 and a communication bus 26. The memory 22 is configured to store a computer program, and the computer program is loaded and executed by the processor 21 to implement the related steps in the Power server disk adapter hotspot elimination method disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in the embodiment can be specifically an electronic computer.
[0099] In the embodiment, the power supply 23 is configured to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol followed by the communication interface 24 can be any communication protocol applicable to the technical solution of the application, which is not specifically limited here; the input / output interface 25 is configured to obtain external input data or output data to the outside, and the specific interface type can be selected according to the specific application needs, which is not specifically limited here.
[0100] In addition, the memory 22 as a carrier for resource storage can be a read-only memory, a random access memory, a magnetic disk or an optical disk, and the resources stored thereon can include an operating system 221, a computer program 222 and the like, and the storage mode can be temporary storage or permanent storage.
[0101] The operating system 221 is configured to manage and control each hardware device on the electronic device 20 and the computer program 222, and can be Windows Server, Unix, Linux and the like. The computer program 222 can further include a computer program capable of completing other specific work in addition to the computer program capable of completing the Power server disk adapter hotspot elimination method executed by the electronic device 20 disclosed in any of the foregoing embodiments.
[0102] Further, the application also discloses a computer readable storage medium for storing a computer program, wherein the computer program is executed by a processor to realize the Power server disk adapter hotspot elimination method disclosed above. For the specific steps of the method, refer to the corresponding content disclosed in the foregoing embodiments, which will not be repeated here.
[0103] The various embodiments are described in the specification by progressive stages, and each embodiment focuses on the difference from other embodiments. For the device disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and the relevant parts refer to the method part.
[0104] The skilled person can further realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized by electronic hardware, computer software or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of the examples have been described in the above description in general terms. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the application.
[0105] The steps of the method or algorithm described in combination with the embodiments disclosed herein can be directly implemented by hardware, a software module executed by a processor, or a combination of both. The software module can be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0106] Finally, it should be noted that, in this document, relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0107] The technical solutions provided by the present application are described in detail above, and the principles and implementation manners of the present application are described by using specific examples. The above description of the examples is only used to help understand the method of the present application and its core idea; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manners and application ranges will be changed, and the above description of the content of the specification should not be understood as a limitation on the present application.
Claims
1. A method for eliminating hotspots on a Power server disk adapter, characterized in that, include: Monitor the usage status of the current physical disk adapter in the initial physical server and determine whether the usage status of the current physical disk adapter meets the preset disk adapter hotspot conditions; If the preset disk adapter hotspot condition is met, then the target virtual server using the current physical disk adapter is migrated from the initial physical server to the transit physical server using dynamic partition migration technology, so that the target virtual server stops using the current physical disk adapter; The target physical disk adapter is determined from the physical disk adapters of the initial physical server that do not meet the preset disk adapter hotspot conditions, and the target virtual server is migrated from the transit physical server back to the initial physical server using the dynamic partition migration technology, and the target virtual server is configured to use the target physical disk adapter.
2. The Power server disk adapter hotspot elimination method according to claim 1, characterized in that, The step of determining the target physical disk adapter from the physical disk adapters of the initial physical server that do not meet the preset disk adapter hotspot condition includes: Filter out all physical disk adapters that do not meet the preset disk adapter hotspot conditions from the initial physical servers; Select several physical disk adapters that meet the preset disk adapter idle condition from all physical disk adapters that do not meet the preset disk adapter hotspot condition as target physical disk adapters.
3. The Power server disk adapter hotspot elimination method according to claim 1 or 2, characterized in that, The process of migrating a target virtual server using the current physical disk adapter from the initial physical server to a transit physical server using dynamic partition migration technology includes: Get the preset partition adjustment scheme; The transit physical server is determined based on the preset partitioning adjustment scheme; Using dynamic partition migration technology and according to the preset partition adjustment scheme, the target virtual server using the current physical disk adapter is migrated from the initial physical server to the transit physical server.
4. The Power server disk adapter hotspot elimination method according to claim 3, characterized in that, The step of determining the relay physical server based on the preset partition adjustment scheme includes: Based on the preset partitioning adjustment scheme, several available physical servers are identified; Select a target physical server from a number of available physical servers, and determine the target physical server as the relay physical server.
5. The Power server disk adapter hotspot elimination method according to claim 3, characterized in that, Before migrating the target virtual server using the current physical disk adapter from the initial physical server to the transit physical server using dynamic partition migration technology and according to the preset partition adjustment scheme, the process further includes: Obtain the preset migration strategy information in the preset partition adjustment scheme; Based on the preset migration strategy information, determine whether to execute the step of migrating the target virtual server using the current physical disk adapter from the initial physical server to the transit physical server using dynamic partition migration technology and according to the preset partition adjustment scheme.
6. The Power server disk adapter hotspot elimination method according to claim 5, characterized in that, Before obtaining the preset migration strategy information in the preset partition adjustment scheme, the method further includes: Determine whether the preset migration conditions are met. If the preset migration conditions are met, then the step of obtaining the preset migration strategy information in the preset partition adjustment scheme is triggered.
7. The Power server disk adapter hotspot elimination method according to claim 3, characterized in that, After migrating the target virtual server from the transit physical server back to the initial physical server using the dynamic partition migration technology, the process further includes: Obtain a preset configuration script so that server configuration verification can be completed according to the preset configuration script.
8. A Power server disk adapter hotspot elimination device, characterized in that, include: The disk adapter hotspot condition judgment module is used to monitor the usage status of the current physical disk adapter in the initial physical server and determine whether the usage status of the current physical disk adapter meets the preset disk adapter hotspot condition. The first server migration module is used to migrate the target virtual server using the current physical disk adapter from the initial physical server to the transit physical server using dynamic partition migration technology if the preset disk adapter hotspot condition is met, so that the target virtual server stops using the current physical disk adapter. The second server migration module is used to determine the target physical disk adapter from the physical disk adapters of the initial physical server that do not meet the preset disk adapter hotspot conditions, and to use the dynamic partition migration technology to migrate the target virtual server from the transit physical server back to the initial physical server, and to set the target virtual server to use the target physical disk adapter.
9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the Power server disk adapter hotspot elimination method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, Used to store a computer program, which, when executed by a processor, implements the Power server disk adapter hotspot elimination method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Hotspot migration method for cloud resource scheduling
CN103440158A
Virtual machine upgrading method, device and equipment and storage medium
CN111352647A