Method and device for managing cluster equipment, computer equipment and storage medium
Patent Information
- Application Number
- CN202310530522.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-11
- Publication Date
- 2026-08-07
- Estimated Expiration
- 2043-05-11
AI Technical Summary
[0003]有鉴于此,本发明实施例提供了一种集群设备的管理方法、装置、计算机设备及存储介质,以解决在部分大压力的场景中无法做到端到端的数据保护导致控制节点无法正常承载业务的问题
[0041]本申请实施例提供的上述技术方案与现有技术相比具有如下优点:本申请实施例提供的方法通过管理设备在业务部署阶段获取各个主控芯片的支持情况,从而根据支持情况针对性的部署业务,并对部署业务的目标主控芯片进行模拟测试,从而保证能够正常承载前端业务,提高了集群的可用性。
Smart Images

Figure CN116560959B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and more specifically to management methods, devices, computer equipment, and storage media for cluster devices. Background Technology
[0002] While EDP technology using the SCSI protocol is relatively mature, the NVMe protocol presents significant challenges. Different PCIe switch vendors offer varying levels of support for CRC generation in PI write requests and Guard / app / ref verification in read requests. This differs considerably from the conventional offload to SAS chips approach in SCSI. Furthermore, there is currently no independent module to oversee end-to-end data protection. In particular, the extensive CRC calculations and block-level processing logic in the NVMe protocol inevitably consume cluster performance, potentially causing some control nodes to fail to handle front-end services under high pressure, thus impacting system availability. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a management method, apparatus, computer equipment, and storage medium for cluster devices to solve the problem that the inability to achieve end-to-end data protection in some high-pressure scenarios leads to the inability of control nodes to normally carry out business.
[0004] In a first aspect, embodiments of the present invention provide a method for managing cluster devices, including:
[0005] Obtain the target operating mode of the current business deployment stage of the management device, and under the target operating mode, obtain the support status of the main control chip of each associated device for the management device;
[0006] The target main control chip for executing the service deployment is determined based on the aforementioned support information;
[0007] Perform service deployment operations on the target main control chip, and conduct simulation tests on the target main control chip to obtain simulation test results;
[0008] Based on the simulation test results, perform the corresponding processing operations.
[0009] In one optional implementation, determining the target main control chip for service deployment using the support information includes:
[0010] Based on the aforementioned support status, determine whether the main control chip supports the management device for service deployment;
[0011] The main control chip that supports the business deployment of the management device is identified as the target main control chip.
[0012] In one optional implementation, the step of performing a simulation test on the target main control chip to obtain the simulation test results includes:
[0013] Within a first preset time period, the main control chip of the associated device is subjected to performance testing a first preset number of times to obtain the simulation test results for the first preset number of times.
[0014] In one optional implementation, the step of performing corresponding processing operations based on the simulation test results includes:
[0015] When the target operating mode is the first mode, the first performance data of each of the main control chips is obtained from the simulation test results of the first preset number of times;
[0016] Obtain the maximum performance data stored, and calculate the first threshold using the maximum performance data and a first preset ratio;
[0017] The first performance data from the simulation test results is compared with the first threshold.
[0018] If a simulated test result shows that the first performance data is less than the first threshold, an early warning operation is performed and a prompt message is generated, wherein the prompt message is used to suggest whether to switch the first mode to the second mode.
[0019] In one optional implementation, the step of performing corresponding processing operations based on the simulation test results includes:
[0020] When the target operating mode is the second mode, the second performance data of each of the main control chips is obtained from the simulation test results of the second preset number of times;
[0021] Obtain the maximum performance data stored, and calculate the second threshold using the maximum performance data and the second preset ratio;
[0022] The second performance data from the simulation test results is compared with the second threshold.
[0023] If a simulated test result shows that the second performance data is less than the second threshold, an early warning operation is performed, and the storage path of the protection information is adjusted, wherein the protection information is used to perform data consistency verification between ends.
[0024] In one optional implementation, adjusting the storage path of the protection information includes:
[0025] Obtain the candidate path corresponding to the protection information;
[0026] Within a second preset time period, each main control chip is simulated and tested according to a second preset number of times and the candidate path to obtain the simulation test results for the second preset number of times.
[0027] The second performance data of each of the main control chips is obtained from the simulation test results of the second preset number of times;
[0028] The candidate path with the highest second performance data is selected as the storage path for the protection information.
[0029] In an optional implementation, after selecting the candidate path with the highest second performance data as the storage path for the protection information, the method further includes:
[0030] Within a third preset time period, each main control chip is simulated and tested according to a third preset number of times and the candidate path, and the simulation test results of the third preset number of times are obtained.
[0031] The third performance data of each main control chip is obtained from the simulation test results of the third preset number of times;
[0032] Compare the third performance data with the second threshold;
[0033] If the third performance data in the results of the third preset number of simulation tests is greater than or equal to the threshold, the warning operation is canceled.
[0034] Secondly, embodiments of the present invention provide a management device for a cluster device, the device comprising:
[0035] The acquisition module is used to acquire the target operating mode of the current business deployment stage of the management device, and under the target operating mode, acquire the support status of the main control chip of each associated device for the management device;
[0036] The determination module is used to determine the target main control chip for executing the business deployment based on the support information.
[0037] The execution module is used to perform business deployment operations on the target main control chip and to conduct simulation tests on the target main control chip to obtain simulation test results;
[0038] The processing module is used to perform corresponding processing operations based on the simulation test results.
[0039] Thirdly, embodiments of the present invention provide a computer device, including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the cluster device management method of the first aspect or any corresponding embodiment described above.
[0040] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer instructions, which are used to cause a computer to execute the cluster device management method of the first aspect or any corresponding embodiment described above.
[0041] Compared with the prior art, the above-mentioned technical solutions provided in this application have the following advantages: The method provided in this application obtains the support status of each main control chip through the management device during the business deployment stage, thereby deploying services in a targeted manner according to the support status, and performing simulation tests on the target main control chip for the deployed services, thereby ensuring that the front-end services can be carried out normally and improving the availability of the cluster. Attached Figure Description
[0042] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0043] Figure 1 This is a flowchart illustrating a method for managing cluster devices according to some embodiments of the present invention;
[0044] Figure 2 These are schematic diagrams of associated devices according to some embodiments of the present invention;
[0045] Figure 3 This is a structural block diagram of a cluster device management apparatus according to an embodiment of the present invention;
[0046] Figure 4 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0047] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0048] According to embodiments of the present invention, a method, apparatus, computer device, and storage medium for managing cluster devices are provided. It should be noted that the steps shown in the flowcharts in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0049] This embodiment provides a method for managing cluster devices, which can be used on the aforementioned mobile terminals, such as mobile phones and tablets. Figure 1 This is a flowchart of a cluster device management method according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps:
[0050] Step S11: Obtain the target operating mode of the current business deployment stage of the management device, and under the target operating mode, obtain the support status of the main control chip of each associated device for the management device.
[0051] The method provided in this application embodiment is applied to a management device, which is an end-to-end data protection (EDP) device deployed on a board and primarily uses programmable logic devices such as ARM. Figure 2 As shown, the associated devices of the EDP device include: service devices, front-end devices, main control devices, back-end devices, and disk array devices. The EDP device can dynamically manage the service devices, front-end devices, main control devices, back-end devices, and disk array devices.
[0052] Specifically, business equipment typically refers to the user's business servers, which are connected to front-end devices via high-speed data links such as FC / IP / RoCE / IB. Front-end devices are generally FC / IP / RoCE / IB I / O interface cards within the storage array, while back-end devices are generally SAS / PCIE / RoCE I / O interface cards within the storage array. Disk array devices are typically SSD arrays (this article focuses on NVMe SSDs).
[0053] In this embodiment, the management device operates in two modes during the service deployment phase: a first mode and a second mode. The first mode is a normal mode, and the second mode is a high-availability mode. The management device obtains the target operating mode at the current service deployment node and, within the target operating mode, assesses the support status of the main control chips of each associated device for the management device. Support status can be understood as whether it supports operations such as CRC generation and Guard / app / ref verification.
[0054] Step S12: Determine the target master control chip for the business deployment based on the support information.
[0055] In this embodiment of the application, determining the target main control chip for service deployment based on support conditions includes: determining whether the main control chip supports service deployment by the management device based on support conditions; and determining the main control chip that supports service deployment by the management device as the target main control chip.
[0056] In this embodiment, the support status is used to determine whether the main control chip currently supports operations such as CRC generation and Guard / app / ref verification. If the main control chip supports CRC generation and Guard / app / ref verification, it is determined that the main control chip supports the management device for service deployment. In this case, the main control chip is selected as the target main control chip.
[0057] Step S13: Perform business deployment operations on the target main control chip and conduct simulation tests on the target main control chip to obtain simulation test results.
[0058] In this embodiment, the management device performs service deployment operations on the target main control chip, and the data protection of the device corresponding to the target main control chip is subsequently offloaded and executed by the target main control chip.
[0059] In this embodiment of the application, the main control chip of the associated device is simulated and tested to obtain the simulation test results, including: within a first preset time period, the main control chip of the associated device is tested for performance according to a first preset number of times to obtain the simulation test results of the first preset number of times.
[0060] It should be noted that the length of the first preset time period and the first preset number of tests vary depending on the operating mode of the management device. For example, in normal mode, the first preset time period is T1, the first preset number of tests is M, and M simulation test results will be obtained. In high-availability mode, the first preset time period is T2, the first preset number of tests is N, and N simulation test results will be obtained. Simulation testing can involve stress testing a specific data model to assess the current storage performance of the target controller chip.
[0061] In this embodiment of the application, during the simulation test, the EDP management device can obtain the performance data (IOPS, bandwidth, latency, etc.) of each main control chip in real time through associated devices, front-end devices, main control devices, back-end devices, and disk array devices. The EDP device also embeds the maximum performance data of the controller under various data protection strategies.
[0062] As an example, if the target operating mode of the EDP device is the first mode (normal mode), during the service deployment phase of the target main control chip, the EDP device detects the support of the main control chips in the front-end devices, back-end devices, and disk array devices for the EDP device, and deploys applications for chips that can perform CRC generation and Guard / app / ref verification.
[0063] In another example, if the target operating mode of the EDP device is the second mode (high availability mode), during the service deployment phase, the EDP management device detects the support of the main control chips in the front-end devices, back-end devices, and disk array devices for EDP. For chips that can perform CRC generation and Guard / app / ref verification, the application is deployed. For device chips that do not support the offloading of verification work, the EDP device undertakes the verification work of the device.
[0064] Step S14: Perform corresponding processing operations based on the simulation test results.
[0065] In this embodiment of the application, corresponding processing operations are performed based on the simulation test results, including the following steps A1-A4:
[0066] Step A1: When the target operating mode is the first mode, obtain the first performance data of each main control chip from the simulation test results of the first preset number of times.
[0067] Step A2: Obtain the maximum performance data stored, and calculate the first threshold using the maximum performance data and the first preset ratio.
[0068] Step A3: Compare the first performance data from the simulation test results with the first threshold.
[0069] Step A4: If there is a simulated test result where the first performance data is less than the first threshold, perform an early warning operation and generate a prompt message, wherein the prompt message is used to prompt whether to switch the first mode to the second mode.
[0070] In this embodiment, if the target operating mode of the EDP device is the first mode (normal mode), the first performance data of each main control chip is first obtained from the simulation test results of a first preset number of times. For example, a first preset number of simulation tests (10 times) are performed within a first preset time period (60 minutes) to obtain 10 simulation test results. This allows the first performance data of each main control chip to be obtained from the 10 simulation test results. Next, the maximum performance data and the first preset ratio corresponding to the first mode are obtained. The product between the maximum performance data B and the first preset ratio 90% is calculated, and this product is used as the first threshold. Finally, the first performance data in each simulation test result is compared with the first threshold to determine if there is a simulation test result where the first performance data is less than the first threshold. If there is a simulation test result where the first performance data is less than the first threshold, an early warning operation is performed, and a prompt message is generated.
[0071] As an example, if the performance data in all simulation test results is greater than or equal to B×90%, the service deployment is considered successful. If the first performance data in one or more simulation test results is less than B×90%, an alert is triggered, and a prompt message is generated. This prompt message indicates whether to switch from the first mode to the second mode (i.e., high availability mode).
[0072] The method provided in this application embodiment, in normal mode, allows the management device to obtain the support status of each main control chip during the service deployment phase. Based on this support status, services are deployed specifically, and simulation tests are performed on the target main control chip for the deployed services. This ensures that the chip can normally support front-end services, improving cluster availability. Furthermore, for simulation test results where the first performance data is less than a first threshold, an early warning operation is directly executed, and a prompt message is generated, suggesting whether to switch to high-availability mode, thereby further ensuring system availability.
[0073] In this embodiment of the application, corresponding processing operations are performed based on the simulation test results, including the following steps B1-B4:
[0074] Step B1: When the target operating mode is the second mode, obtain the second performance data of each main control chip from the simulation test results of the second preset number of times.
[0075] Step B2: Obtain the maximum performance data stored, and calculate the second threshold using the maximum performance data and the second preset ratio.
[0076] Step B3: Compare the second performance data from the simulation test results with the second threshold.
[0077] Step B4: If there is a simulation test result where the second performance data is less than the second threshold, perform an early warning operation and adjust the storage path of the protection information, wherein the protection information is used to perform data consistency verification between the ends.
[0078] In this embodiment, if the target operating mode of the EDP device is the first mode (normal mode), the first performance data of each main control chip is first obtained from the simulation test results of a first preset number of times. For example, a first preset number of simulation tests (6 times) are performed within a first preset time period (30 minutes) to obtain 6 simulation test results. The second performance data of each main control chip can then be obtained from these 6 simulation test results. Next, the maximum performance data and the second preset ratio corresponding to the second mode are obtained. The product between the maximum performance data B and the second preset ratio 80% is calculated, and this product is used as the second threshold. Finally, the second performance data in each simulation test result is compared with the second threshold to determine if there are any simulation test results where the second performance data is less than the second threshold. If there are simulation test results where the second performance data is less than the second threshold, an early warning operation is performed, and the storage path of the protection information is adjusted.
[0079] The method provided in this application embodiment, in a high-availability mode, allows the management device to obtain the support status of each main control chip during the service deployment phase. Based on this support status, services are deployed specifically, and simulation tests are performed on the target main control chip for the deployed services. This ensures that the front-end services can be normally supported, improving the availability of the cluster. Furthermore, for simulation test results where the first performance data is less than a first threshold, an early warning operation is directly executed, and the storage path of protection information is adjusted, further reducing the performance consumption of the cluster caused by the device performing data protection.
[0080] In this embodiment of the application, adjusting the storage path of the protection information includes: obtaining candidate paths corresponding to the protection information; performing simulation tests on each main control chip according to a second preset number of times and the candidate paths within a second preset time period to obtain simulation test results for a second preset number of times; obtaining second performance data of each main control chip from the simulation test results for a second preset number of times; and using the candidate path with the highest second performance data as the storage path of the protection information.
[0081] In this embodiment, the protection information can be stored either co-located with user data or stored separately on a physical path. Regardless of whether it's normal mode or high-availability mode, the protection information is stored co-located with user data by default. When adjusting the storage path subsequently, the EDP device performs five simulation tests on all possible candidate paths within a 20-minute time period, selecting the candidate path with the highest average performance for the final PI information storage.
[0082] In this embodiment of the application, after selecting the candidate path with the highest second performance data as the storage path for protection information, the method further includes: performing simulation tests on each main control chip according to a third preset number of times and the candidate path within a third preset time period to obtain simulation test results for a third preset number of times; obtaining the third performance data of each main control chip from the simulation test results for the third preset number of times; comparing the third performance data with a second threshold; and canceling the warning operation if the third performance data in the simulation test results for the third preset number of times are all greater than or equal to the threshold.
[0083] After adjusting the storage path of PI in EDP, perform 7 STs within a 35-minute time period. If A is not less than B×80% in all 7 ST results, the deployment is successful and the level 2 EDP warning is canceled.
[0084] The method provided in this application embodiment performs real-time management through management devices, optimizes protection information in multiple ways in high-availability mode, adjusts the storage path of protection information, and conducts simulation tests on the adjusted storage path. This reduces the performance consumption of the cluster caused by the device performing data protection, avoids abnormal situations such as the controller being unable to handle front-end business under extreme pressure scenarios, and thus improves the availability of the cluster.
[0085] This embodiment also provides a management device for a cluster device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0086] This embodiment provides a management device for cluster devices, such as Figure 3 As shown, it includes:
[0087] The acquisition module 31 is used to acquire the target operating mode of the current business deployment stage of the management device, and in the target operating mode, acquire the support status of the main control chip of each associated device for the management device;
[0088] Module 32 is used to determine the target main control chip for executing business deployment based on the support situation;
[0089] The execution module 33 is used to perform business deployment operations on the target main control chip and to perform simulation tests on the main control chips of associated devices to obtain simulation test results;
[0090] Processing module 34 is used to perform corresponding processing operations based on the simulation test results.
[0091] In this embodiment of the application, the determining module 32 is used to determine whether the main control chip supports the management device for service deployment based on the support situation; and to determine the main control chip that supports the management device for service deployment as the target main control chip.
[0092] In this embodiment, the execution module 33 is used to perform performance tests on the main control chip of the associated device a first preset number of times within a first preset time period, and obtain the simulation test results for the first preset number of times.
[0093] In this embodiment, the processing module 34 is used to obtain first performance data of each main control chip from the simulation test results of a first preset number of times when the target operating mode is the first mode; obtain the stored maximum performance data and calculate a first threshold using the maximum performance data and a first preset ratio; compare the first performance data in the simulation test results with the first threshold; and perform an early warning operation and generate a prompt message when there is a simulation test result where the first performance data is less than the first threshold, wherein the prompt message is used to prompt whether to switch the first mode to the second mode.
[0094] In this embodiment of the application, the processing module 34 is used to obtain the second performance data of each main control chip from the simulation test results of a second preset number of times when the target operating mode is the second mode; obtain the stored maximum performance data and calculate the second threshold using the maximum performance data and the second preset ratio; compare the second performance data in the simulation test results with the second threshold; and perform an early warning operation and adjust the storage path of the protection information when there is a simulation test result in which the second performance data is less than the second threshold, wherein the protection information is used to perform data consistency verification between the ends.
[0095] In this embodiment of the application, the processing module 34 is used to obtain candidate paths corresponding to protection information; within a second preset time period, perform simulation tests on each main control chip according to a second preset number of times and candidate paths to obtain simulation test results for a second preset number of times; obtain second performance data of each main control chip from the simulation test results for a second preset number of times; and use the candidate path with the highest second performance data as the storage path of protection information.
[0096] In this embodiment of the application, the processing module 34 is used to perform simulated tests on each main control chip according to a third preset number of times and candidate paths within a third preset time period, and obtain the simulation test results of the third preset number of times; obtain the third performance data of each main control chip from the simulation test results of the third preset number of times; compare the third performance data with a second threshold; and cancel the warning operation if the third performance data in the simulation test results of the third preset number of times are all greater than or equal to the threshold.
[0097] In this embodiment, the management device for the cluster device is presented in the form of functional units. Here, a unit refers to an ASIC circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the aforementioned functions. Further functional descriptions of the various modules and units are the same as in the corresponding embodiments described above, and will not be repeated here.
[0098] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 4 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system).
[0099] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GPA), or any combination thereof.
[0100] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.
[0101] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device as shown by a landing page for an app. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, which can be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0102] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0103] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.
[0104] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0105] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for managing cluster devices, characterized in that, include: Obtain the target operating mode of the current business deployment stage of the management device, and under the target operating mode, obtain the support status of the main control chip of each associated device for the management device; The target main control chip for executing the service deployment is determined based on the aforementioned support information; Perform service deployment operations on the target main control chip, and conduct simulation tests on the target main control chip to obtain simulation test results; Perform corresponding processing operations based on the simulation test results; The simulation test of the target main control chip, and the resulting simulation test results, include: Within a first preset time period, the main control chip of the associated device is subjected to performance testing a first preset number of times to obtain the simulation test results for the first preset number of times. The corresponding processing operations based on the simulation test results include: When the target operating mode is the first mode, the first performance data of each of the main control chips is obtained from the simulation test results of the first preset number of times; Obtain the maximum performance data stored, and calculate the first threshold using the maximum performance data and a first preset ratio; The first performance data from the simulation test results is compared with the first threshold. If a simulated test result shows that the first performance data is less than the first threshold, an early warning operation is performed and a prompt message is generated, wherein the prompt message is used to prompt whether to switch the first mode to the second mode. When the target operating mode is the second mode, the second performance data of each of the main control chips is obtained from the simulation test results of the second preset number of times; Obtain the maximum performance data stored, and calculate the second threshold using the maximum performance data and the second preset ratio; The second performance data from the simulation test results is compared with the second threshold. If a simulated test result shows that the second performance data is less than the second threshold, an early warning operation is performed, and the storage path of the protection information is adjusted, wherein the protection information is used to perform data consistency verification between ends.
2. The method according to claim 1, characterized in that, The step of determining the target main control chip for service deployment using the aforementioned support information includes: Based on the aforementioned support status, determine whether the main control chip supports the management device for service deployment; The main control chip that supports the business deployment of the management device is identified as the target main control chip.
3. The method according to claim 1, characterized in that, The adjustment of the storage path for the protection information includes: Obtain the candidate path corresponding to the protection information; Within a second preset time period, each main control chip is simulated and tested according to a second preset number of times and the candidate path to obtain the simulation test results for the second preset number of times. The second performance data of each of the main control chips is obtained from the simulation test results of the second preset number of times; The candidate path with the highest second performance data is selected as the storage path for the protection information.
4. The method according to claim 3, characterized in that, After selecting the candidate path with the highest second-highest performance data as the storage path for the protection information, the method further includes: Within a third preset time period, each main control chip is simulated and tested according to a third preset number of times and the candidate path, and the simulation test results of the third preset number of times are obtained. The third performance data of each main control chip is obtained from the simulation test results of the third preset number of times; Compare the third performance data with the second threshold; If the third performance data in the results of the third preset number of simulation tests is greater than or equal to the second threshold, the warning operation is canceled.
5. A management device for cluster equipment, characterized in that, The device includes: The acquisition module is used to acquire the target operating mode of the current business deployment stage of the management device, and under the target operating mode, acquire the support status of the main control chip of each associated device for the management device; The determination module is used to determine the target main control chip for executing the business deployment based on the support information. The execution module is used to perform business deployment operations on the target main control chip and to conduct simulation tests on the target main control chip to obtain simulation test results; The processing module is used to perform corresponding processing operations based on the simulation test results; An execution module is used to perform performance tests on the main control chip of the associated device a first preset number of times within a first preset time period, and obtain the simulation test results for the first preset number of times. The processing module is configured to, when the target operating mode is the first mode, obtain the first performance data of each main control chip from the simulation test results of a first preset number of times; obtain the stored maximum performance data and calculate the first threshold using the maximum performance data and a first preset ratio; compare the first performance data in the simulation test results with the first threshold; and, if there is a simulation test result where the first performance data is less than the first threshold, perform an early warning operation and generate a prompt message, wherein the prompt message is used to prompt whether to switch the first mode to the second mode. The processing module is configured to: obtain second performance data of each main control chip from the simulation test results of a second preset number of times when the target operating mode is the second mode; obtain the stored maximum performance data and calculate a second threshold using the maximum performance data and a second preset ratio; compare the second performance data in the simulation test results with the second threshold; and, if there is a simulation test result where the second performance data is less than the second threshold, perform an early warning operation and adjust the storage path of the protection information, wherein the protection information is used to perform data consistency verification between ends.
6. A computer device, characterized in that, include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the cluster device management method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute the management method of the cluster device according to any one of claims 1 to 4.
Citation Information
Patent Citations
Fused interface response data and component-based development framework applied to third-generation modern Web front end
CN113867728A
Deployment method and system of cluster environment, computer equipment and storage medium
CN114095498A