Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Adding managing and comparing servers

From: ColdFusion 9 New Features

Video: Adding managing and comparing servers

ColdFusion 9 has added a new AIR-based application called the Server Manager. The Server Manager allows you to remotely connect to and manage multiple ColdFusion installations. The Server Manager is included with the ColdFusion Developer Edition and to install the Server Manager go to your ColdFusion web root, which on the Mac is under Applications/ColdFusion 9/ wwwroot, and there is a Server Manager folder under CFIDE.

Adding managing and comparing servers

ColdFusion 9 has added a new AIR-based application called the Server Manager. The Server Manager allows you to remotely connect to and manage multiple ColdFusion installations. The Server Manager is included with the ColdFusion Developer Edition and to install the Server Manager go to your ColdFusion web root, which on the Mac is under Applications/ColdFusion 9/ wwwroot, and there is a Server Manager folder under CFIDE.

Double-click the AIR installation file and install will begin. If you haven't already installed AIR, it will prompt you to install AIR application itself. Click Install and just accept all the defaults. On the Mac you'll need to punch in your password to give it permission to install. After the installation is complete, the Server Manager will start up and you'll put in a master password. This master password is for the Server Manager itself.

Because the Server Manager stores our credentials to connect all of your ColdFusion servers, you want to make sure this is good and secure. So once the Server Manager is open, you'll see a blank screen where all of your servers will eventually be. In the upper left-hand corner we click the plus icon to add a new server. You'll specify a friendly server name, the host to connect to your server, in our case localhost, and the port that it's installed on. For the login information enter your RDS username and password and click Apply.

The Server Manager will then connect to your server and tell you how long it's been online. If there are any current alerts and warnings, whether you are actually logged in or not, and then the version of the server you're connected to. On the left-hand side you can see all of the main categories of ColdFusion Administrator. Data Sources, Mappings, Scheduled Tasks, anything that you would normally do through the ColdFusion Administrator is now available to you inside the Server Manager. To edit any of the information on the left-hand side, you can either right-click or double-click depending on the selection to get access.

For example, for Data Sources if I right- click, I can choose Verify Data Sources. It will go out, check, and make sure that every data source is good and then give me a status icon that shows me whether or not it passed or failed. We'll click OK and I can see that all my data sources are green, so I know that they are good. If I want to add a new data source, I can right-click on Data Sources, click Add, fill in my information, click Next, and I have all the same information I would have inside the ColdFusion Administrator.

Let's cancel this dialog. And while that's interesting in itself, where the Server Manager really becomes useful is managing multiple servers. I have another machine set up here. We'll click plus and I'll add my Windows server that's over in the other room. I'll enter in its IP address. It's also running the Developer Edition on Port 8500. I'll put in my admin username and password. Click Apply and I can now see my Windows server sitting over in the room.

It has been running for two days non-stop, and it's also running the Developer Edition. Now this is easy enough if I have two servers, but in my regular job I have closer to the five or six, which are grouped into production and development systems. So inside the Server Manager I can define groups for each of my servers. So at the top, I'll choose Groups and click Add and let's assume that these are all development systems. Click Apply and now I have a new group up here, which has no servers in it.

If I go back to All Servers, right- click on Local Development and choose Edit, at the bottom I'll see all my groups. I'll check Development and click Apply and do the same for my Windows server. Right-click, choose Edit, and I'll assign it to the development group. Now if I click on Development, I can see both of my servers here. One of the hard things about managing multiple servers is making sure that they are configured correctly.

For example, I have three servers in my production environment. I want to make sure that they all have the same data sources, the same mail settings, etcetera. If I right-click on a server, I can choose Diff With and select a server to compare it with. In this case I am going to compare it to Local Development and I can choose which items I want to compare. In this case I only want to compare data sources JVM and Mail. I'll click Next. The Server Manager will go out and take a look at both of my servers and then tell me what's what.

For example, I can see on the Windows server, it's missing all of the sample databases. For my JVM I can see that they are both set to use 512 megabytes of RAM and for my Mail Settings I can see that neither of them has anything to find. This allows me to quickly take a look in my servers and see exactly what needs to be changed and where. Now that you have the Server Manager installed and hooked to your ColdFusion installations, you should be able to easily view, update, and manage your ColdFusion installs. The next step is to learn how to use the Server Manager to keep an eye on the health of your servers.

Show transcript

This video is part of

Image for ColdFusion 9 New Features
ColdFusion 9 New Features

36 video lessons · 2904 viewers

Daniel Short
Author

 
Expand all | Collapse all
  1. 4m 30s
    1. Welcome
      53s
    2. Using the exercise files
      3m 37s
  2. 7m 48s
    1. Adding managing and comparing servers
      5m 26s
    2. Monitoring server health
      2m 22s
  3. 22m 10s
    1. Setting the default data source and SMTP
      5m 6s
    2. Getting programmatic debugging and exception handling
      5m 54s
    3. Reviewing the new onCFCRequest method
      5m 29s
    4. Using ApplicationStop()
      2m 24s
    5. Working with Server.cfc and onServerStart
      3m 17s
  4. 17m 45s
    1. Using ternary and chained operations
      5m 46s
    2. Using New and Import
      4m 2s
    3. Reviewing CFScript enhancements
      7m 57s
  5. 20m 23s
    1. Building with implicit getters and setters
      4m 26s
    2. Working with LOCAL scope in functions
      4m 35s
    3. Serializing objects
      6m 6s
    4. Writing components in CFScript
      5m 16s
  6. 19m 27s
    1. Getting started with ORM
      5m 51s
    2. Logging ORM activity
      2m 13s
    3. Saving objects to the database
      6m 10s
    4. Defining table relationships
      5m 13s
  7. 16m 59s
    1. Caching page fragments
      5m 29s
    2. Managing the cache
      4m 48s
    3. Working with in-memory files using VFS (RAM disks)
      6m 42s
  8. 12m 39s
    1. Working with Excel spreadsheets
      4m 56s
    2. Working with Word documents
      4m 4s
    3. Working with PowerPoint presentations
      3m 39s
  9. 28m 58s
    1. Loading Google maps with markers onto a page
      4m 53s
    2. Adding a Flash movie with the built-in FLV player
      2m 14s
    3. Using multi-file upload control
      6m 7s
    4. Building a progress indicator
      3m 37s
    5. Working with accordion layouts
      3m 18s
    6. Showing information with data grid enhancements
      5m 1s
    7. Informing users with Confirm Alert and Prompt dialog boxes
      3m 48s
  10. 9m 8s
    1. Accessing IMAP accounts
      6m 31s
    2. Working with the new array functions
      2m 37s
  11. 15s
    1. Goodbye
      15s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed ColdFusion 9 New Features.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.