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:
- On the server running the
enable-dam-variant-processor-service
service, go to:.<drive>:\Enterworks\enable2020\services\install
- For each worker service you want to create:
- Copy the script file:
and paste it into the same folder. Name the new file:create-enable-dam-variant-processor-service.cmd
create-enable-dam-variant-processor-service-worker<n>.cmd
- Edit the
create-enable-dam-variant-processor-service-worker<n>.cmd
file:- 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:
Do not change the name of the executable file. All theenable-dam-variant-processor-service-worker<n>
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
- Add the property:
-componentName=enable-dam-magic-service-worker
<n> - 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
- Save and exit the file.
- Everywhere the text
- Copy the script file:
- When you have finished creating a create-script for each new worker service, use the new create-service scripts.
- Open the Services window. You should see the newly created
enable-dam-variant-processor-service-worker
services and they should be running. - Test the newly created
enable-dam-variant-processor-service-worker
services:- Upload 100 to 200 images using the
DamDrop
folder. - 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. - 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:
and they will be named:<drive>:\Enterworks\logs\enable2020
\enable-dam-variant-processor-service-worker<n>
\<datetimestamp>
-enable-dam-variant-processor-service-worker<n>
- Upload 100 to 200 images using the