Setting up and Managing Multiple STP Services

<< Click to Display Table of Contents >>

Navigation:  Reference Section > Installation and Deployment > Touchcut Integration (STP) > Multiple Site Options >

Setting up and Managing Multiple STP Services

 

Starting / Stopping Services

The License Server Management GUI can start/stop/restart the PrimeCut NE License Service and individual or all STP Services.  These can be accessed from the Services menu of PC4LicGui.exe

Install an additional STP service to connect to another database

It is expected that this will be done be a server administrator or Kinetic Support

Use the License Server Management GUI to get the exact Datastore name to be used

 

Open the STPService.ini, default location for it is c:\PC4\STP64\STPService.ini and add a section for the new datastore and the port that the cutting machines for that location will use.  Note that the port numbers must not be shared by the default STP service instance or any other datastore.  An example with datastore HornbyRd added is as follows

[stp]

skipReverseNameLookup=1

version=1

port=2025

;loglevel=10

datastore=Production

[DATASTORE_HornbyRd]

port=2027

 

Once that is done you will need to add the service. Open an admin command prompt and change directory to c:\PC4\STP64 and use the following style of command line

STPService.exe /install <datastorename>

eg

STPService.exe /install HornbyRd

 

Once complete use reopen the License Server Management GUI and start the new service.
Note that TouchCut machines that need to connect to the new service will need to use the appropriate port, ie in the above example, TouchCut machines at Hornby Rd will need to have the port of their PrimeCut NE server set to 2027, not the default of 2025.

Uninstall of additionally added STP services

Note that this does not apply to the primary STP datastore

Stop the service to be removed via the License Server Management GUI then open an admin command prompt.
Change directory to c:\PC4\STP64 and use the following style of command line

STPService.exe /uninstall <datastorename>

eg

STPService.exe /uninstall HornbyRd

 

Uninstall of primary STP service datastore

This achieved by swapping the primary datastore with one of the additional datastores and requires that the service for the additional datastore be removed.

 
Stop all STP services via the License Server Management GUI then open an admin command prompt.

 
Change directory to c:\PC4\STP64 and use the following style of command line

STPService.exe /uninstall <datastorename>

eg

STPService.exe /uninstall HornbyRd

 

Edit the STPService.ini and change the datastore and optionally the port settings for the primary STP service., eg

 

[stp]

skipReverseNameLookup=1

version=1

;loglevel=10

datastore=HornbyRd

port=2027

 

Once complete reopen the License Server Management GUI and start all the STP services.