Internet data center automatic operation and maintenance method, device and readable storage medium

The automatic operation and maintenance method and device streamline server installation in Internet data centers by automating task parsing, configuration verification, and stress testing, thereby reducing errors and improving efficiency.

CN113657702BActive Publication Date: 2024-12-20SINA TECH (CHINA) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110748707.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-02
Publication Date
2024-12-20
Estimated Expiration
2041-07-02

AI Technical Summary

Technical Problem

The existing manual process for installing hardware servers in Internet data centers is prone to errors, inefficient, and has a high accident rate due to manual coordination and extensive human intervention, lacking automation and audit functions.

Method used

An automatic operation and maintenance method and device that automates the process by parsing task work orders, verifying configuration information, performing reinstallation operations, collecting status data, and conducting stress tests, reducing manual intervention and improving efficiency.

Benefits of technology

The automation significantly reduces human error, enhances production efficiency, and lowers accident rates by automating the installation and maintenance processes in Internet data centers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113657702B_ABST
    Figure CN113657702B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides an automatic operation and maintenance method, device and readable storage medium for an Internet data center, which integrates receiving a work order, verifying configuration information, executing an online operation installation system and executing a stress test to form an automatically completed step, collects status information during the execution process, maximizes the automatic execution of each step and the automatic resolution of faults, and promptly feeds back the operation results and unresolvable faults to the corresponding manual processing, thereby realizing the automation of a complete production line from demand generation of a task work order to installation and going online to the final stress test, thereby improving production efficiency, reducing labor costs and improving accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of installation automation of Internet data centers, and in particular to an automatic operation and maintenance method, device and readable storage medium for Internet data centers. Background Art

[0002] In the prior art, when adding a new hardware server to an Internet data center, an operation and maintenance engineer needs to manually accept a resource allocation type work order, and then manually execute a script to push the installation task according to the online requirements, and forward the work order to the on-site engineer. The on-site engineer wires and puts the server on the shelf according to the work order requirements, connects the network, and starts the installation. The on-site engineer needs to manually record and collect the status and problems in the installation process, and feedback to the operation and maintenance engineer. After the online is successful, the operation and maintenance engineer sends an email to deliver the work order. The above process requires manual coordination of multiple types of work and a large number of manual operations in each step. The operation and maintenance engineer needs to manually analyze the content of the work order, extract useful information, and then manually execute the script to push the installation task. This process is prone to errors and is time-consuming and laborious when encountering large orders; the installation process is complicated and cumbersome, with a high error rate. When an exception occurs, the on-site engineer needs to connect an external mouse, keyboard, and monitor to the server to find the problem, which takes about 30 minutes for a single machine; after the installation is completed, the operation and maintenance engineer needs to manually execute the script to perform stress testing on the machine. This process has poor controllability and simple functions; after the online is completed, the operation and maintenance engineer needs to manually update the configuration management database; there is no audit function, and accidents cannot be traced.

[0003] In the process of implementing the present invention, the applicant discovered that there are at least the following problems in the prior art:

[0004] Manual coordination and communication between multiple trades is prone to misunderstandings, resulting in low accuracy and low efficiency. A large amount of manual operations further make the execution process prone to human operational errors, ultimately leading to low production efficiency and high accident rate. Summary of the invention

[0005] The embodiments of the present invention provide an automatic operation and maintenance method, device and readable storage medium for an Internet data center, which solve the problems of low production efficiency and high accident rate by realizing the automation of the installation of the Internet center.

[0006] To achieve the above-mentioned purpose, on the one hand, an embodiment of the present invention provides an automatic operation and maintenance method of an Internet data center, comprising:

[0007] Receive a task work order from a message queue, and parse the task work order to obtain the work order type and configuration information;

[0008] After confirming that the work order type is an online type, verifying the legitimacy of each configuration item in the configuration information according to the online type;

[0009] After confirming that the online type is a reinstallation system online type and all configuration items in the configuration information are legal, performing a reinstallation system online operation according to the configuration information for the server specified in the configuration information;

[0010] Receiving and saving online status data during the execution of the reinstallation system online operation; the online status data is collected by a preinstalled status collection program during the reinstallation system online operation;

[0011] After the system reinstallation operation is completed, a stress test for the designated server is started.

[0012] Further, the receiving of the task work order from the message queue and obtaining the work order type and configuration information according to the task work order parsing includes:

[0013] Receiving the task work order from a message queue, and obtaining the work order type from the task work order;

[0014] The associated work orders of the task work order are queried, and the configuration information is obtained according to the task work order and the associated work orders.

[0015] Further, when the online type is a reinstallation system online type, the configuration items in the configuration information include one or any combination of the following: server factory information, operating system information, server hardware information, network information and user information;

[0016] The checking the legitimacy of each configuration item in the configuration information according to the online type includes:

[0017] If the server supports the reinstallation system online operation according to the server factory information, the server factory information is legal; otherwise, the server factory information is illegal;

[0018] If it is verified that the operating system library supports the operating system corresponding to the operating system information, the operating system information is legal, otherwise the operating system information is illegal; the operating system library is used to record the operating system that can be used for the online operation of the reinstalled system;

[0019] If it is verified that the server supports the server hardware information, the server hardware information is legal; otherwise, the server hardware information is illegal;

[0020] If the user information is verified to match the record in the user information database, the user information is legal, otherwise the user information is illegal; the user information is used to remotely log in to the server; the user information database is used to record user login information;

[0021] If it is verified that the network information corresponding to the server is complete and valid, the network information is legal; otherwise, the network information is illegal.

[0022] Further, after verifying the legitimacy of each configuration item in the configuration information according to the online type, the method further includes:

[0023] After confirming that at least one configuration item in the configuration information is illegal, generate verification result prompt information according to the illegal configuration item of the configuration information, and send the verification result prompt information to the first receiving end specified in the configuration information through the first prompt method specified in the configuration information.

[0024] Furthermore, the reinstallation system online type includes: a new server online type, an old server online type, an online reinstallation system type, or a reinstallation system migration online type;

[0025] Accordingly, after confirming that the online type is a reinstallation system online type and all configuration items in the configuration information are legal, performing a reinstallation system online operation according to the configuration information for the server specified in the configuration information, including:

[0026] Parsing the configuration information to generate installation information;

[0027] Controlling the designated server to restart through a first remote command and enter a pre-startup execution environment;

[0028] Sending the installation information to the designated server through the pre-start execution environment, so that the designated server completes the system installation according to the installation information;

[0029] The configuration information is synchronized to a specified configuration management database.

[0030] Further, the installation information includes: the status collection program;

