Install a Cortex XSOAR Engine Offline
Install a Cortex XSOAR 6.14 engine in an offline environment.
Use these instructions when using the Cortex XSOAR installer script for engine installation with no internet connectivity.
You need to download Cortex XSOAR Dependencies for Offline Installation and Docker images on a machine that has internet access, and then transfer them to a machine where you want to install the engine. After installing the engine, install the dependencies and images.
Always verify that your Cortex XSOAR dependencies are updated and take into account that they might change across releases.
Install an engine offline
Download the required dependencies
On a machine with internet access, download the Dependencies for Offline Installation for your deployment type.
Ubuntu/Debian: Run
sudo apt-get install --download-only <package>, which saves the package and its dependencies in/var/cache/apt/archives. If the latest package version is already installed, runsudo apt-get download <package>. The command saves the package in your current directory. If you need to download dependencies on Ubuntu, you can also use the commandsudo apt-get download.RHEL/Rocky/Oracle/Amazon: Run
sudo yumdownloader --resolve <package>orsudo yum install --downloadonly <package>.
2. Copy all .deb files over to the offline machine into a folder.
Download Docker images
While the Cortex XSOAR installer sets up Docker automatically, it does not include the images required to run integrations. You must obtain them manually. On a machine with internet access, do one of the following:
Targeted Download (Recommended): Use the
download_packs_and_docker_images.pyscript to download the Docker image according to the content pack integration you want to use, such as AWS-ILM, Cybereason, and EWS. The script is located in theUtilsfolder in the GIT Content repository. If you do not have access to the GIT Content repository, you can download the script from here. For detailed information and how to download the Docker images, see download packs offline. This is the preferred method as it allows you to download only the images for the specific content packs you plan to use.Full Library download: Download the Docker images by appending
downloadName=dockerimagesto the download URL you copied from the installer download. For example:https://download.demisto.com/download-params?token=xxxxxxx email=user@paloaltonetworks.com downloadName=dockerimages eula=acceptThe Docker images file is approximately 75 GB.
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) If you want to add the engine to a load balancing group, from the dropdown list, select the group you want to add.
The dropdown list only appears after you have created and connected an engine and created a load balancing group. To add the engine to a new group, select Add new group from the dropdown list.
The engine cannot be used as an individual engine and does not appear when configuring an engine from the dropdown list.
(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
The installer automatically installs and configures the container (Docker/Podman) for Ubuntu, RHEL 8+, Rocky Linux 9+, and Amazon Linux 2023 using the dependencies you installed in Step 4.
Grant execution permission by running the following command:
chmod +x /<engine-file-path>Install the engine by running the following command:
sudo ./d1-<engine-name>-<XSOAR-version>-xxxxxxx.sh -- -tools=false -do-not-start-engine=trueFor example,
sudo ./d1-engine1-6.6-2458567.sh -- -tools=false -do-not-start-engine=trueIf you receive an
permissions deniederror, it is likely that you do not have permission to access the/tmpdirectory.
Load Docker images
(Ubuntu, Oracle, and Amazon 2/2023 (Docker) Run the following command:
sudo docker load -i <YOUR_DOCKER_FILE>.tar(Red Hat v8+ and Rocky Linux 9+ (Podman) Do the following:
Ensure the file is owned by the
demistouser:sudo chown demisto:demisto <FILENAME>.tarEnsure that you are in the root directory (
cd /).Run the following command:
sudo -su demisto podman load -i <PATH TO FILE>/<FILENAME>.tar(Optional) To verify that images can run, use the
podman imagescommand. You can also run thepodman images -q "demisto/python:1.3-alpine"command to validate specific images and identify any issues.
Verify the engine is active
(Optional) After installation has completed, do the following:
Confirm that the Cortex XSOAR engine status is active by running the
systemctl status d1command.
engines-offline.png Validate that the engine is connected and running by going to Settings >INTEGRATIONS > Engines.

engines-off-xsoar.png 3. Run the engine on a sample integration. For example, in the Hello World (Community Contribution) integration set the integration to run on the engine.

engines-off-intg.png 4. Run a simple command to test that the engine is working properly using the integration.

engines-off-test.png Run the engine on a sample integration. For example, in the Hello World (Community Contribution) integration set the integration to run on the engine.

engines-off-intg.png Run a simple command to test that the engine is working properly using the integration.

engines-off-test.png
Last updated
Was this helpful?
