Install a Cortex XSOAR Engine
Install a Cortex XSOAR 6.14 engine on a supported host.
Before you install the engine, define the base URL on the Settings page so the engine can communicate with the server. The base URL is the external IP address of your Cortex XSOAR server. If you do not define the base URL, you need to add it to the d1.conf file after you create the engine.
When you install the engine, the d1.config is installed on the engine machine, which contains engine properties such as proxy, log level, log files, etc. If Docker/Podman is already installed, the python.engine.docker and powershell.engine.docker key is set to true. If Docker or Podman is not available when the engine is installed, the key is set to false. If so, you need to set the key to true. Verify that python.engine.docker and powershell.engine.docker configuration key is present in the d1.conf file.
For engines running on a Windows machine, add the following keys to the d1.config file:
The
python.runner.loop.script.pathconfiguration key with the path to the_script_docker_python_loop.pyfile (located in the engine’s installation folder). The path to the_script_docker_python_loop.pymust be taken from WSL installed on the Windows machine (for example,/mnt/c/Users/<customer user>/Desktop/<customer engine folder>/_script_docker_python_loop.py).The
powershell.runner.loop.script.pathconfiguration key with the WSL path to the_script_docker_powershell_loop.ps1file (also located in engine’s installation folder).
After you install and deploy an engine, there are several ways that you can Manage Engines. For Linux systems, you can run Python integrations on an engine. Ensure you have Python 2.7 or later installed on the engine machine. Running Python integrations needs to be through Docker.
Create an engine
Select Settings → Integrations → Engines → Create New Engine.
In the Engine Name field, add a meaningful name for the engine.
Select one of the installer types from the dropdown list.
For Linux systems, it is recommended to use the Shell installer.
(Optional) (Shell only) Select the checkbox to enable multiple engines to run on the same machine.
If you have an existing engine, you did not select the checkbox, and you want to install another engine on the same machine, you need to delete the existing engine.
(Optional) Add any required configuration in JSON format.
Click Create New Engine.
Install the engine (Shell installation)
Move the
.shfile to the engine machine using a tool like SSH or PuTTY.On the engine machine, grant execution permission by running the following command:
chmod +x <engine-file-path>Install the engine by typing one of the following commands:
With tools:
sudo ./d1-<engine-name>-<XSOAR-version>-xxxxxxx.shWithout tools:
sudo ./d1-<engine-name>-<XSOAR-version>-xxxxxxx.sh -- -tools=falseFor example:
sudo ./d1-engine1-6.6-2458567.sh -- -tools=falseIf you receive an
permissions deniederror, it is likely that you do not have permission to access the/tmpdirectory.
Install the engine (RPM/DEB installation)
Move the file to the required machine using a tool like SSH or PuTTY.
Type one of the following installation commands:
Machine TypeInstall CommandUbuntu (DEB)
sudo dpkg --install d1_xxx_amd64.debStart the engine by running one of the following commands:
Machine TypeStart CommandUbuntu (DEB)
sudo service d1 restart
Install the engine (zip file installation)
Move the d1
zipfile to the engine machine using a tool like WinSCP.Unzip the file and move it to any location you require.
Open the file and run the d1_windows_amd64.exe file.
Every time you want to connect to Cortex XSOAR, you need to run the D1 Application file.
Use an Engine in an Integration
For more information, see Use an Engine in an Integration.
Troubleshooting
If you experience performance issues, you may need to Configure the Number of Workers for the Server. To troubleshoot installation, upgrade, connectivity, or issues with integrations, see Troubleshoot Cortex XSOAR Engines.
Last updated
Was this helpful?
