9. The Challenge
• Business critical applications
• Minimise disruption from incidents and
maintenance
• Response to incidents
• Deliver change
• Application upgrades
• Workflow updates
• Integrations / New plugins
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
10. The Challenge
• Difficult to manage environments
• Are we sure our environments are clean
and consistent?
• How quickly can we build an environment?
• How quickly can we refresh an
environment?
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
11. The Challenge
• Approach
• No budget
• Path of least resistance
Utilise the infrastructure and knowledge that you
have within your team or organisation.
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
12. The Plan
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
13. The Plan
Components
• Application
• Package
• Configuration
• Deployment
• Data
• Database
• Attachments
• Temporary
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
14. The Plan
1. Package
•
•
•
•
•
Web Application
Scripts
Plugins
Customisations
Tools
• RPM
• Maven RPM Plugin
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
15. The Plan
2. Configure
•
•
•
•
•
Database Config
Apache
Application Server Config
Environment Specific
Tools
• Subversion
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
16. The Plan
3. Deploy
• Install and Configure
• Sanity Tests
• Tools
• Shell Scripts
#!/bin/bash
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
19. The Solution
Maven RPM Plugin
• Structure
•
•
•
•
•
•
webapp
edit-webapp
scripts
plugins
jdk
apache
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
20. The Solution
Maven RPM Plugin
• Create Directories
•
•
•
•
•
Web Application
JDK
Log Files
JIRA Home
Plugin Directory
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
21. The Solution
Maven RPM Plugin
• Copy Files
•
•
•
•
•
Edit Web App
Web Application
Scripts
Plugins
JDK
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
22. The Solution
Maven RPM Plugin
•
•
•
•
•
Identification
Symbolic Links
Build Number
RPM Scripts and Triggers
Signatures
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
23. The Solution
FOO JIRA
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
24. The Solution
Subversion Configuration
• Environment Specific
•
•
•
•
JIRA – dbconfig.xml
Tomcat - server.xml
Apache - httpd.conf
Siteminder – WebAgent.conf
• Release Scripts
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
28. The Solution
Data
• Database
•
•
Refresh Scripts from Production nightly backup
Update configuration information
• Base URL
• Mail Server
• Crowd Server
• Integration Servers/Password
• Application Links
• Attachments
•
rsync
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
29. The Review
Pros
• Faster deployments, faster upgrades
• Clean environments
• Visible configuration
Cons
• Packaging can be slow to build
• Subversion not ideal
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
30. The Review
Other Options
•
•
•
•
Linux Satellite Server
Puppet / Chef
Atlassian Bamboo
Many many more…
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13
31. The Inspiration
Automated Configuration & Deployment of
Atlassian Applications
Raju Kadam and Myra Chachkin, Pandora
Deploying Atlassian Tools in the Enterprise
London Atlassian User Group, November 2013
Wednesday, 27 November 13