Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Agent deployment upgrading method and system based on Git version control

A version control and version technology, applied in the field of Agent deployment and upgrade, can solve the problems of inability to monitor deployment status in real time, lack of version management, low rollback efficiency, etc., achieve simple configuration and upgrade management mechanism, simplify deployment and configuration difficulty, and quickly roll back Effect

Active Publication Date: 2018-02-02
GUANGDONG ESHORE TECH
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] With the development of Internet distributed technology, more and more systems adopt the Agent architecture design, so multiple Agents (such as monitoring Agent, deployment Agent, naming Agent, log collection Agent, etc.) need to be deployed on each server, If the number of machines in the company is relatively small, manual installation with tools such as pssh, ansible, and fabric is not a big problem, but after the number of machines in the company increases, manual installation, upgrade, and rollback of Agent will be very troublesome.
At present, there are two methods for deployment. One is to use ansible to write scripts to achieve batch deployment. By writing Agent installation scripts, specifying the IP address of the target server, and pushing the installation script to the target server for installation; at the same time, the solution also The configuration file can be pushed to the target server separately, but each deployment needs to configure the server address, account number and other information, which is cumbersome to configure, especially the current popular virtual machine and container creation server method is difficult to know the server's IP address and other information in time , the deployment status of the Agent cannot be monitored in real time; and there is a lack of version management, the installation script needs to be modified for each update, and the rollback efficiency is low; the second is to bundle the Agent to the image when the virtual machine is created to implement deployment, but this This method does not consider the upgrade of the Agent version, and the configuration of the Agent is likely to be different when it is deployed to different servers. After the virtual machine is started, it is necessary to manually log in to modify the Agent configuration of each server.

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
  • Agent deployment upgrading method and system based on Git version control
  • Agent deployment upgrading method and system based on Git version control
  • Agent deployment upgrading method and system based on Git version control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] In order to fully understand the technical content of the present invention, the technical solutions of the present invention will be further introduced and illustrated below in conjunction with specific examples, but not limited thereto.

[0070] Such as Figure 1-9 In the specific embodiment shown, the agent deployment and upgrade method based on git version control provided by this embodiment can be used in the batch deployment and upgrade process of zabbix-agent, which simplifies the configuration difficulty of batch deployment and realizes the rapid rollback of the version , avoiding the introduction of complex configuration management systems, and simple deployment.

[0071] Such as figure 1 As shown, the present embodiment provides an agent deployment and upgrading method based on git version control, which method includes:

[0072] S1. Deploy the Agent configuration management server component and the Git warehouse to the target server and start them respectiv...

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 relates to an Agent deployment upgrading method and system based on Git version control. The method comprises the steps of deploying an Agent configuration management server-side component and a Git warehouse to a target server and respectively starting; deploying an Agent Daemon service component for the target server; updating an Agent deployment packet to the Git warehouse and configuring an Agent deployment strategy; and synchronizing the Agent deployment strategy for the Agent Daemon service component, and executing a command operation corresponding to the Agent deployment strategy. According to the Agent deployment upgrading method and system, the deployment configuration difficulty is simplified, and the roll-back of a version is implemented; moreover, the deployment packet is separated from a configuration file, and a Git version mechanism is utilized, so a simple and easy configuration upgrade management mechanism is provided, and the introduction of a complex configuration management system is avoided.

Description

technical field [0001] The present invention relates to an Agent deployment and upgrading method, and more specifically refers to an Agent deployment and upgrading method and system based on git version control. Background technique [0002] The traditional computing system is closed and needs to meet the requirements of consistency. However, the social mechanism is open and cannot meet the requirements of consistency. Some individuals under this mechanism need to reach a consensus through some kind of negotiation mechanism in case of conflicts. The accepted solution is that such individuals in this computing society are called Agents, and the organic combination of these individuals constitutes a computing society—a multi-Agent system, that is, an Agent refers to a system that resides in a certain environment and can continue to function autonomously. Computing entities with characteristics such as residency, reactivity, sociality, and initiative. [0003] With the develop...

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): H04L12/24G06F9/445H04L29/08
CPCG06F8/65H04L41/0813H04L67/30
Inventor 王沛文杨创廖小文
Owner GUANGDONG ESHORE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products