- Print
- PDF
Upgrade Prod Configuration from Lasernet 9 to Lasernet 10
Introduction
If you have a Prod configuration, this section should be completed once the test configuration has passed testing.
This section will give a walkthrough of a Lasernet upgrade from 9 to 10. The upgrade will be demonstrated on a Prod configuration connected to a live Dynamics 365 Finance and Operations environment.
It is best practice to upgrade a test configuration before a live configuration is upgraded to identify any unexpected issues that may arise during the upgrade.
Export Objects from Lasernet 9 Prod Configuration
Open the Lasernet Developer 9, then click File > Export configuration to take a backup of the whole Lasernet 9 Prod configuration.
Export the objects that have been added or modified from the default Lasernet 9 configuration.
Here is a list of objects which you may want to export (this list will differ based on your unique configuration):
Azure service bus
Azure storage command
Forms
Subforms
XML transformers
Regional profiles
Custom scripts
Images
Outlook mail module
Any other objects that have been added or changed from the default configuration
In this example, we will export the following:
One subform
Customer scripts
One regional profile
Outmail Output module
Azure service bus
One image
Three Dynamics 365 transformers
All sixteen forms (ensure you select the forms from the “Dynamics 365 forms” as there are some similar named forms within “Templates”)
One Azure storage account
Click OK to create an lnobjectx file which will contain the exported objects.
Install Lasernet 10 and Apply Demo License
This section should be completed if your Prod configuration is on a different server than the Test configuration.
If your Prod configuration is on the same server as the Test configuration, you can simply use a different port for Prod. In this case, you will need to apply another demo license for the Prod configuration in the Lasernet server without installing the Lasernet components, as these will already exist on the Lasernet server.
To install Lasernet 10, read the following guide: How to Install Lasernet.
You will need to complete at least the following three sections in the guide:
Lasernet Server
Add a demo license in the Lasernet Server License Manager when you get to that section of the Lasernet 10 installation guide.
A demo license is valid for sixty days and can be downloaded from here.
If you do not manage to complete the upgrade within sixty days, you will need to download another demo license and apply that.
Lasernet Config Server
When setting up the server, ensure the instance name uses the same name that is in the Lasernet Server License Manager 10.
Lasernet Web Client
The Lasernet Developer is usually accessed from the same server as the Lasernet server. If the Lasernet Developer needs to be accessed from the Lasernet server, install the Lasernet Developer:
Add a demo license in the Lasernet Developer License Manager when you get to that section of the Lasernet 10 installation guide.
A demo license is valid for sixty days and can be downloaded from here.
The demo license which was downloaded for the Lasernet Server License Manager can also be used for the Lasernet Developer License Manager.
If you do not manage to complete the upgrade within sixty days, you will need to download another demo license and apply that.
Turn Off Lasernet 9 Services
Open the Services on the Lasernet server and ensure the following Lasernet 9 services are turned off:
Turn On Lasernet 10 Services
Open the Services on the Lasernet server and ensure the following Lasernet 10 services are turned on:
Import Lasernet 10 Default Configuration for Dynamics 365 Finance and Operations
If you are unsure as to whether you are using a Formpipe default configuration, consult your Lasernet partner, as they may have an alternative non-Formpipe configuration that they would like you to use.
If you are using a Formpipe default configuration, refer to this page of our Support Portal.
Select the download link for the FO Connector version that you are using.
Select the default configurations zip folder.
Extract the lnconfigx file from the zip folder.
Import the default configuration (lnconfigx file) within the Lasernet Developer 10.
Select Servers.
Change the Instance to the instance name that was defined in the Lasernet Server License Manager 10 and the Config Server.
Import Lasernet 9 Objects into Lasernet Default Configuration for Test
Open Lasernet Developer 10, then click File > Import Objects.
Select the lnobjectx file which was exported from the Prod configuration in Lasernet Developer 9.
Select Full to select all objects within the lnobjectx file.
Click OK.
Click Import and Replace object to replace the object from the default Lasernet 10 configuration with the objects from the Lasernet 9 configuration. Select Do this for any remaining conflicts to apply the same choice to the remaining conflicts.
Commit and Deploy changes.
Make additional changes to the Lasernet 10 Prod configuration if any changes are needed when testing the Lasernet 10 test configuration.
Upgrade Licenses to Lasernet 10
The Prod Lasernet configuration can now be used for processing. However, the test and Prod configuration are still using demo licenses which will expire soon.
Therefore, contact the licensing team at license.lasernet@formpipe.com to deactivate the customer’s Lasernet 9 licence and provide a new Lasernet 10 license.
If the Prod Lasernet configuration is being used with a live Dynamics 365 Finance and Operations environment, it is advised that the following steps are done outside office hours when Lasernet jobs will not be processed. This is done to ensure no Lasernet jobs are lost.
Open the Lasernet Developer License Manager 10.
Deactivate the demo license.
Activate the new Lasernet 10 license.
Open the Lasernet Server License Manager 10.
Deactivate the demo license.
Activate the new Lasernet 10 license.
The Lasernet 10 licenses should be applied to the Lasernet server with the test configuration and the Lasernet server with the Prod configuration.
Disable Lasernet 9 Services
Now that the new Lasernet 10 configuration has passed testing, we can disable the Lasernet 9 service on the Lasernet server with the Prod configuration and the Lasernet server with the Test configuration.
The default Startup type for the Lasernet 9 service is Automatic. However, the Lasernet 10 service will now be used instead of the Lasernet 9 service. Therefore, to ensure the Lasernet 9 service does not automatically restart, change the Startup type to Disabled.