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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Thingworx Kepware EDGE, Replication !

pshashipreetham
17-Peridot

Thingworx Kepware EDGE, Replication !

Is there any process, where one can Replicate same Thingworx Kepware Edge Setup and settings in another Virtual Machine.

@paic@slangley@c_lowy@VladimirN  @CarlesColl 

Thanks,
Shashi.

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
ACCEPTED SOLUTION

Accepted Solutions

The Following Method been used for this solution:
The /.config directory stores currently running configuration data of the runtime, including the currently running project file, certificate information, and other instance specific data. This data can be backed up and used to restore the configuration of ThingWorx Kepware Edge if a failure occurs, such has a hardware failure to the host.

It is recommended when backing up the folder and files to maintain the ownership and access permissions that are present for the files. Errors may occur when restoring the configuration if the files and folders are not accessible by the ThingWorx Kepware Edge services. Files in this folder are owned by the Linux user and have read and write permissions for the user group configured during installation, which is “tkedge” by default for both user and group.

An example to quickly use the “cp” command to back up the .config folder:

sudo cp -pr /opt/tkedge/v1/.config <destination_folder>

 

Restoring a Configuration
If it is necessary to restore a configuration, the ThingWorx Kepware Edge services need to be stopped prior
to copying over any files. Once ThingWorx Kepware Edge is installed, follow the steps below:
1. Stop all ThingWorx Kepware Edge services using the command:

sudo systemctl stop tkedge*.

2. Delete previously stored .config folder and files.

3. Copy the backup .config folder and data to (default location is /opt/tkedge/).

4. Restart all ThingWorx Kepware Edge services using the commands:

sudo systemctl start

 

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

View solution in original post

2 REPLIES 2

You can save the configuration and then load it into other Kepservers

The Following Method been used for this solution:
The /.config directory stores currently running configuration data of the runtime, including the currently running project file, certificate information, and other instance specific data. This data can be backed up and used to restore the configuration of ThingWorx Kepware Edge if a failure occurs, such has a hardware failure to the host.

It is recommended when backing up the folder and files to maintain the ownership and access permissions that are present for the files. Errors may occur when restoring the configuration if the files and folders are not accessible by the ThingWorx Kepware Edge services. Files in this folder are owned by the Linux user and have read and write permissions for the user group configured during installation, which is “tkedge” by default for both user and group.

An example to quickly use the “cp” command to back up the .config folder:

sudo cp -pr /opt/tkedge/v1/.config <destination_folder>

 

Restoring a Configuration
If it is necessary to restore a configuration, the ThingWorx Kepware Edge services need to be stopped prior
to copying over any files. Once ThingWorx Kepware Edge is installed, follow the steps below:
1. Stop all ThingWorx Kepware Edge services using the command:

sudo systemctl stop tkedge*.

2. Delete previously stored .config folder and files.

3. Copy the backup .config folder and data to (default location is /opt/tkedge/).

4. Restart all ThingWorx Kepware Edge services using the commands:

sudo systemctl start

 

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
Announcements


Top Tags