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

infrastructure as code
infrastructure as codeinfrastructure as code
infrastructure as code
Amazon Web Services
 
DEVSECOPS.pptx
DEVSECOPS.pptxDEVSECOPS.pptx
DEVSECOPS.pptx
MohammadSaif904342
 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
Robert Greiner
 
Best Practices for Architecting in the Cloud - Jeff Barr
Best Practices for Architecting in the Cloud - Jeff BarrBest Practices for Architecting in the Cloud - Jeff Barr
Best Practices for Architecting in the Cloud - Jeff BarrAmazon Web Services
 
DevOps: Infrastructure as Code
DevOps: Infrastructure as CodeDevOps: Infrastructure as Code
DevOps: Infrastructure as Code
Julio Aziz Flores Casab
 
Containers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red HatContainers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red Hat
Amazon Web Services
 
Build CICD Pipeline for Container Presentation Slides
Build CICD Pipeline for Container Presentation SlidesBuild CICD Pipeline for Container Presentation Slides
Build CICD Pipeline for Container Presentation Slides
Amazon Web Services
 
Introduction to Terraform Enterprise
Introduction to Terraform EnterpriseIntroduction to Terraform Enterprise
Introduction to Terraform Enterprise
Carlos Nunez
 
Building Immutable Machine Images with Packer and Ansible
Building Immutable Machine Images with Packer and AnsibleBuilding Immutable Machine Images with Packer and Ansible
Building Immutable Machine Images with Packer and Ansible
Jason Harley
 
"DevOps > CI+CD "
"DevOps > CI+CD ""DevOps > CI+CD "
"DevOps > CI+CD "
Innovation Roots
 
Introduction to CI/CD
Introduction to CI/CDIntroduction to CI/CD
Introduction to CI/CD
Steve Mactaggart
 
Microservices Architectures on Amazon Web Services
Microservices Architectures on Amazon Web ServicesMicroservices Architectures on Amazon Web Services
Microservices Architectures on Amazon Web Services
Amazon Web Services
 
Azure App Modernization
Azure App ModernizationAzure App Modernization
Azure App Modernization
Phi Huynh
 
Cloud Migration: A How-To Guide
Cloud Migration: A How-To GuideCloud Migration: A How-To Guide
Cloud Migration: A How-To Guide
Amazon Web Services
 
Kubernetes #2 monitoring
Kubernetes #2   monitoring Kubernetes #2   monitoring
Kubernetes #2 monitoring
Terry Cho
 
Multi Cloud Architecture Approach
Multi Cloud Architecture ApproachMulti Cloud Architecture Approach
Multi Cloud Architecture Approach
Maganathin Veeraragaloo
 
Fundamentals of Cloud Computing & AWS
Fundamentals of Cloud Computing & AWSFundamentals of Cloud Computing & AWS
Fundamentals of Cloud Computing & AWS
Bhuvaneswari Subramani
 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to Serverless
Amazon Web Services
 
Azure DevOps
Azure DevOpsAzure DevOps
Azure DevOps
Felipe Artur Feltes
 
Getting Started with Kubernetes
Getting Started with Kubernetes Getting Started with Kubernetes
Getting Started with Kubernetes
VMware Tanzu
 

What's hot (20)

infrastructure as code
infrastructure as codeinfrastructure as code
infrastructure as code
 
DEVSECOPS.pptx
DEVSECOPS.pptxDEVSECOPS.pptx
DEVSECOPS.pptx
 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
 
Best Practices for Architecting in the Cloud - Jeff Barr
Best Practices for Architecting in the Cloud - Jeff BarrBest Practices for Architecting in the Cloud - Jeff Barr
Best Practices for Architecting in the Cloud - Jeff Barr
 
DevOps: Infrastructure as Code
DevOps: Infrastructure as CodeDevOps: Infrastructure as Code
DevOps: Infrastructure as Code
 
Containers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red HatContainers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red Hat
 
Build CICD Pipeline for Container Presentation Slides
Build CICD Pipeline for Container Presentation SlidesBuild CICD Pipeline for Container Presentation Slides
Build CICD Pipeline for Container Presentation Slides
 
Introduction to Terraform Enterprise
Introduction to Terraform EnterpriseIntroduction to Terraform Enterprise
Introduction to Terraform Enterprise
 
Building Immutable Machine Images with Packer and Ansible
Building Immutable Machine Images with Packer and AnsibleBuilding Immutable Machine Images with Packer and Ansible
Building Immutable Machine Images with Packer and Ansible
 
"DevOps > CI+CD "
"DevOps > CI+CD ""DevOps > CI+CD "
"DevOps > CI+CD "
 
Introduction to CI/CD
Introduction to CI/CDIntroduction to CI/CD
Introduction to CI/CD
 
Microservices Architectures on Amazon Web Services
Microservices Architectures on Amazon Web ServicesMicroservices Architectures on Amazon Web Services
Microservices Architectures on Amazon Web Services
 