[0031] The sending the installation information to the designated server through the pre-start execution environment so that the designated server completes the system installation according to the installation information includes:

[0032] The status collection program is issued and installed to the designated server through the pre-startup execution environment, wherein the status collection program is used to collect the online status data of the designated server during the execution of the online operation of the reinstallation system;

[0033] The receiving and saving online status data during the execution of the reinstallation system online operation includes:

[0034] Receiving the online status data uploaded by the status collection program, and writing the online status data into a first database;

[0035] If there is abnormal information in the online status data, automatically repair the fault corresponding to the abnormal information according to the abnormal information;

[0036] If the fault corresponding to the abnormal information cannot be automatically repaired, operation and maintenance prompt information is generated according to the abnormal information, and the operation and maintenance prompt information is sent to the second receiving end specified in the configuration information through the second prompt mode specified in the configuration information.

[0037] Further, after the reinstallation system is online, starting a stress test for the designated server includes:

[0038] Generate stress testing tasks according to pre-set stress testing rules;

[0039] Sending the stress testing task to the designated server through a third remote command, so that the designated server starts the stress test according to the stress testing task;

[0040] A stress test result is received from the designated server, and the stress test result is compared with a preset standard result library to generate a stress test report.

[0041] Furthermore, the online type also includes: a reserved system migration online type;

[0042] Accordingly, the configuration items in the configuration information include one or any combination of the following: server IP address and server MAC address;

[0043] The checking the legitimacy of each configuration item in the configuration information according to the online type includes:

[0044] If the server IP address conforms to the IP address format through regular check, the server IP address is legal, otherwise the server IP address is illegal; and,

[0045] If the server MAC address conforms to the MAC address format through regular verification, the server MAC address is legal, otherwise the server MAC address is illegal;

[0046] The method further comprises:

[0047] After confirming that the on-line type is a reserved system migration on-line type and all configuration items in the configuration information are legal, the configuration information is synchronized to a designated configuration management database.

[0048] On the other hand, an embodiment of the present invention further provides an automatic operation and maintenance device for an Internet data center, comprising:

[0049] A task work order acquisition unit, used to receive a task work order from a message queue, and parse the task work order to obtain the work order type and configuration information;

[0050] A configuration information validity checking unit, configured to verify the validity of each configuration item in the configuration information according to the online type after confirming that the work order type is an online type;

[0051] A first execution unit is used to perform a system reinstallation online operation on a server specified in the configuration information according to the configuration information after confirming that the online type is a system reinstallation online type and all configuration items in the configuration information are legal;

[0052] A status collection unit, used for receiving and saving online status data during the execution of the online operation of the reinstalled system; the online status data is collected by a preinstalled status collection program during the process of the online operation of the reinstalled system;

[0053] The stress testing unit is used to start the stress test for the designated server after the reinstallation system is completed.

[0054] Furthermore, the task work order acquisition unit includes:

[0055] A work order type acquisition module, used for receiving the task work order from the message queue and acquiring the work order type from the task work order;

[0056] The configuration information acquisition module is used to query the associated work orders of the task work order and obtain the configuration information according to the task work order and the associated work orders.

[0057] Further, when the online type is a reinstallation system online type, the configuration items in the configuration information include one or any combination of the following: server factory information, operating system information, server hardware information, network information and user information;

[0058] The configuration information legality checking unit includes:

[0059] A factory information verification module, used to verify that the server supports the reinstallation system online operation according to the server factory information, and the server factory information is legal, otherwise the server factory information is illegal;

[0060] An operating system verification module, used to verify that if the operating system library supports the operating system corresponding to the operating system information, then the operating system information is legal, otherwise the operating system information is illegal; the operating system library is used to record the operating system that can be used for the online operation of the reinstalled system;

[0061] A hardware information verification module, used to verify that if the server supports the server hardware information, the server hardware information is legal; otherwise, the server hardware information is illegal;

[0062] A user information verification module is used to verify that the user information matches the record in the user information database, then the user information is legal, otherwise the user information is illegal; the user information is used to remotely log in to the server; the user information database is used to record user login information;

[0063] The network information verification module is used to verify that the network information corresponding to the server is complete and valid, and if so, the network information is legal; otherwise, the network information is illegal.

[0064] Furthermore, after the configuration information legality checking unit, it also includes:

[0065] A configuration information prompt unit is used to generate verification result prompt information according to the illegal configuration item of the configuration information after confirming that at least one configuration item in the configuration information is illegal, and send the verification result prompt information to the first receiving end specified in the configuration information through the first prompt method specified in the configuration information.

[0066] Furthermore, the reinstallation system online type includes: a new server online type, an old server online type, an online reinstallation system type, or a reinstallation system migration online type;

[0067] Accordingly, the first execution unit includes:

[0068] An installation information acquisition module, used for parsing the configuration information to generate installation information;

[0069] A pre-start module, used to control the designated server to restart and enter a pre-start execution environment through a first remote command;

[0070] An installation information sending module, used to send the installation information to the designated server through the pre-start execution environment, so that the designated server completes the system installation according to the installation information;

[0071] The first configuration updating module is used to synchronize the configuration information to a specified configuration management database.

[0072] Further, the installation information includes: the status collection program;

[0073] The installation information sending module is also used to send and install the status collection program to the designated server through the pre-start execution environment. The status collection program is used to collect the online status data of the designated server during the execution of the online operation of the reinstallation system.

[0074] The state collection unit comprises:

[0075] A status collection module, used for receiving the online status data uploaded by the status collection program, and writing the online status data into a first database;

[0076] A fault processing module, configured to automatically repair a fault corresponding to the abnormal information according to the abnormal information if there is abnormal information in the online status data;

[0077] A fault prompt module is used to generate operation and maintenance prompt information according to the abnormal information if the fault corresponding to the abnormal information cannot be automatically repaired, and send the operation and maintenance prompt information to the second receiving end specified in the configuration information through the second prompt method specified in the configuration information.

[0078] Furthermore, the stress measurement unit includes:

[0079] The stress testing task generation module is used to generate stress testing tasks according to pre-set stress testing rules;

[0080] A stress test initiation module, configured to send the stress test task to the designated server through a third remote command, so that the designated server initiates a stress test according to the stress test task;

[0081] The stress test result receiving module is used to receive the stress test result from the specified server and compare the stress test result with a preset standard result library to generate a stress test report.

[0082] Furthermore, the online type also includes: a reserved system migration online type;

[0083] Accordingly, the configuration items in the configuration information include one or any combination of the following: server IP address and server MAC address;

