Method for automatic heterogeneous platform file synchronization and puppet server

A file synchronization and automatic synchronization technology, applied in electrical components, digital transmission systems, transmission systems, etc., can solve problems such as difficult real-time monitoring and statistics, inability to achieve cross-platform synchronization, increased maintenance and management, etc., to achieve easy reading and Mastery, reduce operational complexity, and high reusability

Active Publication Date: 2015-04-15
NEW SINGULARITY INT TECHN DEV
View PDF2 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The shortcomings of the above two solutions are: you must know the administrator account and password of each client, once the client changes the password, it will become invalid
In addition, the first solution cannot achieve cross-platform synchronization, for example, windows and linux cannot be synchronized, and multi-threading technology cannot be used to achieve efficient automatic file synchronization; for the second solution, if some programming compatible with multiple operating systems is used language, it is possible to achieve cross-platform synchronization, such as Python for AIX, but although Python for AIX supports it, it is only compatible with outdated versions, and the implementation is too complicated (multi-threaded concurrency and synchronization efficiency must be considered) and it is not easy to monitor in real time In addition, the implementation of multi-threading technology in the second solution increases the complexity of maintenance and management, and each maintenance personnel must be very familiar with the Perl language, including the use of SSH and other related modules

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
  • Method for automatic heterogeneous platform file synchronization and puppet server
  • Method for automatic heterogeneous platform file synchronization and puppet server
  • Method for automatic heterogeneous platform file synchronization and puppet server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047]Puppet is an automated system configuration tool developed by Puppet Labs. It is an open source software automation configuration and deployment tool that is easy to use and powerful. In puppet, a very simple c / s (client / server, client / server) star structure is adopted, and all data interactions are carried out through SSL (Secure Sockets Layer, secure socket layer) to ensure security; its It mainly includes the puppet server, that is, "puppet master" or "puppet server", and the puppet client, that is, "puppet agent", where the puppet server is the server that all puppet clients must communicate and synchronize with, and the puppet client The end is the server being managed or synchronized. Among them, the general workflow of puppet is:

[0048] 1. The puppet client initiates an authentication request to the puppet server, or uses a signed certificate.

[0049] 2. The puppet server tells the puppet client that you are legal.

[0050] 3. The puppet client calls Facter,...

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 embodiment of the invention discloses a method for automatic heterogeneous platform file synchronization and a puppet server. The method comprises the following steps: the puppet server receives a file synchronization request from a puppet client, wherein the file synchronization request at least contains the operating system and the fully qualified domain name fqdn of the puppet client; the puppet server carries out node matching according to the fqdn in the file synchronization request; the puppet server executes a matched node program, and matches the operating system of the puppet client in the node program; and the puppet server determines the file synchronization position according to the matched operating system, generates a file synchronization response and sends the file synchronization response to the puppet client so that the puppet client can carry out file synchronization according to the file synchronization response. By adopting the method and the puppet server disclosed by the embodiment of the invention, efficient automatic heterogeneous platform file synchronization can be realized.

Description

technical field [0001] The invention relates to the technical field of file synchronization, in particular to a heterogeneous platform file automatic synchronization method and a puppet server. Background technique [0002] For the server in the data center or various computer rooms, the problem of file synchronization with the client is often involved. At present, there are mainly two solutions to solve the problem of file synchronization: [0003] One solution is to use Shell script + Expect script to realize the automatic distribution and management of files. The implementation process mainly includes: the server obtains the administrator account and password of each client operating system that needs to be managed, and saves them in a file middle; then use the Expect script to automatically scp (Secure Copy) or rsync (remote Synchronization) to replace manual scp or rsync to achieve file synchronization. [0004] Another solution is to use advanced scripting languages ​...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
CPCH04L9/3247H04L63/083H04L67/06H04L67/1095
Inventor 黄庚根
Owner NEW SINGULARITY INT TECHN DEV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products