Configure Parallel Processing of Digital Assets - Precisely_EnterWorks - EnterWorks - 11.0

EnterWorks Guide

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks
Precisely EnterWorks > EnterWorks
Version
11.0
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks Guide
Copyright
2024
First publish date
2007
Last updated
2025-01-07
Published on
2025-01-07T07:44:20.997000

To configure DAM for the parallel processing of digital assets, you must add one or more enable-dam-variant-processor-service worker services. When you add an enable-dam-variant-processor-service worker service, follow the naming convention:

  • enable-dam-variant-processor-service: The name of the original service.
  • enable-dam-variant-processor-service-worker1: The name of the second service.
  • enable-dam-variant-processor-service3-worker2: The name of the third services.
  • and so on.

To add enable-dam-variant-processor-service worker services:

  1. On the server running the enable-dam-variant-processor-service service, go to:.
    <drive>:\Enterworks\enable2020\services\install
  2. For each worker service you want to create:
    1. Copy the script file:
      create-enable-dam-variant-processor-service.cmd
      and paste it into the same folder. Name the new file:
      create-enable-dam-variant-processor-service-worker<n>.cmd
    2. Edit the create-enable-dam-variant-processor-service-worker<n>.cmd file:
      1. Everywhere the text enable-dam-variant-processor-service appears in the file you are editing, except for in the executable name, change the text to:
        enable-dam-variant-processor-service-worker<n>
        Do not change the name of the executable file. All the create-enable-dam-variant-processor-service-worker<n> scripts (including the original script) use the same executable:
        <drive>:\Enterworks\enable2020\services\bin\enable2020-dam-variant-processor-service.exe
      2. Add the property:
        -componentName=enable-dam-magic-service-worker<n>
      3. The file should now look something like this:
        sc stop enable-dam-variant-processor-service-worker<n>
        sc delete enable-dam-variant-processor-service-worker<n>
        
        sc create enable-dam-variant-processor-service-worker<n> ^
         -rabbitServer=<encrypted-rabbit-server> ^
         -loggingLevel=INFO ^
         -logDir="D:\Enterworks\logs\enable2020" ^
         -imageGlueMode=true ^
         -dotNetUtilityPath=D:\Enterworks\Utilities\VariantGenerator\MonitorDAMDrop.exe ^
         -queueName=enableDamVariantProcessor ^
         -encryptedMode=true ^
         -exchange=enable2020"
        
        
        sc description enable-dam-variant-processor-service-worker<n> "Enable DAM Magick Service-worker<n>"
        sc config enable-dam-variant-processor-service-worker<n> start=auto
        
        PAUSE
      4. Save and exit the file.
  3. When you have finished creating a create-script for each new worker service, use the new create-service scripts.
  4. Open the Services window. You should see the newly created enable-dam-variant-processor-service-worker services and they should be running.
  5. Test the newly created enable-dam-variant-processor-service-worker services:
    1. Upload 100 to 200 images using the DamDrop folder.
    2. Depending on the number of files you upload and the number of enable-dam-variant-processor-service-worker services running, some or all of the worker services should be processing the images.
    3. Examine the log files for the created enable-dam-variant-processor-service-worker services and verify that more than one of the services were processing the images. The log files will be in the folder:
      <drive>:\Enterworks\logs\enable2020\enable-dam-variant-processor-service-worker<n>\
      and they will be named:
      <datetimestamp>-enable-dam-variant-processor-service-worker<n>