[UC4] Version and Automate Everything
-
Upload
perforce -
Category
Technology
-
view
223 -
download
0
description
Transcript of [UC4] Version and Automate Everything
![Page 1: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/1.jpg)
1
P4@UC4: Version and Automate Everything
Bernhard Burger Manager QA UC4 Software [email protected] www.uc4.com
Logo area
![Page 2: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/2.jpg)
2
Outline
• P4@UC4: Start and First Setup
• Experiences and Learnings
• Second Setup: Automate Everything
![Page 3: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/3.jpg)
3
P4@UC4: The start
• Decided to go with P4 around 4 years ago
• Started in three different locations, two local Servers and a proxy
• Windows based installation
![Page 4: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/4.jpg)
4
Setup
• Two Masters: 1 in US, 1 in Europe (latency issues)
• The setup was good enough to meet the needs of Development at the Dme of creaDon
![Page 5: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/5.jpg)
5
Setting up housekeeping
• HA/DR • Index rebuilds • Verification
àdone using windows services, scripts and tooling according to our P4 consultant (who is GREAT!)
![Page 6: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/6.jpg)
6
Typical Problems
• Sometimes these services just stop
• Error handling, monitoring, auditing is limited
• Upgrades have to be done by hand on every instance
![Page 7: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/7.jpg)
7
Solution
Eat (y)our own dogfood
![Page 8: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/8.jpg)
8
UC4 ONE Automation
![Page 9: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/9.jpg)
9
Basic Architecture
• Central Engine and repository
• Agents on target systems
• UIs
Active/Active
![Page 10: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/10.jpg)
10
The looks of it
![Page 11: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/11.jpg)
11
Combining the SW Stacks
• Setup a UC4 System for Use with P4, Agents on all P4 machines
• Define Installation and roll it out AUTOMATICALLY
• Bring all the Housekeeping tasks into UC4
![Page 12: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/12.jpg)
12
Man
aged
and
Autom
ated
by UC4
New Setup
![Page 13: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/13.jpg)
13
What we do - Rollout
• Complete P4 environment • Directories, binaries • Config files • Broker configs • Reseed- and restore scripts
• In case a replica crashes, it can be reconfigured on new hardware in no time • Triggers
• Binaries • Trigger table
• P4 configureables • Permissions • Upgrade process
• Prod and test instances • Either prod or test instance for all locations can be upgraded in one run
![Page 14: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/14.jpg)
14
What we do - Housekeeping
• Maintenance for all locations • Log rotation • Verify • Replica sync • Backups
![Page 15: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/15.jpg)
15
What we do – Health Check
• Monitoring for all locations checks, if • Hosts online? • UC4 Agents? • RAID actice • Disks mounted? • Disk space • Running processes (PIDs) • CPU usage • Mem usage • Swap Usage • Last run of maintenance scripts • Pulling of archive files? • Meta data current? • SSH & public key • P4 licenses • Network interfaces • P4 processes (p4 monitor show) • None of the above checks was running more than an hour ago
![Page 16: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/16.jpg)
16
Some stats
• 33000 tasks/day
• As defined in around 170 UC4 Templates ootb
• Savings of 80% in Administration and Rollout (while increasing Monitoring and Reliability)
![Page 17: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/17.jpg)
17
You Aint Seen Nothing Yet
• We also use UC4 to to manage the build process of our software in close integration with P4 (Build Triggers, Check-in of Build Artifacts)
• Additionally build artifacts are deployed automatically by UC4, either from FS or from P4
• Integration with Ticket Systems/ALM tools are possible to add further traceability
![Page 18: [UC4] Version and Automate Everything](https://reader033.fdocuments.us/reader033/viewer/2022051313/54918f02b479598e6a8b549b/html5/thumbnails/18.jpg)
18
Summary
• UC4 enables us to automate our P4 operations
• Not only Operations, but also Deployment and Build processes are managed and automated
• UC4 and P4 are a first class DevOps toolset