powered by CADENAS

Manual

Manual

1.2.2.2.1. General preconditions

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

  • PARTapplicationServer is installed

  • Make following settings in the configuration file pappserver.cfg:

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

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

  • Make following settings in the configuration file pappclient.cfg:

    • Block [Common] -> Key clientmode=remote

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

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

  • Configure PSWorker

    Run on each client which should do download / conversion a Psworker:

    1. Open a CMD line

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

      -> The dialog box is opened.

    3. Click on Settings....

      -> The same-named dialog box is opened.

      Memory limit for worker restart: Especially when running the conversion with a CAD system, the value should be increased. The message "Controller said kill job…" indicates that the job is running our of memory.

    4. In the menu on the left, select the item Worker.

    5. On the tabbed page Common settings, make following settings:

      • Connectivity

        • Enable Cluster name

        • Select the option Act as pure client

        • Under List of controller server, enter the following:

          mzcom://partapplicationserver:9021

          (PARTapplicationServer that acts as controller and distributes jobs)

      • Client base configuration

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

          (For example: How many CAD systems are started for conversion)

          [Note] Note

          Jobs are processed by Workers. Workers log in at a Queue, in order to receive jobs.

    6. On the tabbed page Worker configuration make the following settings:

      • Worker type: In the list field, select the option PARTwarehouse Pipeline Runner Service.

      • Queues: Apply the desired queues.

        1. Click on the plus sign.

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

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

  • Setup services:

    In the Windows start menu, open Command Prompt (Administrator)

    • Install PARTapplicationServer as service.

      <Pfad zur pappserver.exe> -install

    • Install PSWorker as service.

      <Pfad zur psworker.exe> -install

      Open Properties. In the dialog box, select the tabbed page Log On and choose the option This account. Enter username and password.

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

  • If more than one job per PSWorker shall be executed, 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)