1.2.3.1. General preconditions

Following preconditions have to be fulfilled to use distributed services in principle:

  • PARTapplicationServer must be installed

  • The following settings must be made in the configuration file pappserver.cfg:

    • Block [Common] -> Key Services=all,AnalysisService,PipelineService

    • Block [Common] -> Key Modules=all,PipelineHttpConnector

  • The following settings must be made in the configuration file pappclient.cfg:

    • (Z.B. 127.0.0.1 or localhost. Port or Prefix is not needed.)

    • Block [appserver] -> Key server = <IP address>

      (Z.B. 127.0.0.1 or localhost. Port or Prefix is not needed.)

  • Open a CMD line

    An appropriately configured PSWorker must be running on each client that is to perform download and/or conversion services.

    1. Open a CMD line

    2. Go to the 64-bit directory of your PARTsolutions installation and run psworker.exe with the parameter -gui.

      -> The dialog box is opened.

    3. Click on settings.... [Settings...]

      -> The Settings dialog box opens.

      Memory limit for worker restart: The value here should be increased, especially if the conversion is running with a CAD system. An indication that the job has run out of memory is the following message in the worker: "Controller said kill job..

    4. Select the Worker item in the menu on the left.

    5. Make the following settings on the General settings [Common settings] tab page:

      • Connectivity

        Standard settings:

        • Activate cluster name [Cluster name]

        • Select the option Work as client only [Act as pure client]

        • Enter the following under List of controller servers [List of controller server]:

          mzcom://partapplicationserver:9021

          (PARTapplicationServer, which acts as controller and distributes the jobs)

      • Client base configuration

        • Number of parallel jobs: Enter a numerical value, for example 1.

          The value specifies how often the CAD system is started for the conversion. However, normally only one CAD license per computer is required.

          [Note]Note

          Jobs are processed by workers. The workers log in to a queue to be assigned jobs.

          Parallel conversion currently works for Pro/E-Creo, NX, SolidWorks, Solid Edge And Inventor.

    6. Make the following settings on the Worker configuration tab page:

      • Worker type: Select the option PARTwarehouse Pipeline Runner Service in the list field.

      • Queues: Create the desired queues.

        1. Click on the plus sign.

          -> A line entry is made. The first is "QUEUE[0]".

        2. Behind the entry, click into the line And enter the queue name (in above example "Q1").

  • Setup services:

    Open Command Prompt (Administrator) in the Windows Start menu

    • Set up the PARTapplicationServer as a service.

      <Pfad zur pappserver.exe> -install

    • Set up the PSWorker as a service.

      <Pfad zur psworker.exe> -install

      Open the properties. Select the Log in tab in the dialog box and select the This account option. Enter your user name and password.

  • When using a Sales Offline CD, make sure that the path to the exe file is entered in the configuration file ifacecommon.cfg.

  • If more than 1 job is to be executed per PSWorker, please change the setting in the configuration file ifacecommon.cfg -> Block <cadsystem> -> Key RequestLevel from '1' to '2'.

    [Note]Note

    When changing to '2', please make sure that the interface is active (PARTsolutions menu in CAD is visible)