A method and device for handling faults of weblogic
By automatically determining the number of faulty machines and the total number of machines in the WebLogic cluster and matching them with standard handling strategies, automated handling of WebLogic faults is achieved, solving the problems of resource consumption and low efficiency under manual handling methods and improving processing efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA CONSTRUCTION BANK
- Filing Date
- 2021-12-03
- Publication Date
- 2026-04-10
AI Technical Summary
In existing technologies, WebLogic fault handling relies on manual intervention, which results in high human resource consumption and low efficiency.
By determining the number of faulty machines and the total number of machines in the target cluster, a judgment result is obtained. Based on the result, emergency characteristic data is determined, and the target standard handling strategy is matched from the predefined standard handling strategy group to automatically handle the fault.
It reduced the consumption of human resources, saved labor costs, and improved the efficiency of troubleshooting.
Smart Images

Figure CN114116319B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, in particular to a weblogic fault processing method and device. BACKGROUND
[0002] With the development of computer technology, the operation and maintenance technology of WebLogic is constantly improved.
[0003] Among them, WebLogic is a Java application server used for developing, integrating, deploying and managing large-scale distributed Web applications, network applications and database applications. At present, when WebLogic fails during business operation, the existing technology can use manual disposal to dispose the failure of WebLogic, that is, a person can formulate a corresponding disposal strategy according to the failure scenario of WebLogic, and the person can dispose the failure of WebLogic according to the disposal strategy.
[0004] However, the manual disposal method consumes a large amount of human resources and the disposal efficiency may be low. SUMMARY
[0005] In view of the above problems, the present application provides a weblogic fault processing method and device which overcomes the above problems or at least partially solves the above problems, and the technical scheme is as follows:
[0006] A weblogic fault processing method, comprising:
[0007] When it is determined that the weblogic fails during operation, a first number and a second number are determined in a target cluster, the first number is the number of faulty machines in the target cluster, and the second number is the total number of machines in the target cluster;
[0008] Obtain a first determination result of whether the first number is equal to the second number;
[0009] According to the first determination result, determine the corresponding target emergency feature data;
[0010] From a predefined standard disposal strategy group, determine a target standard disposal strategy that matches the target emergency feature data, the standard disposal strategy group including a plurality of standard disposal strategies;
[0011] According to the target standard disposal strategy, the failure of the weblogic is disposed.
[0012] Optionally, the target emergency feature data is determined according to the first determination result, comprising:
[0013] If the first judgment result is that the first quantity is equal to the second quantity, the target emergency feature data is a minimum machine quantity for starting running the weblogic of the target cluster;
[0014] The target standard treatment policy is determined from a group of predefined standard treatment policies according to the target emergency feature data, including:
[0015] The target standard treatment policy is determined from the group of standard treatment policies according to a second judgment result of whether the minimum machine quantity is greater than a first predefined threshold.
[0016] Optionally, the target standard treatment policy is determined from the group of standard treatment policies according to the second judgment result of whether the minimum machine quantity is greater than the first predefined threshold, including:
[0017] If the second judgment result is that the minimum machine quantity is not greater than the first predefined threshold, the target standard treatment policy is determined as a fast emergency restart mode or a first round of stop-and-start mode.
[0018] Optionally, the target standard treatment policy is determined from the group of standard treatment policies according to the second judgment result of whether the minimum machine quantity is greater than the first predefined threshold, including:
[0019] If the second judgment result is that the minimum machine quantity is greater than the first predefined threshold, the target standard treatment policy is determined as a second round of stop-and-start mode.
[0020] Optionally, the target emergency feature data is determined according to the first judgment result, including:
[0021] If the first judgment result is that the first quantity is not equal to the second quantity, the target emergency feature data is a third quantity, and the third quantity is a number of instances allowed to be isolated during a business peak period of the target cluster.
[0022] The target standard treatment policy is determined from a group of predefined standard treatment policies according to the target emergency feature data, including:
[0023] A third judgment result of whether the first quantity is less than the third quantity is obtained.
[0024] The target standard treatment policy is determined according to the third judgment result.
[0025] Optionally, the target standard treatment policy is determined according to the third judgment result, including:
[0026] If the first number is less than the third number, the target standard disposal strategy is to restart all faulty machines in the target cluster.
[0027] Optionally, the determining the target standard disposal strategy according to the third determination result comprises:
[0028] If the first number is not less than the third number, the target standard disposal strategy is a third round of stop-and-start mode.
[0029] A weblogic fault processing apparatus comprises a first determination unit, a first obtaining unit, a second determination unit, a third determination unit and a processing unit, wherein:
[0030] The first determination unit is configured to determine a first number and a second number in a target cluster when it is determined that a weblogic is faulty during operation, the first number being a number of faulty machines in the target cluster, and the second number being a total number of machines in the target cluster.
[0031] The first obtaining unit is configured to obtain a first determination result of whether the first number is equal to the second number.
[0032] The second determination unit is configured to determine corresponding target emergency feature data according to the first determination result.
[0033] The third determination unit is configured to determine a target standard disposal strategy matching the target emergency feature data from a predefined standard disposal strategy group, the standard disposal strategy group comprising a plurality of standard disposal strategies.
[0034] The processing unit is configured to perform fault processing on the fault of the weblogic according to the target standard disposal strategy.
[0035] Optionally, the second determination unit is configured to determine that the target emergency feature data is a minimum number of machines for starting the weblogic in the target cluster to run if the first determination result is that the first number is equal to the second number.
[0036] The third determination unit is configured to determine the target standard disposal strategy from the standard disposal strategy group based on a second determination result of whether the minimum number of machines is greater than a first predefined threshold.
[0037] Optionally, the third determination unit is configured to determine that the target standard disposal strategy is a fast emergency restart mode or a first round of stop-and-start mode if the second determination result is that the minimum number of machines is not greater than the first predefined threshold.
[0038] Optionally, the third determining unit is configured to determine the target standard disposal strategy as a second round of stop-and-start mode if the second determination result is that the minimum number of machines is greater than the first predefined threshold.
[0039] Optionally, the second determining unit is configured to determine the target emergency feature data as a third number if the first determination result is that the first number is not equal to the second number, the third number being a number of instances allowed to be isolated by the target cluster during a business peak period.
[0040] The third determining unit comprises a second obtaining unit and a fourth determining unit.
[0041] The second obtaining unit is configured to obtain a third determination result of whether the first number is less than the third number.
[0042] The fourth determining unit is configured to determine the target standard disposal strategy according to the third determination result.
[0043] Optionally, the fourth determining unit is configured to determine the target standard disposal strategy as restarting all faulty machines in the target cluster if the first number is less than the third number.
[0044] Optionally, the fourth determining unit is configured to determine the target standard disposal strategy as a third round of stop-and-start mode if the first number is not less than the third number.
[0045] The weblogic fault processing method and device can determine a first number and a second number in a target cluster when it is determined that a weblogic has a fault during operation, the first number being a number of faulty machines in the target cluster, the second number being a total number of machines in the target cluster, obtain a first determination result of whether the first number is equal to the second number, determine corresponding target emergency feature data according to the first determination result, determine a target standard disposal strategy matched with the target emergency feature data from a predefined standard disposal strategy group, the standard disposal strategy group comprising a plurality of standard disposal strategies, and process the fault of the weblogic according to the target standard disposal strategy. The present application can effectively reduce consumption of human resources, save human cost, and improve disposal efficiency.
[0046] The above description is only a summary of the technical solutions of the present application. In order to more clearly understand the technical means of the present application, the content of the specification can be implemented, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific embodiments of the present application are described below. BRIEF DESCRIPTION OF DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced as follows. Obviously, the accompanying drawings in the following description only only the embodiments of the present application, and for those skilled in the art, other drawings can be obtained without creative labor on the basis of the provided drawings.
[0048] Figure 1 A flow chart of the first weblogic fault processing method provided by the embodiment of the present application is shown;
[0049] Figure 2 A structural schematic diagram of the first weblogic fault processing device provided by the embodiment of the present application is shown;
[0050] Figure 3 A structural schematic diagram of the third weblogic fault processing device provided by the embodiment of the present application is shown. DETAILED DESCRIPTION
[0051] Exemplary embodiments of the present application will be described in detail with reference to the drawings. Although exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided so that the present application can be more thoroughly understood and the scope of the present application can be accurately conveyed to those skilled in the art.
[0052] As shown in Figure 1 The first weblogic fault processing method provided by the embodiment can include the following steps:
[0053] S101, when it is determined that the weblogic has a fault during operation, determine a first number and a second number in a target cluster, the first number being the number of faulty machines in the target cluster, and the second number being the total number of machines in the target cluster;
[0054] The target cluster can be a weblogic cluster having a faulty machine.
[0055] Specifically, the first number can be the number of machines in a fault state in the target cluster, and the second number can be the total number of machines in the target cluster.
[0056] Optionally, in the second weblogic fault processing method proposed in the embodiment, the application can first monitor whether automatic restart operation of at least one machine occurs in the operation and maintenance system including the weblogic cluster, and if so, determine whether the number of machines belonging to the weblogic cluster in the at least one machine is greater than 1, and if so, determine at least one fault machine, and then determine one weblogic cluster in which the fault machine is located as a target cluster, and execute step S101.
[0057] Optionally, if the number of machines belonging to the weblogic cluster in the at least one machine is 1, the application can first determine the fault machine and the machine type of the fault machine, and then determine the corresponding standard treatment strategy according to the machine type of the fault machine. The standard treatment strategy can be a certain operation mode, such as restart, isolation and flow control, which is prepared by a technician in advance according to the actual fault scene in the business operation process and used to dispose the corresponding fault.
[0058] Specifically, if the machine type of the fault machine is a weblogic cluster or a single point, the application can determine that the standard treatment strategy is mSrv restart; if the machine type of the fault machine is cold backup or hot backup, the application can determine that the standard treatment strategy is a null operation, that is, no disposal is needed, and prompt information can be output immediately.
[0059] S102, obtaining a first determination result of whether the first number is equal to the second number;
[0060] The first determination result can be a determination result of whether the first number is equal to the second number.
[0061] Specifically, the application can determine whether the first number is equal to the second number after obtaining the first number and the second number, and obtain the corresponding determination result, that is, the first determination result.
[0062] S103, determining the corresponding target emergency feature data according to the first determination result;
[0063] The emergency feature data can be the running data of the machine in the weblogic cluster in the business operation process, such as CPU usage and transaction volume.
[0064] Specifically, the application can determine the corresponding target emergency feature data after obtaining the first determination result.
[0065] S104, determining a target standard treatment strategy matched with the target emergency feature data from a predefined standard treatment strategy group, and the standard treatment strategy group includes a plurality of standard treatment strategies;
[0066] The standard treatment strategies in the standard treatment strategy group can be prepared by technicians in advance
[0067] Optionally, in the third weblogic fault processing method, if the first quantity is equal to the second quantity, the target emergency feature data is the minimum machine quantity for starting the weblogic in the target cluster; and the second determination result is used to determine the target standard treatment strategy from the standard treatment strategy group.
[0068] The first predefined threshold can be determined by technicians according to actual business operation, and the present application does not limit this. For example, the first predefined threshold can be 1.
[0069] The second determination result can be a determination result of whether the minimum machine quantity is greater than the first predefined threshold.
[0070] Optionally, in the third weblogic fault processing method, the second determination result is used to determine the target standard treatment strategy from the standard treatment strategy group, including:
[0071] If the second determination result is that the minimum machine quantity is not greater than the first predefined threshold, the target standard treatment strategy is determined to be the fast emergency restart mode or the first round of stop-start mode.
[0072] In the first round of stop-start mode, the number of stop and start can be half.
[0073] Optionally, in the third weblogic fault processing method, the second determination result is used to determine the target standard treatment strategy from the standard treatment strategy group, including:
[0074] If the second determination result is that the minimum machine quantity is greater than the first predefined threshold, the target standard treatment strategy is determined to be the second round of stop-start mode.
[0075] Specifically, in the second round of stop-start mode, the value of the first quantity minus the minimum machine quantity can be determined first, and then the machines of the value quantity are started first, and then the machines of the remaining quantity, i.e., the minimum machine quantity, are started.
[0076] Optionally, in the fourth weblogic fault processing method proposed in the embodiment, step S103 can include: if the first determination result is that the first quantity is not equal to the second quantity, the target emergency feature data is a third quantity, and the third quantity is a quantity of instances allowed to be isolated by the target cluster during a business peak period; and step S104 can include: obtaining a third determination result of whether the first quantity is less than the third quantity; and determining the target standard treatment strategy according to the third determination result.
[0077] The third quantity can be determined by a technician according to an actual business operation, and the present application does not limit this.
[0078] Optionally, the determining the target standard treatment strategy according to the third determination result can include: if the first quantity is less than the third quantity, the target standard treatment strategy is restarting all fault machines in the target cluster.
[0079] Optionally, the determining the target standard treatment strategy according to the third determination result can include:
[0080] If the first quantity is not less than the third quantity, the target standard treatment strategy is a third round of stop-and-start mode.
[0081] In the third round of stop-and-start mode, the present application can first operate the third quantity of machines, then determine a remaining quantity, i.e., a value obtained by subtracting the third quantity from the first quantity, and then operate the remaining quantity of machines.
[0082] S105, processing the fault of the weblogic according to the target standard treatment strategy.
[0083] Specifically, the present application can process the fault machine of the weblogic according to the target standard treatment strategy after determining the target standard treatment strategy.
[0084] Optionally, the present application can output a fault processing result after processing the fault of the weblogic, and a technician can evaluate the effectiveness and treatment effect of the fault processing result according to historical treatment experience, and optimize the fault processing result accordingly and update and modify based on the treatment effect.
[0085] It should be noted that the present application can Figure 1 The steps shown in the figure can realize a set of standardized treatment strategies, arrange the treatment strategies in real time according to basic information of an operation and maintenance system (including cluster conditions and business types) and emergency feature data, obtain a final treatment strategy, i.e., a target standard treatment strategy, process the fault of the weblogic according to the target standard treatment strategy, effectively reduce the consumption of human resources, save human cost, and improve treatment efficiency.
[0086] It also needs to be explained that the application can maintain a standard treatment strategy, and generate a final treatment strategy, i.e., a target standard treatment strategy, based on the standard treatment strategy, to ensure the standardization and consistency of the treatment strategy; in addition, the application can reduce management costs by centrally managing the standardized treatment strategy and automatically arranging and generating the final treatment strategy based on the centrally managed standardized strategy; and the application can optimize the final treatment strategy to improve the quality of treatment effect.
[0087] The weblogic fault processing method provided in the embodiment can determine a first quantity and a second quantity in the target cluster when it is determined that the weblogic has a fault in the running process, the first quantity being the number of fault machines in the target cluster, and the second quantity being the total number of machines in the target cluster, obtain a first determination result of whether the first quantity is equal to the second quantity, determine corresponding target emergency feature data according to the first determination result, determine a target standard treatment strategy matched with the target emergency feature data from a predefined standard treatment strategy group, the standard treatment strategy group including a plurality of standard treatment strategies, and process the fault of the weblogic according to the target standard treatment strategy. The application can effectively reduce the consumption of human resources, save human cost, and improve treatment efficiency.
[0088] With Figure 1 As shown in the method shown in Figure 2 The first embodiment provides a first weblogic fault processing device. The device can include a first determination unit 101, a first obtaining unit 102, a second determination unit 103, a third determination unit 104, and a processing unit 105; wherein:
[0089] The first determination unit 101 is configured to determine a first quantity and a second quantity in the target cluster when it is determined that the weblogic has a fault in the running process, the first quantity being the number of fault machines in the target cluster, and the second quantity being the total number of machines in the target cluster.
[0090] The target cluster can be a weblogic cluster with a fault machine.
[0091] Specifically, the first quantity can be the number of machines in the target cluster in a fault state, and the second quantity can be the total number of machines in the target cluster.
[0092] The first obtaining unit 102 is configured to obtain a first determination result of whether the first quantity is equal to the second quantity.
[0093] The first determination result can be a determination result of whether the first quantity is equal to the second quantity.
[0094] Specifically, the application can determine whether the first quantity is equal to the second quantity after obtaining the first quantity and the second quantity, and obtain a corresponding determination result, i.e., a first determination result.
[0095] The second determination unit 103 is configured to determine corresponding target emergency characteristic data according to the first determination result.
[0096] The emergency characteristic data can be running data of machines in the weblogic cluster during business operation, such as CPU usage and transaction volume.
[0097] Specifically, the application can determine the target emergency characteristic data after obtaining the first determination result.
[0098] The third determination unit 104 is configured to determine a target standard treatment strategy matching the target emergency characteristic data from a predefined standard treatment strategy group, wherein the standard treatment strategy group includes a plurality of standard treatment strategies.
[0099] Each standard treatment strategy in the standard treatment strategy group can be prepared by a technician in advance.
[0100] Optionally, in the second weblogic fault processing device, the second determination unit 103 is configured to determine that the target emergency characteristic data is a minimum machine quantity for starting the weblogic in the target cluster if the first determination result is that the first quantity is equal to the second quantity.
[0101] The third determination unit 104 is configured to determine the target standard treatment strategy from the standard treatment strategy group based on a second determination result of whether the minimum machine quantity is greater than a first predefined threshold.
[0102] The first predefined threshold can be prepared by a technician according to actual business operation, and the application does not limit this. For example, the first predefined threshold can be 1.
[0103] The second determination result can be a determination result of whether the minimum machine quantity is greater than the first predefined threshold.
[0104] Optionally, in the second weblogic fault processing device, the third determination unit 104 is configured to determine that the target standard treatment strategy is a fast emergency restart mode or a first round of stop-start mode if the second determination result is that the minimum machine quantity is not greater than the first predefined threshold.
[0105] Optionally, in the second weblogic fault processing apparatus, the third determining unit 104 is configured to determine the target standard disposal strategy as the second round of stop-and-start if the second determination result is that the minimum machine quantity is greater than the first predefined threshold.
[0106] Specifically, in the second round of stop-and-start, the first quantity minus the minimum machine quantity is determined first, then the machines of the value are started first, and then the machines of the remaining quantity, i.e., the minimum machine quantity, are started.
[0107] Optionally, as shown in the third weblogic fault processing apparatus provided in the embodiment, the third determining unit 104 includes a second obtaining unit 201 and a fourth determining unit 202. Figure 3
[0108] The second obtaining unit 201 is configured to obtain a third determination result of whether the first quantity is less than a third quantity.
[0109] The fourth determining unit 202 is configured to determine the target standard disposal strategy according to the third determination result.
[0110] The third quantity can be determined by a technician according to actual business operation, and the present application does not limit this.
[0111] Optionally, the fourth determining unit 202 is configured to determine the target standard disposal strategy as restarting all the faulty machines in the target cluster if the first quantity is less than the third quantity.
[0112] Optionally, the fourth determining unit 202 is configured to determine the target standard disposal strategy as the third round of stop-and-start if the first quantity is not less than the third quantity.
[0113] In the third round of stop-and-start, the machines of the third quantity are started first, then the remaining quantity, i.e., the value obtained by subtracting the third quantity from the first quantity, is determined, and then the machines of the remaining quantity are started.
[0114] The processing unit 105 is configured to perform fault processing on the fault of the weblogic according to the target standard disposal strategy.
[0115] Specifically, the application can perform fault processing on the failed machine of the weblogic according to the target standard treatment strategy after determining the target standard treatment strategy.
[0116] Optionally, the application can output the fault processing result after performing fault processing on the failure of the weblogic, and a technician can evaluate the effectiveness and treatment effect of the fault processing result according to historical treatment experience, and optimize the fault processing result accordingly, and update and modify based on the treatment effect.
[0117] It should be noted that the application can realize a set of standardized treatment strategies, real-time arrangement of treatment strategies according to basic information of the operation and maintenance system (including cluster situation and business type) and emergency characteristic data, obtain the final treatment strategy, i.e., the target standard treatment strategy, and dispose the failure of the weblogic according to the target standard treatment strategy, thereby effectively reducing the consumption of human resources, saving labor cost, and improving treatment efficiency.
[0118] It should be further noted that the application can maintain standard treatment strategies and generate the final treatment strategy, i.e., the target standard treatment strategy, based on the standard treatment strategies, to ensure the standardization and consistency of the treatment strategies; in addition, the application can reduce management cost by centralized management of the standardized treatment strategies and automatic arrangement and generation of the final treatment strategy based on the centralized management of the standardized strategies; and the application can improve the quality of treatment effect by optimization of the final treatment strategy.
[0119] The fault processing device for the weblogic provided in the embodiment can determine a first number and a second number when determining that the weblogic fails during operation, the first number is the number of failed machines in the target cluster, the second number is the total number of machines in the target cluster, obtain a first determination result of whether the first number is equal to the second number, determine corresponding target emergency characteristic data according to the first determination result, determine a target standard treatment strategy matched with the target emergency characteristic data from a predefined standard treatment strategy group, the standard treatment strategy group includes a plurality of standard treatment strategies, and perform fault processing on the failure of the weblogic according to the target standard treatment strategy. The application can effectively reduce the consumption of human resources, save labor cost, and improve treatment efficiency.
[0120] It should also be noted that the terms "comprising", "comprises", "including", "includes" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises a... " does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0121] The above embodiments of the present application are only used to illustrate the technical solutions of the present application, and not intended to limit the present application. Although the present application is described in detail, it should not be seen as limited to the technical solutions presented in the description. It will be apparent that many modifications and changes can be made by one of ordinary skill in the art without departing from the spirit and scope of the application. Any modification, equivalent replacement, improvement, and the like made within the spirit and principle of the present application shall fall within the scope of claims of the present application.
Claims
1. A method for handling a failure of a weblogic, characterized by, The method comprises the following steps: When it is determined that a weblogic has a failure during running, a first quantity and a second quantity are determined in a target cluster, the first quantity being a quantity of faulty machines in the target cluster, and the second quantity being a total quantity of machines in the target cluster, the target cluster being a weblogic cluster having the faulty machines; A first determination result of whether the first quantity is equal to the second quantity is obtained; According to the first determination result, corresponding target emergency characteristic data is determined; if the first determination result is that the first quantity is equal to the second quantity, the target emergency characteristic data is a minimum machine quantity for starting to run the weblogic in the target cluster; if the first determination result is that the first quantity is not equal to the second quantity, the target emergency characteristic data is a third quantity, the third quantity being a quantity of instances allowed to be isolated during a business peak in the target cluster; From a group of predefined standard treatment strategies, a target standard treatment strategy matching the target emergency characteristic data is determined, the group of standard treatment strategies comprising a plurality of standard treatment strategies; According to the target standard treatment strategy, a failure of the weblogic is handled; When the first determination result is that the first quantity is equal to the second quantity, the step of determining, from the group of predefined standard treatment strategies, the target standard treatment strategy matching the target emergency characteristic data comprises: If the minimum machine quantity is not greater than a first predefined threshold, the target standard treatment strategy is determined to be a fast emergency restart mode or a first round of stop-and-start mode; If the minimum machine quantity is greater than the first predefined threshold, the target standard treatment strategy is determined to be a second round of stop-and-start mode; When the first determination result is that the first quantity is not equal to the second quantity, the step of determining, from the group of predefined standard treatment strategies, the target standard treatment strategy matching the target emergency characteristic data comprises: If the first quantity is less than the third quantity, the target standard treatment strategy is to restart all faulty machines in the target cluster; If the first quantity is not less than the third quantity, the target standard treatment strategy is a third round of stop-and-start mode.
2. A weblogic failure processing apparatus, characterized by comprising: The method comprises the following steps: A first determination unit, a first obtaining unit, a second determination unit, a third determination unit, and a processing unit; wherein: The first determination unit is configured to, when it is determined that a weblogic has a failure during running, determine a first quantity and a second quantity in a target cluster, the first quantity being a quantity of faulty machines in the target cluster, and the second quantity being a total quantity of machines in the target cluster, the target cluster being a weblogic cluster having the faulty machines; The first obtaining unit is configured to obtain a first determination result of whether the first quantity is equal to the second quantity; The second determination unit is configured to, according to the first determination result, determine corresponding target emergency characteristic data; if the first determination result is that the first quantity is equal to the second quantity, the target emergency characteristic data is a minimum machine quantity for starting to run the weblogic in the target cluster; if the first determination result is that the first quantity is not equal to the second quantity, the target emergency characteristic data is a third quantity, the third quantity being a quantity of instances allowed to be isolated during a business peak in the target cluster; The third determination unit is configured to, from a group of predefined standard treatment strategies, determine a target standard treatment strategy matching the target emergency characteristic data, the group of standard treatment strategies comprising a plurality of standard treatment strategies; The processing unit is configured to, according to the target standard treatment strategy, handle a failure of the weblogic. The second determining unit is configured to determine target emergency characteristic data according to the first determination result; if the first determination result is that the first quantity is equal to the second quantity, the target emergency characteristic data is a minimum machine quantity required for starting the weblogic of the target cluster; if the first determination result is that the first quantity is not equal to the second quantity, the target emergency characteristic data is a third quantity, which is an instance quantity allowed to be isolated during a business peak period of the target cluster; The third determining unit is configured to determine a target standard treatment policy matched with the target emergency characteristic data from a pre-defined standard treatment policy group, the standard treatment policy group including a plurality of standard treatment policies; The processing unit is configured to perform fault processing on the fault of the weblogic according to the target standard treatment policy. If the minimum machine quantity is not greater than a first pre-defined threshold, the target standard treatment policy is determined to be a fast emergency restart mode or a first round of stop-and-start mode. If the minimum machine quantity is greater than the first pre-defined threshold, the target standard treatment policy is determined to be a second round of stop-and-start mode. If the first quantity is not equal to the second quantity, the third determining unit is configured to determine the target standard treatment policy matched with the target emergency characteristic data from the pre-defined standard treatment policy group, including: If the first quantity is less than the third quantity, the target standard treatment policy is to restart all fault machines in the target cluster. If the first quantity is not less than the third quantity, the target standard treatment policy is a third round of stop-and-start mode.
Citation Information
Patent Citations
Automatic fault diagnosis method and related device
CN113220585A
Cluster performance evaluation method and device, equipment and storage medium
CN113438110A