Azure App Modernization
Azure App ModernizationAzure App Modernization
Azure App Modernization
 
Cloud Migration: A How-To Guide
Cloud Migration: A How-To GuideCloud Migration: A How-To Guide
Cloud Migration: A How-To Guide
 
Kubernetes #2 monitoring
Kubernetes #2   monitoring Kubernetes #2   monitoring
Kubernetes #2 monitoring
 
Multi Cloud Architecture Approach
Multi Cloud Architecture ApproachMulti Cloud Architecture Approach
Multi Cloud Architecture Approach
 
Fundamentals of Cloud Computing & AWS
Fundamentals of Cloud Computing & AWSFundamentals of Cloud Computing & AWS
Fundamentals of Cloud Computing & AWS
 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to Serverless
 
Azure DevOps
Azure DevOpsAzure DevOps
Azure DevOps
 
Getting Started with Kubernetes
Getting Started with Kubernetes Getting Started with Kubernetes
Getting Started with Kubernetes
 

Viewers also liked

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

Viewers also liked (6)

Future of eLearning with Valamis
Future of eLearning with ValamisFuture of eLearning with Valamis
Future of eLearning with Valamis
 
Liferay Devcon Presentation on Dynamic Forms with Liferay Workflow
Liferay Devcon Presentation on Dynamic Forms with Liferay WorkflowLiferay Devcon Presentation on Dynamic Forms with Liferay Workflow
Liferay Devcon Presentation on Dynamic Forms with Liferay Workflow
 
Liferay Valamis e-learning March 17-2016
Liferay Valamis e-learning March 17-2016Liferay Valamis e-learning March 17-2016
Liferay Valamis e-learning March 17-2016
 
Kaleo workflow in Liferay
Kaleo workflow in LiferayKaleo workflow in Liferay
Kaleo workflow in Liferay
 
What to look for in a Digital Experience Platform?
What to look for in a Digital Experience Platform?What to look for in a Digital Experience Platform?
What to look for in a Digital Experience Platform?
 
Building an Enterprise Content Management solution on top of liferay
Building an Enterprise Content Management solution on top of liferayBuilding an Enterprise Content Management solution on top of liferay
Building an Enterprise Content Management solution on top of liferay
 

Similar to DevOps Pipeline for Liferay Application

DevOps Overview in my own words
DevOps Overview in my own wordsDevOps Overview in my own words
DevOps Overview in my own words
SUBHENDU KARMAKAR
 
Dev ops
Dev opsDev ops
Dev ops
Gourav Varma
 
DevOps & DevEx
DevOps & DevExDevOps & DevEx
DevOps & DevEx
Ifunga Ndana
 
Introduction to devops
Introduction to devopsIntroduction to devops
Introduction to devops
UtpalenduChakrobortt1
 
Testing in the new age of DevOps
Testing in the new age of DevOpsTesting in the new age of DevOps
Testing in the new age of DevOps
Moataz Mahmoud
 
Getting to Walk with DevOps
Getting to Walk with DevOpsGetting to Walk with DevOps
Getting to Walk with DevOps
Eklove Mohan
 
How Azure DevOps can boost your organization's productivity
How Azure DevOps can boost your organization's productivityHow Azure DevOps can boost your organization's productivity
How Azure DevOps can boost your organization's productivity
Ivan Porta
 
Session on evaluation of DevSecOps
Session on evaluation of DevSecOpsSession on evaluation of DevSecOps
Session on evaluation of DevSecOps
Abdullah al Mamun
 
Introduction To Development And Operations
Introduction To Development And OperationsIntroduction To Development And Operations
Introduction To Development And Operations
teekhesawaal
 
Taking AppSec to 11 - BSides Austin 2016
Taking AppSec to 11 - BSides Austin 2016Taking AppSec to 11 - BSides Austin 2016
Taking AppSec to 11 - BSides Austin 2016
Matt Tesauro
 
Code review automation and functional tests on Carrefour
Code review automation and functional tests on CarrefourCode review automation and functional tests on Carrefour
Code review automation and functional tests on Carrefour
Denis Santos
 
Devops
DevopsDevops
Devops
JyothirmaiG4
 
Exercising and Scaling Up Mobile DevOps in the Enterprise
Exercising and Scaling Up Mobile DevOps in the EnterpriseExercising and Scaling Up Mobile DevOps in the Enterprise
Exercising and Scaling Up Mobile DevOps in the Enterprise
Bitbar
 
GitOps, Driving NGN Operations Teams 211127 #kcdgt 2021
GitOps, Driving NGN Operations Teams 211127 #kcdgt 2021GitOps, Driving NGN Operations Teams 211127 #kcdgt 2021
GitOps, Driving NGN Operations Teams 211127 #kcdgt 2021
William Caban
 
