CN115987772A - Operation and maintenance management method, operation and maintenance management platform and storage medium - Google Patents
Operation and maintenance management method, operation and maintenance management platform and storage medium Download PDFInfo
- Publication number
- CN115987772A CN115987772A CN202211584439.4A CN202211584439A CN115987772A CN 115987772 A CN115987772 A CN 115987772A CN 202211584439 A CN202211584439 A CN 202211584439A CN 115987772 A CN115987772 A CN 115987772A
- Authority
- CN
- China
- Prior art keywords
- software
- server
- installation package
- configuration
- offline installation
- 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
Links
- 238000007726 management method Methods 0.000 title claims abstract description 104
- 238000012423 maintenance Methods 0.000 title claims abstract description 86
- 238000009434 installation Methods 0.000 claims abstract description 124
- 238000000034 method Methods 0.000 claims abstract description 38
- 238000012545 processing Methods 0.000 claims abstract description 31
- 230000007246 mechanism Effects 0.000 claims abstract description 18
- 230000008569 process Effects 0.000 claims abstract description 18
- 230000002159 abnormal effect Effects 0.000 claims abstract description 14
- 238000001514 detection method Methods 0.000 claims description 36
- 238000012360 testing method Methods 0.000 claims description 35
- 230000006870 function Effects 0.000 claims description 9
- 238000012544 monitoring process Methods 0.000 claims description 9
- 230000036541 health Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 6
- 238000012986 modification Methods 0.000 claims description 5
- 230000004048 modification Effects 0.000 claims description 5
- 238000004458 analytical method Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 238000012800 visualization Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000003032 molecular docking Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses an operation and maintenance management method, an operation and maintenance management platform and a storage medium, wherein the method comprises the following steps: point-to-point access or batch addition of new servers; receiving, storing and analyzing the software offline installation package; uniformly modifying the configuration of a target server, and installing a software offline installation package; and acquiring the process states of all the software on the server at the elastic frequency, and judging whether the software normally runs. The invention supports point-to-point and batch addition of new servers, can perform clustering deployment after analyzing the software offline installation package, uniformly monitors whether the software is in a normal operation state, and can perform corresponding processing on the software with abnormal conditions according to a pre-established processing mechanism; obviously, the invention does not need to add servers one by one, does not need to install software to the servers one by one, can not only alarm when the software has abnormal conditions, provides more diversified services, and improves the convenience of operation and maintenance services.
Description
Technical Field
The present invention relates to the field of operation and maintenance technologies, and in particular, to an operation and maintenance management method, an operation and maintenance management platform, and a storage medium.
Background
The operation and maintenance, which is referred to as internet operation and maintenance in the invention, is essentially the operation and maintenance of each stage of the life cycle of the network, the server and the service, and reaches a consistent and acceptable state in cost, stability and efficiency.
The invention patent application with the application number of 2018110762349 discloses an operation and maintenance visualization platform and an operation and maintenance visualization implementation method, as shown in fig. 1, wherein the platform comprises: the system comprises a processor 11, a memory 12, an input device 13, a display screen 14 and a communication module 15, wherein the processor 11, the memory 12, the input device 13, the display screen 14 and the communication module 15 are in communication connection in a bus mode; the processor 11 is used as a control center and used for acquiring data, executing a logical operation function and issuing an operation processing result; the memory 12 is used for storing the operation processing result issued and output by the processor 11; the input device 13 is used for acquiring user input instructions and providing the user input instructions to the processor 11 so as to enable the processor 11 to execute corresponding control instructions; the display screen 14 is used for receiving the display device output by the processor 11 and correspondingly converting the display device into image information to be provided for a user; the communication module 15 is used to establish a communication connection. The invention aims to perform statistics, analysis and alarm on data resources generated in operation and maintenance of the whole cloud computing product through the scheme. However, it can be visualized from the content, but it cannot improve the convenience of operation and maintenance.
The invention patent application with application number 2020113103143 discloses an operation and maintenance method, an operation and maintenance management platform, a device and a medium, as shown in fig. 2, wherein the operation and maintenance management platform includes:
the monitoring system comprises a first data acquisition module 11, a second data acquisition module and a monitoring module, wherein the first data acquisition module is used for acquiring first operating data reported by an EDR centralized management platform in a target network, and the first operating data is data acquired by an EDR terminal agent deployed on terminal equipment to be monitored in the target network and reported to the EDR centralized management platform;
a second data acquisition module 12, configured to acquire second operation data reported by an egress gateway in the target network, where the second operation data is data, acquired by the egress gateway, of a first network device to be monitored in the target network, and the first network device to be monitored is a device in the target network, and the first network device to be monitored is in indirect communication with the operation and maintenance management platform;
and the operation and maintenance module 13 is configured to perform operation and maintenance on the device in the target network according to the first operation data, the second operation data and a preset alarm rule.
The invention aims to perform centralized operation and maintenance control on each device in a target network through the scheme, thereby reducing the complexity of operation and maintenance and improving the operation and maintenance efficiency; compared with 2018110762349, the operation and maintenance service provided by the invention patent application not only realizes the visual display of data, but also utilizes the acquired data to actively interfere the operation and maintenance equipment, and solves the problem of operation and maintenance convenience to a certain extent.
It can be seen that there is still a need for improvement and development in the art.
Disclosure of Invention
In view of the foregoing deficiencies of the prior art, an object of the present invention is to provide an operation and maintenance management method, an operation and maintenance management platform, and a storage medium, which are used to solve the problem that the operation and maintenance service provided by the operation and maintenance management platform in the prior art still depends on the collected data and the preset alarm rule, and cannot provide more diverse services.
The technical scheme of the invention is as follows:
an operation and maintenance management method, comprising:
a new server is accessed point to point through the appointed IP address and the account password; or, scanning a new server in a range by an IPScan mode and performing batch adding operation;
receiving and storing a software offline installation package, and analyzing the software offline installation package;
receiving a clustering deployment instruction, uniformly modifying the configuration of a target server, and installing the analyzed software offline installation package in the target server;
acquiring the process states of all software on the server by using elastic frequency, judging whether the software normally runs or not, and carrying out corresponding processing on the software with abnormal conditions according to a preset processing mechanism, wherein the processing mechanism comprises re-pulling and alarming.
The effect of above-mentioned scheme lies in: the invention supports point-to-point and batch addition of new servers, can perform clustering deployment after analyzing the software offline installation package, uniformly monitors whether the software is in a normal operation state, and can perform corresponding processing on the software with abnormal conditions according to a pre-established processing mechanism; obviously, the invention does not need to add servers one by one, does not need to install software to the servers one by one, can not only alarm when the software has abnormal conditions, provides more diversified services, improves the convenience of operation and maintenance services, and solves the problem that the operation and maintenance services provided by the operation and maintenance management platform in the prior art still depend on the collected data and the preset alarm rules and cannot provide more diversified services.
In a further preferred scheme, the new server is accessed point to point through the specified IP address and the account password; or, the step of scanning a new server in a range by means of IPScan and performing a batch addition operation specifically includes:
receiving an IP address and an account password specified by a user or an operation instruction for scanning and acquiring a server list in a local area network, and verifying the configuration correctness of the SSH protocol;
judging whether the connection between the operation and maintenance management platform and the server of the access-intended platform is established, if so, remotely executing a take-over program, starting SaltstackMinion, modifying the configuration and name of the server of the access-intended platform, and closing SElinux;
and taking out a single server instance from the detection queue and carrying out instance detection, if the detection fails, acquiring a new server instance and carrying out instance detection again until the detection succeeds, and if the detection succeeds, acquiring a server controlled monitoring process and updating the state of the server to be controlled so as to finish the access of the new server.
The effect of above-mentioned scheme lies in: the SaltstackMinion is a single process located on the managed server that can link the salt-master as a client to receive remote control commands; the method has the advantages that the SElinux defines the access authority of each person to the application, process and file on the system, the SaltstackMinion can be started to smoothly receive the remote control command, and the SElinux is closed to ensure the access authority of the operation and maintenance management platform to the server and ensure the comprehensiveness of data acquisition; in addition, the method and the system ensure that the new server is successfully accessed by extracting and detecting the instance when the SElinux is closed, and further ensure that the operation and maintenance management platform can smoothly complete software clustering deployment and monitoring processing.
In a further preferred aspect, the software offline installation package at least includes: installation, configuration, start, stop, and uninstall of software five types of executable files.
The effect of above-mentioned scheme lies in: compared with a common software installation package, the software offline installation package provided by the invention also comprises a configuration file and a starting file of the software, and when the software is remotely installed, the configuration file of the software can be used for automatically modifying a server under an operation and maintenance management platform into a configuration suitable for software installation, so that the installation convenience of the software is improved; when the software runs abnormally, the software can be pulled up again by using the starting file of the software, so that the problem that the software needs to be manually processed each time the software runs abnormally is solved.
In a further preferred embodiment, the step of receiving and storing the software offline installation package, and analyzing the software offline installation package specifically includes:
receiving and storing the software offline installation package, performing intranet test, and performing remote patch upgrade according to a test result by using a remote execution script constructing function after the test is passed;
checking the software offline installation package, and decompressing to a Saltstack script execution directory after the software offline installation package passes the checking;
sls file is parsed and the software record is written after the configuration items are extracted.
The effect of above-mentioned scheme lies in: in the invention, the software offline installation package is sent to the operation and maintenance management platform after being compiled to a runnable state, then the intranet test is carried out, remote patch upgrade can be directly carried out according to the test result after the test is passed, and the software offline installation package is uploaded to the operation and maintenance management platform without local test and completion, wherein the difference lies in that five executable files in the software package can be tested at one time on the operation and maintenance management platform to carry out complete test on the software offline installation package, thereby avoiding the problem of lower working efficiency caused by repeated test. Sls file is parsed to obtain configuration items, and after writing software record, the configuration items can be used as modification standard for software server to be installed before software installation.
In a further preferred embodiment, the step of receiving a clustered deployment instruction, uniformly modifying the configuration of a target server, and installing the analyzed software offline installation package on the target server specifically includes:
associating the software offline installation package, and calling a service name, a description and software installation configuration from a software record corresponding to the software offline installation package to generate a server configuration template;
pulling a server configuration template, associating servers to which corresponding software is to be installed, and modifying the configuration of the associated servers according to the server configuration template;
and calling the software offline installation package, executing the installation executable file in the software offline installation package, and installing the software to the associated server.
The effect of above-mentioned scheme lies in: the steps are realized through a cluster management module in the operation and maintenance management platform, and the cluster management module realizes cluster service by depending on the batch setting and batch definition functions of a software package management module; and selecting target servers one by one in the cluster management module according to the defined services, uniformly modifying the configuration, and calling a core installation method of the software package at the bottom layer so as to realize cluster deployment.
A platform for implementing an operation and maintenance management method, comprising: the system comprises a host management module, a software package management module, a clustering management module and an application health check module;
the host management module accesses a new server point to point through a specified IP address and an account password; or, scanning a new server in a range by an IPScan mode and performing batch adding operation;
the software package management module is used for receiving and storing a software offline installation package and analyzing the software offline installation package;
the cluster management module is used for receiving a cluster deployment instruction, uniformly modifying the configuration of a target server, and installing the analyzed software offline installation package in the target server;
the application health check module is used for acquiring the process states of all software on the server at an elastic frequency, judging whether the software normally runs or not, and correspondingly processing the software with abnormal conditions according to a preset processing mechanism, wherein the processing mechanism comprises re-pulling and alarming.
In a further preferred aspect, the host management module includes: the system comprises a server linking unit and a server access unit;
the server linking unit is used for judging whether the connection between the operation and maintenance management platform and the server of the access-intended platform is established, if so, executing a takeover program remotely, starting SaltstackMinion, modifying the configuration and name of the server of the access-intended platform, and closing SElinux;
the server access unit is used for taking out a single server instance from the detection queue and carrying out instance detection, if the detection fails, acquiring a new server instance and carrying out instance detection again until the detection succeeds, and if the detection succeeds, acquiring a server controlled monitoring process and updating the state of the server to be controlled, so as to finish the access of the new server.
In a further preferred aspect, the software offline installation package at least includes: the method comprises the following steps of installing, configuring, starting, stopping and uninstalling five types of executable files of software; the software package management module comprises: the device comprises an installation package testing unit, an installation package checking unit and an installation package analyzing unit;
the installation package testing unit is used for receiving and storing the software offline installation package, carrying out intranet testing, and carrying out remote patch upgrading according to a testing result by using a remote execution script constructing function after the testing is passed;
the installation package checking unit is used for checking the software offline installation package, and decompressing the software offline installation package to a Saltstack script execution catalog after the software offline installation package passes the checking;
the installation package analysis unit is used for analyzing the config.sl file and writing the configuration items into the software records after the configuration items are extracted.
In a further preferred aspect, the clustered management module includes: the system comprises a template generating unit, a configuration modifying unit and a software installing unit;
the template generating unit is used for associating a software offline installation package, calling a service name, a description and software installation configuration from a software record corresponding to the software offline installation package, and generating a server configuration template;
the configuration modification unit is used for pulling a server configuration template, associating the server to be installed with the corresponding software, and modifying the configuration of the associated server according to the server configuration template;
the software installation unit is used for calling the software offline installation package, executing the installation executable file in the software offline installation package and installing the software to the associated server.
A storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the operation and maintenance management method as described above. The storage medium includes all technical features of the operation and maintenance management method, and therefore, all technical effects of the operation and maintenance management method are also achieved, and details are not described herein.
Compared with the prior art, the operation and maintenance management method provided by the invention comprises the following steps: a new server is accessed point to point through the appointed IP address and the account password; or, scanning a new server in a range by an IPScan mode and performing batch adding operation; receiving and storing a software offline installation package, and analyzing the software offline installation package; receiving a clustering deployment instruction, uniformly modifying the configuration of a target server, and installing the analyzed software offline installation package in the target server; acquiring the process states of all software on the server by using elastic frequency, judging whether the software normally runs or not, and carrying out corresponding processing on the software with abnormal conditions according to a preset processing mechanism, wherein the processing mechanism comprises re-pulling and alarming. The method supports point-to-point and batch addition of new servers, can perform clustering deployment after analyzing the software offline installation package, uniformly monitors whether the software is in a normal running state, and can perform corresponding processing on the software with abnormal conditions according to a pre-established processing mechanism; obviously, the invention does not need to add servers one by one, does not need to install software to the servers one by one, can not only alarm when the software has abnormal conditions, provides more diversified services, and improves the convenience of operation and maintenance services.
Drawings
Fig. 1 is a schematic block diagram of an operation and maintenance visualization platform published in 2018110762349.
Fig. 2 is a schematic block diagram of an operation and maintenance management platform published in 2020113103143.
FIG. 3 is a flowchart illustrating an operation and maintenance management method according to a preferred embodiment of the present invention.
Detailed Description
The invention provides an operation and maintenance management method, an operation and maintenance management platform and a storage medium, and in order to make the purpose, technical scheme and effect of the invention clearer and clearer, the invention is further described in detail below by referring to the attached drawings and taking examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides an operation and maintenance management method, as shown in fig. 3, comprising the steps of:
s100, accessing a new server point to point by specifying an IP address and an account password; or, scanning a new server range by means of IPScan and performing batch adding operation.
An IP address (internet protocol address) refers to an internet protocol address, which is also translated into an internet protocol address. The IP address is a uniform address format provided by the IP protocol, and it allocates a logical address to each network and each host on the internet, so as to mask the difference of physical addresses. That is, when a new server is accessed point-to-point through an IP address, the present invention can also check the input IP address by using the IP address format, and prompt the user to re-input when the user has an input error, which is not described in detail herein. The problem of account password belongs to the prior art, and the invention is not described any more.
The IPScan is a method of obtaining a host list in the local area network by scanning the IP of the servers in the local area network, and adds new servers in batches to provide basic services according to the modes of user self-selection, default removal of the added servers and the like.
Specifically, the S100 includes the steps of:
receiving an IP address and an account password specified by a user or an operation instruction for scanning and acquiring a server list in a local area network, and verifying the configuration correctness of an SSH (secure Shell) protocol (network protocol for encrypted login between network devices);
judging whether the connection between the operation and maintenance management platform and the server of the access-intended platform is established, if so, remotely executing a take-over program, starting SaltstackMinion, modifying the configuration and name of the server of the access-intended platform, and closing SElinux; the SaltstackMinion is a single process located on the managed server that can link the salt-master as a client to receive remote control commands; the method has the advantages that the method can smoothly receive remote control commands by starting SaltstackMinion, and can ensure the access authority of an operation and maintenance management platform to a server and the comprehensiveness of data acquisition by closing the SElinux;
and taking out a single server instance from the detection queue and carrying out instance detection, if the detection fails, acquiring a new server instance and carrying out instance detection again until the detection succeeds, and if the detection succeeds, acquiring a server controlled monitoring process and updating the state of the server to be controlled so as to finish the access of the new server. An instance is the name of a "class" after instantiation, and unlike a "class", a "class" is static, does not occupy process memory, while an instance has dynamic memory.
In a preferred embodiment, the step S100 is implemented by a host management module in the operation and maintenance management platform, the host management module is responsible for managing and maintaining all server nodes under the operation and maintenance management platform, and the docking operation between the platform and a new server can be implemented only by inputting required information when a host node is added for the first time, and if a large number of hosts need to be added, the docking operation also supports IP SCAN range scanning and batch adding operation.
S200, receiving and storing the software offline installation package, and analyzing the software offline installation package.
In a preferred embodiment of the present invention, S200 is implemented by a software package management module in an operation and maintenance management platform, where the software package management module is responsible for managing and maintaining the operation state, self-installation, and configuration process of each software package under the operation and maintenance management platform, and is a self-developed set of management program; the software offline installation package at least comprises: the installation, configuration, start, stop, and uninstall of software five types of executables support one-touch installation deployment on a single server or multiple servers, as described above.
Receiving and storing the software offline installation package, performing intranet test, and performing remote patch upgrade according to a test result by using a remote execution script constructing function after the test is passed; that is to say, after the software offline installation package is compiled to a runnable state, the software offline installation package is sent to the operation and maintenance management platform, then the intranet test is performed, after the test is passed, remote patch upgrade can be directly performed according to the test result, and the software offline installation package is uploaded to the operation and maintenance management platform without local test and after the test is completed.
Checking the software offline installation package, and decompressing to a Saltstack script execution directory after the software offline installation package passes the checking;
sls file is parsed and the software record is written after the configuration items are extracted. Sls is a configuration file in the software offline installation package, and a configuration item obtained after analyzing the config.sls file can be used as a modification standard for a software server to be installed before software installation after a software record is written.
S300, receiving a clustering deployment instruction, uniformly modifying the configuration of a target server, and installing the analyzed software offline installation package in the target server.
In a preferred embodiment of the present invention, S300 is implemented by a cluster management module in the operation and maintenance management platform, where the cluster management module implements cluster services by relying on the batch setting and batch definition functions of a software package management module; and selecting target servers one by one in the cluster management module according to the defined services, uniformly modifying the configuration, and calling a core installation method of the software package at the bottom layer so as to realize cluster deployment.
The step of receiving the clustered deployment instruction, uniformly modifying the configuration of the target server, and installing the analyzed software offline installation package in the target server specifically includes:
associating the software offline installation package, calling a service name, description and software installation configuration from a software record corresponding to the software offline installation package, and generating a server configuration template; the generated server configuration template can be directly called, and a target server can be directly modified according to the server configuration template, so that convenience and rapidness are realized;
pulling a server configuration template, associating servers to which corresponding software is to be installed, and modifying the configuration of the associated servers according to the server configuration template; a plurality of servers can be configured at one time, and the configuration of the servers is not required to be manually modified one by one, so that the method is obviously different from the prior art;
and calling the software offline installation package, executing the installation executable file in the software offline installation package, and installing the software to the associated server.
S400, acquiring the process states of all software on the server by using elastic frequency, judging whether the software normally runs, and correspondingly processing the software with abnormal conditions according to a preset processing mechanism, wherein the processing mechanism comprises re-pulling and alarming.
In the preferred embodiment of the present invention, S400 uses the application health check module in the operation and maintenance management platform, and the application health check module uses the custom process to obtain the running states of all applications on the server at the elastic frequency, so as to determine whether the software is running normally, and perform corresponding mechanism processing on the abnormal condition, such as re-pulling and alarming.
A platform for implementing an operation and maintenance management method, comprising: the system comprises a host management module, a software package management module, a clustering management module and an application health check module;
the host management module accesses a new server point to point through a specified IP address and an account password; or, scanning a new server in a range by an IPScan mode and performing batch adding operation;
the software package management module is used for receiving and storing a software offline installation package and analyzing the software offline installation package;
the cluster management module is used for receiving a cluster deployment instruction, uniformly modifying the configuration of a target server, and installing the analyzed software offline installation package in the target server;
the application health check module is used for acquiring the process states of all software on the server at an elastic frequency, judging whether the software normally runs or not, and correspondingly processing the software with abnormal conditions according to a preset processing mechanism, wherein the processing mechanism comprises re-pulling and alarming.
In a further preferred aspect, the host management module includes: a server linking unit and a server access unit;
the server linking unit is used for judging whether the connection between the operation and maintenance management platform and the server of the access-intended platform is established, if so, executing a takeover program remotely, starting SaltstackMinion, modifying the configuration and name of the server of the access-intended platform, and closing SElinux;
the server access unit is used for taking out a single server instance from the detection queue and carrying out instance detection, if the detection fails, acquiring a new server instance and carrying out instance detection again until the detection succeeds, and if the detection succeeds, acquiring a server controlled monitoring process and updating the state of the server to be controlled, so as to finish the access of the new server.
In a further preferred aspect, the software offline installation package at least includes: the method comprises the following steps of installing, configuring, starting, stopping and uninstalling five types of executable files of software; the software package management module comprises: the device comprises an installation package testing unit, an installation package checking unit and an installation package analyzing unit;
the installation package testing unit is used for receiving and storing the software offline installation package, carrying out intranet testing, and carrying out remote patch upgrading according to a testing result by using a remote execution script constructing function after the testing is passed;
the installation package checking unit is used for checking the software offline installation package and decompressing the software offline installation package to a Saltstack script execution catalog after the software offline installation package passes the checking;
the installation package analysis unit is used for analyzing the config.sl file and writing the configuration item into the software record.
In a further preferred aspect, the clustered management module includes: the system comprises a template generating unit, a configuration modifying unit and a software installing unit;
the template generating unit is used for associating a software offline installation package, calling a service name, a description and software installation configuration from a software record corresponding to the software offline installation package, and generating a server configuration template;
the configuration modification unit is used for pulling a server configuration template, associating the server to be installed with the corresponding software, and modifying the configuration of the associated server according to the server configuration template;
the software installation unit is used for calling the software offline installation package, executing the installation executable file in the software offline installation package and installing the software to the associated server.
The present invention also provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the operation and maintenance management method as described above. The storage medium includes all technical features of the operation and maintenance management method, and therefore, all technical effects of the operation and maintenance management method are also achieved, and details are not described here.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link (SyNchlinNk) DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM).
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore, may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, any of the claimed embodiments may be used in any combination.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.
Claims (10)
1. An operation and maintenance management method is characterized by comprising the following steps:
a new server is accessed point to point through the appointed IP address and the account password; or, scanning a new server in a range by an IPScan mode and performing batch adding operation;
receiving and storing a software offline installation package, and analyzing the software offline installation package;
receiving a clustering deployment instruction, uniformly modifying the configuration of a target server, and installing the analyzed software offline installation package in the target server;
acquiring the process states of all software on the server by using elastic frequency, judging whether the software normally runs or not, and carrying out corresponding processing on the software with abnormal conditions according to a preset processing mechanism, wherein the processing mechanism comprises re-pulling and alarming.
2. The operation and maintenance management method according to claim 1, wherein the new server is accessed point-to-point by specifying an IP address and an account password; or, the step of scanning a new server in a range by means of IPScan and performing a batch adding operation specifically includes:
receiving an IP address and an account password specified by a user or an operation instruction for scanning and acquiring a server list in a local area network, and verifying the configuration correctness of an SSH protocol;
judging whether the connection between the operation and maintenance management platform and the to-be-accessed platform server is established, if so, remotely executing a takeover program, starting SaltstackMinion, modifying the configuration and name of the to-be-accessed platform server, and closing SElinux;
and taking out a single server instance from the detection queue and carrying out instance detection, if the detection fails, acquiring a new server instance and carrying out instance detection again until the detection succeeds, and if the detection succeeds, acquiring a server controlled monitoring process and updating the state of the server to be controlled so as to finish the access of the new server.
3. The operation and maintenance management method according to claim 1, wherein the software offline installation package at least comprises: installation, configuration, start, stop, and uninstall of software five types of executable files.
4. The operation and maintenance management method according to claim 3, wherein the step of receiving and storing the software offline installation package, and the step of analyzing the software offline installation package specifically comprises:
receiving and storing the software offline installation package, performing intranet test, and performing remote patch upgrade according to a test result by using a remote execution script constructing function after the test is passed;
checking the software offline installation package, and decompressing to a Saltstack script execution directory after the software offline installation package passes the checking;
sls file is parsed and the software record is written after the configuration items are extracted.
5. The operation and maintenance management method according to claim 1, wherein the step of receiving a clustered deployment instruction, uniformly modifying the configuration of a target server, and installing the analyzed software offline installation package on the target server specifically comprises:
associating the software offline installation package, and calling a service name, a description and software installation configuration from a software record corresponding to the software offline installation package to generate a server configuration template;
pulling a server configuration template, associating servers to which corresponding software is to be installed, and modifying the configuration of the associated servers according to the server configuration template;
and calling the software offline installation package, executing the installation executable file in the software offline installation package, and installing the software to the associated server.
6. An operation and maintenance management platform for implementing an operation and maintenance management method, comprising: the system comprises a host management module, a software package management module, a clustering management module and an application health check module;
the host management module accesses a new server point to point through an appointed IP address and an account password; or, scanning a new server in a range by an IPScan mode and performing batch adding operation;
the software package management module is used for receiving and storing a software offline installation package and analyzing the software offline installation package;
the cluster management module is used for receiving a cluster deployment instruction, uniformly modifying the configuration of a target server, and installing the analyzed software offline installation package in the target server;
the application health check module is used for acquiring the process states of all software on the server at an elastic frequency, judging whether the software normally runs or not, and correspondingly processing the software with abnormal conditions according to a preset processing mechanism, wherein the processing mechanism comprises re-pulling and alarming.
7. The operation and maintenance management platform according to claim 6, wherein the host management module comprises: a server linking unit and a server access unit;
the server linking unit is used for judging whether the connection between the operation and maintenance management platform and the server of the access-intended platform is established, if so, executing a takeover program remotely, starting SaltstackMinion, modifying the configuration and name of the server of the access-intended platform, and closing SElinux;
the server access unit is used for taking out a single server instance from the detection queue and carrying out instance detection, if the detection fails, acquiring a new server instance and carrying out instance detection again until the detection succeeds, and if the detection succeeds, acquiring a server controlled monitoring process and updating the state of the server to be controlled, so as to finish the access of the new server.
8. The operation and maintenance management platform according to claim 6, wherein the software offline installation package at least comprises: installing, configuring, starting, stopping and uninstalling five types of executable files of the software; the software package management module comprises: the device comprises an installation package testing unit, an installation package checking unit and an installation package analyzing unit;
the installation package testing unit is used for receiving and storing the software offline installation package, carrying out intranet testing, and carrying out remote patch upgrading according to a testing result by using a remote execution script constructing function after the testing is passed;
the installation package checking unit is used for checking the software offline installation package and decompressing the software offline installation package to a Saltstack script execution catalog after the software offline installation package passes the checking;
the installation package analysis unit is used for analyzing the config.sl file and writing the configuration item into the software record.
9. The operation and maintenance management platform according to claim 6, wherein the cluster management module comprises: the system comprises a template generating unit, a configuration modifying unit and a software installing unit;
the template generating unit is used for associating a software offline installation package, calling a service name, a description and software installation configuration from a software record corresponding to the software offline installation package, and generating a server configuration template;
the configuration modification unit is used for pulling a server configuration template, associating the server to be installed with the corresponding software, and modifying the configuration of the associated server according to the server configuration template;
the software installation unit is used for calling the software offline installation package, executing the installation executable file in the software offline installation package and installing the software to the associated server.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the operation and maintenance management method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211584439.4A CN115987772B (en) | 2022-12-09 | 2022-12-09 | Operation and maintenance management method, operation and maintenance management platform and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211584439.4A CN115987772B (en) | 2022-12-09 | 2022-12-09 | Operation and maintenance management method, operation and maintenance management platform and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115987772A true CN115987772A (en) | 2023-04-18 |
CN115987772B CN115987772B (en) | 2024-08-06 |
Family
ID=85963915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211584439.4A Active CN115987772B (en) | 2022-12-09 | 2022-12-09 | Operation and maintenance management method, operation and maintenance management platform and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115987772B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103731810A (en) * | 2013-12-31 | 2014-04-16 | 小米科技有限责任公司 | Access point sharing method and device |
CN105681113A (en) * | 2016-03-29 | 2016-06-15 | 浪潮软件集团有限公司 | Automatic operation and maintenance method based on SaltStack |
CN107562503A (en) * | 2017-09-07 | 2018-01-09 | 郑州云海信息技术有限公司 | A kind of configuring management method and device |
CN107609202A (en) * | 2017-10-25 | 2018-01-19 | 武汉斗鱼网络科技有限公司 | A kind of method, apparatus and computer equipment for disposing database instance |
CN112114746A (en) * | 2020-08-27 | 2020-12-22 | 紫光云(南京)数字技术有限公司 | Automatic deployment method of distributed storage cluster |
CN114281352A (en) * | 2020-09-28 | 2022-04-05 | 京东方科技集团股份有限公司 | Service deployment method and related equipment |
-
2022
- 2022-12-09 CN CN202211584439.4A patent/CN115987772B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103731810A (en) * | 2013-12-31 | 2014-04-16 | 小米科技有限责任公司 | Access point sharing method and device |
CN105681113A (en) * | 2016-03-29 | 2016-06-15 | 浪潮软件集团有限公司 | Automatic operation and maintenance method based on SaltStack |
CN107562503A (en) * | 2017-09-07 | 2018-01-09 | 郑州云海信息技术有限公司 | A kind of configuring management method and device |
CN107609202A (en) * | 2017-10-25 | 2018-01-19 | 武汉斗鱼网络科技有限公司 | A kind of method, apparatus and computer equipment for disposing database instance |
CN112114746A (en) * | 2020-08-27 | 2020-12-22 | 紫光云(南京)数字技术有限公司 | Automatic deployment method of distributed storage cluster |
CN114281352A (en) * | 2020-09-28 | 2022-04-05 | 京东方科技集团股份有限公司 | Service deployment method and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN115987772B (en) | 2024-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11652641B2 (en) | Artifact lifecycle management on a cloud computing system | |
US9417865B2 (en) | Determining when to update a package manager software | |
US8290627B2 (en) | Dynamically extensible and automatically configurable building automation system and architecture | |
US8245222B2 (en) | Image installer | |
US9992064B1 (en) | Network device configuration deployment pipeline | |
US20130198504A1 (en) | Methods of configuring a bios in a computer system and computer program products | |
US8990372B2 (en) | Operation managing device and operation management method | |
US8151256B2 (en) | Platform independent registry framework | |
CN110908859B (en) | Application service processing method, device, terminal and storage medium | |
US20090307763A1 (en) | Automated Test Management System and Method | |
JP6788178B2 (en) | Setting support program, setting support method and setting support device | |
US20140165040A1 (en) | Test script generation for application image validation | |
US8099588B2 (en) | Method, system and computer program for configuring firewalls | |
JP2003533812A (en) | Method and apparatus for automatically deploying data and simultaneously executing computer program scripts in a computer network | |
US20210326196A1 (en) | A remediation system to prevent incompatible program module installation in an information processing system | |
CN112148269A (en) | Research and development continuous integration method and device, computer equipment and storage medium | |
JP2022100301A (en) | Method for determining potential impact on computing device by software upgrade, computer program, and update recommendation computer server (recommendation of stability of software upgrade) | |
CN112506612B (en) | Cluster inspection method, device, equipment and readable storage medium | |
JP5400873B2 (en) | Method, system, and computer program for identifying software problems | |
CN116450301B (en) | Container-based monitoring method, system, equipment and medium | |
CN115987772B (en) | Operation and maintenance management method, operation and maintenance management platform and storage medium | |
CN105204892B (en) | War packet configuration modification system and methods | |
CN116257404A (en) | Log analysis method and computing device | |
WO2021151352A1 (en) | Method and apparatus for bare metal service delivery, computer device, and storage medium | |
Sun et al. | V-mcs: A configuration system for virtual machines |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |