Automatic operation and maintenance method based on puppet
An operation and maintenance, client-side technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as easy errors and increase the workload of operation and maintenance, so as to solve tedious work, facilitate the efficiency of operation and maintenance, and shorten the work. amount of effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] The steps of the automated operation and maintenance method are as follows:
[0022] 1) The client collects client information through facter and sends it to the server; puppet sends the client information to the server through an SSL connection; the client that needs to be authenticated by the master certificate can communicate with the master;
[0023] 2) Connect to the server and request the client status recorded in the catalog log;
[0024] 3) Request node information;
[0025] 4) Receive the instance of the node from the server;
[0026] 5) Compile the code; the compiled code includes syntax checking, and if the syntax is wrong, an error will be reported; if the syntax is correct, continue to analyze, and the result of the analysis will generate an intermediate pseudocode, and then send the pseudocode to the client;
[0027] 6) Query whether there are exported virtual resources;
[0028] 7) Receive virtual resources from the database, if any;
[0029] 8) Recei...
Embodiment 2
[0033] The specific implementation steps are as follows:
[0034] The client puppet calls facter, and facter detects some variables of the host, such as host name, memory size, ip address, etc.; puppet sends these information to the server through the ssl connection;
[0035] The puppetmaster on the server side detects the hostname of the client, finds the corresponding node configuration in the manifest, and parses the content. The information sent by the facter can be processed as variables, and the code involved in the node is parsed, and other codes not involved are not. Parsing; parsing is divided into several stages, grammar check, if the grammar is wrong, an error will be reported; if the grammar is correct, continue to parse, and the result of the parsing will generate an intermediate "pseudo-code", and then send the pseudo-code to the client;
[0036] The client receives the "pseudo-code" and executes it, and the client sends the execution result to the server;
[00...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 