Taking AppSec to 11: AppSec Pipeline, DevOps and Making Things Better
Taking AppSec to 11: AppSec Pipeline, DevOps and Making Things BetterTaking AppSec to 11: AppSec Pipeline, DevOps and Making Things Better
Taking AppSec to 11: AppSec Pipeline, DevOps and Making Things Better
Matt Tesauro
 
DevOps Continuous Integration & Delivery - A Whitepaper by RapidValue
DevOps Continuous Integration & Delivery - A Whitepaper by RapidValueDevOps Continuous Integration & Delivery - A Whitepaper by RapidValue
DevOps Continuous Integration & Delivery - A Whitepaper by RapidValue
RapidValue
 
Delivering Applications Continuously to Cloud
Delivering Applications Continuously to CloudDelivering Applications Continuously to Cloud
Delivering Applications Continuously to Cloud
IBM UrbanCode Products
 
DevOps-Ebook
DevOps-EbookDevOps-Ebook
DevOps-Ebook
PrathapM32
 
CICD_BestPractices.pdf
CICD_BestPractices.pdfCICD_BestPractices.pdf
CICD_BestPractices.pdf
motupalli2
 
Edureka-DevOps-Ebook.pdf
Edureka-DevOps-Ebook.pdfEdureka-DevOps-Ebook.pdf
Edureka-DevOps-Ebook.pdf
relekarsushant
 

Similar to DevOps Pipeline for Liferay Application (20)

DevOps Overview in my own words
DevOps Overview in my own wordsDevOps Overview in my own words
DevOps Overview in my own words
 
Dev ops
Dev opsDev ops
Dev ops
 
DevOps & DevEx
DevOps & DevExDevOps & DevEx
DevOps & DevEx
 
Introduction to devops
Introduction to devopsIntroduction to devops
Introduction to devops
 
Testing in the new age of DevOps
Testing in the new age of DevOpsTesting in the new age of DevOps
Testing in the new age of DevOps
 
Getting to Walk with DevOps
Getting to Walk with DevOpsGetting to Walk with DevOps
Getting to Walk with DevOps
 
How Azure DevOps can boost your organization's productivity
How Azure DevOps can boost your organization's productivityHow Azure DevOps can boost your organization's productivity
How Azure DevOps can boost your organization's productivity
 
Session on evaluation of DevSecOps
Session on evaluation of DevSecOpsSession on evaluation of DevSecOps
Session on evaluation of DevSecOps
 
Introduction To Development And Operations
Introduction To Development And OperationsIntroduction To Development And Operations
Introduction To Development And Operations
 
Taking AppSec to 11 - BSides Austin 2016
Taking AppSec to 11 - BSides Austin 2016Taking AppSec to 11 - BSides Austin 2016
Taking AppSec to 11 - BSides Austin 2016
 
Code review automation and functional tests on Carrefour
Code review automation and functional tests on CarrefourCode review automation and functional tests on Carrefour
Code review automation and functional tests on Carrefour
 
Devops
DevopsDevops
Devops
 
Exercising and Scaling Up Mobile DevOps in the Enterprise
Exercising and Scaling Up Mobile DevOps in the EnterpriseExercising and Scaling Up Mobile DevOps in the Enterprise
Exercising and Scaling Up Mobile DevOps in the Enterprise
 
GitOps, Driving NGN Operations Teams 211127 #kcdgt 2021
GitOps, Driving NGN Operations Teams 211127 #kcdgt 2021GitOps, Driving NGN Operations Teams 211127 #kcdgt 2021
GitOps, Driving NGN Operations Teams 211127 #kcdgt 2021
 
Taking AppSec to 11: AppSec Pipeline, DevOps and Making Things Better
Taking AppSec to 11: AppSec Pipeline, DevOps and Making Things BetterTaking AppSec to 11: AppSec Pipeline, DevOps and Making Things Better
Taking AppSec to 11: AppSec Pipeline, DevOps and Making Things Better
 
DevOps Continuous Integration & Delivery - A Whitepaper by RapidValue
DevOps Continuous Integration & Delivery - A Whitepaper by RapidValueDevOps Continuous Integration & Delivery - A Whitepaper by RapidValue
DevOps Continuous Integration & Delivery - A Whitepaper by RapidValue
 
Delivering Applications Continuously to Cloud
Delivering Applications Continuously to CloudDelivering Applications Continuously to Cloud
Delivering Applications Continuously to Cloud
 
DevOps-Ebook
DevOps-EbookDevOps-Ebook
DevOps-Ebook
 
CICD_BestPractices.pdf
CICD_BestPractices.pdfCICD_BestPractices.pdf
CICD_BestPractices.pdf
 
Edureka-DevOps-Ebook.pdf
Edureka-DevOps-Ebook.pdfEdureka-DevOps-Ebook.pdf
Edureka-DevOps-Ebook.pdf
 

Recently uploaded

Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
XfilesPro
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
ayushiqss
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
kalichargn70th171
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
IES VE
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
KrzysztofKkol1
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 

Recently uploaded (20)

Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 

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