0

In ColdFusion 8, 10, and 11 it was possible to make a snapshot of a server running ColdFusion Enterprise and restore that snapshot with the license key intact. Just copying the install directory from one server to another caused the second server to use the key from the previous one. We've been managing our backups/restores/VMs/test machines using this method for years.
In CF16, it doesn't work. On AWS, when I create an AMI from a running Enterprise edition then create a new instance from that AMI, the new instance is unlicensed. When I Compare the license file on two servers using the same key, the files are different. This was not the case in previous versions.

At the moment I think the only solutions are to script the whole installer then add our server configuration, or create an AMI from a configured server then write a script which logs in to CFadmin and submits the license key.

Is there a better way?

  • 1
    cfconfig via command box might suit your needs. cfconfig.ortusbooks.com Doesn’t really answer your question about the change in behavior, but it’s dead simple and a much easier way of importing / managing CF configuration – timbrown Jun 13 '18 at 6:20
  • Thanks @timbrown ... it's pretty close to an answer, at least to my final question "is there a better way". Add it as an official answer and you might get the tick. – andrew lorien Jun 14 '18 at 2:59
1

Based on the investigation task, it seems that Coldfusion Server links itself to the actual machine. You can't just replace the license file with a new different file. So the only way to use a license key (not the file) is to either manually modify the license file to insert the license key or you can automate it during EC2 server bootstrap - either through GAMI Scripts or using Cloudformation Templates.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.