CN103678007A - Method and system for deploying software in batches - Google Patents

Method and system for deploying software in batches Download PDF

Info

Publication number
CN103678007A
CN103678007A CN201310684827.4A CN201310684827A CN103678007A CN 103678007 A CN103678007 A CN 103678007A CN 201310684827 A CN201310684827 A CN 201310684827A CN 103678007 A CN103678007 A CN 103678007A
Authority
CN
China
Prior art keywords
puppet
client
file synchronization
response message
service end
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
Application number
CN201310684827.4A
Other languages
Chinese (zh)
Other versions
CN103678007B (en
Inventor
李新虎
刘俊朋
邹学强
常为领
王东安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
National Computer Network and Information Security Management Center
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
National Computer Network and Information Security Management Center
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Inspur Beijing Electronic Information Industry Co Ltd, National Computer Network and Information Security Management Center filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201310684827.4A priority Critical patent/CN103678007B/en
Publication of CN103678007A publication Critical patent/CN103678007A/en
Application granted granted Critical
Publication of CN103678007B publication Critical patent/CN103678007B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method and system for deploying software in batches, and the method and system are applied to the software deploying field. The method includes the following steps that a puppet client side periodically sends file synchronization requests to a puppet server side; after receiving the file synchronization requests, the puppet server side feeds back file synchronization response messages to the puppet client side; the puppet client side completes deployment in batches according to the file synchronization response messages. According to the method for deploying the software in batches based on a puppet tool, the 'quiet software' is installed automatically in batches in the cloud-computing environment, logs are recorded, and breakpoints can be continued in the installing process; meanwhile, configuration files of the software are automatically managed by the puppet tool, which is of great significance in the work of deploying the software in batches in cloud computing.

Description

A kind of batch dispositions method and system of software
Technical field
The present invention relates to Software deployment field, relate in particular to a kind of batch dispositions method and system of software.
Background technology
The development of cloud computing, can distribute the computing power of physical machine efficiently, and the computing power of every virtual machine can flexible expansion be also that virtual machine is the same with software with dwindling, install and uninstall that can be at any time.
Therefore, the software on virtual machine, also needs constantly in batches to install, and the software on virtual machine is installed at present, need to carry out one by one, when the batch of software, quantity is installed a lot of time, causes installation effectiveness greatly to reduce.
Summary of the invention
The invention provides a kind of batch dispositions method and system of software, to address the above problem.
The invention provides a kind of batch dispositions method of software.Said method comprises the following steps:
Puppet client is periodically to puppet service end Transmit message synchronization request;
Described puppet service end receives after described file synchronization request, to described puppet client feedback file synchronization response message;
Described puppet client, according to described file synchronization response message, completes in batches and disposes;
Wherein, in described file synchronization response message, carry the puppet coded program content that belongs to described puppet client after renewal.
The present invention also provides a kind of batch deployment system of software, comprising: puppet client, puppet service end; Puppet client is connected with puppet service end;
Described puppet client, for periodically to puppet service end Transmit message synchronization request; Described file synchronization response message according to described puppet service end feedback, completes in batches and disposes;
Described puppet service end, for receiving after described file synchronization request, to described puppet client feedback file synchronization response message;
Wherein, in described file synchronization response message, carry the puppet coded program content that belongs to described puppet client after renewal.
Software batch dispositions method based on puppet instrument of the present invention, has realized the automatic batch of " silent software " under cloud computing environment and has installed, and installation process log, breakpoint can continue; Meanwhile, the configuration file of software is also managed by puppet automatically, for the batch of software in the cloud computing very large meaning that maps out the work.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Figure 1 shows that the batch deployment architecture figure of the software of the embodiment of the present invention 1;
The batch that Figure 2 shows that the software of the embodiment of the present invention 2 is disposed process flow diagram;
The batch that Figure 3 shows that the software of the embodiment of the present invention 3 is disposed schematic diagram.
Embodiment
Hereinafter with reference to accompanying drawing, also describe the present invention in detail in conjunction with the embodiments.It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.
The batch dispositions method that the invention provides a kind of software, comprises the following steps:
Puppet client is periodically to puppet service end Transmit message synchronization request;
Described puppet service end receives after described file synchronization request, to described puppet client feedback file synchronization response message;
Described puppet client, according to described file synchronization response message, completes in batches and disposes;
Wherein, in described file synchronization response message, carry the puppet coded program content that belongs to described puppet client after renewal.
Wherein, puppet client periodically, to before puppet service end Transmit message synchronization request, also comprises:
Described puppet client is collected client state, offers described puppet server end.
Wherein, the mode of described puppet client collection client state comprises: periodically collect, collect in real time.
Wherein, described puppet service end receives after described file synchronization request, to the process of described puppet client feedback file synchronization response message, is:
Described puppet service end receives after described file synchronization request, upgrades to belong to the puppet coded program content of described puppet client and to described puppet client feedback file synchronization response message.
Wherein, described puppet client is according to described file synchronization response message, and the process that completes deployment is in batches:
Described in described puppet client, after the described file synchronization response message of puppet service end feedback, carry out the puppet coded program content that belongs to described puppet client after upgrading, complete in batches and dispose.
Wherein, described puppet client, according to described file synchronization response message, completes after deployment in batches, also comprises:
After described puppet client completes and disposes in batches, to described puppet server end feedback, synchronously complete response message.
The batch deployment architecture figure that Figure 1 shows that the software of the embodiment of the present invention 1, is described as follows:
As shown in Figure 1, comprising: client computer 1, client computer 2 ... client computer n, puppet client 1, puppet client 2 ... puppet client n, puppet server end; Client computer 1, client computer 2 ... client computer n respectively by each self-corresponding puppet client 1, puppet client 2 ... puppet client n is connected with puppet server end;
Ultimate principle is as follows:
Puppet is the service of cs structure, puppet client (puppet client 1, puppet client 2 ... puppet client n) be used for collecting client computer (client computer 1, client computer 2 ... client computer n) state, to offer puppet server end; Wherein, the mode that puppet client is used for collecting client state can be periodically to collect, and can be also real-time collection.
Puppet client periodically (for example: 30 minutes) to puppet service end Transmit message synchronization request;
Puppet service end receives after described file synchronization request, renewal belongs to the puppet coded program content of puppet client and to puppet client feedback file synchronization response message, wherein, in described file synchronization response message, carry the puppet coded program content that belongs to puppet client after renewal;
After the file synchronization response message of puppet client puppet service end feedback, carry out the puppet coded program content that belongs to puppet client after upgrading, complete synchronously to complete in batches and dispose;
After puppet client completes synchronously, to puppet server end feedback, synchronously complete response message.
Wherein, in five large resources that puppet can manage, the management of file completes by synchronous documents content, this is also to utilize puppet software to carry out a link of the most critical of Software deployment, based on this mechanism, when software meets following situation, we can be synchronized to client by service end by the content of software, complete the configuration for this software simultaneously.
Software runtime environment is unix or class linux operating system;
Software can silently be installed.: installation process is without man-machine interaction, or can carry out according to default value the default installation of software also;
After software has configured, can update software configuration data by change configuration file, and come into force after restarting.
The batch that Figure 2 shows that the software of the embodiment of the present invention 2 is disposed process flow diagram, is described as follows::
Step 201:puppet client is collected client state, offers puppet server end;
Step 202:puppet client is periodically to puppet service end Transmit message synchronization request;
Step 203:puppet service end receives after file synchronization request, upgrades the puppet coded program content that belongs to puppet client;
After the file synchronization response message of step 204:puppet client puppet service end feedback, carry out the puppet coded program content that belongs to puppet client after upgrading, complete synchronous.
The batch that Figure 3 shows that the software of the embodiment of the present invention 3 is disposed schematic diagram, is described as follows:
As shown in Figure 3, comprising: puppet client, puppet server;
The template file management of <1>puppet, the file of configuration puppet instrument self;
<2>puppet server end and puppet client are set up authentication;
<3> sets up the bibliographic structure of puppet server end and the version corresponding relation of client, and wherein, a puppet service end can be installed different software to a plurality of puppet clients;
<4> software medium synchronous;
The log information of <5> installation process, is synchronized to puppet server end.
The present invention also provides a kind of batch deployment system of software, comprising: puppet client, puppet service end; Puppet client is connected with puppet service end;
Described puppet client, for periodically to puppet service end Transmit message synchronization request; Described file synchronization response message according to described puppet service end feedback, completes in batches and disposes;
Described puppet service end, for receiving after described file synchronization request, to described puppet client feedback file synchronization response message;
Wherein, in described file synchronization response message, carry the puppet coded program content that belongs to described puppet client after renewal.
Wherein, also comprise: client computer; Described client computer is connected with described puppet service end by described puppet client;
Described client computer, for providing its status information to described puppet client.
Software batch dispositions method based on puppet instrument of the present invention, has realized the automatic batch of " silent software " under cloud computing environment and has installed, and installation process log, breakpoint can continue; Meanwhile, the configuration file of software is also managed by puppet automatically, for the batch of software in the cloud computing very large meaning that maps out the work.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. a batch dispositions method for software, is characterized in that, comprises the following steps:
Puppet client is periodically to puppet service end Transmit message synchronization request;
Described puppet service end receives after described file synchronization request, to described puppet client feedback file synchronization response message;
Described puppet client, according to described file synchronization response message, completes in batches and disposes;
Wherein, in described file synchronization response message, carry the puppet coded program content that belongs to described puppet client after renewal.
2. method according to claim 1, is characterized in that: puppet client periodically, to before puppet service end Transmit message synchronization request, also comprises:
Described puppet client is collected client state, offers described puppet server end.
3. method according to claim 2, is characterized in that: the mode that described puppet client is collected client state comprises: periodically collect, collect in real time.
4. method according to claim 1, is characterized in that: described puppet service end receives after described file synchronization request, to the process of described puppet client feedback file synchronization response message, is:
Described puppet service end receives after described file synchronization request, upgrades to belong to the puppet coded program content of described puppet client and to described puppet client feedback file synchronization response message.
5. method according to claim 1, is characterized in that: described puppet client is according to described file synchronization response message, completes the process of disposing in batches and is:
Described in described puppet client, after the described file synchronization response message of puppet service end feedback, carry out the puppet coded program content that belongs to described puppet client after upgrading, complete in batches and dispose.
6. method according to claim 5, is characterized in that: described puppet client is according to described file synchronization response message, after completing and disposing in batches, also comprises:
After described puppet client completes and disposes in batches, to described puppet server end feedback, synchronously complete response message.
7. a batch deployment system for software, is characterized in that, comprising: puppet client, puppet service end; Puppet client is connected with puppet service end;
Described puppet client, for periodically to puppet service end Transmit message synchronization request; Described file synchronization response message according to described puppet service end feedback, completes in batches and disposes;
Described puppet service end, for receiving after described file synchronization request, to described puppet client feedback file synchronization response message;
Wherein, in described file synchronization response message, carry the puppet coded program content that belongs to described puppet client after renewal.
8. system according to claim 7, is characterized in that, also comprises: client computer; Described client computer is connected with described puppet service end by described puppet client;
Described client computer, for providing its status information to described puppet client.
CN201310684827.4A 2013-12-13 2013-12-13 A kind of batch dispositions method of software and system Active CN103678007B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310684827.4A CN103678007B (en) 2013-12-13 2013-12-13 A kind of batch dispositions method of software and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310684827.4A CN103678007B (en) 2013-12-13 2013-12-13 A kind of batch dispositions method of software and system

Publications (2)

Publication Number Publication Date
CN103678007A true CN103678007A (en) 2014-03-26
CN103678007B CN103678007B (en) 2017-03-08

Family

ID=50315659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310684827.4A Active CN103678007B (en) 2013-12-13 2013-12-13 A kind of batch dispositions method of software and system

Country Status (1)

Country Link
CN (1) CN103678007B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618168A (en) * 2015-03-06 2015-05-13 浪潮集团有限公司 Automatic operation and maintenance method based on puppet
CN105959363A (en) * 2016-04-26 2016-09-21 中国电子科技网络信息安全有限公司 Big data cluster deployment method capable of adapting to hardware configuration
CN106095864A (en) * 2016-06-03 2016-11-09 中国工商银行股份有限公司 A kind of log processing system and method
WO2017041486A1 (en) * 2015-09-10 2017-03-16 中兴通讯股份有限公司 Cluster deployment implementation method and apparatus
CN106775801A (en) * 2016-11-09 2017-05-31 广东浪潮大数据研究有限公司 A kind of software batch dispositions method, device and system
CN107301071A (en) * 2017-06-21 2017-10-27 郑州云海信息技术有限公司 The automatic installation method and device of a kind of software kit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090300619A1 (en) * 2008-05-30 2009-12-03 Matt Hicks Product independent orchestration tool
CN102937909A (en) * 2012-11-21 2013-02-20 上海爱数软件有限公司 Method for deploying and upgrading Linux system
CN103037002A (en) * 2012-12-21 2013-04-10 中标软件有限公司 Method and system for arranging server cluster in cloud computing cluster environment
US20130227560A1 (en) * 2012-02-29 2013-08-29 Michael P. McGrath Mechanism for System Resource Sharing in a Multi-Tenant Platform-as-a-Service (PaaS) Environment in a Cloud Computing System

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090300619A1 (en) * 2008-05-30 2009-12-03 Matt Hicks Product independent orchestration tool
US20130227560A1 (en) * 2012-02-29 2013-08-29 Michael P. McGrath Mechanism for System Resource Sharing in a Multi-Tenant Platform-as-a-Service (PaaS) Environment in a Cloud Computing System
CN102937909A (en) * 2012-11-21 2013-02-20 上海爱数软件有限公司 Method for deploying and upgrading Linux system
CN103037002A (en) * 2012-12-21 2013-04-10 中标软件有限公司 Method and system for arranging server cluster in cloud computing cluster environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曾令华: "基于Puppet的自动化配置系统设计及实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618168A (en) * 2015-03-06 2015-05-13 浪潮集团有限公司 Automatic operation and maintenance method based on puppet
WO2017041486A1 (en) * 2015-09-10 2017-03-16 中兴通讯股份有限公司 Cluster deployment implementation method and apparatus
CN105959363A (en) * 2016-04-26 2016-09-21 中国电子科技网络信息安全有限公司 Big data cluster deployment method capable of adapting to hardware configuration
CN106095864A (en) * 2016-06-03 2016-11-09 中国工商银行股份有限公司 A kind of log processing system and method
CN106775801A (en) * 2016-11-09 2017-05-31 广东浪潮大数据研究有限公司 A kind of software batch dispositions method, device and system
CN107301071A (en) * 2017-06-21 2017-10-27 郑州云海信息技术有限公司 The automatic installation method and device of a kind of software kit

Also Published As

Publication number Publication date
CN103678007B (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN103678007A (en) Method and system for deploying software in batches
US10592290B2 (en) Accelerating and maintaining large-scale cloud deployment
CN102637214B (en) Method and system for synchronizing general data among database services
CN102609281B (en) Distributed software patch update method and system
CN103793278A (en) Automatic resource adjusting method on basis of operation and maintenance rules of virtual device
US10140103B2 (en) POS application development method and cloud server
CN103793259A (en) Virtual device generating and deploying method
WO2021155667A1 (en) Model training method and apparatus, and clustering system
CN104219329A (en) Method for deploying service through content distribution in cluster server
CN103677858A (en) Method, system and device for managing virtual machine software in cloud environment
CN103747064B (en) Hanging method, client and system based on MooseFS Distribute file systems
Huang AppACTS: Mobile app automated compatibility testing service
CN112199157B (en) Cloud environment management method
CN106293847B (en) Method for supporting service of virtualization platform
CN107800580B (en) Method, server and system for monitoring installation state of large-batch operating systems
CN103685567A (en) Virtual application server configuration method under cloud environment
WO2015062217A1 (en) Connection processing method and device for peripheral in virtual desktop system
CN103064717A (en) Device and method for parallel installation of software for cluster system
CN106227397A (en) Computing cluster job management system based on application virtualization technology and method
CN103077034A (en) JAVA application migration method and system for hybrid virtualization platform
CN108259569B (en) Method and system for protecting agentless continuous data based on IPSAN shared storage
CN104636159A (en) Method and device for upgrading software in virtual machines
CN110912754A (en) Method and management system for batch operation and maintenance remote hosts
CN104166570A (en) On-line file updating method, equipment and system
CN115098354A (en) Method for building high-performance cloud simulation design platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant