CN105245371A - Automatic deployment system and method based on ansable - Google Patents
Automatic deployment system and method based on ansable Download PDFInfo
- Publication number
- CN105245371A CN105245371A CN201510656172.9A CN201510656172A CN105245371A CN 105245371 A CN105245371 A CN 105245371A CN 201510656172 A CN201510656172 A CN 201510656172A CN 105245371 A CN105245371 A CN 105245371A
- Authority
- CN
- China
- Prior art keywords
- module
- ansible
- main frame
- responsible
- interface
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000012544 monitoring process Methods 0.000 claims abstract description 30
- 238000012423 maintenance Methods 0.000 description 3
- 239000002699 waste material Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0883—Semiautomatic configuration, e.g. proposals from system
Abstract
The invention discloses an ansable-based automatic deployment system and method, belonging to the field of automatic deployment; the creation module in the system is responsible for constructing a server module through an infrastructure and providing the server module for an application server; the monitoring module is responsible for constructing a functional plug-in on the monitored host through an infrastructure so as to control the controlled host; the interface module is responsible for providing a corresponding interface on the Web server for the use of a user, and the system and the method of the invention are used for automatically deploying the IT application, so that the root cause is difficult to be quickly and accurately found after the problem occurs, and the problem is difficult to be actively and quickly processed.
Description
Technical field
The present invention discloses a kind of automation based on ansible and disposes system and method, belongs to automation and disposes field.
Background technology
The business become increasingly complex; more and more diversified user's request; IT application is constantly expanded; no matter the order of magnitude explosive growth of scale or quantity I T application; and in IT O&M process; artificial O&M only has usually could find and set about process when event has occurred and caused service impact, makes the quality of IT O&M own be difficult to improve, causes the service satisfaction of IT O&M not high.And IT operation maintenance personnel daily most of the time and energy are all in some problems usually repeated of process, waste human resources.But also do not have effective method help operation maintenance personnel automatic deployment and safeguard increasingly sophisticated IT system at present, and the numerous network equipment, server, middleware, database, operation system etc., and sometimes even cause the normal operation of the business that has a strong impact on.The invention provides a kind of automation based on ansible deployment system and method, utilize ansible function, IT application is disposed in automation, is difficult to find basic reason quickly and accurately after making problem occur, is also difficult to obtain active, fast processing.
Ansible provides the simplest a kind of mode for issuing, managing and the instrument of layout computer system, can complete deployment at several minutes.Ansible is the configuration manager of a model-driven, supports that multinode is issued, remote task performs.Without the need to installing Add-ons being managed on node, various programming language can be used to expand.
Summary of the invention
The present invention is directed to IT application in prior art constantly to expand, the quality of artificial O&M own is difficult to improve, cause the service satisfaction of IT O&M not high, and IT operation maintenance personnel daily most of the time and energy are all in some problems usually repeated of process, waste the problem of human resources, a kind of Automation arranging method based on ansible is provided, utilize ansible function, IT application is disposed in automation, be difficult to find basic reason quickly and accurately after making problem occur, be also difficult to obtain active, fast processing.
The concrete scheme that the present invention proposes is:
Based on an automation deployment system of ansible, comprise creation module, monitoring module, interface module;
Creation module is responsible for building server module by Ansible and being supplied to application server;
Monitoring module is responsible for by Ansible constructing function plug-in unit on monitored main frame, to control controlled main frame;
Interface module is responsible on Web server, provide corresponding interface so that user uses.
Creation module is responsible for building monitoring alarm module, the operation management module of service end by Ansible and accessing configuration module and be supplied to application server.
Monitoring module is responsible for building monitoring alarm plug-in unit, automation O&M feature card and infrastructure service feature card, to control controlled main frame by Ansible on monitored main frame.
Interface module is responsible for the user interface providing monitoring alarm process interface, automation operation management function interface and access to configure on Web server.
Based on an Automation arranging method of ansible, utilize said system, creation module is responsible for building server module by Ansible and being supplied to application server; Monitoring module is responsible for by Ansible constructing function plug-in unit on monitored main frame, to control controlled main frame; Interface module is responsible on Web server, provide corresponding interface so that user uses.
When monitored main frame constructing function plug-in unit, monitored main frame is specified by its IP or domain name;
Or specify a series of continuous monitored main frame by numeral and letter mode.
Usefulness of the present invention is:
Present system comprises creation module, monitoring module, interface module; Creation module is responsible for building server module by Ansible and being supplied to application server; Monitoring module is responsible for by Ansible constructing function plug-in unit on monitored main frame, to control controlled main frame; Interface module is responsible on Web server, provide corresponding interface so that user uses, utilize present system and method, based on ansible function, IT application is disposed in automation, be difficult to find basic reason quickly and accurately after making problem occur, be also difficult to obtain active, fast processing.
Embodiment
Based on an automation deployment system of ansible, comprise creation module, monitoring module, interface module;
Creation module is responsible for building server module by Ansible and being supplied to application server;
Monitoring module is responsible for by Ansible constructing function plug-in unit on monitored main frame, to control controlled main frame;
Interface module is responsible on Web server, provide corresponding interface so that user uses.
Creation module is responsible for building monitoring alarm module, the operation management module of service end by Ansible and accessing configuration module and be supplied to application server.
Monitoring module is responsible for building monitoring alarm plug-in unit, automation O&M feature card and infrastructure service feature card, to control controlled main frame by Ansible on monitored main frame.
Interface module is responsible for the user interface providing monitoring alarm process interface, automation operation management function interface and access to configure on Web server.
Based on an Automation arranging method of ansible, utilize said system, creation module is responsible for building server module by Ansible and being supplied to application server; Monitoring module is responsible for by Ansible constructing function plug-in unit on monitored main frame, to control controlled main frame; Interface module is responsible on Web server, provide corresponding interface so that user uses.
When monitored main frame constructing function plug-in unit, monitored main frame is specified by its IP or domain name;
Or specify a series of continuous monitored main frame by numeral and letter mode.
In conjunction with specific embodiments, utilize said system of the present invention and method, further illustrate.
Wherein Ansible can be installed to the platforms such as Linux, BSD, MacOSX, uses SSH to carry out long-range connection, and for Linux in this example, the package manager carried by it installs Ansible:
Yuminstallansible#RHEL/CentOS/Fedora, needs to configure EPEL
apt-getinstallansible#Debian/Ubuntu
emerge-avtansible#Gentoo/Funtoo
The wherein kernel program of Ansible:Ansible.
HostLnventory: have recorded the host information that each is managed by Ansible, information comprises ssh port, root account number cipher, ip address etc.
Playbooks:YAML formatted file, multiple task definition in one file, can unified call during use.
It is not completed by Ansible oneself that CoreModules:Ansible performs any management role, but is completed by nucleus module; Before Ansible management host, first call the module in coreModules, then indicate the main frame in management HostLnventory, just can complete management host.
CustomModules: custom block, completes the function that Ansible nucleus module cannot complete.
ConnectionPlugins: connect plug-in unit, Ansible with Host communicates use.
Wherein Lnventory file is used for defining the main frame that will manage.Its default location, at/etc/ansible/hosts, is also specified by-i option.The machine be managed can be specified by its IP or domain name.Ungrouped machine need be retained in the top of hosts, and grouping can use [] to specify, as:
[web]
linuxtoy.org
Meanwhile, grouping also can be nested:
[vps:children]
web
db
In addition, also a series of continuous main frame can be specified by numeral and letter mode, as:
[1:3] .linuxtoy.org# is equivalent to
1.linuxtoy.org、2.linuxtoy.org、3.linuxtoy.org
[a:c] .linuxtoy.org# is equivalent to
a.linuxtoy.org、b.linuxtoy.org、c.linuxtoy.org
Perform and check whether Ansible can normally work to issue orders:
ansible-ihostsall-mping-uwww
The effect of this command option is respectively:
-i: specify inventory file, uses the hosts under current directory
All: the All hosts for hosts definition performs, and also can specify group name or pattern here
-m: specify module used, can the ping module that we use Ansible built-in checks normal management REMOTE MACHINE
-u: the user specifying REMOTE MACHINE
If return following result:
linuxtoy.org|success>>{
"changed":false,
"ping":"pong"
}
Then illustrate that all are normal.
Check the uptime of REMOTE MACHINE:
ansiblevps-a'uptime'
This will export:
linuxtoy.org|success|rc=0>>
11:23:16up177days,21:19,0users,loadaverage:0.55,0.45,0.39
And a kind of automation deployment system based on ansible can be set up, comprise creation module, monitoring module, interface module;
Creation module is responsible for building monitoring alarm module, the operation management module of service end by Ansible and accessing configuration module and be supplied to application server;
Monitoring module is responsible for building monitoring alarm plug-in unit, automation O&M feature card and infrastructure service feature card, to control controlled main frame by Ansible on monitored main frame;
Interface module is responsible for the user interface providing monitoring alarm process interface, automation operation management function interface and access to configure on Web server.
Utilize said system, creation module is responsible for building server module by Ansible and being supplied to application server; Monitoring module is responsible for by Ansible constructing function plug-in unit on monitored main frame, to control controlled main frame; Interface module is responsible on Web server, provide corresponding interface so that user uses.
Claims (6)
1., based on an automation deployment system of ansible, it is characterized in that comprising creation module, monitoring module, interface module;
Creation module is responsible for building server module by Ansible and being supplied to application server;
Monitoring module is responsible for by Ansible constructing function plug-in unit on monitored main frame, to control controlled main frame;
Interface module is responsible on Web server, provide corresponding interface so that user uses.
2. a kind of automation deployment system based on ansible according to claim 1, is characterized in that creation module is responsible for building monitoring alarm module, the operation management module of service end by Ansible and accessing configuration module and be supplied to application server.
3. a kind of automation deployment system based on ansible according to claim 2, it is characterized in that monitoring module is responsible for building monitoring alarm plug-in unit, automation O&M feature card and infrastructure service feature card, to control controlled main frame by Ansible on monitored main frame.
4. a kind of automation deployment system based on ansible according to claim 3, is characterized in that interface module is responsible for the user interface providing monitoring alarm process interface, automation operation management function interface and access to configure on Web server.
5. based on an Automation arranging method of ansible, it is characterized in that utilizing the system described in any one of claim 1-4, utilize creation module build server module by Ansible and be supplied to application server; Utilize monitoring module by Ansible constructing function plug-in unit on monitored main frame, to control controlled main frame; Utilize interface module on Web server, provide corresponding interface so that user uses.
6. a kind of Automation arranging method based on ansible according to claim 5, is characterized in that when monitored main frame constructing function plug-in unit, and monitored main frame is specified by its IP or domain name;
Or specify a series of continuous monitored main frame by numeral and letter mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510656172.9A CN105245371A (en) | 2015-10-12 | 2015-10-12 | Automatic deployment system and method based on ansable |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510656172.9A CN105245371A (en) | 2015-10-12 | 2015-10-12 | Automatic deployment system and method based on ansable |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105245371A true CN105245371A (en) | 2016-01-13 |
Family
ID=55042882
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510656172.9A Pending CN105245371A (en) | 2015-10-12 | 2015-10-12 | Automatic deployment system and method based on ansable |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105245371A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055486A (en) * | 2016-08-19 | 2016-10-26 | 浪潮(北京)电子信息产业有限公司 | Automatic operation maintenance method and platform of distributed file system |
WO2017202211A1 (en) * | 2016-05-26 | 2017-11-30 | 中兴通讯股份有限公司 | Method and device for installing service version on virtual machine |
CN108234172A (en) * | 2016-12-16 | 2018-06-29 | 上海仪电(集团)有限公司中央研究院 | A kind of physical resource automatic deployment system for cloud computing |
CN108319500A (en) * | 2017-01-16 | 2018-07-24 | 阿里巴巴集团控股有限公司 | A kind of operating method of cloud computing system, device and electronic equipment |
CN109343894A (en) * | 2018-09-20 | 2019-02-15 | 郑州云海信息技术有限公司 | A kind of O&M method and apparatus of cloud platform |
CN110109684A (en) * | 2019-04-04 | 2019-08-09 | 平安科技(深圳)有限公司 | Block chain node administration agent services installation method, electronic device and storage medium |
CN110209407A (en) * | 2019-06-12 | 2019-09-06 | 浪潮软件股份有限公司 | A kind of big data cluster automatically dispose system and method |
CN110958321A (en) * | 2019-12-09 | 2020-04-03 | 杭州安恒信息技术股份有限公司 | Safety product monitoring method, device, equipment and medium |
CN110955457A (en) * | 2019-10-11 | 2020-04-03 | 广西电网有限责任公司信息中心 | Batch automatic operation and maintenance management method for operating systems |
US10671143B2 (en) | 2018-01-11 | 2020-06-02 | Red Hat Israel, Ltd. | Power management using automation engine |
US11171824B2 (en) | 2018-03-01 | 2021-11-09 | Red Hat, Inc. | Configuration of computing devices via containers |
US11645239B2 (en) | 2020-11-19 | 2023-05-09 | International Business Machines Corporation | Automated intelligent file conversion and execution |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104184820A (en) * | 2014-08-29 | 2014-12-03 | 城云科技(杭州)有限公司 | Customized template cloud platform dynamic spread deploying method applied under distributed environment |
CN104731580A (en) * | 2015-01-12 | 2015-06-24 | 上海新炬网络信息技术有限公司 | Automation operation and maintenance system based on Karaf and ActiveMQ and implement method thereof |
-
2015
- 2015-10-12 CN CN201510656172.9A patent/CN105245371A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104184820A (en) * | 2014-08-29 | 2014-12-03 | 城云科技(杭州)有限公司 | Customized template cloud platform dynamic spread deploying method applied under distributed environment |
CN104731580A (en) * | 2015-01-12 | 2015-06-24 | 上海新炬网络信息技术有限公司 | Automation operation and maintenance system based on Karaf and ActiveMQ and implement method thereof |
Non-Patent Citations (1)
Title |
---|
赵峰: "面向云计算环境的服务器资源管理系统的设计和实现", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017202211A1 (en) * | 2016-05-26 | 2017-11-30 | 中兴通讯股份有限公司 | Method and device for installing service version on virtual machine |
CN106055486A (en) * | 2016-08-19 | 2016-10-26 | 浪潮(北京)电子信息产业有限公司 | Automatic operation maintenance method and platform of distributed file system |
CN108234172A (en) * | 2016-12-16 | 2018-06-29 | 上海仪电(集团)有限公司中央研究院 | A kind of physical resource automatic deployment system for cloud computing |
CN108234172B (en) * | 2016-12-16 | 2022-01-11 | 上海仪电(集团)有限公司中央研究院 | Physical resource automatic deployment system for cloud computing |
CN108319500A (en) * | 2017-01-16 | 2018-07-24 | 阿里巴巴集团控股有限公司 | A kind of operating method of cloud computing system, device and electronic equipment |
US10671143B2 (en) | 2018-01-11 | 2020-06-02 | Red Hat Israel, Ltd. | Power management using automation engine |
US11435807B2 (en) | 2018-01-11 | 2022-09-06 | Red Hat Israel, Ltd. | Power management using automation engine |
US11171824B2 (en) | 2018-03-01 | 2021-11-09 | Red Hat, Inc. | Configuration of computing devices via containers |
CN109343894B (en) * | 2018-09-20 | 2021-11-26 | 郑州云海信息技术有限公司 | Operation and maintenance method and device of cloud platform |
CN109343894A (en) * | 2018-09-20 | 2019-02-15 | 郑州云海信息技术有限公司 | A kind of O&M method and apparatus of cloud platform |
CN110109684A (en) * | 2019-04-04 | 2019-08-09 | 平安科技(深圳)有限公司 | Block chain node administration agent services installation method, electronic device and storage medium |
CN110209407A (en) * | 2019-06-12 | 2019-09-06 | 浪潮软件股份有限公司 | A kind of big data cluster automatically dispose system and method |
CN110955457A (en) * | 2019-10-11 | 2020-04-03 | 广西电网有限责任公司信息中心 | Batch automatic operation and maintenance management method for operating systems |
CN110958321A (en) * | 2019-12-09 | 2020-04-03 | 杭州安恒信息技术股份有限公司 | Safety product monitoring method, device, equipment and medium |
US11645239B2 (en) | 2020-11-19 | 2023-05-09 | International Business Machines Corporation | Automated intelligent file conversion and execution |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105245371A (en) | Automatic deployment system and method based on ansable | |
CN106020930B (en) | A kind of application management method and system based on application container | |
CN103188088B (en) | Equipment information collection system and method | |
CN100479575C (en) | Method and apparatus for realizing scheduled operation in equipment management | |
WO2016127756A1 (en) | Flexible deployment method for cluster and management system | |
US8472333B2 (en) | Methods and systems for monitoring changes made to a network that alter the services provided to a server | |
CN104360878B (en) | A kind of method and device of application software deployment | |
CN105099783B (en) | A kind of method and system for realizing operation system alarm emergency disposal automation | |
JP2008519327A (en) | Network management appliance | |
CN105580007A (en) | Monitoring a computing network | |
CN108206847A (en) | CDN management system, method and device | |
CN106021370A (en) | Memory database instance management method and device | |
CN104363107B (en) | A kind of security baseline check method and equipment | |
CN105978716B (en) | Information technoloy equipment and the processing of the monitoring information Homogeneous of rotating ring equipment and three-dimensional rendering method | |
CN104506348A (en) | Method for automatically discovering and configuring monitoring object | |
CN105610946B (en) | A kind of cloud springboard machine system based on docker technologies | |
CN103268226A (en) | Test script file generation method and device | |
CN100514962C (en) | Host performance collection proxy in large-scale network | |
CN104363122B (en) | A kind of method for pre-configuration and system of network element | |
CN104637265A (en) | Dispatch-automated multilevel integration intelligent watching alarming system | |
CN104184826A (en) | Multi-data-center storage environment managing method and system | |
CN110138876A (en) | Task deployment method, apparatus, equipment and platform | |
CN106304136A (en) | Obtain the method for network state information, system, controller and simulation mobile device | |
CN104731062A (en) | Intelligent network management system and method used for monitoring state and dispatching for instruments | |
CN110278101A (en) | A kind of method for managing resource and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160113 |