[0084] The configuration information legality checking unit includes:

[0085] An IP address format checking unit is used to check through regular expressions that if the server IP address conforms to the IP address format, the server IP address is legal, otherwise the server IP address is illegal; and

[0086] A MAC address format checking unit, used to check through regular expressions that if the server MAC address conforms to the MAC address format, the server MAC address is legal, otherwise the server MAC address is illegal;

[0087] The device also includes:

[0088] The second execution unit is used to synchronize the configuration information to a designated configuration management database after confirming that the online type is a reserved system migration online type and all configuration items in the configuration information are legal.

[0089] On the other hand, an embodiment of the present invention further provides a readable storage medium having a computer program stored thereon, wherein the computer program implements any one of the methods described above when executed by a processor.

[0090] The above technical solution has the following beneficial effects: by automatically monitoring the message queue, automatically obtaining work orders, extracting configuration information, and verifying the legitimacy of configuration information, there is no need to manually extract work orders and configuration information, and the operation and maintenance engineers only need to deal with the problematic machines afterwards; it can automatically generate stress test tasks according to the stress test rules pre-set by the operation and maintenance engineers, and automatically send them to the server, automatically complete the stress test and feedback the stress test results. By automating the operation and maintenance process that originally required a large amount of manual participation, it has achieved the effect of improving production efficiency and reducing the accident rate of human operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0091] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0092] Figure 1 This is a flow chart of an automatic operation and maintenance method for an Internet data center according to one embodiment of the present invention;

[0093] Figure 2 The present invention is a schematic diagram of the structure of an automatic operation and maintenance device for an Internet data center according to one embodiment of the present invention. DETAILED DESCRIPTION

[0094] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0095] On the one hand, if Figure 1 As shown, an embodiment of the present invention provides an automatic operation and maintenance method for an Internet data center, which is applied to an automatic operation and maintenance device for an Internet data center. The automatic operation and maintenance device for an Internet data center may be any terminal or server with a computing function. The automatic operation and maintenance device for an Internet data center is used to maintain a server in an Internet data center, including:

[0096] S100, receiving a task work order from a message queue, and obtaining a work order type and configuration information according to the task work order;

[0097] S101, after confirming that the work order type is an online type, verifying the legitimacy of each configuration item in the configuration information according to the online type;

[0098] S102, after confirming that the online type is a reinstallation system online type and all configuration items in the configuration information are legal, performing a reinstallation system online operation on a server specified in the configuration information according to the configuration information;

[0099] S103, receiving and saving online status data during the execution of the online operation of the reinstalled system; the online status data is collected by a preinstalled status collection program during the online operation of the reinstalled system;

[0100] S104, after the system reinstallation operation is completed, starting a stress test for the designated server.

[0101] In one embodiment, the task issuer, such as the operation and maintenance personnel, submits the task work order to the message queue through the front-end Web UI interface, and the Internet data center automatic operation and maintenance device monitors the message queue, receives the task work order from the message queue, and parses the task work order to obtain the work order type and configuration information. If the work order type is checked to be an online type, the legitimacy of each configuration item in the configuration information is verified according to the online type, and a prompt can be issued for the illegal configuration item, such as a pop-up prompt through the front-end Web UI, or an invalid configuration prompt information is generated according to the illegal configuration item, and the invalid configuration prompt information is sent to the designated mailbox by email. If all configuration items in the configuration information are legal, the online operation is performed for the server specified in the configuration information according to the configuration information. The server specified in the configuration information can be a server, and the online operation is performed for this server at this time, or it can be a batch of servers, and the online operation is performed for this batch of servers at this time. When it is determined that the online type is a reinstallation system online type, the specific online operation is to perform the reinstallation system online operation for the server specified in the configuration information according to the configuration information. In order to monitor unexpected problems that occur during the reinstallation of the system, during the reinstallation of the system, the status collection program pre-installed on the server on which the reinstallation is performed collects the online status data of the server on which the reinstallation is performed. The status collection program sends the online status data back to the Internet data center automatic operation and maintenance device. After receiving the online status data, the Internet data center automatic operation and maintenance device saves the online status data in a designated database. After the reinstallation of the system is successfully completed, the Internet data center automatic operation and maintenance device remotely starts a stress test on the server on which the reinstallation is performed.

[0102] In this embodiment, the automatic operation and maintenance device of the Internet data center provides a user-friendly Web UI. The operation and maintenance engineers do not need to manually extract the work order information. The automatic operation and maintenance device of the Internet data center will automatically monitor the message queue, automatically parse the work order content and push the installation task. The operation and maintenance engineers only need to deal with the problematic machines afterwards; the automatic operation and maintenance device of the Internet data center will automatically determine the legality of the data content when automatically parsing the resource allocation work order content; the operation and maintenance engineers can preset different standards and durations to stress test the server, and the automatic operation and maintenance device of the Internet data center will collect the results and compare them with the standard library and then generate a stress test report; after the online launch is successful, the automatic operation and maintenance device of the Internet data center will automatically synchronize the change information with the CMDB (Configuration Management Database); the behavior recording function is integrated, and accident problems can be quickly traced; a system function API interface based on HTTPREST is provided between the front-end Web UI and the automatic operation and maintenance device of the Internet data center, and any programming language can be used for secondary development; through reasonable rule formulation, functional modules are distinguished, which is conducive to security control.

[0103] The embodiments of the present invention have the following technical effects: by automatically monitoring the message queue, automatically obtaining work orders, extracting configuration information, and verifying the legitimacy of the configuration information, there is no need to manually extract work orders and configuration information, and the operation and maintenance engineer only needs to deal with the problematic machine afterwards; it can automatically generate stress test tasks according to the stress test rules pre-set by the operation and maintenance engineer, and automatically send them to the server, automatically complete the stress test and feedback the stress test results. By automating the operation and maintenance process that originally required a large amount of manual participation, the effect of improving production efficiency and reducing the accident rate of human operation is achieved.

[0104] Further, the receiving of the task work order from the message queue and obtaining the work order type and configuration information according to the task work order parsing includes:

[0105] Receiving the task work order from a message queue, and obtaining the work order type from the task work order;

[0106] The associated work orders of the task work order are queried, and the configuration information is obtained according to the task work order and the associated work orders.

[0107] In one embodiment, after receiving a task work order, the work order type and work order number are obtained, and based on the work order number, the associated work orders of the task work order are queried. For example, if the type of the task work order is a specified online type, the purpose is to bring a specified server or multiple servers online, its associated work orders may include but are not limited to work orders for purchasing servers, in which the hardware configuration of the purchased server can be queried; it may also include server deployment work orders, in which information such as which computer room and cabinet the server is deployed in, and the IP address of the management card corresponding to the server can be queried. After obtaining the associated work orders of the task work order, the configuration information required to complete the specified online type is extracted from the task work order and the associated work orders;

[0108] The embodiments of the present invention have the following technical effects: task work orders are managed through message queues, and related work orders are queried based on task work orders, so that work order types and configuration information are automatically obtained. There is no need for operation and maintenance engineers to manually extract work order information, which saves manpower, effectively avoids human operation errors that often occur in manual operations, improves production efficiency and reduces error rates.

[0109] Further, when the online type is a reinstallation system online type, the configuration items in the configuration information include one or any combination of the following: server factory information, operating system information, server hardware information, network information and user information;

[0110] In one embodiment, when performing an online operation of the reinstallation system online type, for a server in an Internet data center, before the online operation, it is necessary to prepare the designated server, including preparing the hardware configuration of the designated server, deploying it on a designated cabinet in a designated computer room, deploying a management card corresponding to the designated server, connecting various power cables, network cables, assigning an IP address, adding information of the corresponding server to the configuration management database, etc.; according to the configuration information extracted from the task worksheet, obtain the server factory information, the operating system information of the operating system to be installed, the server hardware information supported by the server, the network information of the server, and the user information, and the user information is used to log in to the server; and verify the configuration information, when any one item is illegal, the configuration information verification result is considered to be illegal, and when all configuration items of the configuration information are verified to be legal, the configuration information is considered to be legal; for illegal configuration items, the user will be prompted through the front-end Web UI interface or sent to the designated receiving address by other communication means such as emails for processing by designated personnel. When all configuration items of the configuration information are legal, continue to perform the online operation.

[0111] The checking the legitimacy of each configuration item in the configuration information according to the online type includes:

[0112] If the server supports the reinstallation system online operation according to the server factory information, the server factory information is legal; otherwise, the server factory information is illegal;

[0113] In some embodiments, the server factory information may include the server's factory date. Servers manufactured in different time periods may have different software and hardware configurations. For example, servers manufactured earlier may not support remote system reinstallation online operations. The server's factory date can be used to determine if the server's factory date is after the specified factory date. The current server supports the system reinstallation online operation, that is, the server's factory date is legal. Otherwise, the server does not support the system reinstallation online operation, that is, the server's factory date is illegal.

[0114] If it is verified that the operating system library supports the operating system corresponding to the operating system information, the operating system information is legal, otherwise the operating system information is illegal; the operating system library is used to record the operating system that can be used for the online operation of the reinstalled system;

[0115] In some embodiments, the information of operating systems that support remote installation can be centrally stored in an operating system library (i.e., OS system library). After the operating system information in the configuration information is obtained, the operating system library is queried. If the operating system information in the configuration information can be queried in the operating system library, the operating system information in the configuration information is considered legal, otherwise it is considered illegal.

[0116] If it is verified that the server supports the server hardware information, the server hardware information is legal; otherwise, the server hardware information is illegal;

[0117] In some embodiments, the server hardware information may include one or any combination of the following: Raid level, whether hyperthreading is supported, whether virtualization is supported, and whether BIOS settings are supported; specifically, the configuration management database (CMDB) can be queried online through a JavaScript script to obtain whether the server specified in the current configuration information supports the current Raid level. If the current Raid level is supported, the current configuration item is legal, otherwise it is illegal. The configuration management database can also be queried to obtain the factory information table of the server specified in the configuration information to determine whether the server specified in the configuration information supports hyperthreading, virtualization, BiOS settings, etc. The configuration management database includes but is not limited to being used to save the resources, configurations, and dependencies between various devices including servers in the Internet data center.

[0118] If the user information is verified to match the record in the user information database, the user information is legal, otherwise the user information is illegal; the user information is used to remotely log in to the server; the user information database is used to record user login information;

[0119] In some embodiments, the user information may include the Shell login user information of the server; the interface provided by the enterprise resource planning system (ie, ERP) is called to verify whether the user information in the configuration information is a legitimate user; the ERP records the information of each legitimate user including the Shell login user information;

[0120] If it is verified that the network information corresponding to the server is complete and valid, the network information is legal; otherwise, the network information is illegal.

[0121] In some embodiments, the network information includes but is not limited to one or any combination of the following: IP address and MAC address; automatically determine the legitimacy of the IP address through regular algorithms, and generate gateway information when the IP address is legal; and determine whether the corresponding server has recorded the default MAC address by querying the configuration management database. If the default MAC address is not recorded, the operation and maintenance engineer can be reminded to manually enter the default MAC address into the configuration management database through communication methods including email. The IP address, MAC address and gateway information are used to access the server specified in the configuration information through the network interface.

[0122] The embodiments of the present invention have the following technical effects: by verifying whether the configuration information is legal, there is no need for operation and maintenance engineers to manually check the content of the configuration information, thereby improving the efficiency and accuracy of the verification.

[0123] Further, after verifying the legitimacy of each configuration item in the configuration information according to the online type, the method further includes:

[0124] After confirming that at least one configuration item in the configuration information is illegal, generate verification result prompt information according to the illegal configuration item of the configuration information, and send the verification result prompt information to the first receiving end specified in the configuration information through the first prompt method specified in the configuration information.

[0125] In one embodiment, if the configuration information is illegal, verification result prompt information is generated based on the illegal configuration information, and the verification result prompt information is sent to a designated first receiving end such as a designated email address, WeChat account, SMS number, etc. through a first prompt method specified in the configuration information, such as email, WeChat, SMS, etc., and is processed by a corresponding designated staff member such as an operation and maintenance engineer or a task issuer; the verification result prompt information can also be fed back to the front-end Web UI interface, and the task issuer can modify it in time. Specifically, the communication with the front-end Web UI can be based on the HTTP REST system function API interface, and any programming language can be used for secondary development.

[0126] The embodiment of the present invention has the following technical effects: after receiving a task work order and automatically extracting configuration information, the legality of the configuration information can be automatically checked, and feedback can be given in a timely manner for illegal configuration information, thereby shortening the time for correcting errors and improving efficiency.

[0127] Furthermore, the reinstallation system online type includes: a new server online type, an old server online type, an online reinstallation system type, or a reinstallation system migration online type;

[0128] In one embodiment, the system reinstallation type can be one or more of the new server online type, the old server online type, the online system reinstallation type, or the system reinstallation migration type. Among them, the new server online type is an online operation for a newly purchased server; the old server online type is an online operation for a server that has been used before; the online system reinstallation type is for a server that is currently in use but needs to be reinstalled; the system reinstallation migration type is to migrate business content from the old server to the newly deployed server.

