Installing the Media on a Windows Computer Server

You can install the CATIASystemsSimulation media on a Windows computer server.

  1. On a machine dedicated to calculation operations, install the CATSYSM_TP product in the desired directory (example: C:\SystemsSimulation).
  2. Copy the SystemsSimulationConfig.json file, located in C:\SystemsSimulation\win_b64\config\, in the root of the installation directory (C:\SystemsSimulation).

    The SystemsSimulationConfig.json file is the key element for the server configuration. You can modify it through several configuration points.

  3. Modify the following parameter according to your needs:
    ParameterDescription
    publicAddress

    Set this parameter with the network name of your machine.

    Example: "publicAddress": "myMachine.3ds.com",

    certificate and privateKey

    For a secure connection for all the users, indicate the certificate and the SSL private key provided by your IT.

    Note: Do not forget to double the back slashes.
    network

    Network configuration elements used to validate that the machine's ports are open and accessible. This configuration is optional.

    Example: A default configuration is proposed: The port 8080 is used for the socket connection The port 2097 to initialize the webSocket connections of each client For each client a port will be allocated in the range 2098 to 2198.

    The configuration is now complete.
    {
    "hypervisorSettingsVersion":2,
    "publicAddress": "myMachine.3ds",
    "certificate": "C:\\SSL\\myMachine.3ds.com.cer",
    "privateKey": "C:\\SSL\\myMachine.3ds.com.key",
    "network": {
    	"socketPort": 8080,
    	"webSocketPort": 2097,
    	"webSocketRange": "2098-2198"
    },
    "processProvisioning": {
      "strategy": "on-premise",
      "pools": [
         {
           "names": ["systemsSimulationCS"],
           "launcher": {
              "executable": ".\\win_64\\code\\command\\SystemsSimulationStartSession.bat <EK_IDENTIFIER>"
           },
           "criterion": "byIdentifier",
           "timeoutInSeconds": 1200
          }]
        }
    } 
  4. Open a Windows command in administrator mode and move to the installation directory using the cd C:\SystemsSimulation\ command:
  5. Install a C Compiler.

    Note: The application requires the prior installation of a C compiler. The supported compilers are Microsoft Visual Studio or GCC. Both 32-bit and 64-bit versions are supported.

  6. Define the variables according the installed compiler:
    • For Visual Studio:

      set SID_SIA_USE_COMPILER=VC

      set SID_SIA_COMPILER_PATH=C:\Program Files (x86)\Microsoft Visual Studio XX\VC

    • For GCC:

      set SID_SIA_USE_COMPILER=GCC32 (or GCC64)

      set SID_SIA_COMPILER_PATH=C:\Program Files (x86)\Microsoft Visual Studio XX\VC

  7. Enter the following command to start the server: start C:\SystemsSimulation\win_b64\code\bin\EKHypervisor.exe start " C:\SystemsSimulation\SystemsSimulationConfig.json" -listenOnWebSocket"
    The console will display the following message:
    Using HypervisorSettings file ‘C:\SystemsSimulation\SystemsSimulationConfig.json’
    Listening on socket port '8080'
    Listening on websocket port '2097'
    

You can now start the web applications.