Upgrading to ColdFusion 9.01 with Distributed IIS Web Servers
In this post I will walk you through the steps to upgrade your ColdFusion 9 servers to Update 1 when you're running Distributed IIS Web Servers. If you missed my last post, you can read it here (http://bit.ly/hbwmvv) to learn about the high availability environment we have, and the redundancy you can obtain when using distributed IIS web servers. As with any upgrade or update, it is important to assemble all of the files you may need and read through the documentation available. Make sure you confidently understand the steps you'll be going through. Also, if needed, schedule your downtime window and notify your support departments and/or customers. Okay, let's get started!
Step 1: Backup! This is critical and I recommend doing this whenever applying a hotfix or update. I make 2 different backups. The first is of all ColdFusion settings from the Administrator using a CAR file. This should be old hat to most CF admins out there, but at a high level you do this: Login to your CF Admin, choose Packaging & Deployment from the left menus, select ColdFusion Archives and follow the on-screen instructions.
The second is to backup the entire set of files in the JRUN directory, if your disk space allows. Both of these backups will allow you to recover from most any install crash or corruption of files.
Step 2: Download the update installer from Adobe.com (http://www.adobe.com/support/coldfusion/) and copy to your server. Also be sure to download the install doc as well, as the first set of instructions from Adobe are complete and accurate.
Step 3: Following the instructions in the install doc from Adobe, start by shutting down all of the services listed. A note about ColdFusion version 9: the Windows Services were re-named to start with Adobe instead of Macromedia for multi-server installations. Funny that the default admin instances are still named starting with Macromedia.
Step 4: Double-click the installer to start the install wizard and follow the on-screen instructions, providing the correct responses for your environment.
Step 5: Once the installer has completed, check the log file that was created in the JRUN directory for any errors or warnings.
Step 6: Restart all services that were stopped before starting the install wizard and confirm that you can access your CF Administrator and that it now reflects 9.01 for the version. Since you are probably working within a scheduled downtime window, now would be a good time to apply any CF hotfixes, Windows Updates, and perhaps reboot the entire machine for good measure.
Step 7: Upgrade the JRUN IIS Connectors. Now this is where the Adobe docs are lacking and the main point of this post.
First, locate and copy the wsconfig.jar file from your recently upgraded ColdFusion server to your distributed IIS web server(s). This file will need to be copied to all web servers.
After copying over the file you will need to locate your current wsconfig.jar file and replace it with the new one. It's a good idea to make a complete backup copy of your connectors, just in case.
Now, you can upgrade all connectors by running the following command. Be sure the paths to your java.exe and wsconfig.jar files are accurate.
c:\jre6\bin\java -jar c:\tempcf9\wsconfig.jar -u
Here's a tip: Run this command to dump all of the available wsconfig commands to a text file for future reference:
c:\jre6\bin\java -jar c:\tempcf9\wsconfig.jar -h >c:\wsconfig-commands.txt
Step 8: Test! With any update, testing your sites and code is smart. Overall, this whole process took only about 15 minutes to complete, but we used the remaining 45 mins of our maintenance window to run as many tests as we could. You never know what code you have that might not run on the new server version.
I would like to thank the folks working the @Adobe_Care Twitter account for getting me in touch with Swathi C. who works on Adobe's third tier engineering team. She answered all of my questions about this process and gave me some excellent tips that I use often. Feel free to follow-up with me on Twitter if you have further questions. No guarantees that I'll have answers, but I'm happy to try. On Twitter: @philspitze
- Phil Spitze, Network Manager
- Facebook Marketing For Hotels Fri, January 23, 2015
- Friday Fuel: Better Late Than Never Edition Mon, January 19, 2015
- Around the Analytics World December Wrap-up Wed, December 31, 2014
- Friday Fuel: MOAR MOBILE. And More. Fri, December 19, 2014
- The Hotel SERP Real Estate Game Mon, December 08, 2014
- The 2014 Top 5 “Must Have” Techie Gift Guide Tue, December 02, 2014
- Creating Dynamite Emails Mon, November 24, 2014
- Amazon’s OTA, New Hilton & Marriott Fees, and Airbnb Protection Program Fri, November 21, 2014
- Internet Marketing Summit 2014 Key Takeaways Fri, November 14, 2014
- Google Removes Local Carousel For Hotels Fri, November 14, 2014
- Friday Fuel: Tinder for Hotels, Nano-Robot Scallops, and Virtual Balconies at Sea Fri, November 07, 2014
- Myrtle Beach Industry Overview: September 2014 Thu, October 30, 2014
- Friday Fuel - The Do’s and Don’ts of 2015, Hilton Rebrands Itself, TripAdvisor & Moon Travel Fri, October 24, 2014
- Is your Resort Talking to its Guests? Mon, October 13, 2014
- Friday Fuel – Hilton’s Big Sale, Last Minute Bookings, Hotel Reviews & Google News Fri, October 10, 2014
- Friday Fuel: Marriot Gets in Trouble & Mobile Payments Gain Momentum Fri, October 03, 2014
- Around the Analytics World September Wrap-up Tue, September 30, 2014
- Device Types And How They Are Being Used Mon, September 29, 2014