[0129] Accordingly, after confirming that the online type is a reinstallation system online type and all configuration items in the configuration information are legal, performing a reinstallation system online operation according to the configuration information for the server specified in the configuration information, including:

[0130] Parsing the configuration information to generate installation information;

[0131] Controlling the designated server to restart through a first remote command and enter a pre-startup execution environment;

[0132] Sending the installation information to the designated server through the pre-start execution environment, so that the designated server completes the system installation according to the installation information;

[0133] The configuration information is synchronized to a specified configuration management database.

[0134] In one embodiment, after verifying that the configuration information is legal, the installation information is generated according to the configuration information, and the installation information is sent to the server corresponding to the configuration information; the server restart control through the first remote command can be achieved through the following specific steps: the management card IP address corresponding to the server specified in the configuration information is obtained through the configuration information, and the IPMI command communication with the management card is established through the management card IP address. The management card is used to control the server's startup, shutdown, and restart, and has nothing to do with the server's own operating system and is not limited by the server's current operating status. The remote running IPMI command sets the server's default startup mode to network startup through the management card, and restarts the server. After the server starts, it enters the preboot execution environment (i.e., PXE, preboot execute environment). Continue to send installation information to the server and complete system installation through the following steps: the server performs DHCP (Dynamic Host Configuration Protocol) broadcast in the PXE environment, and the Internet data center automatic operation and maintenance device assigns an IP address to the server after receiving the broadcast, and this server IP address is used as the IP address used by the server during the reinstallation system online operation; the Internet data center automatic operation and maintenance device sends installation information to the server through TFTP, such as but not limited to kernel boot files and kernel images, and the server installs the kernel and starts the kernel; the Internet data center automatic operation and maintenance device sends other parts of the installation information to the server through communication with the kernel, such as but not limited to the image of the operating system to be installed; after the server receives the other parts of the installation information, it starts the installation of the system; after the system is installed, the Internet data center automatic operation and maintenance device synchronizes the content of the configuration information related to the server to the specified configuration management database. The embodiment of the present invention realizes the automatic sending of installation information according to the configuration information and completes the installation operation, so as to achieve the technical effect of improving installation efficiency and reducing error rate.

[0135] Further, the installation information includes: the status collection program;

[0136] The sending the installation information to the designated server through the pre-start execution environment so that the designated server completes the system installation according to the installation information includes:

[0137] The status collection program is issued and installed to the designated server through the pre-startup execution environment, wherein the status collection program is used to collect the online status data of the designated server during the execution of the online operation of the reinstallation system;

[0138] The receiving and saving online status data during the execution of the reinstallation system online operation includes:

[0139] Receiving the online status data uploaded by the status collection program, and writing the online status data into a first database;

[0140] If there is abnormal information in the online status data, automatically repair the fault corresponding to the abnormal information according to the abnormal information;

[0141] If the fault corresponding to the abnormal information cannot be automatically repaired, operation and maintenance prompt information is generated according to the abnormal information, and the operation and maintenance prompt information is sent to the second receiving end specified in the configuration information through the second prompt mode specified in the configuration information.

[0142] In some embodiments, the second prompt mode and the second receiving end are pre-set in the configuration information. The second prompt mode can be a communication mode such as communication with the front-end interface, email, WeChat, SMS, etc. The second receiving end is a receiving end corresponding to the second prompt mode, such as the front-end task display interface, email address, WeChat account, SMS number, etc. The person responsible for receiving and processing the information in the second receiving end can be an operation and maintenance engineer, a field engineer, or a task initiator, etc. The original operating system on the server can be the same as or different from the operating system reinstalled in this online operation; a status collection program can be pre-installed on the server, and the online status data during the online operation of the reinstalled system can be collected in real time through the pre-installed status collection program, and the online status data is written into the first database. When it is determined that there is abnormal information in the online status data, the fault corresponding to the abnormal information can be automatically repaired according to the abnormal information. For example, a certain step in the online operation of the reinstalled system has timed out and cannot be continued. At this time, the abnormal step can be determined according to the abnormal information, and the online operation of the reinstalled system is terminated, and the online operation of the reinstalled system is restarted, and the online operation of the reinstalled system is continued from the step where the abnormality occurred in the last online process. For a fault that has been attempted to be repaired more than the specified number of times or cannot be automatically repaired according to the abnormal information, the online status data in the first database is modified, the fault situation is recorded, and operation and maintenance prompt information is generated according to the abnormal information, and sent to a second receiving end corresponding to the second prompt method, such as but not limited to an email address, WeChat, SMS number, etc., through a second prompt method, such as but not limited to email, WeChat, SMS, etc., to remind the operation and maintenance engineer, field engineer, task initiator, etc. to intervene. The online status data collected in real time during the online process can also be fed back to the front-end Web UI interface by the back-end processing program through WebSokect, and displayed to the task initiator in real time.

[0143] The embodiment of the present invention has the following technical effects: during the online operation of the reinstalled system, the information during the online operation of the reinstalled system is collected through the pre-installed status collection program, so that a monitored online operation process is realized, and abnormalities during the online operation of the reinstalled system can be automatically discovered in time and automatically repaired. When the abnormalities cannot be repaired, manual intervention is requested in time, thereby providing traceable information for the online operation of the reinstalled system, and providing basic data for continuously improving the online operation of the reinstalled system and timely handling of faults. The real-time display of the online progress enables the task initiator to understand the online progress in time and reasonably arrange the time for subsequent tasks.

[0144] Further, after the reinstallation system is online, starting a stress test for the designated server includes:

[0145] Generate stress testing tasks according to pre-set stress testing rules;

[0146] Sending the stress testing task to the designated server through a third remote command, so that the designated server starts the stress test according to the stress testing task;

[0147] A stress test result is received from the designated server, and the stress test result is compared with a preset standard result library to generate a stress test report.

[0148] In one embodiment, after the system installation of the server is completed, a stress test for the server can also be performed. The stress test rules (i.e., stress test rules) are pre-formulated by the operation and maintenance engineer; the Internet data center automatic operation and maintenance device automatically generates a stress test task according to the stress test rules; the third remote command can be to establish a PXE environment between the Internet data center automatic operation and maintenance device and the server to complete the communication, or to establish a remote communication between the Internet data center automatic operation and maintenance device and the operating system that has been installed on the server to realize the execution of the third remote command. The stress test task is downloaded to the server through the third remote command, and the stress test of the server is started; the stress test results from the server are automatically received and a stress test report is generated. The stress test report can be fed back to the front-end WebUI interface, or it can be sent to the email address specified in the configuration information through the email system.

