Skip to main content
13-Aquamarine
January 4, 2024
Solved

COPYING VM WITH THINGWORX 9.4

  • January 4, 2024
  • 1 reply
  • 1075 views

Hello Community,

 

We want to have 2 thingworx 9.4 instances and for this process we want to clone/copy a vm that contains the twhingworx installation. We think that in this process we must to also get a new licence with ThingworxDeviceId because is going to be the same.

 

So the final idea is to have a replica. 

 

This procedure can be done? Do we must to do something more?

 

Thank you in advance,

Luis.

Best answer by slangley

Hi @LuisCabello 

 

Yes, you can clone the VM running ThingWorx, effectively creating a 2nd ThingWorx instance.  For creating a unique Device ID, this can be done by removing the following files on the cloned server, then restarting ThingWorx:

 

<ThingWorxFoundation_home>\ThingworxPlatform\keystore-password

<ThingWorxFoundation_home>\ThingworxStorage\keystore.pfx

 

These files will be recreated upon restart, but if you have any appKeys, you will need to recreate them, which will then require updating them any where the appKeys are used.

 

Once the Device ID is changed, it will be necessary to generate a new license file.  Also, keep in mind that if you are doing this to create a second production instance, you will need to reach out to your Sales Rep for ensuring your current entitlements allow it.

 

Regards.

 

--Sharon

1 reply

13-Aquamarine
January 4, 2024

Just to clarify , can we copy a VM with a thingworx, and have 2 thingworx instances with the same ptc device id and 2 license files? or should we install a new thingworx with a new ptc device id?

slangleyCommunity ManagerAnswer
Community Manager
January 4, 2024

Hi @LuisCabello 

 

Yes, you can clone the VM running ThingWorx, effectively creating a 2nd ThingWorx instance.  For creating a unique Device ID, this can be done by removing the following files on the cloned server, then restarting ThingWorx:

 

<ThingWorxFoundation_home>\ThingworxPlatform\keystore-password

<ThingWorxFoundation_home>\ThingworxStorage\keystore.pfx

 

These files will be recreated upon restart, but if you have any appKeys, you will need to recreate them, which will then require updating them any where the appKeys are used.

 

Once the Device ID is changed, it will be necessary to generate a new license file.  Also, keep in mind that if you are doing this to create a second production instance, you will need to reach out to your Sales Rep for ensuring your current entitlements allow it.

 

Regards.

 

--Sharon