Mais conteúdo relacionado Semelhante a Don't touch that server (20) Don't touch that server2. I used to work for a very big company
© 2009 Acquia, Inc.
3. And we sold to a lot of big companies
© 2009 Acquia, Inc.
5. We sold them a lot of FUD!
I mean that in a good way
© 2009 Acquia, Inc.
6. We sold them a lot of FUD!
I mean that in a good way
(I still own a lot of stock!)
© 2009 Acquia, Inc.
7. Of course, we called it “IT Governance”
Provide
Direction
Set Objectives
• Align with the business
• Enable business IT Activities
• Maximize benefits • Increase business
• Use resources effectiveness
Compare
responsibly • Decrease cost
• Mange Risk • Manage risks
Measure
Performance
Source: IT Governance Institute
© 2009 Acquia, Inc.
9. Then, I discovered something simpler
Before Drupal I thought
the next big thing was
Rails
They had a great stack of
tools!
Git
Rake
Capistrano
CruiseControl
Selenium
And they were FREE!
© 2009 Acquia, Inc.
10. And then, I found Acquia and Drupal
We had some tools, too
CVS
I was confused . . .
© 2009 Acquia, Inc.
13. What tools are available?
Drupal tools
System tools
Development tools
© 2009 Acquia, Inc.
17. Remote Execution
Func–“Fedora Uni ed
Network Controller”
From the home page:
“Func allows for
running commands on
remote systems in a
secure way, like SSH,
but offers several
improvements.”
Supported on RHEL and
Fedora
Does it break the rules?
© 2009 Acquia, Inc.
20. Continuous integration and builds
Admin Console
CI Server
Poll
Source
Developer
Control Build
Workstation
Server Output
Fileserver
Checkout
Build Slave
Test Execution
Commands Dev Tools
Setup
Commands
Test Staging
Test Web Tra c Staging
Server
Automation Staging
Server
Server Server
© 2009 Acquia, Inc.
21. Continuous integration and builds
Syntax checking
Admin Console
Testing Poll
CI Server
Simpletest Source
Developer
Control
Selenium
Workstation
Server
Build
Output
Fileserver
Packaging Checkout
Build Slave
Test Execution
Deployment Commands Dev Tools
Setup
Commands
Test Staging
Test Web Tra c Staging
Server
Automation Staging
Server
Server Server
© 2009 Acquia, Inc.
23. Build tools
Phing
written (and extended)
in PHP
XML build description
Built-in PHPish tasks
PHPLint
PDOSQLExec
many others ...
© 2009 Acquia, Inc.
25. Roadblocks and limitations
“The Staging Problem”
Metadata and data in
the same store
Enabling Features
Managing authorization
Database updates
Rollback?
© 2009 Acquia, Inc.
26. The Deployment Manifest
Steps to take as part of
deployment
Enable features &
modules
Manage roles
Clear cache
Update DB
Simple syntax
XML, YAML, JSON, etc.
Drives Drush
© 2009 Acquia, Inc.
28. What did you think?
Step 1)
Locate this session on the DCSF site
http://sf2010.drupal.org/conference/
schedule
Step 2)
Click the “Take Survey” link
Notas do Editor
Reduce your attack surface
Protect your team from themselves
Split off operations from development work
Python
Requires humans
Can automate a dump
Must be “diff-able”
Need to be very careful with content changes
Need help here
Rails-like migrations?
rollback.php & hooks?