[0149] The embodiments of the present invention have the following technical effects: receiving work orders, verifying configuration information, executing online operation installation system and executing stress testing are integrated together to form automatically completed steps, and status information is collected during the execution process, so as to maximize the automatic execution of each step and the automatic resolution of faults, and timely feedback the operation results and unresolvable faults to the corresponding manual processing, thereby realizing the automation of the complete production line from demand generation task work orders to installation and online to the final stress test, thereby improving production efficiency, reducing labor costs and improving accuracy.

[0150] Furthermore, the online type also includes: a reserved system migration online type;

[0151] Accordingly, the configuration items in the configuration information include one or any combination of the following: server IP address and server MAC address;

[0152] The checking the legitimacy of each configuration item in the configuration information according to the online type includes:

[0153] If the server IP address conforms to the IP address format through regular check, the server IP address is legal, otherwise the server IP address is illegal; and,

[0154] If the server MAC address conforms to the MAC address format through regular verification, the server MAC address is legal, otherwise the server MAC address is illegal;

[0155] The method further comprises:

[0156] After confirming that the on-line type is a reserved system migration on-line type and all configuration items in the configuration information are legal, the configuration information is synchronized to a designated configuration management database.

[0157] In one embodiment, for the type of migration of the retained system without reinstalling the system, after confirming that the configuration information is legal, the configuration information can be updated to the storage item corresponding to the corresponding server in the configuration management database. The configuration information of each server is uniformly managed in the configuration management database, which facilitates the global understanding of the allocation of each resource and the complete resource dependency of each server, and can improve the equipment maintenance efficiency of the Internet data center.

[0158] It should be noted that, in each embodiment of the present specification, the first receiving end specified in the configuration information and the second receiving end specified in the configuration information may be the same receiving end or different receiving ends; each receiving end may refer to a device or a person, for example, it may be a display device, or it may be an operation and maintenance engineer, a field engineer, or a person issuing a task.

[0159] On the other hand, Figure 2 As shown, the embodiment of the present invention also provides an automatic operation and maintenance device for an Internet data center, including:

[0160] The task work order acquisition unit 200 is used to receive the task work order from the message queue, and parse the task work order to obtain the work order type and configuration information;

[0161] A configuration information validity checking unit 201 is used to check the validity of each configuration item in the configuration information according to the online type after confirming that the work order type is an online type;

[0162] An execution unit 202 is used to execute a reinstallation system online operation according to the configuration information for a server specified in the configuration information after confirming that the online type is a reinstallation system online type and all configuration items in the configuration information are legal;

[0163] The status collection unit 203 is used to receive and save online status data during the execution of the reinstallation system online operation; the online status data is collected by a preinstalled status collection program during the process of the reinstallation system online operation;

[0164] The stress testing unit 204 is used to start a stress test on the designated server after the reinstallation system is completed.

[0165] Furthermore, the task work order acquisition unit 200 includes:

[0166] A work order type acquisition module, used for receiving the task work order from the message queue and acquiring the work order type from the task work order;

[0167] The configuration information acquisition module is used to query the associated work orders of the task work order and obtain the configuration information according to the task work order and the associated work orders.

[0168] Further, when the online type is a reinstallation system online type, the configuration items in the configuration information include one or any combination of the following: server factory information, operating system information, server hardware information, network information and user information;

[0169] The configuration information legality checking unit 201 includes:

[0170] A factory information verification module, used to verify that the server supports the reinstallation system online operation according to the server factory information, and the server factory information is legal, otherwise the server factory information is illegal;

[0171] An operating system verification module, used to verify that if the operating system library supports the operating system corresponding to the operating system information, then the operating system information is legal, otherwise the operating system information is illegal; the operating system library is used to record the operating system that can be used for the online operation of the reinstalled system;

[0172] A hardware information verification module, used to verify that if the server supports the server hardware information, the server hardware information is legal; otherwise, the server hardware information is illegal;

[0173] A user information verification module is used to verify that the user information matches the record in the user information database, then the user information is legal, otherwise the user information is illegal; the user information is used to remotely log in to the server; the user information database is used to record user login information;

[0174] The network information verification module is used to verify that the network information corresponding to the server is complete and valid, and if so, the network information is legal; otherwise, the network information is illegal.

[0175] Furthermore, after the configuration information legality checking unit 201, it also includes:

[0176] A configuration information prompt unit is used to generate verification result prompt information according to the illegal configuration item of the configuration information after confirming that at least one configuration item in the configuration information is illegal, and send the verification result prompt information to the first receiving end specified in the configuration information through the first prompt method specified in the configuration information.

[0177] Furthermore, the reinstallation system online type includes: a new server online type, an old server online type, an online reinstallation system type, or a reinstallation system migration online type;

[0178] Accordingly, the first execution unit 202 includes:

[0179] An installation information acquisition module, used for parsing the configuration information to generate installation information;

[0180] A pre-start module, used to control the designated server to restart and enter a pre-start execution environment through a first remote command;

[0181] An installation information sending module, used to send the installation information to the designated server through the pre-start execution environment, so that the designated server completes the system installation according to the installation information;

[0182] The first configuration updating module is used to synchronize the configuration information to a specified configuration management database.

[0183] Further, the installation information includes: the status collection program;

[0184] The installation information sending module is also used to send and install the status collection program to the designated server through the pre-start execution environment. The status collection program is used to collect the online status data of the designated server during the execution of the online operation of the reinstallation system.

[0185] The state collection unit 203 includes:

[0186] A status collection module, used for receiving the online status data uploaded by the status collection program, and writing the online status data into a first database;

[0187] A fault processing module, configured to automatically repair a fault corresponding to the abnormal information according to the abnormal information if there is abnormal information in the online status data;

[0188] A fault prompt module is used to generate operation and maintenance prompt information according to the abnormal information if the fault corresponding to the abnormal information cannot be automatically repaired, and send the operation and maintenance prompt information to the second receiving end specified in the configuration information through the second prompt method specified in the configuration information.

[0189] Furthermore, the stress testing unit 204 includes:

[0190] The stress testing task generation module is used to generate stress testing tasks according to pre-set stress testing rules;

[0191] A stress test initiation module, configured to send the stress test task to the designated server through a third remote command, so that the designated server initiates a stress test according to the stress test task;

[0192] The stress test result receiving module is used to receive the stress test result from the specified server and compare the stress test result with a preset standard result library to generate a stress test report.

