Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Inactive Publication Date: 2015-05-13
INSPUR GROUP CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing common operation and maintenance deployment methods are all manual deployment, which increases the workload of operation and maintenance and is prone to errors

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automatic operation and maintenance method based on puppet

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an automatic operation and maintenance method based on puppet. The method comprises the following steps: a puppet client side collects client-side information through facter and sending the information to a server side; the puppet client side is connected with the server side and requests a catalog log; the puppet server requests information of a node; an instance of the node is received from the server side; codes are compiled; whether exported virtual resources exist or not is queried: if yes the virtual resources are received from a database; the server side receives a complete catalog log and stores the catalog log to the database; the client side receives the complete catalog log. Compared with the prior art, the automatic operation and maintenance method based on the puppet has the advantages that manual deployment tedious work is avoided, the workload is greatly reduced, the unified management is realized, and the working efficiency of the operation and maintenance personnel is improved.

Description

technical field [0001] The invention relates to the field of automatic operation and maintenance of computers, in particular to a method for automatic operation and maintenance based on puppet. Background technique [0002] Puppet is a centralized configuration management system for Linux, Unix, and Windows platforms. It uses its own puppet description language to manage configuration files, users, cron tasks, software packages, and system services. Puppet refers to these system entities as resources, and the design goal of puppet is to simplify the management of these resources and properly handle the dependencies between resources. [0003] The existing common operation and maintenance deployment methods are all manual deployment, which increases the workload of operation and maintenance and is prone to errors. Contents of the invention [0004] The technical task of the present invention is to provide a method for automatic operation and maintenance based on puppet. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L12/24
Inventor 刘鹏马现珍王诗华
Owner INSPUR GROUP CO LTD