Disposable Testing Environments: There's Nothing Like Production Except Production
-
Upload
atlassian -
Category
Technology
-
view
863 -
download
1
description
Transcript of Disposable Testing Environments: There's Nothing Like Production Except Production
Monday, June 18, 12
Architect, EyefinityJay Ballinger
There's nothing like production, except production
Disposable testing environments
Monday, June 18, 12
What does your
sandbox look like?
Monday, June 18, 12
The path to a production sandboxEvaluate your current sandbox
A sandbox scenario
Benefits of a disposable production sandbox
Gotchas with using a production copy
Suggestions for successful sandboxes
Monday, June 18, 12
How sandboxes are bornYour testing/staging attempt.
The first install before doing it for real.
A private just for us admins.
Restored from a backup.
Leftover instance by another team.
Monday, June 18, 12
• Testing new plugins
• Playing with permissions
• Thinking about themes
• Wondering "what if"
How useful is your non-production sandbox?
Useful
Monday, June 18, 12
• Testing new plugins
• Playing with permissions
• Thinking about themes
• Wondering "what if"
How useful is your non-production sandbox?
• Undo a mistake
• Investigate a problem
• Understanding upgrades
• What to expect when you make a change 'for real'
Useful Not Useful
Monday, June 18, 12
A real-life scenario...
Monday, June 18, 12
Moving a Space...
Monday, June 18, 12
Moving a Space...
Monday, June 18, 12
There is no safe, first-class way to copy a space.
Moving a Space...not exactly easy
Monday, June 18, 12
It gets worse...We should upgrade at thesame time we import the 'other' Confluence.
Monday, June 18, 12
Two risky operations.Perfect need for a sandbox.
Monday, June 18, 12
How much downtime is needed for this maintenance?In what order should this be done?What to do if it all goes wrong?What will it look like when all done?
Only production can answer these
?Monday, June 18, 12
#summit12
There's nothing is like production, except production.
Monday, June 18, 12
Production-sized databaseProduction-sized attachmentsProduction-sized complexityProduction-sized problems
Production provides...
Monday, June 18, 12
Elements of the sandbox
Servlet Container& webapp
Database homeindexes & attachments
Monday, June 18, 12
Simple setupOne server instance
Monday, June 18, 12
Confluence can run in a VMCopy entire 'machine'Make an exact copyTake snapshots
Virtual Machine to the rescue
might even be your backup strategy, eh?
for rollback/undo after a mistake
Monday, June 18, 12
IP address and portsPlugins - like email checker as an exampleBase URLs Trusted applicationsFile space for images of the VM
Virtual Machine gotchas
Monday, June 18, 12
Very different url / name / portAnnouncement banner screaming THIS IS NOT REALTry to match production performanceAutomate the VM copy action
Suggestions for sandbox
Monday, June 18, 12
Snapshots and Rollbacks
Write cookbook for repeatable steps
Rehearse upgrade
Record timing on steps
Answer production questions
Confidence
Benefits of disposable VMs
Monday, June 18, 12
Thank you!
Monday, June 18, 12