[0193] Furthermore, the online type also includes: a reserved system migration online type;

[0194] Accordingly, the configuration items in the configuration information include one or any combination of the following: server IP address and server MAC address;

[0195] The configuration information legality checking unit 201 includes:

[0196] An IP address format checking unit is used to check through regular expressions that if the server IP address conforms to the IP address format, the server IP address is legal, otherwise the server IP address is illegal; and

[0197] A MAC address format checking unit, used to check through regular expressions that if the server MAC address conforms to the MAC address format, the server MAC address is legal, otherwise the server MAC address is illegal;

[0198] The device also includes:

[0199] The second execution unit is used to synchronize the configuration information to a designated configuration management database after confirming that the online type is a reserved system migration online type and all configuration items in the configuration information are legal.

[0200] An automatic operation and maintenance device for an Internet data center provided in an embodiment of the present invention is a product type implementation series that corresponds one-to-one to the aforementioned automatic operation and maintenance method for an Internet data center. Those skilled in the art can understand the automatic operation and maintenance device for an Internet data center provided in an embodiment of the present invention based on the corresponding embodiment of the aforementioned automatic operation and maintenance method for an Internet data center without any objection, and will not be repeated here.

[0201] On the other hand, an embodiment of the present invention further provides a readable storage medium having a computer program stored thereon, wherein the computer program implements any one of the methods described above when executed by a processor.

[0202] The above technical solution has the following beneficial effects: by automatically monitoring the message queue, automatically obtaining work orders, extracting configuration information, and verifying the legitimacy of configuration information, there is no need to manually extract work orders and configuration information, and the operation and maintenance engineers only need to deal with the problematic machines afterwards; it can automatically generate stress test tasks according to the stress test rules pre-set by the operation and maintenance engineers, and automatically send them to the server, automatically complete the stress test and feedback the stress test results. By automating the operation and maintenance process that originally required a large amount of manual participation, it has achieved the effect of improving production efficiency and reducing the accident rate of human operation.

[0203] It should be understood that the specific order or hierarchy of steps in the disclosed process is an example of an exemplary method. Based on design preferences, it should be understood that the specific order or hierarchy of steps in the process can be rearranged without departing from the scope of protection of the present disclosure. The attached method claims present the elements of the various steps in an exemplary order and are not intended to be limited to the specific order or hierarchy described.

[0204] In the above detailed description, various features are grouped together in a single embodiment to simplify the disclosure. This method of disclosure should not be interpreted as reflecting an intention that the embodiments of the claimed subject matter require more features than are clearly stated in each claim. On the contrary, as reflected in the appended claims, the invention is in a state of having less than all the features of the disclosed individual embodiments. Therefore, the appended claims are hereby expressly incorporated into the detailed description, with each claim standing on its own as a separate preferred embodiment of the invention.

[0205] The disclosed embodiments are described above to enable any person skilled in the art to implement or use the present invention. Various modifications of these embodiments are obvious to those skilled in the art, and the general principles defined herein may also be applied to other embodiments without departing from the spirit and scope of the present disclosure. Therefore, the present disclosure is not limited to the embodiments given herein, but is consistent with the broadest scope of the principles and novel features disclosed in this application.

[0206] The above description includes examples of one or more embodiments. Of course, it is impossible to describe all possible combinations of components or methods for the purpose of describing the above embodiments, but it should be recognized by those skilled in the art that the various embodiments may be further combined and arranged. Therefore, the embodiments described herein are intended to cover all such changes, modifications and variations that fall within the scope of protection of the appended claims. In addition, with respect to the term "comprising" used in the specification or claims, the word is covered in a manner similar to the term "including", just as "including," is explained as a transitional word in the claims. In addition, any term "or" used in the specification of the claims is intended to mean "non-exclusive or".

[0207] Those skilled in the art may also understand that the various illustrative logical blocks, units, and steps listed in the embodiments of the present invention may be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly demonstrate the interchangeability of hardware and software, the various illustrative components, units, and steps described above have generally described their functions. Whether such functions are implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art may use various methods to implement the described functions for each specific application, but such implementation should not be understood as exceeding the scope of protection of the embodiments of the present invention.

[0208] The various illustrative logic blocks or units described in the embodiments of the present invention can be implemented or operated by a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic, a discrete hardware component, or any combination of the above. The general-purpose processor can be a microprocessor, and optionally, the general-purpose processor can also be any conventional processor, controller, microcontroller or state machine. The processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration.

[0209] The steps of the method or algorithm described in the embodiments of the present invention can be directly embedded in hardware, a software module executed by a processor, or a combination of the two. The software module can be stored in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or other storage media of any form in the art. Exemplarily, the storage medium can be connected to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Optionally, the storage medium can also be integrated into the processor. The processor and the storage medium can be arranged in an ASIC, and the ASIC can be arranged in a user terminal. Optionally, the processor and the storage medium can also be arranged in different components in the user terminal.

[0210] In one or more exemplary designs, the above functions described in the embodiments of the present invention can be implemented in hardware, software, firmware or any combination of the three. If implemented in software, these functions can be stored on a computer-readable medium, or transmitted in the form of one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media that facilitate the transfer of computer programs from one place to another. The storage medium can be any available medium that can be accessed by any general or special computer. For example, such computer-readable media can include but are not limited to RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage or other magnetic storage devices, or any other medium that can be used to carry or store program codes in the form of instructions or data structures and other forms that can be read by general or special computers, or general or special processors. In addition, any connection can be appropriately defined as a computer-readable medium, for example, if the software is transmitted from a website site, server or other remote resource through a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wirelessly, such as infrared, wireless and microwave, it is also included in the defined computer-readable medium. The disk and disc include compact disk, laser disk, optical disk, DVD, floppy disk and blue-ray disk. Disks usually copy data magnetically, while discs usually copy data optically with lasers. The above combination can also be included in computer readable media.

