Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
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.
Solved! Go to Solution.
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
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?
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