TerrenceRyan.com

I'm a 35 year old redhead geek from Philly.
I'm currently a Developer Evangelist for Adobe.
Also the author of Driving Technical Change

Running a ColdFusion Shop 3

6 Comments

For Reference: Part 1 and Part2.

It's been awhile, but I've finally got more to say about all this.

Backup

In the last one of these, I told you to back up your system. Maybe not directly, but it was there. Okay, so I didn't say it. I'm saying it now. Backup your machines. Do a tape backup, export to an external drive, do anything. Just backup your machines.

Backup Configuration Files Separately

Independent of a backup solution that takes care of your whole system, I would also recommend backing up configurations to separate location, in their current format. Meaning, don't put them on a tape, don't ship them off site. Just keep them somewhere you can access them. Why? Coldfusion is pretty light. CFML sites are comprised of pretty small files. Odds are, if you have a systems failure, it very well may be faster to rebuild a system from scratch then it will be to get a system backup restored and working. Rebuild your server, reinstall your webserver, and reinstall ColdFusion, all while getting the CFML files from backup. Then use configuration files you've stored elsewhere to restore both your webserver and Coldfusion to its old state. By this point, the CFML files should be out from a restore.

There are other uses for these files. You can use this method to clone your boxes, for clustering for example. Additionally, the ways they are broken up make it easy to share certain areas of configuration between machines. The most useful of these is neo-query.xml, which has all of your datasources on it.

Anyway, you probably want to know where all of these are:

I'm sure that Apache has something to handle this too. But I don't have any experience with it.

Backup Certificates

If you are using SSL certificates, back them up. They are a pain in the ass to manage. If you lose one without a backup you have to depend on the Certificate Authority to get your SSL service back up. Better to just have them ready to go in case of a problem.

Again I can only speak authoritatively about IIS, but:

That will bring up the "Certificate Export Wizard." I usually choose the default options, with one exception. I choose "Yes export the private key." It's less secure, so you want to make sure you store them somewhere safe, but you'll be able to do this again with a certification created from a backup with the private key.

That's all I got this time around. Sorry it's all backup related. Nothing happened; I was just collating tips for building a new Coldfusion box in our environment, and realized that these were all pretty important to doing that

6 responses so far ↓

  • 1 Pete

    It's always worth exporting your SSL certificates _before_ something bad happens. I've been in a situation where "Mark private key as exportable" was not checked when one of our production certificates was installed, making it "stuck" on the server it was currently on. It took a call to Verisign, two days, and several hundred dollars to get a new cert issued that we could properly export.
  • 2 Dan Wilson

    On Apache, simply copy the httpd.conf file.

    One simple text file CONTROLS the horizontal and the vertical.

  • 3 Fernando Lopez

    I've been really interested in your previous posts and this one confirms one of the ideas I had.
    It took a while to get Eclipse working the way I wanted. Now that I have things the way I like I'm thinking of 'backing up' my whole environment.
    By 'Backing up' what I really mean is moving all the config files to CVS, that way if something changes and we have to revert to the old files we can do that without any problems, plus we can have a history of all the changes. I'm trying to push the idea of doing the same with all neo-query files for Dev/Test/Prod here where I work.

    For my localhost environment I'm actually going to move all the CFIDE files up to CVS. I had a "Pimp My ride" episode with my localhost CF Admin and it looks different than the standard CF Admin panel.

    The three articles are a great read!!.

  • 4 Terrence Ryan

    @Pete, thanks for the backup about the SSL certs.
    @Dan, thanks for the Apache information
    @Fernando, thanks for the compliment and I'm glad I could help.
  • 5 Hidden

    I introduced ColdFusion to my IT shop three years ago and it has worked out great. We are a large public company and my team is the most productive team in IT. ColdFusion rocks!
  • 6 Alen

    http://www.twincling.org/node/742

Leave a Comment









Categories

Monthly Archives

Tag Cloud

coldfusion web development flex coldfusion builder appearances squidhead coldfusion builder extensions higher ed flash builder air mobile android adobe apptacular html5 driving technical change running a coldfusion shop adobemax06 movable type flash catalyst flash blackberry adobemax07 adobemax08 hero finicky css adobemax09 holy crap i’m a mobile developer centaur basecamp cfc unfuddle motorola metablog irrational characters ios git evangelism devices code reviews ant wharton subversion security phonegap philly philadelphia multidevice knowledge@wharton jobs browserlab adobemax10 adobe tv unfuddlecfc svnauth.cfc semantic html semantic html responsive web design qnx nlb linux jquery mobile java it github flexorg fireworks edge eclipse dreamweaver apps apple adobemax11