SlideShare a Scribd company logo
DevOps Pipe Line for Liferay ApplicationsDevOps Pipe Line for Liferay Applications
02-Jan-2017
Maruti Gollapudi
@gmaruti
AgendaAgenda
DevOps
Current Process
Liferay Application – Challenges
Recommended Process
DevOps - WhyDevOps - Why
 DevOps reduces the
cycle time from
development to
deployment
 With end to end
automation, failure rate
is reduced
 Frees up some time for
team which can be
used for innovations!
https://puppet.com/resources/white-paper/2016-state-of-devops-report
DevOps - WhatDevOps - What
 Driving principles
◦ Maximize left to right flow ofWork from
Development to IT Operations to Customer.
In order to maximize the flow we need small
intervals of work, never passing defects to
downstream.
◦ Constant flow of feedback from right to left at
all stages of the value stream
◦ Create a culture that forests continuous
experimentation (which helps continuous
innovation) and understanding that repetition
and practice is pre requisite to mastery.This
https://en.wikipedia.org/wiki/The_Phoenix_Project_(novel)
DevOps - WhatDevOps - What
A Culture and mind set for collaborating between developers and operations
http://www.slideshare.net/thekua/devops-from-the-ground-up
Plan Code Build Test Release Deploy Operate
DevOps
Continuous Delivery
Continuous Integration
Agile Development
• Automate Provisioning - Infrastructure as Code
• Automate Builds – Continuous Integration
• Automate Deployments – Defined Deployment
Pipeline and Continuous Deployments with
appropriate configurations for the environments
• Automate Testing – Continuous Testing,
Automated tests after each deployment
• Automate Monitoring – Proper monitors in place
sending alerts
• Automate Metrics – Performance Metrics, Logs
Jira
Rally
SVN
GIT
Jenkins
Hudson
Junit
Selenium
QTP
Chef
Puppet
Ansible
Data Center
Public Cloud
Monitoring
DevOps helps automating end to end flow from development to
deployment and monitoring.
Liferay Application LifecycleLiferay Application Lifecycle
Traditional FlowTraditional Flow
Develop Integrate, Test
Code
Bug
Report
Pull Code
Build
Run Test
Version Control
Package
Release, Deploy
Monitor
Operate
Dev
QA
Prod
Deploy
• Provision
• Install &
Configure Liferay,
java, MySQL DB,
Monitoring s/w
• Deploy
• Alert
• Add / Remove
node to Linux
Cluster
Check In
Test fail Test Pass
Developer
Manual
Trigger of
Build and
Test
Tester /
Build Rep
manually
logs in
Errors
Manual
Trigger of
Build and
Package
Process
Ops team
sets up
environment
manually
and triggers
deploy
script
Post
Deployment,
Themes and
Layouts are
manually
configured Ops team
checks the Log
files and raises
report in Jira
Liferay Application LifecycleLiferay Application Lifecycle
Traditional Flow - ChallengesTraditional Flow - Challenges
There are few tasks that need to be initiated or
require physical resource.This could potentially cause
delays due to non-availability of concerned resource.
The tasks that are done manually are error prone and
don’t guarantee to be consistent. In case of manual set
up of environment it is possible to install wrong
version of S/W.
One of the critical component of the Liferay
application is Themes and Layouts. In general these are
configured manually by development team even in
Production, post application deployment.
Liferay Application LifecycleLiferay Application Lifecycle
Recommended Process - DevOpsRecommended Process - DevOps
Develop Integrate, Test
Code
Bug
Report
Pull Code
Build
Run Test
Version Control
Package
Release, Deploy
Monitor
Operate
Dev
QA
Prod
Deploy
• Provision
• Install &
Configure Liferay,
java, MySQL DB,
Monitoring s/w
• Deploy
• Alert
• Add / Remove
node to Liferay
Cluster
Check In
On Check In
Test fail Test Pass
Liferay Application LifecycleLiferay Application Lifecycle
Recommended Process – Dev, Build &TestRecommended Process – Dev, Build &Test
Liferay Application LifecycleLiferay Application Lifecycle
Recommended Process – Deploy & MonitorRecommended Process – Deploy & Monitor
DevOps –Tools used in the SolutionDevOps –Tools used in the Solution
Tool Purpose
Eclispe IDE for development
Junit Unit testing framework
Java Development Language
GIT, SVN Code repository
Jenkins Continuous integration tool
Selenium Automated testing tool
Jira Bug report tracking tool
Puppet, Ansible Configuration and Infrastructure management tools
Zabbix System monitoring tool
Logstash Monitor and parse log files
Automated Activities & CodeAutomated Activities & Code
Using CI/CD tool jenkins along with Ansible playbooks, we
achieved automating the end to end flow.
The new process enables -
◦ Build and generate "build once, deploy everywhere" Liferay
application packages
◦ Quick and easy setup of environments (Dev,Test, QA and Prod)
and automated deployment and installation of the software on
new servers including automatically configuring Layouts and
Themes
◦ Automated deployment of upgrades on existing servers
◦ Execute multiple build, release, and deployment jobs
◦ Provision and configure nodes
◦ Monitor and Report
◦ Backup and Restore
CodeCode
 List of Ansible roles and their brief descriptiion
◦ mysql-db-liferay-user: Installs mysql and creates mysql user
◦ liferay-portal: Installs Java and Liferay portal
◦ portal-sdk: Deploys the application into liferay
◦ backup: Creates Portal backup snapshot
◦ restore: Restores Portal snapshot
 List of utility shell script to trigger different Ansible roles
◦ portal_deploy.sh: Run to install mysql, liferay and deploy the portal
and application
◦ portal_update.sh: Run to update the application on portal.
◦ portal_backup.sh: Run to create a snapshot of the portal application
◦ portal_restore.sh: Run to restore the portal snapshot
 Above code is available at https://github.com/gunduv/portal-
deployment

More Related Content

What's hot (20)

PPTX
소프트웨어 개발 트랜드 및 MSA (마이크로 서비스 아키텍쳐)의 이해
Terry Cho
 
PPTX
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Janusz Nowak
 
PPTX
The shift left strategy
Clearsky testautomation
 
PDF
포트폴리오 오경원
Sio Oh
 
PPTX
J Meter Intro
Sam Varadarajan
 
PPTX
MSA ( Microservices Architecture ) 발표 자료 다운로드
Opennaru, inc.
 
PDF
DDD 구현기초 (거의 Final 버전)
beom kyun choi
 
PDF
[오픈소스컨설팅]클라우드기반U2L마이그레이션 전략 및 고려사항
Ji-Woong Choi
 
PDF
[수정본] 우아한 객체지향
Young-Ho Cho
 
PPTX
Jira
Sun Technlogies
 
PPTX
Méthodologie de tests et qualité
SpikeeLabs
 
PPTX
Jenkins multibranch pipeline workshop sep 2018
Oleksandr Metelytsia
 
PPTX
Jenkins tutorial for beginners
BugRaptors
 
PDF
How to Monitoring the SRE Golden Signals (E-Book)
Siglos
 
PPTX
Agile Testing and Test Automation
Naveen Kumar Singh
 
PDF
서버 성능에 대한 정의와 이해
중선 곽
 
PDF
Pairwise testing - Strategic test case design
XBOSoft
 
PDF
Microservice architecture
Žilvinas Kuusas
 
PPTX
오픈 소스 도구를 활용한 성능 테스트 방법 및 사례
MinWoo Byeon
 
PPTX
DevOps Foundation
Homepree Rloy
 
소프트웨어 개발 트랜드 및 MSA (마이크로 서비스 아키텍쳐)의 이해
Terry Cho
 
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Janusz Nowak
 
The shift left strategy
Clearsky testautomation
 
포트폴리오 오경원
Sio Oh
 
J Meter Intro
Sam Varadarajan
 
MSA ( Microservices Architecture ) 발표 자료 다운로드
Opennaru, inc.
 
DDD 구현기초 (거의 Final 버전)
beom kyun choi
 
[오픈소스컨설팅]클라우드기반U2L마이그레이션 전략 및 고려사항
Ji-Woong Choi
 
[수정본] 우아한 객체지향
Young-Ho Cho
 
Méthodologie de tests et qualité
SpikeeLabs
 
Jenkins multibranch pipeline workshop sep 2018
Oleksandr Metelytsia
 
Jenkins tutorial for beginners
BugRaptors
 
How to Monitoring the SRE Golden Signals (E-Book)
Siglos
 
Agile Testing and Test Automation
Naveen Kumar Singh
 
서버 성능에 대한 정의와 이해
중선 곽
 
Pairwise testing - Strategic test case design
XBOSoft
 
Microservice architecture
Žilvinas Kuusas
 
오픈 소스 도구를 활용한 성능 테스트 방법 및 사례
MinWoo Byeon
 
DevOps Foundation
Homepree Rloy
 

Viewers also liked (6)

PDF
Future of eLearning with Valamis
RedTreeECM
 
PPT
Liferay Devcon Presentation on Dynamic Forms with Liferay Workflow
Willem Vermeer
 
PDF
Liferay Valamis e-learning March 17-2016
Ruud Kluivers
 
ODP
Kaleo workflow in Liferay
Willem Vermeer
 
PDF
What to look for in a Digital Experience Platform?
Ruud Kluivers
 
PDF
Building an Enterprise Content Management solution on top of liferay
Andrea Di Giorgi
 
Future of eLearning with Valamis
RedTreeECM
 
Liferay Devcon Presentation on Dynamic Forms with Liferay Workflow
Willem Vermeer
 
Liferay Valamis e-learning March 17-2016
Ruud Kluivers
 
Kaleo workflow in Liferay
Willem Vermeer
 
What to look for in a Digital Experience Platform?
Ruud Kluivers
 
Building an Enterprise Content Management solution on top of liferay
Andrea Di Giorgi
 
Ad

Similar to DevOps Pipeline for Liferay Application (20)

PPTX
How to push to production a project with 100+ plugins in less than 10 minutes
Thiago Leão Moreira
 
PPTX
DevOps Requires Agility
Stephen Ritchie
 
PPT
Dops 1033 dev-ops_review_final
Daniel Berg
 
PPTX
Automated Deployments with Ansible
Martin Etmajer
 
PDF
Deployit Product Demo
XebiaLabs
 
PPTX
Continuous Delivery by Alexey Turchanikov @ AgilePizza, Kyiv 2015
Agile Ukraine
 
PDF
How to get started with Site Reliability Engineering
Andrew Kirkpatrick
 
PDF
How to Uplevel Your Pipeline with Release Orchestration and Deployment Automa...
DevOps.com
 
PDF
Deploying and releasing applications
Ma Xuebin
 
PDF
Robert Mircea & Virgil Chereches: Our Journey To Continuous Delivery at I T.A...
Mozaic Works
 
ODP
Devops for drupal
Kris Buytaert
 
PPTX
DEVOPS - Laxmi Itikala.pptx bridging the gap
vvsp1
 
PPTX
50 production deployments a day, at least
Oscar Renalias
 
PDF
DevOps, Common use cases, Architectures, Best Practices
Shiva Narayanaswamy
 
PDF
The Journey to DevOps #MFSummit2017
Micro Focus
 
PDF
Moving faster with CI/CD: Best DevOps practices and lessons learnt
Malinda Kapuruge
 
PPTX
Scaling Up Continuous Deployment
Timothy Fitz
 
PDF
Andrey Adamovich - Enterprise flight into DevOps space - ConFu
DevConFu
 
PDF
Webinar on deployment automation Xebialabs - 15 sept 2010
XebiaLabs
 
PPTX
Apache Geode Test Automation and Continuous Integration & Deployment (CI-CD)
VMware Tanzu
 
How to push to production a project with 100+ plugins in less than 10 minutes
Thiago Leão Moreira
 
DevOps Requires Agility
Stephen Ritchie
 
Dops 1033 dev-ops_review_final
Daniel Berg
 
Automated Deployments with Ansible
Martin Etmajer
 
Deployit Product Demo
XebiaLabs
 
Continuous Delivery by Alexey Turchanikov @ AgilePizza, Kyiv 2015
Agile Ukraine
 
How to get started with Site Reliability Engineering
Andrew Kirkpatrick
 
How to Uplevel Your Pipeline with Release Orchestration and Deployment Automa...
DevOps.com
 
Deploying and releasing applications
Ma Xuebin
 
Robert Mircea & Virgil Chereches: Our Journey To Continuous Delivery at I T.A...
Mozaic Works
 
Devops for drupal
Kris Buytaert
 
DEVOPS - Laxmi Itikala.pptx bridging the gap
vvsp1
 
50 production deployments a day, at least
Oscar Renalias
 
DevOps, Common use cases, Architectures, Best Practices
Shiva Narayanaswamy
 
The Journey to DevOps #MFSummit2017
Micro Focus
 
Moving faster with CI/CD: Best DevOps practices and lessons learnt
Malinda Kapuruge
 
Scaling Up Continuous Deployment
Timothy Fitz
 
Andrey Adamovich - Enterprise flight into DevOps space - ConFu
DevConFu
 
Webinar on deployment automation Xebialabs - 15 sept 2010
XebiaLabs
 
Apache Geode Test Automation and Continuous Integration & Deployment (CI-CD)
VMware Tanzu
 
Ad

Recently uploaded (20)

PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PDF
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PPTX
Human Resources Information System (HRIS)
Amity University, Patna
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
Human Resources Information System (HRIS)
Amity University, Patna
 

