Author Topic: Automatic license Transfer  (Read 4987 times)

trymes

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 0
    • View Profile
Automatic license Transfer
« on: November 03, 2010, 21:51:07 »
I am really sick of having to move my license into a new version of QM every time yum updates it. Why can't the license be stored in a Database or somewhere else that doesn't require manual intervention at every upgrade?

Just a thought,

Tom

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Automatic license Transfer
« Reply #1 on: November 04, 2010, 09:03:02 »
The reason why is that when you install a new system, it will have a license key embedded. Otherwise the oldest license would be copied over (even if expired).

trymes

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 0
    • View Profile
Re: Automatic license Transfer
« Reply #2 on: November 17, 2010, 16:29:54 »
I don't understand. Why couldn't a post-install script copy the file from a previous installation if it existed? If the key is expired, you are no worse off than you were to start, as your old copy was expired, too, and you were going to have to manually update it anyway.

Maybe even a step added to the GUI (say as part of dbtest?) that would allow you to clikc and have the file moved? Better yet, follow the standard method of saving the new config file as filename.rpmnew and keeping the old one. That would require a new location for the file, but...

Maybe you could store the license in the DB?

It's really annoying to have to move the license with each upgrade. I have never seen another piece of software where this is needed.

Tom

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Automatic license Transfer
« Reply #3 on: November 18, 2010, 14:20:53 »
Yes I agree. We really need to make it better.

trymes

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 0
    • View Profile
Re: Automatic license Transfer
« Reply #4 on: November 18, 2010, 17:52:36 »
Another side effect I noticed of the current method is that the other settings for the software, such as "default queue_log file" are overwritten at each upgrade. If you're using the real-time queue_log feature, this breaks QM until you modify it again.

Tom

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Automatic license Transfer
« Reply #5 on: December 22, 2010, 15:14:51 »
This is fixed in the upcoming version 163

trymes

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 0
    • View Profile
Re: Automatic license Transfer
« Reply #6 on: December 23, 2010, 14:36:14 »
Excellent? How will this be accomplished, If I might ask?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Automatic license Transfer
« Reply #7 on: January 10, 2011, 13:50:31 »
There is a new file called tpf.properties that is copied through the versions by the yum installer.
It works if you upgrade 163 to 170 or whatever it will be using yum.
The release notes should contain more details on how to fix that.
Thanks for proposing this change! I'm sure everybody will like it.





trymes

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 0
    • View Profile
Re: Automatic license Transfer
« Reply #8 on: January 11, 2011, 16:59:32 »
Thanks for the change, I'm looking forward to taking advantage of it!

Two questions, though:

1.) This will not move current settings over to a new version? I'm thinking realtime queue_log, etc?
2.) I just updated to 1.6.3.1-74 from 1.6.3.0 via yum, and the license reverted to demo. Any idea why?

Many thanks,

Tom

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Automatic license Transfer
« Reply #9 on: January 11, 2011, 17:59:02 »
Yes settings should be copied as well.
It works if you use the new tpf.properties file. The web,xml is always overwritten.