Using Image Artist 1.5 or later?
The workflow described in this article applies only to Image Artist 1.4 and earlier. For Image Artist 1.5 and later, see: Image Artist: Disabling Batch Analysis Queues in Image Artist 1.5 and Later
Image Artist 1.4 and earlier include three local Batch Analysis queues by default:
- SImA default
- SImA quick
- SImA debug
These queues are defined by configuration files mounted into the batch-analysis container.
To disable a local Batch Analysis queue, the existing queue configuration can be overridden with an empty configuration file. Once the change has been applied and the Image Artist stack redeployed, the queue will no longer be available for selection in the Image Artist UI.
Disabling a Single Queue
The example below shows how to disable the SImA debug queue.
1. Create an Empty Configuration File
At the ImA server command line, navigate to the config directory within the Image Artist installation directory and create a new configuration file:
echo "#" > disable-SImA-debug.config
2. Override the Existing Queue Configuration
Edit the docker-compose-custom.yml file in the Image Artist installation directory and add the following configuration:
services:
batch-analysis:
configs:
- source: disable-debug_queue
target: /etc/columbus/SImA-debug.config
configs:
disable-debug_queue:
file: config/disable-SImA-debug.config
Note: If
docker-compose-custom.ymlalready contains any of the sections shown above, do not duplicate them. Instead, add only the required entries while maintaining the existing YAML structure.
3. Redeploy the Image Artist Stack
Redeploy the Image Artist stack for the changes to take effect.
See: Image Artist: Deploying and Undeploying the Container Stack
After redeployment, the SImA debug queue should no longer appear in the Batch Analysis queue selection list within the Image Artist UI.
Disabling Multiple Queues
Additional queues can be disabled by following the same approach.
For example:
| Queue | Target Configuration |
|---|---|
| SImA default | /etc/columbus/SImA-default.config |
| SImA quick | /etc/columbus/SImA-quick.config |
| SImA debug | /etc/columbus/SImA-debug.config |
Create an empty configuration file for each queue you wish to disable and add the corresponding source and target mappings to docker-compose-custom.yml.
Re-enabling a Queue
To reinstate a queue, remove or comment out the corresponding configuration override from docker-compose-custom.yml.
For example, to restore the SImA debug queue:
# - source: disable-debug_queue # target: /etc/columbus/SImA-debug.config
Redeploy the Image Artist stack after making the change.
See: Image Artist: Deploying and Undeploying the Container Stack
Disabling Local Batch Analysis Completely
The workflow described above can also be used to disable all local Batch Analysis queues (SImA_default, SImA_quick, and SImA_debug).
However, Image Artist expects at least one Batch Analysis queue to be available. It is therefore safe to disable local Batch Analysis queues only if another queue remains available, such as a queue provided by a remote cluster.
Comments
0 comments
Article is closed for comments.