You are viewing limited content. For full access, please sign in.

Question

Question

Quick Fields & Quick Fields Agent Migration & Licensing

asked on April 3, 2019 Show version history

We are installing a new (10.3) version of QF and QFA on a new server.

We want to migrate our sessions and schedules to the new server, but we only have one license for QF and one for QFA.

We can't even install the new QF and QFA w/o de-licensing the old QF & QFA server, which will cause more downtime than I'd like.

Is there a way to temporarily license the new installation so I can test the migration of sessions and schedules before bringing everything up on the new installation and decommissioning the old server? 

I am working with my VAR on this, but currently, we don't see a way to do this.

On top of that, according to this post:

https://answers.laserfiche.com/questions/79843/quick-fields-agent-export-scedules#157315

I might not be able to migrate the schedules and have to recreate all of them manually.  Much more time consuming than I'd like it to be.  My VAR and I have worked a possible way around this, if it works I'll let you know, but it would be so much easier if I could temporarily have two machines licensed at the same time, for maybe 48 hours tops.  

Please let me know if this is possible!  

Thank you in advance.

0 0

Answer

SELECTED ANSWER
replied on April 3, 2019

Ask your SP to contact the Regional Manager in Laserfiche, who may be able to get a temporary license for you.

0 0

Replies

replied on February 7, 2020 Show version history

Just noticed replies to this requesting information.

 

Yes we did migrate our QuickFields processes and schedules in QuickFieldsAgent.  

 

Step 1 is to get with your VAR to get a temporary 2nd License if you don't already have one. 

Step 2 is to really evaluate your scheduled sessions to see if they are actually doing useful work.  If not, disable them and don't move them. (This might be the REAL step 1!!!!)

After that,  I had to import more than just the QF Sessions.  I had to get the QFA schedules imported as well, and if importing the QFA schedules, I also had to import the Windows Task Scheduler tasks.  On top of that, if the sessions required a DSN for a lookup, that will need to be rebuilt on the new server.  If you know a way to import that sort of thing, more power to you.  Best I could do was write PS scripts to identify the ones that needed to have a DSN re-created on the new server.  Thankfully I didn't have too many. 

So I created 3 folders on my old servers desktop: 

QFS

QFA

WTS

I populated each with the appropriate information. 

For QFS(sessions), I did exports from the old system, to import to the new system.

For QFA(Agent Schedules) I got them by finding them on the system where they are created, and copied them to the QFA folder.

For WTS(Window Task Scheduler tasks) I remember having to open up Windows Task Scheduler, and the tasks are easy to see as they (for me) were named "QFA8_<name of the QFA schedule>".  I did a right click on each and exported them to the folder.

(Side note: Take note of what version your WTS is.  When you open a task in Windows Task schedule it tells you some Windows Version information.  Make sure the old version stays the same on the new server even if it's a different version than the new server, or it won't work.  The good part is they are probably ALL the same.  Not going to guarantee that, but seems like a good chance you wont have 5 of one version, 28 of another and 1 of a third especially if they are all coming from the same old server). 

I think it was rather straight forward to import the QFS and the QFA, but the WTS required a bit of massaging.

Also, I don't recall actually "importing" the QFA,  I think it just got copied into the correct place on the new server. 

The new installation might point to a different working directory and/or name of the binary to run the QFS.  

I wrote a Powershell script to make that change in the WTS xml (in code block below, but I offer no warranties.  Use as reference only!)

From looking the script, I remember I created two new folders to keep track of things.

"From_OldQF" and "To_NewQF".  (could have been better named because I was working on the WTS's, not the QFS or QFA's here.

Anyway, I put all the Old WTS exports into the From_OldQF, and ran my script on them.  The output for the new WTS ended up in "To_NewQF".  Which was nice as I didn't harm the old WTS in case I need to re-run.

The script changed the Working Directory entry and the Command name.  It also only selected "enabled" WTS's (I had many disabled ones, and didn't feel the need to move those, after examination).

The script did however change the status from enabled=true to enabled=false as I didn't want the schedules to start running until I felt everything was in order. 

$odir = "C:\users\SvcLaserfiche\Desktop\From_OldQF"
$ndir = "C:\users\SvcLaserfiche\Desktop\To_NewQF"
$xdir = "C:\Program Files (x86)\Laserfiche\Quick Fields\Legacy"

Get-ChildItem -Path $odir -Filter QFA8_*.xml | ForEach-Object {
	[XML] $xml = Get-Content $_.FullName
	if ($xml.Task.Triggers.CalendarTrigger.Enabled -eq "true") {
		echo "Processing $_"
		$xml.Task.Actions.Exec.Command = "$xdir\QFMonitor.exe"
		$xml.Task.Actions.Exec.WorkingDirectory = "$xdir"
		$xml.Task.Triggers.CalendarTrigger.Enabled = "false"
		$xml.Save("$ndir\$_")
	}
}

I hope this helps!

 

 

 

2 0
replied on January 23, 2020

Hi Ronald,

 

Did you ever find a solution to migrated the QFA Schedules?

1 0
replied on January 30, 2020

A client I'm Also supporting through a migration is having this issue.

 

We've tried it without the second license and now the sessions have been imported but match a config from 6 months ago not the most recent changes.

 

Any update on how this has been handled before would be appreciated. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.