[0211] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. An automatic operation and maintenance method for an Internet data center, It is characterized in that include: Receive a task work order from a message queue, and parse the task work order to obtain the work order type and configuration information; After confirming that the work order type is an online type, verifying the legitimacy of each configuration item in the configuration information according to the online type; After confirming that the online type is a reinstallation system online type and all configuration items in the configuration information are legal, performing a reinstallation system online operation according to the configuration information for the server specified in the configuration information; Receiving and saving online status data during the execution of the reinstallation system online operation; the online status data is collected by a preinstalled status collection program during the reinstallation system online operation; After the reinstallation of the system is completed, a stress test is started for the designated server; The receiving of the task work order from the message queue and obtaining the work order type and configuration information according to the task work order parsing includes: Receiving the task work order from a message queue, and obtaining the work order type from the task work order; Querying the associated work orders of the task work order, and obtaining the configuration information according to the task work order and the associated work orders; The receiving and saving online status data during the execution of the reinstallation system online operation includes: Receiving the online status data uploaded from the status collection program, and writing the online status data into the first database; If there is abnormal information in the online status data, automatically repair the fault corresponding to the abnormal information according to the abnormal information; If the fault corresponding to the abnormal information cannot be automatically repaired, generating operation and maintenance prompt information according to the abnormal information, and sending the operation and maintenance prompt information to the second receiving end specified in the configuration information through the second prompt method specified in the configuration information; The reinstallation system online type includes: new server online type, old server online type, online reinstallation system type or reinstallation system migration online type; Accordingly, after confirming that the online type is a reinstallation system online type and all configuration items in the configuration information are legal, performing a reinstallation system online operation according to the configuration information for the server specified in the configuration information, including: Parsing the configuration information to generate installation information; Controlling the designated server to restart through a first remote command and enter a pre-startup execution environment; Sending the installation information to the designated server through the pre-start execution environment, so that the designated server completes the system installation according to the installation information; Synchronize the configuration information to a specified configuration management database; The installation information includes: the status collection program; The sending the installation information to the designated server through the pre-start execution environment so that the designated server completes the system installation according to the installation information includes: Sending and installing the status collection program to the designated server through the pre-start execution environment; After the reinstallation system is online, starting the stress test for the designated server includes: Generate stress testing tasks according to pre-set stress testing rules; Sending the stress testing task to the designated server through a third remote command, so that the designated server starts the stress test according to the stress testing task; Receiving the stress test result from the specified server, and comparing the stress test result with a preset standard result library to generate a stress test report; The status collection program is pre-issued and installed on the designated server, and is used to collect the online status data of the designated server during the execution of the online operation of the reinstalled system.

2. The automatic operation and maintenance method of an Internet data center according to claim 1, It is characterized in that When the online type is a reinstallation system online type, the configuration items in the configuration information include one or any combination of the following: server factory information, operating system information, server hardware information, network information and user information; The checking the legitimacy of each configuration item in the configuration information according to the online type includes: If the server supports the reinstallation system online operation according to the server factory information, the server factory information is legal; otherwise, the server factory information is illegal; If it is verified that the operating system library supports the operating system corresponding to the operating system information, the operating system information is legal, otherwise the operating system information is illegal; the operating system library is used to record the operating system that can be used for the online operation of the reinstalled system; If it is verified that the server supports the server hardware information, the server hardware information is legal; otherwise, the server hardware information is illegal; If the user information is verified to match the record in the user information database, the user information is legal, otherwise the user information is illegal; the user information is used to remotely log in to the server; the user information database is used to record user login information; If it is verified that the network information corresponding to the server is complete and valid, the network information is legal; otherwise, the network information is illegal.

3. The automatic operation and maintenance method of an Internet data center according to claim 1, It is characterized in that After verifying the legitimacy of each configuration item in the configuration information according to the online type, the method further includes: After confirming that at least one configuration item in the configuration information is illegal, generate verification result prompt information according to the illegal configuration item of the configuration information, and send the verification result prompt information to the first receiving end specified in the configuration information through the first prompt method specified in the configuration information.

4. The automatic operation and maintenance method of an Internet data center according to claim 1, It is characterized in that The online type also includes: a reserved system migration online type; Accordingly, the configuration items in the configuration information include one or any combination of the following: server IP address and server MAC address; The checking the legitimacy of each configuration item in the configuration information according to the online type includes: If the server IP address conforms to the IP address format through regular check, the server IP address is legal, otherwise the server IP address is illegal; and, If the server MAC address conforms to the MAC address format through regular verification, the server MAC address is legal, otherwise the server MAC address is illegal; The method further comprises: After confirming that the on-line type is a reserved system migration on-line type and all configuration items in the configuration information are legal, the configuration information is synchronized to a designated configuration management database.

5. An automatic operation and maintenance device for an Internet data center, It is characterized in that include: A task work order acquisition unit, used to receive a task work order from a message queue, and parse the task work order to obtain the work order type and configuration information; A configuration information validity checking unit, configured to verify the validity of each configuration item in the configuration information according to the online type after confirming that the work order type is an online type; A first execution unit is used to perform a system reinstallation online operation on a server specified in the configuration information according to the configuration information after confirming that the online type is a system reinstallation online type and all configuration items in the configuration information are legal; A status collection unit, used for receiving and saving online status data during the execution of the online operation of the reinstalled system; the online status data is collected by a preinstalled status collection program during the process of the online operation of the reinstalled system; A stress testing unit, configured to start a stress test on the designated server after the reinstallation system is online; The state collection unit comprises: A status collection module, used for receiving the online status data uploaded by the status collection program, and writing the online status data into a first database; A fault processing module, configured to automatically repair a fault corresponding to the abnormal information according to the abnormal information if there is abnormal information in the online status data; a fault prompt module, configured to generate operation and maintenance prompt information according to the abnormal information if the fault corresponding to the abnormal information cannot be automatically repaired, and send the operation and maintenance prompt information to the second receiving end specified in the configuration information through the second prompt mode specified in the configuration information; The reinstallation system online type includes: new server online type, old server online type, online reinstallation system type or reinstallation system migration online type; Accordingly, the first execution unit includes: An installation information acquisition module, used for parsing the configuration information to generate installation information; A pre-start module, used to control the designated server to restart and enter a pre-start execution environment through a first remote command; An installation information sending module, used to send the installation information to the designated server through the pre-start execution environment, so that the designated server completes the system installation according to the installation information; A first configuration update module, used to synchronize the configuration information to a specified configuration management database; The installation information includes: the status collection program; The installation information sending module is further used to send and install the status collection program to the designated server through the pre-startup execution environment, wherein the status collection program is used to collect the online status data of the designated server during the execution of the online operation of the reinstallation system; The stress measurement unit includes: The stress testing task generation module is used to generate stress testing tasks according to pre-set stress testing rules; A stress test initiation module, configured to send the stress test task to the designated server through a third remote command, so that the designated server initiates a stress test according to the stress test task; A stress test result receiving module, used for receiving the stress test result from the specified server, and comparing the stress test result with a preset standard result library to generate a stress test report; The status collection program is pre-issued and installed on the designated server, and is used to collect the online status data of the designated server during the execution of the online operation of the reinstalled system.

6. A readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Information checking method, device and system

    CN106681854A