Build projects through Jenkins, version versioning, Udployer Automation integration, UCOP Business patrol to achieve efficient and highly available automation systems. Version 1.0:
Separation of logic and business , perfect logic and business separation, business implementation of unified shell script development, unified call by the Python framework.
concurrent Multi-threaded deployment , regardless of how many servers, how many services, while initiating threads to update, deploy, start.
improve the list rules file DIY degree , reduce the new service brought about by the modification code, to achieve the scanning Config Automation integrated deployment.
Version 2.0:
version Control , associating Jenkins for automated commit version to test
Backup and rollback, which can be rolled back based on the time period, enabling instant rollback for instant use.
SQL Script Update to implement generic script with incremental script execution.
Version 3.0:
MP multi-site automation integration
1 Introduction
Automated integration and unified installation upgrades for multi-resource distributed / detached deployment projects.
A large number of company projects, deployment needs to spend a lot of manpower and time, and the human deployment process can be a lot of human error, through automated integration, can be achieved with less manpower on different projects and multiple servers for automatic deployment, reduce the human-caused problems, save the deployment time. In the late stages of automation integration, automated testing is integrated into the entire system to achieve the goals from deployment to testing.
1.1 Purpose
Enable continuous integration packaging, automated integration and update Services, real-time monitoring of server status and automated testing
1.2 Range
The scope of use of this project includes:
- based on multi-resource development projects
-wide range of project-related services
- Service Multi-dependency relationship
1.3 Reader
The reader or other document stakeholders of the requirements specification are platform directors, product managers, project directors, project managers, developers, testers, OPS, UX designers, and so on.
2 Overall Project description
2.1 System General function Framework
Before performing a unified installation, first back up the previous project and extract the involved configuration file, then check the SVN update version, and then perform a unified installation.
Implementation of a single key to perform a unified installation , the completion of the display service process and related versions.
2.2 System Feature List
Number |
Module |
Function |
Description |
Udeployer _t001 |
Autotest |
Common components Platform |
As a working component of automation integration and testing |
Udeployer _t002 |
Bin |
Perform an automated integrated master catalog |
Perform automation Integration Master program, support multi-threaded execution |
Udeployer _t003 |
Bak |
|
Directory to store the configuration files that each program needs to replace |
Udeployer _t004 |
Common |
Store execution components (kill process, start process, etc.) |
Storing individual actuators |
Udeployer _t005 |
Config |
Service configuration file, the master reads the configuration by parsing this file |
Configuration file is. ini format |
Udeployer _t006 |
Filestore |
|
Directory for downloading war packages |
Udeployer _t007 |
Pid |
Save the file that gets the PID output of the process |
|
Udeployer _t008 |
Logs |
Enter unified log output and log format for all operations, enter friendly hints |
|
Udeployer _t009 |
|
Enable complete monitoring services and robust automation integration |
|
3 Function Description
3.1 getting configuration files
Unified installation through the system is very simple deployment, only the user based on List templates provide a list of services, others do not need to be manipulated. The list of services is as follows:
Noun Explanation:
1 # -*-coding:utf-8-*- 2 3 [Httpserver] 4 # War Package name SVN address deployed IP address Tomcat directory test version 5 SERVER = Prior Preemptive version 192.168.20.19 /home/prior/prior 1.3.2.1
Execute the script,config directory automatically generate the user needs to modify the configuration file, profile is generated by processing filtering, so a service no matter how many files to configure, here only one, easy to modify and management. The configuration file follows the previous version of the configuration file, and in the new version there is no additional configuration item, skip this step without modification.
3.2 Automation System
through Jen kins construction Project, version versioning, Udployer Automation integration, UCOP Business patrol to achieve efficient and highly available automation system.
Automation Integration Benefits:
- One-click Automation integration with no cumbersome personnel operation and only the need to replace configuration files
- Multi-threaded operation while integrating or updating multiple servers
- Reduce development and testing errors in manual operations such as packaging, deployment environments, and startup
- Integration with automated testing, from deployment to testing, is done through automation
Automated integrated deployment Udeployer batch Unified installation One-click Deployment