Install a Cortex XSOAR Engine offline when you don’t have access to the Internet (tested on RHEL v8).
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.
On a machine with internet access, do the following:
Download the Dependencies for Offline Installation for your deployment type.
(Red Hat or CentOS) Run the following commands:
sudo yum check update
sudo yum install
<name of the dependency>
For example,
sudo yum install
systemd
(Ubuntu or Debian) Run the following commands:
sudo apt-get update
sudo apt-get install
<name of the dependency>
For example,
sudo apt-get install systemd
Download the Docker images by appending
downloadName=dockerimages
to the download link you received from Cortex XSOAR.For example:
wget -O dockerimages.tar "https://download.demisto.com/download-params?token=xxxxxxx&email=user@paloaltonetworks.com&downloadName=dockerimages&eula=accept"
Create an engine.
Select
→ → → .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.
On the machine you want to install the engine, do the following:
Transfer the files downloaded in Step 1.
Verify that the required dependencies in Step 1 are installed successfully by running one of the following commands.
(Red Hat or CentOS)
repoquery -a --installed
(Ubuntu or Debian)
apt list --installed
Install the engine.
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=true
For example,
sudo ./d1-engine1-6.5-2458567.sh -- -tools=false -do-not-start-engine=true
If you receive a
permissions denied
error, it is likely that you do not have permission to access the/tmp
directory.
(Red Hat v8 & above) If you have not done so already, install and configure Podman, by following the steps in Migrate From Docker to Podman (from step 2 onwards).
Load the Docker images that you downloaded in Step 1, by doing one of the following:
(Ubuntu, Debian, Red Hat v7 & below, or CentOS v7 & below) Run the following command:
sudo docker load -i <YOUR_DOCKER_FILE>.tar
(Red Hat v8 & above) Do the following:
Ensure that the docker file has
demisto:demisto
ownership.Ensure that you are in the root directory (
cd /
).Run the following commands:
sudo -su demisto
podman load -i <YOUR_DOCKER_FILE>.tar
(Optional) To verify that images are able to run, use the
podman images
command. You can also run thepodman images -q "demisto/python:1.3-alpine"
command to validate specific images and identify any issues.
Start the server, by running the following command:
sudo systemctl start d1
Note
For multiple engines the d1 service name may differ.
(Optional) After installation has completed, do the following:
Confirm that the Cortex XSOAR server status is active, by running the
systemctl status d1
command.Validate that the engine is connected and running by going to
→Run the engine on a sample integration. For example, in the Hello World (Community Contribution) integration set the integration to run on the engine.
Run a simple command to test that the engine is working properly using the integration.