runtimesetup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
runtimesetup [2021/07/26 21:05]
wikiadmin
runtimesetup [2023/02/01 10:43] (current)
wikiadmin [Windows]
Line 1: Line 1:
-=====Setting up Runtime Deployments=====+=====Setting Up and Configuring Runtime Deployments===== 
 + 
 +This article covers the basics of setting up and running MIX on a deployment system. It also covers using MIX in the TransSECS or MIStudio installation for testing purposes. 
 + 
 +====Making a MIX Runtime Installation===== 
 + 
 +These instructions are specific to Windows systems but can be used to understand how to set up a MIX runtime on Linux systems. 
 + 
 +=== Copy Files for the Runtime === 
 + 
 +There is a MIX directory in your development installation. This is normally used for testing your MIStudio or TransSECS/MIStudio MIX target deployments. When it is time to move your deployed code to a final deployment system, follow these steps: 
 + 
 +1. Create a mixruntime directory in a convenient location or on a removable usb flash drive on your development system. 
 + 
 +2. Copy the whole MIX directory as a subdirectory under this mixruntime.  
 + 
 +3. Find the jre in the Windows MIStudioSuite installation directory and copy this as a subdirectory under mixruntime. After this step you will have two subdirectories in mixruntime: MIX and jre.  
 + 
 +4. Transfer the mixruntime to your deployment system. We recommend a simple directory structure, either in Users/Public or to the main harddrive. Never use directory names which contain spaces or non-alphanumeric characters. 
 + 
 +===Final Configuration of the Runtime Installation=== 
 + 
 +MIX is started using the MIX.exe executable in the MIX directory. This executable uses the jre location set up in the MIX.conf configuration file. Following the steps above will set up the deployment so that this configuration is used as-is.  
 + 
 +Run the MIX.exe to start MIX. If you have problems starting MIX look in the mix_wrapper.log for information on start-up errors.
  
----- 
  
 ====Configuring MIX Installations==== ====Configuring MIX Installations====
Line 63: Line 86:
 </code> </code>
  
 +See also: 
 +[[rundevicesdeploymentsasaservice|How to run a TransSECS Devices deployment as a service]]
 ====OPCUA Server Deployments==== ====OPCUA Server Deployments====
  
Line 79: Line 103:
 [[Products/WindowsStartup|Start Runtime Automatically]] [[Products/WindowsStartup|Start Runtime Automatically]]
 How To start a runtime when Windows starts up How To start a runtime when Windows starts up
 +
 +[[StartWindowsMIXasService|Start MIX as a Service on Windows]]
  
 [[StartMIXonLinuxAsAService|Start MIX Runtime on Linux as a Service]] [[StartMIXonLinuxAsAService|Start MIX Runtime on Linux as a Service]]
  • runtimesetup.1627351536.txt.gz
  • Last modified: 2021/07/26 21:05
  • by wikiadmin