DevOps Pipeline for Liferay Application

  • 1. DevOps Pipe Line for Liferay ApplicationsDevOps Pipe Line for Liferay Applications 02-Jan-2017 Maruti Gollapudi @gmaruti
  • 3. DevOps - WhyDevOps - Why  DevOps reduces the cycle time from development to deployment  With end to end automation, failure rate is reduced  Frees up some time for team which can be used for innovations! https://puppet.com/resources/white-paper/2016-state-of-devops-report
  • 4. DevOps - WhatDevOps - What  Driving principles ◦ Maximize left to right flow ofWork from Development to IT Operations to Customer. In order to maximize the flow we need small intervals of work, never passing defects to downstream. ◦ Constant flow of feedback from right to left at all stages of the value stream ◦ Create a culture that forests continuous experimentation (which helps continuous innovation) and understanding that repetition and practice is pre requisite to mastery.This https://en.wikipedia.org/wiki/The_Phoenix_Project_(novel)
  • 5. DevOps - WhatDevOps - What A Culture and mind set for collaborating between developers and operations http://www.slideshare.net/thekua/devops-from-the-ground-up Plan Code Build Test Release Deploy Operate DevOps Continuous Delivery Continuous Integration Agile Development • Automate Provisioning - Infrastructure as Code • Automate Builds – Continuous Integration • Automate Deployments – Defined Deployment Pipeline and Continuous Deployments with appropriate configurations for the environments • Automate Testing – Continuous Testing, Automated tests after each deployment • Automate Monitoring – Proper monitors in place sending alerts • Automate Metrics – Performance Metrics, Logs Jira Rally SVN GIT Jenkins Hudson Junit Selenium QTP Chef Puppet Ansible Data Center Public Cloud Monitoring DevOps helps automating end to end flow from development to deployment and monitoring.
  • 6. Liferay Application LifecycleLiferay Application Lifecycle Traditional FlowTraditional Flow Develop Integrate, Test Code Bug Report Pull Code Build Run Test Version Control Package Release, Deploy Monitor Operate Dev QA Prod Deploy • Provision • Install & Configure Liferay, java, MySQL DB, Monitoring s/w • Deploy • Alert • Add / Remove node to Linux Cluster Check In Test fail Test Pass Developer Manual Trigger of Build and Test Tester / Build Rep manually logs in Errors Manual Trigger of Build and Package Process Ops team sets up environment manually and triggers deploy script Post Deployment, Themes and Layouts are manually configured Ops team checks the Log files and raises report in Jira
  • 7. Liferay Application LifecycleLiferay Application Lifecycle Traditional Flow - ChallengesTraditional Flow - Challenges There are few tasks that need to be initiated or require physical resource.This could potentially cause delays due to non-availability of concerned resource. The tasks that are done manually are error prone and don’t guarantee to be consistent. In case of manual set up of environment it is possible to install wrong version of S/W. One of the critical component of the Liferay application is Themes and Layouts. In general these are configured manually by development team even in Production, post application deployment.
  • 8. Liferay Application LifecycleLiferay Application Lifecycle Recommended Process - DevOpsRecommended Process - DevOps Develop Integrate, Test Code Bug Report Pull Code Build Run Test Version Control Package Release, Deploy Monitor Operate Dev QA Prod Deploy • Provision • Install & Configure Liferay, java, MySQL DB, Monitoring s/w • Deploy • Alert • Add / Remove node to Liferay Cluster Check In On Check In Test fail Test Pass
  • 9. Liferay Application LifecycleLiferay Application Lifecycle Recommended Process – Dev, Build &TestRecommended Process – Dev, Build &Test
  • 10. Liferay Application LifecycleLiferay Application Lifecycle Recommended Process – Deploy & MonitorRecommended Process – Deploy & Monitor
  • 11. DevOps –Tools used in the SolutionDevOps –Tools used in the Solution Tool Purpose Eclispe IDE for development Junit Unit testing framework Java Development Language GIT, SVN Code repository Jenkins Continuous integration tool Selenium Automated testing tool Jira Bug report tracking tool Puppet, Ansible Configuration and Infrastructure management tools Zabbix System monitoring tool Logstash Monitor and parse log files
  • 12. Automated Activities & CodeAutomated Activities & Code Using CI/CD tool jenkins along with Ansible playbooks, we achieved automating the end to end flow. The new process enables - ◦ Build and generate "build once, deploy everywhere" Liferay application packages ◦ Quick and easy setup of environments (Dev,Test, QA and Prod) and automated deployment and installation of the software on new servers including automatically configuring Layouts and Themes ◦ Automated deployment of upgrades on existing servers ◦ Execute multiple build, release, and deployment jobs ◦ Provision and configure nodes ◦ Monitor and Report ◦ Backup and Restore
  • 13. CodeCode  List of Ansible roles and their brief descriptiion ◦ mysql-db-liferay-user: Installs mysql and creates mysql user ◦ liferay-portal: Installs Java and Liferay portal ◦ portal-sdk: Deploys the application into liferay ◦ backup: Creates Portal backup snapshot ◦ restore: Restores Portal snapshot  List of utility shell script to trigger different Ansible roles ◦ portal_deploy.sh: Run to install mysql, liferay and deploy the portal and application ◦ portal_update.sh: Run to update the application on portal. ◦ portal_backup.sh: Run to create a snapshot of the portal application ◦ portal_restore.sh: Run to restore the portal snapshot  Above code is available at https://github.com/gunduv/portal- deployment