UDF Engines Configuration File (udf_engines.conf)
A UDF engine is a process that executes the code for UDFs. The engine runs on each node and can run as a stand-alone process or in a container.
The udf_engines.conf file defines the UDF engines that the X100 server should create and connect to on startup. If a defined engine cannot be connected to, the server startup is aborted.
The udf_engines.conf file is located in the II_SYSTEM/ingres/files directory on both Linux and Windows.
The format for the file is the same as vectorwise.conf except that each section name must be unique, and no section names are predefined. Each section defines one engine. Multiple sections with the same name are allowed if only one is enabled.
In the following Linux example, the X100 engine will launch a docker container.
[remote-container-linux]
enabled=1
name=remote
port=32225
host="127.0.0.1"
socket_retry=3
launch=1
processes=1
is_container=yes
pool_limit=16
command="/usr/bin/docker run -p $PORT:32225 --rm -m 512MB --mount type=bind,source=II_SYSTEM/ingres/udf/log,target=/opt/actian/vectorwise-udf/log,ro=0 --mount type=bind,source=II_SYSTEM/ingres/udf/import,target=/opt/actian/vectorwise-udf/import,ro=0 --name udf$INSTANCE_TAG --user $UID:$GID actian/actianx12.0-udf:1.0.0"
Last modified date: 08/14/2024