CN113656088A - Self-service management method and device for Internet data center server and storage medium - Google Patents

Self-service management method and device for Internet data center server and storage medium Download PDF

Info

Publication number
CN113656088A
CN113656088A CN202110749425.2A CN202110749425A CN113656088A CN 113656088 A CN113656088 A CN 113656088A CN 202110749425 A CN202110749425 A CN 202110749425A CN 113656088 A CN113656088 A CN 113656088A
Authority
CN
China
Prior art keywords
information
server
configuration
configuration information
self
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110749425.2A
Other languages
Chinese (zh)
Other versions
CN113656088B (en
Inventor
张莹光
刘占一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sina Technology China Co Ltd
Original Assignee
Sina Technology China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sina Technology China Co Ltd filed Critical Sina Technology China Co Ltd
Priority to CN202110749425.2A priority Critical patent/CN113656088B/en
Publication of CN113656088A publication Critical patent/CN113656088A/en
Application granted granted Critical
Publication of CN113656088B publication Critical patent/CN113656088B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a self-service management method, a self-service management device and a self-service management storage medium for an internet data center server, wherein the self-service management method comprises the following steps: verifying each configuration item in the received configuration information aiming at the server; if at least one configuration item in the configuration information is verified to be illegal, sending a prompt aiming at the illegal configuration item through a task display interface; if all the configuration items in the configuration information are verified to be legal, executing the operation corresponding to the operation type in the configuration information, and completing the configuration of the server; the operation type is a configuration item in the configuration information.

Description

Self-service management method and device for Internet data center server and storage medium
Technical Field
The invention relates to the field of internet data center management, in particular to a self-service management method, a self-service management device and a self-service management storage medium for an internet data center server.
Background
For example, when a certain server needs to be restarted, a task initiator needs to manually create a restart task work order, the task initiator gives the restart task work order to a leader to examine and approve, the task initiator continuously issues the task to an operation and maintenance engineer, the operation and maintenance engineer receives the order and then forwards the restart task work order to a field engineer, and the field engineer restarts the server through an operation desk. For another example, when a certain server needs to be reloaded, a task initiator manually creates a reloading task work order, the task initiator submits the reloading task work order to a leader of the directness for examination and approval and then issues the reloading task work order to an operation and maintenance engineer, the operation and maintenance engineer uses a script to push a task to a server installation system after receiving the reloading task work order manually, the operation and maintenance engineer issues a field task work order to the field engineer after the installation is completed, and the field engineer uses an operation console to restart the server. In the prior art, a large amount of manual interference is needed for maintenance operation of an internet data center and information transfer between links, efficiency is low, mistakes are easy to occur, problems and phenomena occurring in the operation process need to be recorded by operators in the maintenance process, the operation process is easy to be incomplete, problems are difficult to trace after the events, and experience accumulation and inheritance are not facilitated.
In the process of implementing the invention, the applicant finds that at least the following problems exist in the prior art:
maintenance operation of the internet data center and information transfer among links need a large amount of manual interference, efficiency is low, and errors are easy to occur.
Disclosure of Invention
The embodiment of the invention provides a self-service management method, a self-service management device and a storage medium for an internet data center server, which obviously reduce the manual interference in the maintenance operation process of the internet data center, improve the efficiency and reduce the error rate.
In order to achieve the above object, in one aspect, an embodiment of the present invention provides a self-service management method for an internet data center server, including:
verifying each configuration item in the received configuration information aiming at the server;
if at least one configuration item in the configuration information is verified to be illegal, sending a prompt aiming at the illegal configuration item through a task display interface;
if all the configuration items in the configuration information are verified to be legal, executing the operation corresponding to the operation type in the configuration information, and completing the configuration of the server; the operation type is a configuration item in the configuration information.
Further, before executing the operation corresponding to the operation type in the configuration information, the method further includes:
judging the magnitude relation between the executed operation times of executing the operation corresponding to the operation type on the server in a set time period and the set specified operation time limit corresponding to the operation type; and are
Confirming that the number of executed operations is less than the specified operation number limit;
and after executing the operation corresponding to the operation type in the configuration information, further comprising: the number of operations performed is increased by one.
Further, still include:
if the executed operation times are judged to be larger than or equal to the specified operation time limit, generating an execution examination and approval work order according to the configuration information; and the number of the first and second groups,
after receiving the approval result of the execution approval worksheet, if the approval result is allowed to be executed, executing the operation corresponding to the operation type in the configuration information, if the approval result is refused to be executed, generating approval refusal prompt information aiming at the approval result, sending the approval refusal prompt information to a first receiving end appointed in the configuration information through a first prompt mode appointed in the configuration information, and not executing the operation corresponding to the operation type in the configuration information.
Further, the operation type includes: starting up, shutting down or restarting;
the executing the operation corresponding to the operation type in the configuration information to complete the configuration of the server includes:
controlling the server to execute startup, shutdown or restart through a first remote command;
if the first remote command fails to be executed, command failure prompt information is generated aiming at the first remote command which fails to be executed, and the command failure prompt information is sent to a second receiving end appointed in the configuration information through a second prompt mode appointed in the configuration information.
Further, the operation type further includes: equipment repair is reported;
the executing the operation corresponding to the operation type in the configuration information to complete the configuration of the server further comprises:
and establishing equipment repair information according to the configuration items related to the equipment repair in the configuration information, and sending the equipment repair information to a third receiving end appointed in the configuration information through a third prompting mode appointed in the configuration information.
Further, the operation type further includes: installing operation;
correspondingly, the configuration item in the configuration information further includes: server delivery information, operating system information, server hardware information, network information and user information;
the checking each configuration item in the received configuration information for the server includes:
verifying that the server supports the installation operation according to the delivery information of the server, wherein the verification result is legal, otherwise, the verification result is illegal;
if the operating system corresponding to the operating system information supported by the operating system library is verified, the verification result is legal, otherwise, the verification result is illegal; the operating system library is used for recording an operating system which can be used for installing operation;
if the server supports the server hardware information, the verification result is legal, otherwise, the verification result is illegal;
if the user information is verified to be matched with the records in the user information base, the verification result is legal, otherwise, the verification result is illegal; the user information is used for remotely logging in the server; the user information base is used for recording user login information;
if the network information corresponding to the server is verified to be complete and valid, the verification result is legal, otherwise, the verification result is illegal, network information completion prompting information is generated aiming at the incomplete network information, and the network information completion prompting information is sent to a fourth receiving end appointed in the configuration information through a fourth prompting mode appointed in the configuration information;
the executing the operation corresponding to the operation type in the configuration information to complete the configuration of the server further comprises:
analyzing the configuration information to generate installation information;
controlling the server to execute restart through a second remote command, and entering a pre-starting execution environment;
and issuing the installation information to the server through the pre-starting execution environment so as to enable the server to start the installation operation.
Further, the installation information includes: a state collection procedure;
the sending the installation information to the server through the pre-starting execution environment so as to enable the server to start the installation operation further comprises:
issuing and installing the state collection program to the server, wherein the state collection program is used for collecting installed state data of the server in the installation operation execution process;
receiving the installed state data uploaded by the state collection program, and writing the installed state data into a first database;
if the installed state data contains abnormal information, automatically repairing the fault corresponding to the abnormal information according to the abnormal information;
if the fault corresponding to the abnormal information cannot be automatically repaired, establishing an abnormal maintenance state in the installed state data, generating operation and maintenance prompt information according to the abnormal information, and sending the operation and maintenance prompt information to a fifth receiving end appointed in the configuration information through a fifth prompt mode appointed in the configuration information;
and displaying the installed state data in real time through the task display interface.
Further, after the executing the operation corresponding to the operation type in the configuration information and completing the configuration of the server, the method further includes:
and synchronizing the configuration information corresponding to the server into a configuration management database.
On the other hand, the embodiment of the invention also provides a self-service management device for the internet data center server, which comprises the following components:
the configuration checking unit is used for checking each configuration item in the received configuration information aiming at the server;
the configuration verification feedback unit is used for sending out a prompt aiming at an illegal configuration item through a task display interface if at least one configuration item in the configuration information is verified to be illegal;
a configuration operation executing unit, configured to execute an operation corresponding to the operation type in the configuration information if it is verified that all configuration items in the configuration information are legal, so as to complete configuration of the server; the operation type is a configuration item in the configuration information.
Further, before the configuring the operation execution unit, the method further includes: the approval unit is used for judging the size relationship between the executed operation times of executing the operation corresponding to the operation type on the server in a set time period and the set specified operation time limit corresponding to the operation type; and confirming that the executed operation times are less than the specified operation times limit; and after executing the operation corresponding to the operation type in the configuration information, further comprising: the number of operations performed is increased by one.
Further, the approval unit is further configured to generate an approval execution worksheet according to the configuration information if it is determined that the number of times of the executed operation is greater than or equal to the specified operation number limit; and after receiving an approval result of the execution approval worksheet, if the approval result is allowed to be executed, executing an operation corresponding to the operation type in the configuration information, if the approval result is refused to be executed, generating approval refusal prompt information aiming at the approval result, sending the approval refusal prompt information to a first receiving end appointed in the configuration information through a first prompt mode appointed in the configuration information, and not executing the operation corresponding to the operation type in the configuration information.
Further, the operation type includes: starting up, shutting down or restarting;
the configuration operation execution unit includes:
the first command execution module is used for controlling the server to execute startup, shutdown or restart through a first remote command;
and the first command failure processing module is used for generating command failure prompt information aiming at the first remote command with failed execution if the first remote command fails to execute, and sending the command failure prompt information to a second receiving end appointed in the configuration information through a second prompt mode appointed in the configuration information.
Further, the operation type further includes: equipment repair is reported;
the configuration operation execution unit further includes:
and the repair processing module is used for establishing equipment repair information according to the configuration items related to the equipment repair in the configuration information and sending the equipment repair information to a third receiving end appointed in the configuration information through a third prompting mode appointed in the configuration information.
Further, the operation type further includes: installing operation;
correspondingly, the configuration item in the configuration information further includes: server delivery information, operating system information, server hardware information, network information and user information;
the configuration checking unit comprises:
a factory information checking module for checking that the server supports the installation operation according to the factory information of the server, if the checking result is legal, otherwise, the checking result is illegal;
the operating system checking module is used for checking out that the operating system library supports the operating system corresponding to the operating system information, if the checking result is legal, otherwise, the checking result is illegal; the operating system library is used for recording an operating system which can be used for installing operation;
the hardware information checking module is used for checking that the server supports the server hardware information, if the checking result is legal, otherwise, the checking result is illegal;
the user information checking module is used for checking that the user information is matched with the records in the user information base, if the checking result is legal, otherwise, the checking result is illegal; the user information is used for remotely logging in the server; the user information base is used for recording user login information;
and the network information checking module is used for checking that the network information corresponding to the server is complete and valid, if the checking result is legal, otherwise, the checking result is illegal, generating network information completion prompting information aiming at the incomplete network information, and sending the network information completion prompting information to a fourth receiving end appointed in the configuration information through a fourth prompting mode appointed in the configuration information.
Further, the configuration operation execution unit further includes:
the installed information generating module is used for analyzing the configuration information to generate installed information;
the pre-starting environment starting module is used for controlling the server to execute restarting through a second remote command and entering a pre-starting execution environment;
and the installation module is used for issuing the installation information to the server through the pre-starting execution environment so as to enable the server to start the installation operation.
Further, the installation information includes: a state collection procedure;
the installation module includes:
the state collection program issuing module is used for issuing and installing the state collection program to the server, and the state collection program is used for collecting installed state data of the server in the installation operation execution process;
the installed state storage module is used for receiving the installed state data uploaded by the state collection program and writing the installed state data into a first database;
the exception handling module is used for automatically repairing a fault corresponding to the exception information according to the exception information if the exception information exists in the installed state data;
the abnormal notification module is used for establishing an abnormal maintenance state in the installed state data 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 a fifth receiving end appointed in the configuration information through a fifth prompt mode appointed in the configuration information;
and the installed state display module is used for displaying the installed state data in real time through the task display interface.
Further, after the configuration operation execution unit, there are further provided:
and the configuration information storage unit is used for synchronizing the configuration information corresponding to the server into a configuration management database.
In another aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements any one of the methods described above.
The technical scheme has the following beneficial effects: the configuration operation of the server is automatically completed according to the configuration information submitted by the task initiator, specifically comprises starting up, shutting down, restarting, equipment repair and reinstallation systems and the like, so that the problems that in the existing internet data center management, a large amount of manual operation execution is low in efficiency and prone to errors are solved, and the technical effects of labor cost saving, high efficiency and high accuracy are achieved; the production time from the bringing up of the demand to the fulfillment of the demand is significantly shortened. Furthermore, when the task initiator submits the configuration information, the information related to the configuration information in the system is automatically retrieved, the configuration information is verified, the task initiator is prompted to modify aiming at illegal configuration items, the repeated tasks caused by the problem finding when the execution period is entered are avoided, and the probability of the correct execution of the tasks is improved; furthermore, the installation operation recording function is added, so that the problems in the installation process can be traced, the faults can be automatically found, the faults can be automatically tried to be repaired, the stability in the installation operation process is improved, the fault which cannot be solved can be timely alarmed, and the speed of solving the faults through manual interference is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a self-service management method of an internet data center server according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an internet data center server self-service management apparatus according to an embodiment of the present invention;
fig. 3 is a schematic application diagram of an internet data center server self-service management apparatus according to an embodiment of the present invention;
fig. 4 is a data flow diagram illustrating an internet data center server self-service management method according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention realizes the conversion from manual execution script installation to self-service full-automatic installation, can quickly carry out startup, shutdown, restart, equipment repair and installation operations on the server system, improves the overall working efficiency and reduces the error rate
The following disadvantages of the prior art are addressed: the interval from the requirement to the delivery is long, and a task initiator cannot check the current processing link in real time; the task initiator can not automatically prompt and judge the legality when selecting the configuration items in the configuration information; the steps of the installation operation are complex and tedious, and the operation and maintenance engineer has large daily workload and high error rate; after the installation operation is completed, the operation and maintenance engineer needs to manually change the configuration of the corresponding server to a CMDB (configuration management database); when the equipment (server) is abnormal and needs to be repaired, the operation and maintenance engineer cannot be quickly informed; and, there is no audit function, the trouble can't be traced back;
the embodiment of the invention mainly solves the problem of complexity of manually executing script installation at present and further realizes that a task initiator can self-help select configuration on a Web UI interface and supports a single server and a batch server to issue operation tasks; the front end automatically judges and prompts the validity of the content currently input in the Web UI by the task initiator by using an asynchronous technology; the time interval from the generation of the demand by the task initiator to the meeting of the demand is shortened, and the working efficiency is improved; the equipment repair reporting function is added, and the task initiator can submit the added description to an operation and maintenance engineer after adding the description in the reconfiguration information; the behavior recording function is integrated, so that the accident problem can be quickly traced; the system function API interface based on the HTTP REST can be developed secondarily by using any programming language; through reasonable rule formulation, functional plates are distinguished, and safety control is facilitated.
In one aspect, as shown in fig. 1, an embodiment of the present invention provides an internet data center server self-service management method, which is applied to an internet data center server self-service management apparatus, where the internet data center server self-service management apparatus may be any terminal or server with a computing function, and the internet data center server self-service management apparatus is used for configuring a server in an internet data center, and the method includes, but is not limited to, the following processes:
step S100, each configuration item in the received configuration information aiming at the server is verified;
in some embodiments, the internet data center server self-service management device (hereinafter referred to as self-service management device) may provide an interface for filling configuration information to a task initiator through a Web UI (i.e., task presentation interface) at a front end; after receiving the configuration information filled by the task initiator, the self-service management device checks each configuration item in the configuration information, and the specific checking process may be to query, for each configuration item, a resource record corresponding to the corresponding configuration item, and determine whether the corresponding configuration item is supported.
Step S101, if at least one configuration item in the configuration information is verified to be illegal, sending a prompt aiming at the illegal configuration item through a task display interface;
in some embodiments, when any configuration item in the configuration information submitted by the task initiator is found to be illegal, the corresponding configuration item is prompted to the task initiator through a front-end Web UI interface that the configuration item is illegal, and a user is allowed to modify the corresponding configuration item according to the prompt, so that the task initiator can be further prompted to select a correct configuration according to a resource record queried during verification.
Step S102, if all the configuration items in the configuration information are verified to be legal, executing the operation corresponding to the operation type in the configuration information, and completing the configuration of the server; the operation type is a configuration item in the configuration information.
In some embodiments, when all configuration items in the configuration information are legal, corresponding operations are automatically executed by using information of other configuration items in the configuration information according to the operation type in the configuration information, and the configuration of the specified server of the internet data center is completed.
The embodiment of the invention has the following technical effects: after a task initiator submits configuration information only through a front-end Web UI interface provided by the Internet data center server self-service management device, the Internet data center server self-service management device can automatically complete the configuration of the server according to the operation type in the configuration information and other configuration items in the configuration information, the participation of the task initiator is not needed during the configuration, and the configuration can be automatically completed or a mail prompt is automatically sent to related personnel when an error occurs in the configuration process; the scheme realizes automatic management of the server in the internet data center, obviously reduces manual intervention, solves the problems of low efficiency and easy error caused by manual execution of a large amount of operations in the internet data center management at present, and achieves the technical effects of labor cost saving, high efficiency and high accuracy.
Further, before executing the operation corresponding to the operation type in the configuration information, the method further includes:
judging the magnitude relation between the executed operation times of executing the operation corresponding to the operation type on the server in a set time period and the set specified operation time limit corresponding to the operation type; and are
Confirming that the number of executed operations is less than the specified operation number limit;
and after executing the operation corresponding to the operation type in the configuration information, further comprising: the number of operations performed is increased by one.
In some embodiments, in the management of the internet configuration center on the servers, the number of operation limits within a set time period is set for each operation type of each server, the set time period may be a period of one day, a period of several days, or a period of months, and the time length of the specific time period may be set according to specific application conditions. The operation number limit can be set to be the same or different numbers for different servers; the operation number limit can also be different or same number of times specified for different operations; for example, for operation a of server a, the operation number limit may be specified as 5, and for operation a of server B, the operation number limit may be specified as 3; for another example, the operation a of the server a may be assigned a limit of 5 operations, and the operation b of the server a may be assigned a limit of 3 operations. Taking a single day as a set time period for example, when the number of times of operation of each operation type of each server in a single day does not exceed the number of times of a single day operation limit specified by the corresponding operation type of the corresponding server, the operation corresponding to the operation type in the configuration information may be directly executed without approval, after the operation is executed, the number of executed operations is increased by one, so that the number of executed operations is verified at the next time of executing the operation, the number of executed operations may be stored in a storage space specified by the self-service management device of the internet data center server, such as a database or a file, or may be stored in the server on which the operation is executed, and is updated by the self-service management device of the internet data center server through a remote command.
The embodiment of the invention has the following technical effects: under normal conditions, a server in the Internet data center can continuously run for a plurality of days without faults, and manual intervention is not needed. Limiting the number of times of single-day operation limit of each operation type per day for each server can avoid unlimited frequent operations for the server within a single day, thereby avoiding unexpected unnecessary operations and malicious operations.
Further, still include:
if the executed operation times are judged to be larger than or equal to the specified operation time limit, generating an execution examination and approval work order according to the configuration information; and the number of the first and second groups,
after receiving the approval result of the execution approval worksheet, if the approval result is allowed to be executed, executing the operation corresponding to the operation type in the configuration information, if the approval result is refused to be executed, generating approval refusal prompt information aiming at the approval result, sending the approval refusal prompt information to a first receiving end appointed in the configuration information through a first prompt mode appointed in the configuration information, and not executing the operation corresponding to the operation type in the configuration information.
In some embodiments, in the management of the internet configuration center on the servers, the number of operation limits within a set time period is set for each operation type of each server, the set time period may be a period of one day, a period of several days, or a period of months, and the time length of the specific time period may be set according to specific application conditions. For example, in management of servers by an internet configuration center, a specified number of times of a single-day operation limit is set for each operation type of each server; when the operation frequency of each operation type of each server exceeds the specified single-day operation quota frequency of the corresponding operation type of the corresponding server in a single day, submitting an examination and approval worksheet to an approver, continuing to execute the operation corresponding to the operation type of the time after the approver agrees, and ending the operation task without continuing to execute the operation corresponding to the operation type of the time if the approver refuses; when the operation frequency of each operation type of each server does not exceed the operation limit frequency of the corresponding operation type of the corresponding server in a single day, the operation corresponding to the operation type in the configuration information can be directly executed without approval. The approver can be a directly superior of the task initiator, and can also be an agent approver appointed by the directly superior. For example, for the server a, the number of times of the single-day operation limit for daily restart is specified as 5 times, if the server a performs 5 times of restart on the same day, the operation of restarting the server a may be continued after approval by the approver, and if the approver rejects the operation, the operation of restarting the server a may not be performed. For different operation types, the same or different number of times of the single-day operation limit may be specified correspondingly, for example, for the restart operation of the server a, the number of times of the single-day operation limit may be specified as 5 times; for the installation operation of the server a, the number of times of the single-day operation limit may be specified as 2 times. Different servers may each specify the same or different number of times of the single-day operation limit, for example, the number of times of the single-day operation limit may be specified as 5 times for the restart operation of the server a; the restart operation for server B may specify that the number of times of the single-day operation quota is 3. If the approval work order of the operation corresponding to the operation type is rejected, a prompt can be sent; a first prompting mode and a first receiving end are preset in the configuration information, the first prompting mode can be communication modes such as communication with a front-end interface, mails, WeChat, short messages and the like, the first receiving end is a receiving end corresponding to the first prompting mode, such as a task display interface, a mailbox address, a micro signal, a short message number and the like of the front end, and personnel responsible for receiving and processing information in the first receiving end can be an operation and maintenance engineer, a field engineer, a task initiator and the like. For example, the rejected approval information may be fed back through the front-end Web UI interface or a rejected approval email may be sent to the task originator.
The embodiment of the invention has the following technical effects: under normal conditions, a server in the Internet data center can continuously run for a plurality of days without faults, and manual intervention is not needed. The number of times of single-day operation limit of each operation type in each day is limited for each server, so that the unlimited frequent operation for the server in a single day can be avoided, and accidental unnecessary operation and malicious operation are avoided; for the operation requests exceeding the single-day operation limit times, whether the operation of the application is necessary to be continuously executed or not can be judged through manual approval, and the necessary operation exceeding the single-day operation limit times can still be executed.
Further, the operation type includes: starting up, shutting down or restarting;
the executing the operation corresponding to the operation type in the configuration information to complete the configuration of the server includes:
controlling the server to execute startup, shutdown or restart through a first remote command;
if the first remote command fails to be executed, command failure prompt information is generated aiming at the first remote command which fails to be executed, and the command failure prompt information is sent to a second receiving end appointed in the configuration information through a second prompt mode appointed in the configuration information.
In some embodiments, the type of operation specified in the configuration information may include power on, power off, or reboot; the self-service management device of the internet data center server executes startup, shutdown or restart operations on the server corresponding to the configuration information through a remote command according to the specified operation type; specifically, an IP address of the corresponding server or an IP address of a management card of the corresponding server may be specified in one configuration item in the configuration information, where the management card is a hardware device, is used to be independent of the corresponding server, and may control the startup, shutdown, and restart of the corresponding server. The self-service management device of the internet data center server acquires the IP of the corresponding server from the configuration information and can remotely send a starting, shutdown or restarting command to the corresponding server; the self-service Management device of the internet data center server can also remotely realize the startup, shutdown or restart of the corresponding server through an Intelligent Platform Management Interface (IPMI) through the Management card after acquiring the IP address of the Management card of the corresponding server from the configuration information. The processes are all completed by the self-service management device of the Internet data center server automatically according to the configuration information, and manual participation is not needed under normal conditions; when the operation cannot be automatically completed due to the occurrence of the abnormality, a field engineer is prompted to intervene for processing through a mail. When abnormality occurs, command failure prompt information can be sent out; a second prompting mode and a second receiving end are preset in the configuration information, the second prompting mode can be communication modes such as communication with a front-end interface, mails, WeChat, short messages and the like, the second receiving end is a receiving end corresponding to the second prompting mode, such as a task display interface, a mailbox address, a micro signal, a short message number and the like of the front end, and personnel responsible for receiving and processing information in the second receiving end can be an operation and maintenance engineer, a field engineer, a task initiator and the like.
The embodiment of the invention has the following technical effects: the task initiator only needs to fill in the configuration information through a Web UI (user interface) provided by the front end, and the self-service management device of the Internet data center server can automatically complete the starting, shutdown or restarting operation of the corresponding server according to the received configuration information without manual processing by a field engineer under normal conditions; when the operation cannot be completed due to the occurrence of the abnormality, a field engineer is prompted to intervene for processing through the mail, so that the working efficiency is obviously improved, the labor cost is reduced, the manual participation is reduced, the probability of manual error operation can be further reduced, and the system stability is further improved.
Further, the operation type further includes: equipment repair is reported;
the executing the operation corresponding to the operation type in the configuration information to complete the configuration of the server further comprises:
and establishing equipment repair information according to the configuration items related to the equipment repair in the configuration information, and sending the equipment repair information to a third receiving end appointed in the configuration information through a third prompting mode appointed in the configuration information.
In some embodiments, the operation type in the configuration information may further include a device repair; and the self-service management device of the Internet data center server automatically creates equipment repair information according to the received configuration information. A third prompting mode and a third receiving end are preset in the configuration information, the third prompting mode can be a communication mode such as communication with a front-end interface, e.g., a mail, a WeChat, a short message, etc., the third receiving end is a receiving end corresponding to the third prompting mode, e.g., a task display interface, e.g., a mailbox address, a micro signal, a short message number, etc., of the front end, and a person responsible for receiving and processing information in the third receiving end can be an operation and maintenance engineer, a field engineer, a task initiator, etc. As a specific example, a device repair mail may be generated as the device repair information, the device repair mail may be sent to a designated mailbox address, and an engineer who manages the mailbox address may process the repair of the relevant device.
The embodiment of the invention has the following technical effects: the automation of the whole steps from the task initiator applying for equipment repair to the appointed engineer executing the equipment repair is realized, the execution efficiency of the equipment repair task is improved, and the fault processing time is obviously reduced.
Further, the operation type further includes: installing operation;
correspondingly, the configuration item in the configuration information further includes: server delivery information, operating system information, server hardware information, network information and user information;
in some embodiments, the operation type may also include installation operations; the self-service management device of the internet data center server obtains factory information of the server, operating system information of an operating system to be installed, server hardware information supported by the server, network information of the server and user information according to the received configuration information, wherein the user information is used for logging in the server; the self-service management device of the Internet data center server checks the configuration information, when any one item is illegal, the check result of the configuration information is considered to be illegal, and when all configuration items of the configuration information are checked to be legal, the configuration information is considered to be legal; and for the illegal configuration items, the self-service management device of the Internet data center server prompts the user through a front-end Web UI (user interface). And when all the configuration items of the configuration information are legal, continuing to execute the installation operation.
The checking each configuration item in the received configuration information for the server includes:
verifying that the server supports the installation operation according to the delivery information of the server, wherein the verification result is legal, otherwise, the verification result is illegal;
in some embodiments, the server factory information may include a factory date of the server, and the servers factory in different time periods may have different software and hardware configurations, for example, the server factory in an early stage may not support the remote installation operation, and the server factory date may be determined by the factory date of the server, and if the factory date of the server is determined to be after the specified factory date, the current server supports the installation operation, that is, the factory date of the server is legal, otherwise, the installation operation is not supported, that is, the factory date of the server is illegal.
If the operating system corresponding to the operating system information supported by the operating system library is verified, the verification result is legal, otherwise, the verification result is illegal; the operating system library is used for recording an operating system which can be used for installing operation;
in some embodiments, information of an operating system that the internet data center server self-service management apparatus can support remote installation may be centrally stored in an operating system library (i.e., an OS system library), and when the internet data center server self-service management apparatus receives configuration information and acquires operating system information in the configuration information, by querying the operating system library, 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 to be legal, otherwise, the operating system information in the configuration information is considered to be illegal.
If the server supports the server hardware information, the verification result is legal, otherwise, the verification result is illegal;
in some embodiments, the server hardware information may include: raid level, whether hyper-threading is supported, whether virtualization is supported, and whether BIOS setting is supported; specifically, a Configuration Management Database (i.e., CMDB) may be queried online through a JavaScript script to obtain whether the server specified in the current Configuration information supports the current Raid level, and if the server supports the current Raid level, the current Configuration item is legal, otherwise, the current Configuration item is illegal. And the factory information table of the server specified by the configuration information can be obtained by inquiring the configuration management database, and whether the server specified by the configuration information supports hyper-threading, virtualization, BiOS setting and the like can be judged. The configuration management database includes, but is not limited to, resources, configurations, and dependencies among each other for holding the occupation of various devices, including servers, in the internet data center.
If the user information is verified to be matched with the records in the user information base, the verification result is legal, otherwise, the verification result is illegal; the user information is used for remotely logging in the server; the user information base is used for recording user login information;
in some embodiments, the user information may include Shell login user information of the server; the self-service management device of the internet data center server verifies whether the user information submitted in the configuration information is a legal user by calling an interface provided by an Enterprise Resource Planning system (ERP); the ERP records the information of each legal user including the information of the Shell login user;
if the network information corresponding to the server is verified to be complete and valid, the verification result is legal, otherwise, the verification result is illegal, network information completion prompting information is generated aiming at the incomplete network information, and the network information completion prompting information is sent to a fourth receiving end appointed in the configuration information through a fourth prompting mode appointed in the configuration information;
in some embodiments, a fourth prompting manner and a fourth receiving end are preset in the configuration information, the fourth prompting manner may be a communication manner with a front-end interface, such as a communication manner of a mail, a WeChat, a short message, and the like, the fourth receiving end is a receiving end corresponding to the fourth prompting manner, such as a task display interface, a mailbox address, a micro signal, a short message number, and the like of the front end, and a person responsible for receiving and processing information in the fourth receiving end may be an operation and maintenance engineer, a field engineer, a task initiator, and the like; network information includes, but is not limited to: an IP address and a MAC address; the self-service management device of the internet data center server automatically judges the legality of the IP address through algorithms such as regular algorithm and the like, and generates gateway information when the IP address is legal; the self-service management device of the internet data center server also judges whether the corresponding server records the default MAC address by inquiring the configuration management database, if the default MAC address is not recorded, the network information completion prompting information is generated, and the mail containing the network information completion prompting information is sent to a fourth receiving end, for example, the mail address specified in the configuration information, by a fourth prompting mode, for example, a mail, so as to remind an operation and maintenance engineer to manually input the default MAC address into the configuration management database. The IP address, MAC address, and gateway information are used to access the server specified in the configuration information through the network interface.
The embodiment of the invention has the following technical effects: for the servers in the internet data center, before installation operation, specific servers need to be prepared, including hardware configuration for preparing the specific servers, deployment of the specific servers on a specific cabinet in a specific machine room, deployment of management cards corresponding to the specific servers, connection of various power lines and network cables, allocation of IP addresses, addition of information of the corresponding servers to a configuration management database, and the like; when the installation operation is executed through the internet data center server self-service management device, the internet data center server self-service management device needs to check whether the information corresponding to the preparation work is legal or not, and whether the specified server, the operating system software and the network environment are available or not based on the preparation work. The work is automatically completed by the self-service management device of the internet data center server, a task initiator, an operation and maintenance engineer and a field engineer do not need to directly participate, the task handover among the responsible persons in all steps is avoided, the installation efficiency is improved, and the error rate is reduced.
The executing the operation corresponding to the operation type in the configuration information to complete the configuration of the server further comprises:
analyzing the configuration information to generate installation information;
controlling the server to execute restart through a second remote command, and entering a pre-starting execution environment;
and issuing the installation information to the server through the pre-starting execution environment so as to enable the server to start the installation operation.
In some embodiments, after the configuration information is verified to be legal, installed information is generated according to the configuration information, and the installed information is issued to a server corresponding to the configuration information; the execution of the restart by the second remote command control server may be implemented by, for example, obtaining a management card IP address corresponding to the server specified in the configuration information through the configuration information, and establishing IPMI command communication with the management card through the management card IP address, where the management card is used to control the startup, shutdown, and restart of the server, and is unrelated to the operating system of the server itself and is not limited by the current operating state of the server. The remote operation IPMI command sets a default starting mode of the server to be network starting through the management card, restarts the server, and enters a pre-starting execution environment (namely PXE, pre-boot execution environment) after the server is started; the method comprises the following steps that installation information is continuously downloaded to a server and installation operation is completed, for example, the server conducts DHCP (dynamic host configuration protocol) broadcasting in a PXE environment, an Internet data center server self-service management device distributes an IP address for the server after receiving the broadcasting, and the IP address of the server is used as the IP address used by the server during installation operation; the self-service management device of the Internet data center server sends installation information such as but not limited to a kernel boot file and a kernel mirror image to the server through TFTP, the server installs the kernel and starts the kernel; the self-service management device of the internet data center server sends other parts of installation information to the server through communication with the kernel, such as but not limited to a mirror image of an operating system to be installed; after receiving other parts of the installation information, the server 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 invention realizes the automatic issuing of the installation information according to the configuration information and the completion of the installation operation, thereby achieving the technical effects of improving the installation efficiency and reducing the error rate.
Further, the installation information includes: a state collection procedure;
the sending the installation information to the server through the pre-starting execution environment so as to enable the server to start the installation operation further comprises:
issuing and installing the state collection program to the server, wherein the state collection program is used for collecting installed state data of the server in the installation operation execution process;
receiving the installed state data uploaded by the state collection program, and writing the installed state data into a first database;
if the installed state data contains abnormal information, automatically repairing the fault corresponding to the abnormal information according to the abnormal information;
if the fault corresponding to the abnormal information cannot be automatically repaired, establishing an abnormal maintenance state in the installed state data, generating operation and maintenance prompt information according to the abnormal information, and sending the operation and maintenance prompt information to a fifth receiving end appointed in the configuration information through a fifth prompt mode appointed in the configuration information;
and displaying the installed state data in real time through the task display interface.
In some embodiments, a fifth prompting manner and a fifth receiving end are preset in the configuration information, the fifth prompting manner may be a communication manner with a front-end interface, such as a communication manner of a mail, a WeChat, a short message, and the like, the fifth receiving end is a receiving end corresponding to the fifth prompting manner, such as a task display interface, a mailbox address, a micro signal, a short message number, and the like of the front end, and a person responsible for receiving and processing information in the fifth receiving end may be an operation and maintenance engineer, a field engineer, a task initiator, and the like. The original operating system on the server can be the same as or different from the operating system reinstalled in the current installation operation; the method comprises the steps of pre-installing a state collecting program on a server, collecting installation state data in the installation operation process in real time through the pre-installed state collecting program, writing the installation state data into a first database, when abnormal information exists in the installation state data, trying to automatically repair a fault corresponding to the abnormal information according to the abnormal information, wherein the fault cannot continue to advance when a certain step in the installation process is overtime, judging the step with the abnormality according to the abnormal information, terminating the installation operation, restarting the installation operation, and continuing the installation from the step with the abnormality in the installation process last time. And for the fault which is attempted to be repaired more than the specified repair times or cannot be automatically repaired according to the abnormal information, modifying the installed state data in the first database, recording the fault condition, generating operation and maintenance prompt information according to the abnormal information, and sending the operation and maintenance prompt information to a specified fifth receiving end in the configuration information, such as a specified mail address, through a specified fifth prompt mode in the configuration information, such as a mail, to prompt an operation and maintenance engineer to intervene in the process. And the installation state data collected in real time in the installation process is fed back to the front-end Web UI interface by the back-end processing program through the WebSokey, and is displayed to the task initiator in real time.
The embodiment of the invention has the following technical effects: the information in the installation process is collected through the preassembled state collecting program in the installation process, the installation process with monitoring is achieved, the abnormity in the installation process can be timely and automatically found, the abnormity can be automatically repaired, manual intervention processing is timely applied when the abnormity cannot be repaired, traceable information is provided for the installation process, and basic data is provided for continuously improving the installation process and timely processing installation faults. The installation progress is displayed in real time, so that a task initiator can know the installation progress in time and reasonably arrange the time of subsequent tasks.
Further, the executing the operation corresponding to the operation type in the configuration information completes the configuration of the server, and then the method further includes:
and synchronizing the configuration information corresponding to the server into a configuration management database.
In some embodiments, the configuration of the server specified by the configuration information is updated into the configuration management database after the installation operation is completed. The configuration and the dependency relationship of various devices including the server in the internet data center are managed in a centralized mode, and the device maintenance work efficiency of the internet data center can be improved.
It should be particularly noted that, in each embodiment of the present specification, the first receiving end, the second receiving end, the third receiving end, the fourth receiving end, and the fifth 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, may refer to a display device, or may refer to an operation and maintenance engineer, a field engineer, or a task issuing person.
On the other hand, as shown in fig. 2, an embodiment of the present invention further provides an internet data center server self-service management apparatus, including:
a configuration checking unit 200, configured to check each configuration item in the received configuration information for the server;
a configuration verification feedback unit 201, configured to send a prompt for an illegal configuration item through a task display interface if at least one configuration item in the configuration information is verified to be illegal;
a configuration operation executing unit 202, configured to execute an operation corresponding to the operation type in the configuration information if it is verified that all configuration items in the configuration information are valid, and complete configuration of the server; the operation type is a configuration item in the configuration information.
Further, before the configuring operation executing unit 202, the method further includes:
the approval unit is used for judging the size relationship between the executed operation times of executing the operation corresponding to the operation type on the server in a set time period and the set specified operation time limit corresponding to the operation type; and confirming that the executed operation times are less than the specified operation times limit; and after executing the operation corresponding to the operation type in the configuration information, further comprising: the number of operations performed is increased by one.
Further, the approval unit is further configured to generate an approval execution worksheet according to the configuration information if it is determined that the number of times of the executed operation is greater than or equal to the specified operation number limit; and after receiving an approval result of the execution approval worksheet, if the approval result is allowed to be executed, executing an operation corresponding to the operation type in the configuration information, if the approval result is refused to be executed, generating approval refusal prompt information aiming at the approval result, sending the approval refusal prompt information to a first receiving end appointed in the configuration information through a first prompt mode appointed in the configuration information, and not executing the operation corresponding to the operation type in the configuration information.
Further, the operation type includes: starting up, shutting down or restarting;
the configuration operation execution unit 202 includes:
the first command execution module is used for controlling the server to execute startup, shutdown or restart through a first remote command;
and the first command failure processing module is used for generating command failure prompt information aiming at the first remote command with failed execution if the first remote command fails to execute, and sending the command failure prompt information to a second receiving end appointed in the configuration information through a second prompt mode appointed in the configuration information.
Further, the operation type further includes: equipment repair is reported;
the configuration operation execution unit 202 further includes:
and the repair processing module is used for establishing equipment repair information according to the configuration items related to the equipment repair in the configuration information and sending the equipment repair information to a third receiving end appointed in the configuration information through a third prompting mode appointed in the configuration information.
Further, the operation type further includes: installing operation;
correspondingly, the configuration item in the configuration information further includes: server delivery information, operating system information, server hardware information, network information and user information;
the configuration checking unit 200 includes:
a factory information checking module for checking that the server supports the installation operation according to the factory information of the server, if the checking result is legal, otherwise, the checking result is illegal;
the operating system checking module is used for checking out that the operating system library supports the operating system corresponding to the operating system information, if the checking result is legal, otherwise, the checking result is illegal; the operating system library is used for recording an operating system which can be used for installing operation;
the hardware information checking module is used for checking that the server supports the server hardware information, if the checking result is legal, otherwise, the checking result is illegal;
the user information checking module is used for checking that the user information is matched with the records in the user information base, if the checking result is legal, otherwise, the checking result is illegal; the user information is used for remotely logging in the server; the user information base is used for recording user login information;
and the network information checking module is used for checking that the network information corresponding to the server is complete and valid, if the checking result is legal, otherwise, the checking result is illegal, generating network information completion prompting information aiming at the incomplete network information, and sending the network information completion prompting information to a fourth receiving end appointed in the configuration information through a fourth prompting mode appointed in the configuration information.
Further, the configuration operation executing unit 202 further includes:
the installed information generating module is used for analyzing the configuration information to generate installed information;
the pre-starting environment starting module is used for controlling the server to execute restarting through a second remote command and entering a pre-starting execution environment;
and the installation module is used for issuing the installation information to the server through the pre-starting execution environment so as to enable the server to start the installation operation.
Further, the installation information includes: a state collection procedure;
the installation module includes:
the state collection program issuing module is used for issuing and installing the state collection program to the server, and the state collection program is used for collecting installed state data of the server in the installation operation execution process;
the installed state storage module is used for receiving the installed state data uploaded by the state collection program and writing the installed state data into a first database;
the exception handling module is used for automatically repairing a fault corresponding to the exception information according to the exception information if the exception information exists in the installed state data;
the abnormal notification module is used for establishing an abnormal maintenance state in the installed state data 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 a fifth receiving end appointed in the configuration information through a fifth prompt mode appointed in the configuration information;
and the installed state display module is used for displaying the installed state data in real time through the task display interface.
Further, after the configuration operation execution unit 202, there are further provided:
and the configuration information storage unit is used for synchronizing the configuration information corresponding to the server into a configuration management database.
The self-service management device for the internet data center server provided in the embodiment of the present invention is a product implementation list corresponding to the aforementioned self-service management method for the internet data center server, and a person skilled in the art can understand the self-service management device for the internet data center server provided in the embodiment of the present invention according to the corresponding embodiment of the aforementioned self-service management method for the internet data center server without objection, and details thereof are not described herein.
In another aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements any one of the methods described above.
The embodiment of the invention has the following technical effects: the configuration operation of the server is automatically completed according to the configuration information submitted by the task initiator, specifically comprises starting up, shutting down, restarting, equipment repair and reinstallation systems and the like, so that the problems that in the existing internet data center management, a large amount of manual operation execution is low in efficiency and prone to errors are solved, and the technical effects of labor cost saving, high efficiency and high accuracy are achieved; the production time from the bringing up of the demand to the fulfillment of the demand is significantly shortened. Furthermore, when the task initiator submits the configuration information, the information related to the configuration information in the system is automatically retrieved, the configuration information is verified, the task initiator is prompted to modify aiming at illegal configuration items, the repeated tasks caused by the problem finding when the execution period is entered are avoided, and the probability of the correct execution of the tasks is improved; furthermore, the installation operation recording function is added, so that the problems in the installation process can be traced, the faults can be automatically found, the faults can be automatically tried to be repaired, the stability in the installation operation process is improved, the fault which cannot be solved can be timely alarmed, and the speed of solving the faults through manual interference is improved.
The above technical solution of the embodiment of the present invention is described in detail with reference to another specific application example, and reference may be made to the foregoing related description for technical details that are not described in the implementation process.
As shown in fig. 3, a user (i.e., a task initiator) self-selects configuration to establish configuration information and submits a request on a Web UI interface, after a system (i.e., an internet data center server self-service management device) acquires application information (i.e., configuration information), the configuration information is automatically checked and the user is prompted to request validity, after the configuration information is checked to be valid, whether the operation frequency of an operation type selected by the user in the configuration information exceeds the corresponding single-day operation quota frequency of the current day is judged, if so, a workflow (i.e., an approval work order) is generated according to the configuration information submitted by the user, and the approval work order is approved by a directly superior of the user; and if the number of times of the single-day operation limit is not exceeded or the approval is passed, executing the operation corresponding to the operation type. For installation operation, uploading data in real time through a pre-installed Agent script (namely a state collection program), and processing and calculating data by a back-end program and feeding back the data to a front-end interface through WebSocket; during the execution of the operation, if the system fails and cannot automatically recover or process the repair machine (i.e. the equipment repair operation), the system notifies the operation and maintenance engineer to perform the intervention operation. For the tasks of starting up, shutting down, restarting and the like, the IDC self-service management platform (namely, the Internet data center server self-service management device) can be executed through a remote command, and controls the IDC (namely, a server specified in configuration information) to complete corresponding operation; for a reloading task (namely, loader operation) IDC self-service management platform, controlling IDCs to complete loader operation through a remote loader system (namely, PXE environment); in the installation process, the self-service management device of the internet data center server can acquire software and hardware information, network information, deployment information and the like related to the server by inquiring the CMDB database; the self-service management device of the Internet data center server also writes the installed state data received from the pre-installed Agent script into a database (namely the first database).
As shown in the data flow diagram of fig. 4, the validity of the configuration information obtained by the self-service management device of the internet data center server after verification of the request information (i.e., the configuration information) includes, but is not limited to, machine age verification, information verification of a system, a disk, a user, and the like (i.e., verifying factory information, operating system information, server hardware information, network information, user information, and the like of the server), and requirement order audit (i.e., generating an approval work order and obtaining direct superior audit); after the verification and the audit are passed, corresponding operation is executed according to the operation type through the distribution module according to the configuration information; and feeding back error information during operation; storing the error information in a database; and obtaining the relevant information of the server through the CMDB in the operation process, and updating the server information into the CMDB after the operation is completed.
The steps in the technical scheme of the invention are described in detail by specific examples as follows:
1. the user submits installation configuration requirements (namely configuration information), the user is automatically checked and prompted to request validity, and then a workflow is generated:
1.1 if the user selects starting up, shutting down and restarting, directly generating a workflow, and skipping to the step 2; if the user selects to reinstall, directly generating a working flow to execute a 1.2 link downwards; if the user selects equipment repair, the system will automatically send an email to alert the engineer to resolve the problem, and the flow of this type of work is complete.
1.2 the user submits the basic information of the device, the operating system, the disk information, the network information and the user information through the Web interface, and the system automatically checks the following legality of the request:
1.2.1 calculating whether the current machine supports installation according to the delivery date;
1.2.2 calling an OS system library to judge whether the selected operating system is supported or not;
1.2.3 inquiring CMDB online through JavaScript to calculate whether the current Raid level is supported;
1.2.4 inquiring a delivery information table of the CMDB server to judge whether hyper-threading, virtualization and BIOS are supported;
1.2.5 automatically judging the validity of the IP through algorithms such as regular algorithm and the like and generating gateway information;
1.2.6 calling ERP interface to check whether the submitted Shell log-in user is real and legal;
1.2.7 if the CMDB is inquired that the default MAC address does not exist, reminding an operation and maintenance engineer of an email to enter;
1.3, generating a workflow, and entering an approval link of a directly superior or agency approver, namely step 2;
2. the system automatically judges whether the operation of the user on the current day reaches the limit:
2.1 if the quota is not reached, automatically jumping to the step 3;
2.2 if the quota is exceeded, directly belonging to the upper level or the agent approver to examine and approve the work order and issuing the work order;
2.3 the directly superior can appoint the agent to examine and approve the people to assist and process the work order;
2.4 approval and rejection:
2.4.1 directly entering an execution link of the operation corresponding to the operation type in the configuration information after the work order is approved;
2.4.2 if the work order is rejected, automatically prompting the creator with an email;
3. the system judges the type of user operation and executes different operations
3.1 if the user selects to start, shut down and restart, directly carrying out the corresponding operation by a remote IPMI command, if the execution is successful, finishing the type of work flow, and otherwise reminding a field engineer of a mail to solve the problem;
3.2 if the user chooses to reinstall the System
3.2.1 the system automatically resolves the request and issues an installation task to the server;
3.2.2 the system automatically inquires the management card IP corresponding to the CMDB operating machine;
3.2.3 remotely executing the IPMI command to restart the server and enter a PXE environment to complete the installation operation;
4. the installed device uploads data in real time through a pre-installed Agent script, and the back end of the system processes and calculates the data and feeds the data back to a front-end interface through WebSocket;
4.1 after the installation task starts, the Agent script automatically collects the state of each link in real time and writes the state back to the database after calculation;
4.2 if each link is abnormal, for example, the execution of a certain link is overtime or the retry exceeds the specified times, the system tries to automatically recover, tries to continuously reinstall from the step with the fault, and if the specified retry times are exceeded, the fault cannot be automatically solved; if not, the system automatically modifies the state into an abnormal maintenance state and reminds an operation and maintenance engineer of mail to process;
4.3 the front end and the back end feed back the current state to the user in real time through WebSocket;
5. the change content is written back to the database:
5.1 after the installation task is successfully executed, the system automatically synchronizes the configuration information to the CMDB;
5.2 installation type workflow ends here.
It should be understood that the specific order or hierarchy of steps in the processes disclosed is an example of exemplary approaches. Based upon design preferences, it is understood that the specific order or hierarchy of steps in the processes may be rearranged without departing from the scope of the present disclosure. The accompanying method claims present elements of the various steps in a sample order, and are not intended to be limited to the specific order or hierarchy presented.
In the foregoing detailed description, various features are grouped together in a single embodiment for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted as reflecting an intention that the claimed embodiments of the subject matter require more features than are expressly recited in each claim. Rather, as the following claims reflect, invention lies in less than all features of a single disclosed embodiment. Thus, the following claims are hereby expressly incorporated into the detailed description, with each claim standing on its own as a separate preferred embodiment of the invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. To those skilled in the art; various modifications to these embodiments will be readily apparent, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
What has been described above includes examples of one or more embodiments. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the aforementioned embodiments, but one of ordinary skill in the art may recognize that many further combinations and permutations of various embodiments are possible. Accordingly, the embodiments described herein are intended to embrace all such alterations, modifications and variations that fall within the scope of the appended claims. Furthermore, to the extent that the term "includes" is used in either the detailed description or the claims, such term is intended to be inclusive in a manner similar to the term "comprising" as "comprising" is interpreted when employed as a transitional word in a claim. Furthermore, any use of the term "or" in the specification of the claims is intended to mean a "non-exclusive or".
Those of skill in the art will further appreciate that the various illustrative logical blocks, units, and steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate the interchangeability of hardware and software, various illustrative components, elements, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design requirements of the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present embodiments.
The various illustrative logical blocks, or elements, described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor, an Application Specific Integrated Circuit (ASIC), a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. For example, a storage medium may be coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC, which may be located in a user terminal. In the alternative, the processor and the storage medium may reside in different components in a user terminal.
In one or more exemplary designs, the functions described above in connection with the embodiments of the invention may be implemented in hardware, software, firmware, or any combination of the three. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media that facilitate transfer of a computer program from one place to another. Storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, such computer-readable media can include, but is not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store program code in the form of instructions or data structures and which can be read by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Additionally, any connection is properly termed a computer-readable medium, and, thus, is included if the software is transmitted from a website, server, or other remote source via a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wirelessly, e.g., infrared, radio, and microwave. Such discs (disk) and disks (disc) include compact disks, laser disks, optical disks, DVDs, floppy disks and blu-ray disks where disks usually reproduce data magnetically, while disks usually reproduce data optically with lasers. Combinations of the above may also be included in the computer-readable medium.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A self-service management method of an Internet data center server is characterized by comprising the following steps:
verifying each configuration item in the received configuration information aiming at the server;
if at least one configuration item in the configuration information is verified to be illegal, sending a prompt aiming at the illegal configuration item through a task display interface;
if all the configuration items in the configuration information are verified to be legal, executing the operation corresponding to the operation type in the configuration information, and completing the configuration of the server; the operation type is a configuration item in the configuration information.
2. The internet data center server self-service management method of claim 1, wherein before executing the operation corresponding to the operation type in the configuration information, further comprising:
judging the magnitude relation between the executed operation times of executing the operation corresponding to the operation type on the server in a set time period and the set specified operation time limit corresponding to the operation type; and are
Confirming that the number of executed operations is less than the specified operation number limit;
and after executing the operation corresponding to the operation type in the configuration information, further comprising: the number of operations performed is increased by one.
3. The internet data center server self-service management method of claim 2, further comprising:
if the executed operation times are judged to be larger than or equal to the specified operation time limit, generating an execution examination and approval work order according to the configuration information; and the number of the first and second groups,
after receiving the approval result of the execution approval worksheet, if the approval result is allowed to be executed, executing the operation corresponding to the operation type in the configuration information, if the approval result is refused to be executed, generating approval refusal prompt information aiming at the approval result, sending the approval refusal prompt information to a first receiving end appointed in the configuration information through a first prompt mode appointed in the configuration information, and not executing the operation corresponding to the operation type in the configuration information.
4. The internet data center server self-service management method of claim 1, wherein the operation type comprises: starting up, shutting down or restarting;
the executing the operation corresponding to the operation type in the configuration information to complete the configuration of the server includes:
controlling the server to execute startup, shutdown or restart through a first remote command;
if the first remote command fails to be executed, command failure prompt information is generated aiming at the first remote command which fails to be executed, and the command failure prompt information is sent to a second receiving end appointed in the configuration information through a second prompt mode appointed in the configuration information.
5. The internet data center server self-service management method of claim 1, wherein the operation type further comprises: equipment repair is reported;
the executing the operation corresponding to the operation type in the configuration information to complete the configuration of the server further comprises:
and establishing equipment repair information according to the configuration items related to the equipment repair in the configuration information, and sending the equipment repair information to a third receiving end appointed in the configuration information through a third prompting mode appointed in the configuration information.
6. The internet data center server self-service management method of claim 1, wherein the operation type further comprises: installing operation;
correspondingly, the configuration item in the configuration information further includes: server delivery information, operating system information, server hardware information, network information and user information;
the checking each configuration item in the received configuration information for the server includes:
verifying that the server supports the installation operation according to the delivery information of the server, wherein the verification result is legal, otherwise, the verification result is illegal;
if the operating system corresponding to the operating system information supported by the operating system library is verified, the verification result is legal, otherwise, the verification result is illegal; the operating system library is used for recording an operating system which can be used for installing operation;
if the server supports the server hardware information, the verification result is legal, otherwise, the verification result is illegal;
if the user information is verified to be matched with the records in the user information base, the verification result is legal, otherwise, the verification result is illegal; the user information is used for remotely logging in the server; the user information base is used for recording user login information;
if the network information corresponding to the server is verified to be complete and valid, the verification result is legal, otherwise, the verification result is illegal, network information completion prompting information is generated aiming at the incomplete network information, and the network information completion prompting information is sent to a fourth receiving end appointed in the configuration information through a fourth prompting mode appointed in the configuration information;
the executing the operation corresponding to the operation type in the configuration information to complete the configuration of the server further comprises:
analyzing the configuration information to generate installation information;
controlling the server to execute restart through a second remote command, and entering a pre-starting execution environment;
and issuing the installation information to the server through the pre-starting execution environment so as to enable the server to start the installation operation.
7. The internet data center server self-service management method of claim 6, wherein the installation information comprises: a state collection procedure;
the sending the installation information to the server through the pre-starting execution environment so as to enable the server to start the installation operation further comprises:
issuing and installing the state collection program to the server, wherein the state collection program is used for collecting installed state data of the server in the installation operation execution process;
receiving the installed state data uploaded by the state collection program, and writing the installed state data into a first database;
if the installed state data contains abnormal information, automatically repairing the fault corresponding to the abnormal information according to the abnormal information;
if the fault corresponding to the abnormal information cannot be automatically repaired, establishing an abnormal maintenance state in the installed state data, generating operation and maintenance prompt information according to the abnormal information, and sending the operation and maintenance prompt information to a fifth receiving end appointed in the configuration information through a fifth prompt mode appointed in the configuration information;
and displaying the installed state data in real time through the task display interface.
8. The self-service management method for the internet data center server as claimed in claim 6, wherein the executing the operation corresponding to the operation type in the configuration information further comprises, after the configuring of the server is completed:
and synchronizing the configuration information corresponding to the server into a configuration management database.
9. The utility model provides an internet data center server self-service management device which characterized in that includes:
the configuration checking unit is used for checking each configuration item in the received configuration information aiming at the server;
the configuration verification feedback unit is used for sending out a prompt aiming at an illegal configuration item through a task display interface if at least one configuration item in the configuration information is verified to be illegal;
a configuration operation executing unit, configured to execute an operation corresponding to the operation type in the configuration information if it is verified that all configuration items in the configuration information are legal, so as to complete configuration of the server; the operation type is a configuration item in the configuration information.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-8.
CN202110749425.2A 2021-07-02 2021-07-02 Self-service management method, device and storage medium for internet data center server Active CN113656088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110749425.2A CN113656088B (en) 2021-07-02 2021-07-02 Self-service management method, device and storage medium for internet data center server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110749425.2A CN113656088B (en) 2021-07-02 2021-07-02 Self-service management method, device and storage medium for internet data center server

Publications (2)

Publication Number Publication Date
CN113656088A true CN113656088A (en) 2021-11-16
CN113656088B CN113656088B (en) 2024-05-24

Family

ID=78477885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110749425.2A Active CN113656088B (en) 2021-07-02 2021-07-02 Self-service management method, device and storage medium for internet data center server

Country Status (1)

Country Link
CN (1) CN113656088B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230076276A1 (en) * 2021-09-06 2023-03-09 Jpmorgan Chase Bank, N.A. Data configuration deployment framework

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731580A (en) * 2015-01-12 2015-06-24 上海新炬网络信息技术有限公司 Automation operation and maintenance system based on Karaf and ActiveMQ and implement method thereof
US20150347160A1 (en) * 2012-12-05 2015-12-03 Matthew Williams Method of analyzing configuration data
CN105677663A (en) * 2014-11-19 2016-06-15 航天信息股份有限公司 Method and system for unified management of self-service tax-conducting terminals
CN106681854A (en) * 2015-11-11 2017-05-17 北京国双科技有限公司 Information checking method, device and system
CN109300225A (en) * 2018-10-26 2019-02-01 苏州浪潮智能软件有限公司 A kind of Self-help vending machine maintenance and configuration method based on NFC communication
WO2019190344A1 (en) * 2018-03-30 2019-10-03 Публичное Акционерное Общество "Сбербанк России" System for monitoring a network of self-service devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150347160A1 (en) * 2012-12-05 2015-12-03 Matthew Williams Method of analyzing configuration data
CN105677663A (en) * 2014-11-19 2016-06-15 航天信息股份有限公司 Method and system for unified management of self-service tax-conducting terminals
CN104731580A (en) * 2015-01-12 2015-06-24 上海新炬网络信息技术有限公司 Automation operation and maintenance system based on Karaf and ActiveMQ and implement method thereof
CN106681854A (en) * 2015-11-11 2017-05-17 北京国双科技有限公司 Information checking method, device and system
WO2019190344A1 (en) * 2018-03-30 2019-10-03 Публичное Акционерное Общество "Сбербанк России" System for monitoring a network of self-service devices
CN109300225A (en) * 2018-10-26 2019-02-01 苏州浪潮智能软件有限公司 A kind of Self-help vending machine maintenance and configuration method based on NFC communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郝平: "Virtuozzo虚拟化技术在校园网中的应用", 《济南职业学院学报》, no. 4, 31 August 2012 (2012-08-31), pages 91 - 93 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230076276A1 (en) * 2021-09-06 2023-03-09 Jpmorgan Chase Bank, N.A. Data configuration deployment framework
US11789712B2 (en) * 2021-09-06 2023-10-17 Jpmorgan Chase Bank, N.A. Data configuration deployment framework

Also Published As

Publication number Publication date
CN113656088B (en) 2024-05-24

Similar Documents

Publication Publication Date Title
US10338550B2 (en) Multisite version and upgrade management system
US20090144730A1 (en) Software deployment method and system, software deployment server and user server
CN105183520B (en) Computer software remote automation Method of Adjustment and system
EP1978672A1 (en) Method for implementing management software, hardware with pre-configured software and implementing method thereof
JP2004533032A (en) System and method for constructing a host computer
CN103809997A (en) Information processing apparatus and network system
CN110879712A (en) Cloud data center physical host installation method and related device
US10243804B2 (en) Continuous delivery of hierarchical products using executor for software configuration automation
WO2020000758A1 (en) Server acceptance method and apparatus, computer device, and storage medium
CN110727575A (en) Information processing method, system, device and storage medium
CN110134417A (en) A method of BMC batch upgrade is realized based on Python
CN113656088A (en) Self-service management method and device for Internet data center server and storage medium
CN113657702A (en) Automatic operation and maintenance method and device for internet data center and readable storage medium
CN112291081A (en) Method, system and storage medium for auditing controller cluster data by cloud management platform
CN109151021B (en) Distributed storage system file lock characteristic testing method and device
CN116483416A (en) Firmware online upgrading method, server and storage medium
CN111367725A (en) Asynchronous task online monitoring method, front-end control system and service response platform
CN115292175A (en) Regression testing method, device, equipment and storage medium
CN114879977A (en) Application deployment method, device and storage medium
CN113179181A (en) Data acquisition method, device and system, data processing device and electronic equipment
CN116614323B (en) Cloud storage enterprise network management method and system based on Rclone
US11733979B2 (en) System for automatically generating customer specific data center application program interfaces
US8595172B2 (en) Ensuring high availability of services via three phase exception handling
CN114217843A (en) Operation and maintenance method and device of system and server
JP2018077776A (en) Information processing device, setting information list generating method and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20230417

Address after: Room 501-502, 5/F, Sina Headquarters Scientific Research Building, Block N-1 and N-2, Zhongguancun Software Park, Dongbei Wangxi Road, Haidian District, Beijing, 100193

Applicant after: Sina Technology (China) Co.,Ltd.

Address before: 100193 7th floor, scientific research building, Sina headquarters, plot n-1, n-2, Zhongguancun Software Park, Dongbei Wangxi Road, Haidian District, Beijing, 100193

Applicant before: Sina.com Technology (China) Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant