Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
IT

How Do You Manage Dev/Test/Production Environments? 244

An anonymous reader writes "I am a n00b system administrator for a small web development company that builds and hosts OSS CMSes on a few LAMP servers (mostly Drupal). I've written a few scripts that check out dev/test/production environments from our repository, so web developers can access the site they're working on from a URL (ex: site1.developer.example.com). Developers also get FTP access and MySQL access (through phpMyAdmin). Additional scripts check in files to the repository and move files/DBs through the different environments. I'm finding as our company grows (we currently host 50+ sites) it is cumbersome to manage all sites by hacking away at the command prompt. I would like to find a solution with a relatively easy-to-use user interface that provisions dev/test/live environments. The Aegir project is a close fit, but is only for Drupal sites and still under heavy development. Another option is to completely rewrite the scripts (or hire someone to do it for me), but I would much rather use something OSS so I can give back to the community. How have fellow slashdotters managed this process, what systems/scripts have you used, and what advice do you have?"
This discussion has been archived. No new comments can be posted.

How Do You Manage Dev/Test/Production Environments?

Comments Filter:
  • You are not a n00b (Score:5, Insightful)

    by davidwr ( 791652 ) on Tuesday October 20, 2009 @02:01PM (#29811537) Homepage Journal

    You may be a new system administrator, but you are not a n00b.

    A n00b wouldn't realize he was a n00b.

  • by Anonymous Coward on Tuesday October 20, 2009 @02:27PM (#29812035)

    Or... if you want a solution that's actually ever completed: go with some of the other suggestions ;)

  • by cayenne8 ( 626475 ) on Tuesday October 20, 2009 @03:07PM (#29812659) Homepage Journal
    "I do the same as Slashdot.org does - Make the changes on live code, except a little downtime and weird effects and then try to fix"

    That's not that far from the truth in MANY places and projects I've seen.

    I've actually come to the conclusion, that on many govt/DoD projects, that the dev. environment in fact becomes the test and production environment!!

    I learned that it really pays, when spec'ing out the hardware and software that you need, to get as much as they will pay for for the 'dev' machines....because, it will inevitably become the production server as soon as stuff is working on it, the deadline hits, and there is suddenly no more funding for a proper test/prod environment.

  • by Foofoobar ( 318279 ) on Tuesday October 20, 2009 @03:08PM (#29812693)
    Git does not have integration with Apache and other tools that developers still find useful. TRAC integrates with Subversion as do several other tool. You also cannot coordinate Git with your IDE. Don't get me wrong, it is definitely where version control will be in the future but the tools to support it have to get there first before widespread adoption should be advised for day to day use.
  • by Anonymous Coward on Tuesday October 20, 2009 @03:14PM (#29812765)

    And don't forget: it's DTAP:

      Development -> Test -> ACCEPT -> Production

      and vv.

  • Re:Mod Parent Up! (Score:4, Insightful)

    by Like2Byte ( 542992 ) <Like2Byte@@@yahoo...com> on Tuesday October 20, 2009 @03:30PM (#29812997) Homepage

    Where eln failed is in how his post turned into nothing more than a personal attack against the parent story poster. In the open source world there are users, documenters, developers and visionaries. And guess what - a majority of those are users and most users will never contribute to your project.

    Simply attacking the guy with crass, harsh statements is not in the vein of "The Gift Culture."

    So, yes, eln's comment is a troll comment.

    As for a "moral obligation?" That's laughable. If you give someone something for free don't expect them to do anything for you. Maybe that person doesn't have the time to invest in giving back at the moment. Making inflammatory comments will certainly push them away from your base of constituents. And that means less users. So attacking people who don't know is counter-productive and does not serve the OSS causes or beliefs.

    If the someone feels to compelled to "give" or "give back" to the open source community - in whatever manner - count the community fortunate. Expecting anything is counter to the ideals of "The Gift Culture."

    Please reread ESR's book.

  • by zztong ( 36596 ) on Tuesday October 20, 2009 @03:44PM (#29813151)

    Testing with real data is not necessarily a good practice. Consider sensitive data, such as social security numbers. Auditors may ding your development practices for providing developers access to information they do not need. You need realistic data, not necessarily the real data. If you're bringing real data from prod back to test and dev, consider having something scrub the data.

  • by nametaken ( 610866 ) on Tuesday October 20, 2009 @05:15PM (#29814701)

    Or maybe they're not over public internet, or are tunneled, or they're sftp and he just calls it ftp? We dunno.

Any circuit design must contain at least one part which is obsolete, two parts which are unobtainable, and three parts which are still under development.

Working...