Server hardware failure repair method and device
By receiving fault information, selecting matching backup servers and replacing the entire machine, the problem of long server fault repair time is solved, rapid fault repair and data migration are achieved, and the availability of the server group is improved.
Patent Information
- Application Number
- CN202010801889.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-11
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-08-11
AI Technical Summary
During server operation, it usually takes hours or even days to completely replace a faulty server, which affects the user experience and makes it difficult to quickly repair hardware faults with existing technology.
By receiving fault information in the server group, the configuration parameters and operating status of the standby server are obtained, the matching standby server is selected for complete machine replacement, and the server configuration parameters are updated during the replacement process, and alarm information is disabled to ensure rapid replacement and data migration. .
It realizes the rapid replacement of the whole server when a fault occurs, significantly shortens the fault repair time, and improves the availability and user experience of the server group.
Smart Images

Figure CN111897697B
Abstract
Description
Technical Field
[0001] The present application relates to cloud technology, and more specifically to a server hardware failure repair method, apparatus, device and storage medium for a server group. Background Art
[0002] During the operational life cycle of a server, when a server that performs business fails or is about to fail, there is a need to replace the failed server as a whole. The replaced server has the same business data and business attributes as the original server. In traditional solutions, in order to achieve the replacement of the entire server, it is necessary to contact the manufacturer for on-site inspection and maintenance, which takes several hours or even days. In the case that the failed server needs to perform tasks, such time-consuming fault repair will seriously affect the user experience. For this reason, it is necessary to provide a faster hardware fault repair method. Summary of the invention
[0003] According to one aspect of the present application, a server hardware fault repair method for a server group is proposed, wherein the servers in the server group store data for performing tasks, including: receiving server fault information in the server group, the server fault information indicating that a hardware fault occurs in a specific server in the server group; in response to the server fault information, obtaining configuration parameters of the specific server, and obtaining configuration parameters and operating status of multiple standby servers; based on the operating status of the multiple standby servers, determining a candidate replacement server for replacing the specific server from among the multiple standby servers; based on the configuration parameters of the specific server and the configuration parameters of the candidate replacement servers, determining a replacement server that matches the specific server from among the candidate replacement servers; outputting a whole-machine replacement message for transferring the data for performing tasks stored in the specific server to the replacement server; and updating the server configuration parameters in the server group when the specific server is replaced by the replacement server.
[0004] In some embodiments, the operating status includes a hardware status and a network connection status; based on the operating status of the multiple standby servers, determining a candidate replacement server for replacing the specific server among the multiple standby servers includes: selecting a standby server from the multiple standby servers, and determining the standby server as a candidate replacement server when the hardware status indicates that the hardware status of the standby server is normal and the network connection status indicates that the network connection status of the standby server is normal.
[0005] In some embodiments, the backup server is an idle server networked with the server group.
[0006] In some embodiments, the number of the multiple backup servers is determined based on the selling weight, the availability of the servers in the server group, and the model margin of the servers, wherein the selling weight is a weight parameter determined according to the market launch plan of the server, the availability is a parameter indicating the failure rate of the servers in the server group, and the model margin is a parameter indicating the number of servers of the same model as the specific server in the server group.
[0007] In some embodiments, the configuration parameters include at least one of the following: computer room unit information, product model information, device type information, hardware version information, and size information.
[0008] In some embodiments, before the specific server is replaced by the replacement server, the hardware fault repair method further includes: performing a hardware status check and a network connection status check on the replacement server to determine whether the hardware status and the network connection status of the replacement server are normal.
[0009] In some embodiments, when the hardware status and network connection status of the replacement server are normal, the replacement server is used to replace the specific server and data transfer is performed; when the hardware status or network connection status of the replacement server is abnormal, the replacement server is reselected from the multiple backup servers.
[0010] In some embodiments, after updating the server configuration parameters in the server group, the hardware fault repair method further includes: performing a hardware status check and a network connection status check on the replacement server to determine whether the hardware status and the network connection status of the replacement server are normal.
[0011] In some embodiments, when the hardware status and network connection status of the replacement server are normal, the server configuration parameters in the server group are updated; when the hardware status or network connection status of the replacement server is abnormal, the replacement server is reselected from the multiple backup servers.
[0012] In some embodiments, the hardware fault repair method further includes: during the hardware fault repair process, disabling alarm information for the specific server.
[0013] According to another aspect of the present application, a server hardware fault repair device for a server group is also provided, wherein the servers in the server group store data for performing tasks, including: a fault information receiving unit, configured to receive server fault information in the server group, wherein the server fault information indicates that a hardware fault occurs in a specific server in the server group; a parameter acquisition unit, configured to obtain the configuration parameters of the specific server in response to the server fault information, and obtain the configuration parameters and operating status of multiple standby servers; a standby selection unit, configured to determine a candidate replacement server for replacing the specific server from multiple standby servers based on the operating status of the multiple standby servers; a parameter comparison unit, configured to determine a replacement server that matches the specific server from the candidate replacement servers based on the configuration parameters of the specific server and the configuration parameters of the candidate replacement servers; a guidance output unit, configured to output a whole machine replacement message for transferring the data for performing tasks stored in the specific server to the replacement server; an information synchronization unit, configured to update the server configuration parameters in the server group when the specific server is replaced by the replacement server.
[0014] In some embodiments, the operating status includes a hardware status and a network connection status; based on the operating status of the multiple standby servers, determining a candidate replacement server for replacing the specific server among the multiple standby servers includes: selecting a standby server from the multiple standby servers, and determining the standby server as a candidate replacement server when the hardware status indicates that the hardware status of the standby server is normal and the network connection status indicates that the network connection status of the standby server is normal.
[0015] In some embodiments, the backup server is an idle server networked with the server group.
[0016] In some embodiments, the number of the multiple backup servers is determined based on the selling weight, the availability of the servers in the server group, and the model margin of the servers, wherein the selling weight is a weight parameter determined according to the market launch plan of the server, the availability is a parameter indicating the failure rate of the servers in the server group, and the model margin is a parameter indicating the number of servers of the same model as the specific server in the server group.
[0017] In some embodiments, the configuration parameters include at least one of the following: computer room unit information, product model information, device type information, hardware version information, and size information.
[0018] In some embodiments, the hardware fault repair device also includes a status checking unit, configured to perform a hardware status check and a network connection status check on the replacement server before the specific server is replaced by the replacement server to determine whether the hardware status and network connection status of the replacement server are normal.
[0019] In some embodiments, when the hardware status and network connection status of the replacement server are normal, the replacement server is used to replace the specific server and data transfer is performed; when the hardware status or network connection status of the replacement server is abnormal, the replacement server is reselected from the multiple backup servers.
[0020] In some embodiments, the hardware fault repair device also includes a status checking unit, which is configured to perform a hardware status check and a network connection status check on the replacement server after updating the server configuration parameters in the server group to determine whether the hardware status and the network connection status of the replacement server are normal.
[0021] In some embodiments, when the hardware status and network connection status of the replacement server are normal, the server configuration parameters in the server group are updated; when the hardware status or network connection status of the replacement server is abnormal, the replacement server is reselected from the multiple backup servers.
[0022] In some embodiments, the hardware fault repairing device disables the alarm information for the specific server during the hardware fault repairing process.
[0023] According to another aspect of the present application, a hardware fault repair device is also provided, the device comprising a memory and a processor, wherein the memory stores instructions, and when the instructions are executed by the processor, the processor executes the hardware fault repair method as described above.
[0024] According to another aspect of the present application, a computer-readable storage medium is provided, on which instructions are stored. When the instructions are executed by a processor, the processor executes the hardware fault repair method as described above.
[0025] By utilizing the server hardware fault repair method, apparatus, device and storage medium for a server group provided in the present application, when a server serving as a host machine fails, the entire failed server can be quickly replaced, greatly shortening the time for fault repair. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. The following drawings are not deliberately scaled according to the actual size, and the focus is on illustrating the main purpose of the present application.
[0027] Figure 1 An exemplary scenario diagram for repairing a hardware failure of a server according to the present application is shown;
[0028] Figure 2A A schematic process for repairing a hardware failure of a server is shown;
[0029] Figure 2B A schematic process for repairing a hardware failure of a server according to an embodiment of the present application is shown;
[0030] Figure 3 The schematic process of the server hardware failure repair method for a server group according to an embodiment of the present application is shown;
[0031] Figure 4 FIG. 4 shows a schematic process of determining a candidate replacement server according to an embodiment of the present application;
[0032] Figure 5 An exemplary process of comparing configuration parameters of two servers according to an embodiment of the present application is shown;
[0033] Fig. 6A The schematic process of replacing a failed server with a replacement server according to an embodiment of the present application is shown;
[0034] Figure 6B The schematic process of changing the operation state of the server according to the embodiment of the present application is shown;
[0035] Figure 7 The schematic process of performing a secondary check on a replacement server according to an embodiment of the present application is shown;
[0036] Figure 8 A schematic block diagram of a server hardware fault repair device for a server group according to an embodiment of the present application is shown;
[0037] Fig. 9 A schematic diagram showing an implementation of a hardware fault repair solution according to an embodiment of the present application; and
[0038] Fig.10The architecture of a computing device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0039] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work also fall within the scope of protection of the present application.
[0040] As shown in this application and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0041] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules can be used and run on the user terminal and / or server. The modules are only illustrative, and different aspects of the system and method can use different modules.
[0042] Flowcharts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps may be processed in reverse order or simultaneously as required. Meanwhile, other operations may also be added to these processes, or a certain step or several steps of operations may be removed from these processes.
[0043] Cloud technology refers to a hosting technology that unifies hardware, software, network and other resources within a wide area network or local area network to achieve data computing, storage, processing and sharing.
[0044] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model. It can form a resource pool, which can be used on demand and is flexible and convenient. Cloud computing technology will become an important support. The backend services of the technical network system require a large amount of computing and storage resources, such as video websites, picture websites and more portal websites. With the rapid development and application of the Internet industry, in the future, each item may have its own identification mark, which needs to be transmitted to the backend system for logical processing. Data of different levels will be processed separately. All kinds of industry data need strong system backing support, which can only be achieved through cloud computing.
[0045] Cloud computing is a computing model that distributes computing tasks on a resource pool composed of a large number of computers, allowing various application systems to obtain computing power, storage space and information services as needed. The network that provides resources is called a "cloud". From the user's perspective, the resources in the "cloud" are infinitely scalable and can be obtained at any time, used on demand, expanded at any time, and paid for by use.
[0046] As a provider of basic cloud computing capabilities, a cloud computing resource pool (referred to as a cloud platform, generally referred to as an IaaS (Infrastructure as a Service) platform) will be established, and various types of virtual resources will be deployed in the resource pool for external customers to choose to use. The cloud computing resource pool mainly includes: computing devices (virtualized machines, including operating systems), storage devices, and network devices.
[0047] In cloud computing services, when a server (i.e., a host machine) used to carry virtual machine services fails, a fault repair operation needs to be performed. In an application scenario where all data required to perform services are stored in the form of cloud storage, the host machine only assumes the function of performing operations. In this case, if a hardware failure that needs to be repaired occurs in the host machine, other idle servers can be selected in the network formed by the server group to take over the function of the failed host machine. However, such a solution needs to be supported by cloud storage services. In other words, the data required to perform the task needs to be stored in the form of cloud storage. In this way, after selecting other idle servers to take over the function of the failed host machine, the replacement server can use the data stored in the cloud storage system to read and continue to perform the task.
[0048] However, in some application scenarios, it is not desirable to store the data required to perform the task through cloud storage. For example, when the amount of data required to perform the task is large and the data needs to be accessed repeatedly when performing the task, using local storage to store the data required to perform the task is beneficial to the execution of the task. The data can be stored in the storage device of the host machine. For example, in an application such as a supercomputing center, various data for implementing the computing services entrusted by the user can be stored locally in the supercomputing center (such as in the host machine). In this case, when a hardware failure occurs in the host machine, fault repair cannot be achieved through the method supported by the cloud storage service mentioned above.
[0049] In view of the above scenario, the present application provides a method for repairing server hardware failures in a server group.
[0050] Figure 1 An exemplary scenario diagram for repairing a hardware failure of a server according to the present application is shown. Figure 1 As shown, the system 100 may include a user terminal 110 , a network 120 , and a server (group) 130 .
[0051] The user terminal 110 may be, for example, Figure 1 It is understood that, in fact, the user terminal can be any other type of electronic device capable of performing data processing, which can include but is not limited to desktop computers, laptops, tablet computers, smart phones, smart home devices, wearable devices, etc.
[0052] The user can access the network 120 using the user terminal 110. For example, the user terminal 110 can access the network 120 via any wired or wireless method. The user can create a command on the user terminal 110 and send the control instruction to the server 130 via the network 120 to perform a task. The task mentioned here can be any computing and / or storage task that the server 130 can perform, such as any task such as image processing, file storage, instant messaging, batch computing, load balancing, etc.
[0053] The network 120 may be a single network or a combination of at least two different networks. For example, the network 120 may include, but is not limited to, a local area network, a wide area network, a public network, a private network, etc., or a combination of several of them.
[0054] The server 130 may be a server group, and each server in the group is connected via a wired or wireless network. A server group may be centralized, such as a data center, or distributed. The server 130 may be local or remote.
[0055] In some embodiments, the system 100 may further include a database (not shown). The database may generally refer to a device having a storage function. The database is mainly used to store various data used, generated, and outputted during the operation of the storage server 130. The database 140 may include various memories, such as random access memory (RAM), read only memory (ROM), etc. The storage devices mentioned above are just some examples, and the storage devices that can be used by the system are not limited thereto.
[0056] In some embodiments, the database may be integrated in the server 130. It is understood that the system may also include other storage devices for storing data connected to the server and / or the user terminal.
[0057] Figure 2A A schematic process for repairing a hardware failure of a server is shown.
[0058] like Figure 2A As shown, in block 201, a failure of a host machine is detected.
[0059] In box 202, conventional fault repair means are executed to attempt to repair the host machine. Conventional fault repair means refer to any available means that can restore the host machine function without replacing the entire machine. For example, the host machine can be attempted to be repaired according to a predefined repair strategy. For example, the hardware components included in the host machine (such as power supply, hard disk, motherboard, memory, etc.) can be checked in turn. In some examples, a replacement method can be used to attempt to repair the hardware failure of the host machine. For example, the hardware components of the host machine can be replaced according to a predetermined order. If the fault can be repaired by simply replacing the hardware components, there is no need to replace the entire host machine. That is to say, in this case, conventional fault repair means are effective.
[0060] In block 203, it can be determined whether conventional fault repair means are effective. When conventional fault repair means are effective, conventional repair of the host machine can be implemented. After the repair, the host machine can continue to be used.
[0061] In block 204, when conventional fault repair means are not effective, it can be considered that the fault repair of the host machine cannot be completed by simple operations. In this case, a comprehensive check of the host machine is required to achieve fault repair. In order to reduce the impact of the host machine failure on user use, the whole machine replacement solution can be used to achieve fault repair. In other words, a new physical machine can be used to replace the faulty host machine and replace the functions of the original host machine.
[0062] In block 205, the fault repair of the faulty host machine is completed. As mentioned above, the fault repair of the faulty host machine can be achieved by conventional repair or by replacing the entire machine.
[0063] Figure 2B A schematic process for repairing a hardware failure of a server according to an embodiment of the present application is shown.
[0064] like Figure 2B As shown, in the hardware fault repair process provided by the present application, in block 206, it is determined that a specific server in the server group has a fault. In some embodiments, the specific server may refer to a single server in the server group. In other embodiments, the specific server may also refer to two or more servers in the server group.
[0065] In block 207, it is determined whether the hardware failure of a specific server needs to be resolved by replacing the entire server. Figure 2A Steps S202-S203 in the above step determine whether the faulty host machine can be repaired by conventional repair means. If it is determined that the fault cannot be repaired by conventional repair means, it is determined that the fault needs to be repaired by replacing the entire machine.
[0066] If it is determined that the fault repair needs to be achieved by replacing the whole server (yes), the process may proceed to block 208. In block 208, a standby server for replacing the specific server may be selected from one or more standby servers. Then, the process may proceed to block 209. In block 209, the specific server may be replaced. Figure 3 The process of blocks 208 - 209 is described in detail and will not be repeated here.
[0067] If it is determined in block 207 that the fault of the specific server does not need to be repaired by replacing the entire machine (No), the process may proceed to block 210 for repeated checking to determine whether the fault needs to be repaired by replacing the entire machine. If it is determined in block 210 that the fault of the specific server needs to be repaired by replacing the entire machine (Yes), the process may proceed to block 208 and continue to execute the steps of blocks 208 and 209.
[0068] If it is determined through repeated checking in block 210 that the failure of the specific server does not need to be repaired by replacing the entire server (No), the process proceeds to block 211 to end the hardware failure repair process.
[0069] Figure 3 The schematic process of the server hardware fault repair method for a server group according to an embodiment of the present application is shown. The servers in the server group may be host machines for carrying virtual machine services, in which various data required for executing services are stored.
[0070] In step S302, server fault information in a server group may be received, the server fault information indicating that a hardware fault occurs in a specific server in the server group. In some embodiments, the server fault information indicates that the hardware fault in the specific server cannot be solved by conventional fault repair means and needs to be replaced as a whole.
[0071] In step S304, in response to the server failure information, the configuration parameters of the specific server may be acquired, and the configuration parameters and operation states of multiple standby servers may be acquired.
[0072] In some embodiments, the backup server may be an idle server networked with the server group.
[0073] In some embodiments, the configuration parameters of the server can be obtained by accessing the system information of the server. The configuration parameters of the server can be at least one of the following: computer room unit information, product model information, device type information, hardware version information, and size information. The computer room unit information indicates the location of the computer room unit where the server is located. For example, the computer room unit information can be the number of the computer room unit. The product model information can be the identification information of the machine model defined by the hardware manufacturer. For example, the product model information can be a string indicating the machine model. The device type information refers to the device standard type defined by the manufacturer providing cloud services. For example, the device type information can include entry-level devices, workgroup-level devices, department-level devices, and enterprise-level devices. The hardware version information can be the version information of the hardware components of the server, such as the version information of the hardware components such as the central processing unit (CPU), memory, and disk array (Raid). The size information can be the information of the physical size of the server. For example, the size information can be expressed as the size information of the cabinet occupied by the server.
[0074] The operation status may include at least one of the hardware status and the network connection status of the server. Among them, the hardware status may indicate whether the server can perform the operation normally. In some embodiments, the computer room environment where the server group is located can be monitored through the Intelligent Platform Management Interface (IPMI) to obtain information about the hardware status of the server. The network connection status may indicate whether the server can perform network communication in the server group. In some embodiments, the network connection status of the server can be obtained through a heartbeat mechanism.
[0075] In step S306, a candidate replacement server for replacing the specific server may be determined from among the plurality of standby servers based on the operation states of the plurality of standby servers.
[0076] In some embodiments, for each of the multiple backup servers, if the hardware status indicates that the hardware status of the backup server is normal and the network connection status indicates that the network connection status of the backup server is normal, the backup server can be determined as a candidate replacement server.
[0077] By screening multiple standby servers using the operation status, a standby server that can work normally and communicate normally in the server group can be determined as a candidate replacement server. Figure 4 The schematic process of determining the candidate replacement server in step S306 is described below.
[0078] In step S308, a replacement server matching the specific server may be determined from the candidate replacement servers based on the configuration parameters of the specific server and the configuration parameters of the candidate replacement servers.
[0079] In some embodiments, the configuration parameters of the specific server that failed can be compared with the configuration parameters of the candidate replacement server. If the two match, then the candidate replacement server can be considered to be a replacement server that matches the specific server.
[0080] In some implementations, if there are multiple replacement servers matching the specific server among the candidate replacement servers, a replacement server for replacing the failed specific server may be determined from the multiple matching replacement servers based on a predefined rule. For example, the first candidate replacement server matching the specific server may be determined as the replacement server for replacing the failed specific server. For another example, the candidate replacement server with the highest degree of matching with the specific server may be determined as the replacement server for replacing the failed specific server.
[0081] In step S310, a whole machine replacement message for transferring the data for performing the task stored in the specific server to the replacement server is output. In some embodiments, the whole machine replacement message may include identification information indicating the replacement server and information on specific operations. For example, the whole machine replacement message may be sent to the site where the server group is located, and the operation of transferring the data for performing the task to the replacement server may be performed by the operator on the site. In some embodiments, the operator may be instructed to remove the storage device storing the data for performing the task from the specific server and install it on the replacement server indicated in the whole machine replacement message.
[0082] In some embodiments, after the operator completes the operation of transferring the data used to perform the task to the replacement server, feedback information may be received, and hardware information of the replacement server, such as the MAC address, may be updated in response to the feedback information.
[0083] In step S312, when a specific server is replaced by a replacement server, server configuration parameters in the server group may be updated.
[0084] In some embodiments, the server configuration parameters may include hardware configuration parameters and software configuration parameters. In some implementations, the physical rack information of the failed specific server and the rack information of the replacement server may be swapped in the Configuration Management Database (CMDB) to avoid errors in the CMDB information. In other implementations, the corresponding fixed asset relationship of the virtual machine on the specific server (i.e., the original host machine) may be mapped to the replacement server in the sales information library of the cloud service, so that the user can use the functions of the virtual machine normally after the hardware fault repair process is completed.
[0085] Next, we will refer to Figure 4 To describe Figure 3 The schematic process of determining the candidate replacement server in step S306 in FIG. Figure 4 FIG. 4 shows a schematic process of determining a candidate replacement server according to an embodiment of the present application.
[0086] In block 402 , the inventory status of the standby hangar 401 may be determined. If it is determined in block 402 that the inventory quantity of the standby hangar 401 is not 0, the process proceeds to block 404 .
[0087] If it is determined in block 402 that the inventory quantity in the standby hangar is less than the reference quantity C, proceed to block 403 to replenish the inventory quantity in the standby hangar. In block 403, a transfer instruction may be issued. The transfer of goods makes the inventory quantity in the standby hangar 401 not less than the reference quantity C.
[0088] In some embodiments, the reference number of standby servers included in the standby server library can be determined based on a preset standby server scheduling algorithm. In some examples, the reference number C of standby servers in the standby server library can be determined based on the sales weight A, the availability B of the servers in the server group, and the model margin D of the servers. The sales weight A is a parameter determined according to the market launch plan of the server, the availability B is a parameter indicating the failure rate of the servers in the server group, and the model margin D is a parameter indicating the number of servers of the same model as the specific server that has failed in the current server group.
[0089] The reference number C of standby servers in the standby database can be calculated based on formula (1):
[0090] C=D*((1+A)*B)(1)
[0091] In block 404 , a backup server may be selected in the backup server library 401 .
[0092] In block 405, the hardware status of the selected standby server may be checked. If the hardware status is abnormal, return to block 401 to perform a new screening. If the hardware status is normal, proceed to block 406.
[0093] In block 406, the network connection status of the standby server may be checked. For example, a server may send a heartbeat packet to check whether the connection is normal. For another example, it may be checked whether the login status of the server in the server group is normal. If the check in block 406 indicates that the network connection status of the standby server is abnormal, return to block 401 to re-screen. If the network connection status is normal, proceed to block 407.
[0094] In block 407, the backup servers that pass the check may be determined as candidate replacement servers.
[0095] If the operating status of all standby servers in the standby hangar is abnormal, it can be considered that there is no suitable standby server in the standby hangar, and the rapid hardware repair procedure is terminated.
[0096] Below, we will refer to Figure 5 The schematic process of determining a replacement server that matches the specific server in step S308 is described below. Figure 5 An exemplary process of comparing configuration parameters of two servers according to an embodiment of the present application is shown.
[0097] like Figure 5 As shown, in block 501, an exemplary process of comparing configuration parameters of two servers begins.
[0098] In box 502, the computer room unit information of the two servers can be compared to see if they match. When the computer room units of the two servers are consistent, it can be considered that the computer room unit information of the two servers is matched, and proceed to box 502. If the computer room units of the two servers are inconsistent, proceed to box 507 to determine whether to re-compare. In some embodiments, if there is computer room unit information of other computer room units that are allowed by the server group and match the computer room unit where the specific server is located, it can return to box 502 and re-compare the computer room unit information of the two servers to see if they match. That is, it can be compared whether the computer room unit information of the candidate replacement server is the computer room unit information of other computer room units that match the computer room unit where the specific server is located.
[0099] In box 503, the product model information of the two servers can be compared. If the product model information of the two servers matches, you can proceed to box 504. If the comparison of the product model information of the two servers fails, proceed to box 507 to determine whether to re-compare. In some embodiments, when the product model information of the two servers is the same, it can be considered that the product model information of the two servers matches. In other embodiments, there may be at least two different product model information that match the product model information of a specific server. Therefore, if it is determined in box 503 that the product model information of the two servers does not match, you can also proceed to box 507 to try to re-compare.
[0100] In box 504, the device type information of the two servers can be compared. If the device types of the two servers match, you can proceed to box 505. If the device type comparison of the two servers fails, proceed to box 507 to determine whether to re-compare. In some embodiments, when the device type information of the two servers is the same, the device type information of the two servers can be considered to match. In other embodiments, there may be at least two different device type information that match the device type information of a specific server. Therefore, if it is determined in box 504 that the device type information of the two servers does not match, you can also proceed to box 507 to try to re-compare.
[0101] In box 505, the hardware version information of the two servers can be compared. If the hardware versions of the two servers match, you can proceed to box 506. If the hardware version comparison of the two servers fails, proceed to box 507 to determine whether to re-compare. In some embodiments, when the hardware version information of the two servers is the same, it can be considered that the hardware version information of the two servers matches. In other embodiments, there may be at least two different hardware version information that match the hardware version information of a specific server. Therefore, if it is determined in box 505 that the hardware version information of the two servers does not match, you can also proceed to box 507 to try to re-compare.
[0102] In box 506, the size information of the two servers may be compared. If the sizes of the two servers match, the process may proceed to box 508. If the size comparison of the two servers fails, the process may proceed to box 507 to determine whether to re-compare. In some embodiments, when the size information of the two servers is the same, the size information of the two servers may be considered to match. In other embodiments, there may be at least two different size information that match the size information of a particular server. Therefore, if it is determined in box 506 that the size information of the two servers does not match, the process may proceed to box 507 to attempt to re-compare.
[0103] In block 508, when all configuration parameters of the specific server and the candidate replacement server are determined to match, the candidate replacement server may be determined as a replacement server that matches the specific server.
[0104] In block 509 , the exemplary process of comparing configuration parameters of two servers ends.
[0105] return Figure 3 ,exist Figure 3 In the process shown, the specific server being replaced may involve multiple restarts to satisfy the aforementioned inspection and replacement operations. In order to avoid warnings caused by such abnormal conditions, Figure 3 The alarm information for the specific server and / or replacement server is disabled in the process shown. For example, the operating status of a specific server can be set to "in replacement" during the hardware fault repair process provided in this application, and the server in this state is set not to trigger a warning, ensuring that the hardware fault repair process is completed completely. When the hardware fault repair process is completed, the alarm information for the replacement server can be enabled. For example, the operating status of the replacement server can be restored to a normal state, such as "in operation".
[0106] Fig. 6A The schematic process of replacing a failed server with a replacement server according to an embodiment of the present application is shown.
[0107] At block 601, the replacement process begins.
[0108] At block 602, a whole machine replacement message may be output to the on-site operator, indicating that the data for executing the task is transferred to the replacement server. The data transfer operation may be performed manually by the on-site operator or by a robot.
[0109] In block 603, it can be determined whether the data transfer is complete. If the data transfer is not complete, the process can proceed to block 604, where an operation and maintenance person intervenes and helps complete the data transfer process.
[0110] If the data transfer is complete, then the process may proceed to block 605. At block 605, server configuration parameters in the server group may be updated to achieve information synchronization when a particular server is replaced by a replacement server.
[0111] After the information synchronization is completed, the process may proceed to block 606 to perform a status check on the replacement server that replaces the original failed server to perform tasks, so as to determine whether the hardware status and network connection status of the replaced server are normal.
[0112] After the status check passes, the process may proceed to block 607 and the replacement process ends.
[0113] Figure 6B A schematic process of changing the operating status of a server according to an embodiment of the present application is shown.
[0114] like Figure 6B As shown, in block 611, the process begins. Figure 3 After the step S310 outputs the whole machine replacement message for transferring the data for executing the task stored in the specific server to the replacement server, the process can start. Figure 6B The process shown in .
[0115] In block 612, the operation status of the specific server and the replacement server for replacing the specific server is adjusted to "in replacement", thereby disabling the alarm information for the specific server and the replacement server. Figure 3 After the whole-machine replacement message is output in step S310, the operation status of the specific server and the replacement server used to replace the specific server is automatically adjusted to "under replacement".
[0116] After the replacement server's operating status is adjusted to "Replacement in Progress", on-site operators can perform Figure 6B The data transfer is performed by referring to the dashed boxes 613 and 614 shown on the right side of the process. In box 613, the Figure 3 The whole machine replacement message outputted in step S310 completes the data transfer operation for the specific server. The on-site operator can be a human or a robot.
[0117] In block 614, the replacement server may be inspected by the on-site operator. If the inspection passes, the process proceeds to block 615. If the inspection fails, the replacement server may be debugged and configured according to actual conditions so that the replacement server can operate normally.
[0118] In block 615 , the operation status of the replacement server may be adjusted to “in operation” to enable alarm information of the replacement server.
[0119] In block 616, the process of changing the operational state of the server ends.
[0120] Return to reference Figure 3 In some embodiments, before step S310 and before step S312, that is, before outputting the whole machine replacement message indicating the execution of the replacement operation and after the execution of the replacement operation is completed, the operation status of the replacement server may be checked again. That is, although the operation status of the candidate replacement server has been checked in step S306, in order to ensure that the replacement server can operate normally after the hardware fault is repaired, the hardware status and network connection status of the replacement server may be checked again.
[0121] Figure 7 The schematic process of performing a secondary check on the hardware status and network connection status of a replacement server according to an embodiment of the present application is shown.
[0122] In block 701, the secondary check process begins.
[0123] like Figure 7 As shown, in block 702, a hardware status check and a network connection status check may be performed on the replacement server. If the check result indicates that the hardware status and the network connection status of the replacement server are normal, the process may proceed to block 703, and the secondary check process ends.
[0124] If the check result in block 702 indicates that the hardware status and the network connection status of the replacement server are abnormal, the process may proceed to block 704 .
[0125] In block 704, the current operation type of the replacement server may be determined. If the replacement server has not yet performed a data transfer operation, the process may proceed to block 705 to re-screen replacement servers that match the specific server in the standby database. If there is no replacement server that matches the specific server, the fault repair process ends.
[0126] If the data transfer operation has been performed on the replacement server, you can proceed to block 706 and restart Figure 3 If the re-execution of the fault repair process fails, the process can be terminated.
[0127] By using the server hardware fault repair method for a server group provided by the present application, a replacement server that matches the faulty server can be selected in the spare machine library to achieve the replacement of the faulty server. By transferring the data for executing tasks stored in the faulty server to the replacement server, the replacement server can be used to replace the faulty server to execute the tasks of the virtual machine. Using the above method, when a server used as a host machine for a virtual machine fails, there is no need to spend a lot of time analyzing the specific fault of the server, but it is possible to quickly determine the spare machine that can be used to replace the faulty server and restore the normal service of the server group. In many cases, the host machine needs to simulate the business scenario under no-load conditions in order to analyze the root cause of the hardware failure. By replacing the faulty server from the server group through the above method, the faulty server can be quickly vacated and the test conditions for analyzing the cause of the fault are provided, so that the efficiency and accuracy of fault analysis are improved.
[0128] Figure 8 A schematic block diagram of a server hardware failure repair device for a server group according to an embodiment of the present application is shown.
[0129] like Figure 8 As shown, the device 800 may include a fault information receiving unit 810 , a parameter acquiring unit 820 , a standby machine selecting unit 830 , a parameter comparing unit 840 , a guidance output unit 850 , an information synchronization unit 860 and a status checking unit 870 .
[0130] The fault information receiving unit 810 may be configured to receive server fault information in a server group, where the server fault information indicates that a hardware fault has occurred in a specific server in the server group. In some embodiments, the server fault information indicates that the hardware fault that has occurred in the specific server cannot be solved by conventional fault repair means and requires replacement of the entire server. In some embodiments, the specific server may refer to a single server in the server group. In other embodiments, the specific server may also refer to two or more servers in the server group.
[0131] The parameter acquisition unit 820 may be configured to acquire configuration parameters of a specific server in response to server failure information, and acquire configuration parameters and operating states of multiple standby servers.
[0132] In some embodiments, the backup server may be an idle server networked with the server group.
[0133] In some embodiments, the configuration parameters of the server can be obtained by accessing the system information of the server. The configuration parameters of the server can be at least one of the following: computer room unit information, product model information, device type information, hardware version information, and size information.
[0134] The operation status may include at least one of the hardware status and the network connection status of the server. Among them, the hardware status may indicate whether the server can perform the operation normally. In some embodiments, the computer room environment where the server group is located can be monitored through the Intelligent Platform Management Interface (IPMI) to obtain information about the hardware status of the server. The network connection status may indicate whether the server can perform network communication in the server group. In some embodiments, the network connection status of the server can be obtained through a heartbeat mechanism.
[0135] The standby server selection unit 830 may be configured to determine a candidate replacement server for replacing the specific server from among the plurality of standby servers based on the operation states of the plurality of standby servers.
[0136] In some embodiments, for each of the multiple backup servers, if the hardware status indicates that the hardware status of the backup server is normal and the network connection status indicates that the network connection status of the backup server is normal, the backup server can be determined as a candidate replacement server.
[0137] By screening among the plurality of backup servers using the operation status, a backup server that can work normally and communicate normally in the server group can be determined as a candidate replacement server.
[0138] In some embodiments, the standby selection unit 830 may be configured to perform Figure 4 The process shown in is used to implement standby machine selection.
[0139] The parameter comparison unit 840 may be configured to determine a replacement server that matches the specific server from among the candidate replacement servers based on the configuration parameters of the specific server and the configuration parameters of the candidate replacement servers.
[0140] In some embodiments, the configuration parameters of the specific server that failed can be compared with the configuration parameters of the candidate replacement server. If the two match, then the candidate replacement server can be considered to be a replacement server that matches the specific server.
[0141] In some implementations, if there are multiple replacement servers matching the specific server among the candidate replacement servers, a replacement server for replacing the failed specific server may be determined from the multiple matching replacement servers based on a predefined rule. For example, the first candidate replacement server matching the specific server may be determined as the replacement server for replacing the failed specific server. For another example, the candidate replacement server with the highest degree of matching with the specific server may be determined as the replacement server for replacing the failed specific server.
[0142] The parameter comparison unit 840 can be configured to perform Figure 5 The process shown in .
[0143] The guidance output unit 850 may be configured to output a whole machine replacement message for transferring the data for performing the task stored in a specific server to a replacement server. In some embodiments, the whole machine replacement message may include identification information indicating the replacement server and information on specific operations. For example, the whole machine replacement message may be sent to the site where the server group is located, and the operation of transferring the data for performing the task to the replacement server may be performed by the operator at the site. In some embodiments, the operator may be instructed to remove the storage device storing the data for performing the task from the specific server and install it on the replacement server.
[0144] In some embodiments, after the operator completes the operation of transferring the data used to perform the task to the replacement server, feedback information may be received, and hardware information of the replacement server, such as the MAC address, may be updated in response to the feedback information.
[0145] The information synchronization unit 860 may be configured to update server configuration parameters in the server group when a specific server is replaced by a replacement server.
[0146] In some embodiments, Figure 3 In the process shown, the specific server being replaced may involve multiple restarts to satisfy the aforementioned inspection and replacement operations. In order to avoid warnings caused by such abnormal conditions, Figure 3 The alarm information for the specific server and / or replacement server is disabled in the process shown. For example, the operating status of a specific server can be set to "in replacement" during the hardware fault repair process provided in this application, and the server in this state is set not to trigger a warning, ensuring that the hardware fault repair process is completed completely. When the hardware fault repair process is completed, the alarm information for the replacement server can be enabled. For example, the operating status of the replacement server can be restored to a normal state, such as "in operation".
[0147] In some embodiments, the server configuration parameters may include hardware configuration parameters and software configuration parameters. In some implementations, the physical rack information of the failed specific server and the rack information of the replacement server may be swapped in the Configuration Management Database (CMDB) to avoid errors in the CMDB information. In other implementations, the corresponding fixed asset relationship of the virtual machine on the specific server (i.e., the original host machine) may be mapped to the replacement server in the sales information library of the cloud service, so that the user can use the functions of the virtual machine normally after the hardware fault repair process is completed.
[0148] The status check unit 870 may be configured to perform a secondary check on the operation status of the replacement server before outputting a whole machine replacement message instructing the operator to perform a replacement operation and after the operator completes the replacement operation (for example, after the information synchronization unit updates the server configuration parameters in the server group). That is, although the standby machine selection unit has checked the operation status of the standby server in determining the candidate replacement server, in order to ensure that the replacement server can operate normally after the hardware fault is repaired, the hardware status and network connection status of the replacement server may be checked again to see if they are normal.
[0149] The status checking unit 870 may be configured to perform Figure 7 The process shown in .
[0150] By using the server hardware fault repair device for a server group provided by the present application, a replacement server that matches the faulty server can be selected in the spare machine library to achieve the replacement of the entire faulty server. By transferring the data for executing tasks stored in the faulty server to the replacement server, the replacement server can be used to replace the faulty server to execute the tasks of the virtual machine. Using the above method, when a server used as a host machine for a virtual machine fails, there is no need to spend a lot of time analyzing the specific fault of the server, but it is possible to quickly determine the spare machine that can be used to replace the faulty server and restore the normal service of the server group. In many cases, the host machine needs to simulate the business scenario under no-load conditions in order to analyze the root cause of the hardware failure. By replacing the faulty server from the server group through the above method, the faulty server can be quickly vacated and the test conditions for analyzing the cause of the fault are provided, so that the efficiency and accuracy of fault analysis are improved.
[0151] By using the server hardware fault repair method and device for a server group provided by the present application, when a server in a server group fails, the average time to replace the entire machine is 1.677 hours. If the entire machine is not replaced for fault repair, it takes at least 8 hours from fault discovery to cause analysis. The speed of the fault repair method provided by the present application is 76% faster than that of conventional hardware fault repair methods.
[0152] Fig. 9 A schematic diagram showing an implementation of a hardware fault repair solution according to an embodiment of the present application is shown.
[0153] like Fig. 9 As shown, in block 901, a complete server replacement request may be initiated based on a detected failure of a specific server.
[0154] In block 902, an available backup server may be searched.
[0155] In block 903, the Figure 8 The standby machine selection unit shown in the figure determines a candidate replacement server in the standby machine library for replacing a failed specific server.
[0156] In block 904, the Figure 8 The parameter comparison unit shown in compares the configuration parameters of the candidate replacement servers and the failed specific server to determine a replacement server that matches the specific server.
[0157] In block 905, the Figure 8The status check unit shown in FIG. 1 verifies whether the operation status of the replacement server is normal. If the operation status of the replacement server is verified to be normal, it can proceed to block 905. If the operation status of the replacement server is verified to be abnormal, it can return to block 903 to try to find other replacement servers that can match the specific server.
[0158] In block 906 , a whole machine replacement message may be created and output.
[0159] In block 907, the on-site operator can connect to the server hardware fault repair system for the server group provided by the present application through authentication (token) and obtain the whole machine replacement message. According to the obtained whole machine replacement message, the on-site operator can perform operations to transfer the data stored in the specific server for performing tasks to the replacement server.
[0160] In block 908, the Figure 8 The information synchronization unit shown in updates the server configuration parameters in the server group.
[0161] In block 909, it may be determined whether the information synchronization status is normal. If the information synchronization status indicates normal, the process may proceed to block 911, and the status check unit may be used to check the status of the replacement server after information synchronization. If block 911 indicates that the operation status of the replacement server is normal, the process may proceed to block 912. If block 911 indicates that the operation status of the replacement server is abnormal, the process may proceed to block 910 to recheck the operation status of the replacement server. For example, the operation status of the replacement server may be checked manually or by a robot.
[0162] If the information synchronization status indicates abnormal, the process may proceed to block 910 to recheck the information synchronization status of the replacement server and determine whether the information synchronization is complete by manual or robot inspection. Then the process may proceed to block 912.
[0163] In block 912, the hardware failure recovery process ends.
[0164] In addition, the method or device according to the embodiment of the present application can also be used by Fig.10 The architecture of the computing device shown is implemented. Fig.10 The architecture of the computing device is shown. Fig.10As shown, the computing device 1000 may include a bus 1010, one or at least two CPUs 1020, a read-only memory (ROM) 1030, a random access memory (RAM) 1040, a communication port 1050 connected to a network, an input / output component 1060, a hard disk 1070, etc. The storage device in the computing device 1000, such as ROM 1030 or hard disk 1070, can store various data or files used for processing and / or communication of the target detection method provided in the present application and program instructions executed by the CPU. The computing device 1000 may also include a user interface 1080. Of course, Fig.10 The architecture shown is only exemplary and can be omitted according to actual needs when implementing different devices. Fig.10 One or at least two components of the computing device shown.
[0165] According to another aspect of the present application, a non-volatile computer-readable storage medium is provided, on which computer-readable instructions are stored. When the instructions are executed by a computer, the above-mentioned method can be executed.
[0166] According to another aspect of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned server hardware fault repair method for a server group.
[0167] The program part of the technology can be considered as a "product" or "manufactured product" in the form of executable code and / or related data, which is participated in or realized by computer-readable media. Tangible and permanent storage media can include any memory or storage used by any computer, processor, or similar device or related module. For example, various semiconductor memories, tape drives, disk drives or any similar devices that can provide storage functions for software.
[0168] All or part of the software may sometimes communicate over a network, such as the Internet or other communications network. Such communications can load software from one computer device or processor to another. For example: from a server or host computer of a video target detection device to a hardware platform of a computer environment, or other computer environment that implements the system, or a system with similar functions related to providing information required for target detection. Therefore, another medium capable of transmitting software elements can also be used as a physical connection between local devices, such as light waves, radio waves, electromagnetic waves, etc., transmitted through cables, optical cables or air. Physical media used to carry carriers, such as cables, wireless connections or optical cables and the like, can also be considered as media that carry software. As used herein, unless limited to tangible "storage" media, other terms referring to computer or machine "readable media" refer to media involved in the process of the processor executing any instructions.
[0169] The present application uses specific words to describe the embodiments of the present application. For example, "first / second embodiment", "one embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of the present application. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or multiple times in different positions in this specification does not necessarily refer to the same embodiment. In addition, some features, structures or characteristics in one or more embodiments of the present application can be appropriately combined.
[0170] In addition, it will be appreciated by those skilled in the art that various aspects of the present application may be illustrated and described by a number of patentable categories or situations, including any new and useful process, machine, product or combination of substances, or any new and useful improvements thereto. Accordingly, various aspects of the present application may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may all be referred to as "data blocks", "modules", "engines", "units", "components" or "systems". In addition, various aspects of the present application may be represented as a computer product located in one or more computer-readable media, which includes computer-readable program code.
[0171] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology and should not be interpreted in an idealized or extremely formal sense, unless explicitly defined as such herein.
[0172] The above is an explanation of the present invention and should not be considered as a limitation thereof. Although several exemplary embodiments of the present invention have been described, it will be readily appreciated by those skilled in the art that many modifications may be made to the exemplary embodiments without departing from the novel teachings and advantages of the present invention. Therefore, all such modifications are intended to be included within the scope of the present invention as defined in the claims. It should be understood that the above is an explanation of the present invention and should not be considered as being limited to the specific embodiments disclosed, and modifications to the disclosed embodiments and other embodiments are intended to be included within the scope of the appended claims. The present invention is defined by the claims and their equivalents.
Claims
1. A method for repairing server hardware failures in a server group, wherein the servers in the server group store data for performing tasks, comprising: receiving server fault information in the server group, the server fault information indicating that a hardware fault occurs in a specific server in the server group; In response to the server failure information, obtaining configuration parameters of the specific server, and obtaining configuration parameters and operation states of multiple standby servers; determining, based on the operating states of the plurality of standby servers, a candidate replacement server for replacing the specific server among the plurality of standby servers; Determining a replacement server matching the specific server among the candidate replacement servers based on the configuration parameters of the specific server and the configuration parameters of the candidate replacement servers; Outputting a whole-machine replacement message for transferring data for executing a task stored in the specific server to the replacement server; updating server configuration parameters in the server group when the specific server is replaced by the replacement server; The number of the multiple backup servers is determined based on the selling weight, the availability of the servers in the server group, and the model margin of the servers, wherein the selling weight is a weight parameter determined according to the market launch plan of the server, the availability is a parameter indicating the failure rate of the servers in the server group, and the model margin is a parameter indicating the number of servers of the same model as the specific server in the server group.
2. The hardware fault repair method according to claim 1, wherein: The operation status includes hardware status and network connection status; Based on the operation states of the multiple standby servers, determining a candidate replacement server for replacing the specific server from among the multiple standby servers comprises: Selecting a backup server from the plurality of backup servers, When the hardware status indicates that the hardware status of the standby server is normal, and the network connection status indicates that the network connection status of the standby server is normal, the standby server is determined as a candidate replacement server.
3. The hardware failure repair method according to claim 1, wherein: The backup server is an idle server connected to the server group.
4. The hardware failure repair method according to claim 1, wherein: The configuration parameters include at least one of the following: room unit information, product model information, device type information, hardware version information, and size information.
5. The method for repairing hardware failure according to claim 1, wherein: Before the specific server is replaced by the replacement server, the hardware failure repair method further includes: A hardware status check and a network connection status check are performed on the replacement server to determine whether the hardware status and the network connection status of the replacement server are normal.
6. The method for repairing hardware failure according to claim 5, wherein: When the hardware status and the network connection status of the replacement server are both normal, the replacement server is used to replace the specific server and perform data transfer; When the hardware status or the network connection status of the replacement server is abnormal, a replacement server is reselected from the multiple backup servers.
7. The hardware failure repair method according to claim 1, wherein: After updating the server configuration parameters in the server group, the hardware fault repair method further includes: A hardware status check and a network connection status check are performed on the replacement server to determine whether the hardware status and the network connection status of the replacement server are normal.
8. The method for repairing hardware failure according to claim 7, wherein: When the hardware status and network connection status of the replacement server are both normal, updating the server configuration parameters in the server group, When the hardware status or the network connection status of the replacement server is abnormal, a replacement server is reselected from the multiple backup servers.
9. The hardware failure repair method according to claim 1, further comprising: During the hardware fault repair process, the alarm information for the specific server is disabled.
10. A server hardware fault repair device for a server group, wherein the servers in the server group store data for performing tasks, comprising: a fault information receiving unit, configured to receive server fault information in the server group, wherein the server fault information indicates that a hardware fault occurs in a specific server in the server group; a parameter acquisition unit configured to acquire configuration parameters of the specific server in response to the server failure information, and to acquire configuration parameters and operation states of a plurality of standby servers; a standby server selection unit configured to determine a candidate replacement server for replacing the specific server from among the plurality of standby servers based on the operation states of the plurality of standby servers; a parameter comparison unit configured to determine a replacement server matching the specific server among the candidate replacement servers based on the configuration parameters of the specific server and the configuration parameters of the candidate replacement servers; a guidance output unit configured to output a whole-machine replacement message for transferring data for executing a task stored in the specific server to the replacement server; an information synchronization unit configured to update server configuration parameters in the server group when the specific server is replaced by the replacement server; The number of the multiple backup servers is determined based on the selling weight, the availability of the servers in the server group, and the model margin of the servers, wherein the selling weight is a weight parameter determined according to the market launch plan of the server, the availability is a parameter indicating the failure rate of the servers in the server group, and the model margin is a parameter indicating the number of servers of the same model as the specific server in the server group.
11. The hardware fault repairing device according to claim 10, wherein: The operation status includes hardware status and network connection status; The standby machine selection unit is configured to: selecting a backup server from among the plurality of backup servers, When the hardware status indicates that the hardware status of the standby server is normal, and the network connection status indicates that the network connection status of the standby server is normal, the standby server is determined as a candidate replacement server.
12. The hardware fault repairing device according to claim 10, wherein: The backup server is an idle server connected to the server group.
13. A hardware fault repairing device, comprising a memory and a processor, wherein the memory stores instructions, and when the processor is used to execute the instructions, the processor executes the hardware fault repairing method according to any one of claims 1 to 9.
14. A computer-readable storage medium having instructions stored thereon, wherein when the instructions are executed by a processor, the processor executes the hardware fault repair method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Cloud storage system capable of automatically detecting and replacing failure nodes and method thereof
CN103354503A
Backup switching method and system of universal network passport server
CN106452882A
Service cluster
CN107046474A
Method and device for switching server in server cluster
CN107819605A
Fault virtual machine recovery method and device, electronic equipment and storage medium
CN110413373A
