cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

COPYING VM WITH THINGWORX 9.4

LuisCabello
12-Amethyst

COPYING VM WITH THINGWORX 9.4

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.

1 ACCEPTED SOLUTION

Accepted Solutions
slangley
23-Emerald II
(To:LuisCabello)

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

View solution in original post

2 REPLIES 2

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?

slangley
23-Emerald II
(To:LuisCabello)

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

Top Tags