Naveen.S.R
Smarter. Faster. Closer.
Objective
Automated
deployment
of Artifacts
Automated
deployment
of CONF files
Cluster
deployment
• ENV1 ,
• ENV2
• ENV*
Turn around
time of few
minutes
irrespective of
cluster size.
Smarter. Faster. Closer.
Insights
3
Automated Deployment
SSH
Keygen
rsync
Jenkins
Password less
communication
Smarter. Faster. Closer.
Capability
Stop Service
Take backup
of essentials
Deploy wars
and conf files
Start Service
Rollback
Smarter. Faster. Closer.
Deployment Strategy
P1 Cluster
5
S1
S2
S3
S*
HostName
Release version
Generic Job Type
Pre-built
packages
S1 S2
S*
S3
P2 Cluster
S1 S2
S*
S3
Generic Jobs
Master Node Slave Node
Smarter. Faster. Closer.
SSH Keygen
Build server
login
Create Authentication
SSH-Keygen Keys on
Slave node
Create .ssh Directory on target
Upload Generated Public Keys to target
Set Permissions on target and for passwordless
communication
6
Smarter. Faster. Closer.
Process Flow on trigger of P* Job
Prepping prod package
Trigger P1 Job
Invokes generic Job
Executes on slave node
Slave node communicates to known
target node
Take backup
Stop service
Deploy artifacts
Start service
Roll back
7
Smarter. Faster. Closer.
Questions?
 newnaveen15@yahoo.co.in
8

Automated Deployment Using Jenkins Across Clusters

Editor's Notes

  • #6 CMS, CRS, FCS and LAND are services P1 cluster is a cluster of 16 servers. P2 cluster is a cluster of 16 servers.