Install the Server Offline
Install Cortex XSOAR 6.14 in an offline or air-gapped environment without internet access.
You need to download the required Cortex XSOAR dependencies, the Cortex XSOAR installer, license files, and Docker images from an internet-connected machine. Then transfer these files to the offline server and install the dependencies, Cortex XSOAR, and Docker images.
If you are deploying a signed installer:
You need to import the public key into the operating system. Open a ticket with Palo Alto Networks support to get the public key. It is valid for six months.
If you are using engines or hosts in a multi-tenant environment, you need to install
makeself.
Prerequisites for installing Cortex XSOAR
Verify the following requirements before you install Cortex XSOAR:
You have a Customer Support Portal account.
Set up your account. For more information, see How to Create Your CSP User Account.
You can configure two-factor authentication using email, Okta Verify, or Google Authenticator. For more information, see How to Enable a Third Party IdP.
You have the following roles:
RoleDetailsCustomer Support Portal role
The Super User role is assigned to your Customer Support Portal account. The account creator receives this role.
Cortex role
You must have the Account Admin role. The first user who accesses Cortex Gateway with the Super User role receives Account Admin permissions automatically.
Log in to Cortex Gateway to download the image file and license.
If you have multiple or development tenants, repeat these tasks for each tenant.
Your deployment meets the System Requirements.
You have root access.
Install Cortex XSOAR offline
Download the required dependencies
On a machine with internet access, download the required dependencies 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>.
Copy all
.debfiles over to the offline machine into a folder.
Download the installation files
On a machine with internet access, do the following:
Log in to Cortex Gateway.
Locate the activation card for your license.
By default, the Production-Standalone license is selected. You can also select Dev. To use production and development tenants with a private remote repository, select Dev. You can install a development tenant later.
Select Download On Prem.
Select Next.
Under Choose Download Option, select Installer.
Select the checkbox to agree to the license terms and conditions. Then select Download.
The installer file, demistoserver-xxxxx.sh, and a zipped JSON license file download.
If you use a signed installer, import the provided GPG public key. Open a support ticket to get the public key.
For example, run
rpm --import public.keyto import the key into the local GPG keyring. Follow the requirements for your operating system.If you use a signed installer, install
makeselfwhen required. For example, runyum install makeself.
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.
Install Cortex XSOAR
The Cortex XSOAR shell installer automatically installs and configures the container (Docker for most Ubuntu, RHEL 8+, Rocky Linux 9+, and Amazon Linux 2023 using the dependencies you installed in Step 4.
Run the following commands:
chmod +x demisto.shsudo ./demisto.sh -- -tools=false -do-not-start-server=trueNote: For multi-tenant, also include the-multi-tenantflag.
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 installation
Confirm that the Cortex XSOAR server status is active by running:
systemctl status demistocommand.(Ubuntu, Oracle, and Amazon 2/2023) Confirm that the Docker service status is active by running the
systemctl status dockercommand.In a web browser, go to the
https://serverURL:portto verify that Cortex XSOAR was successfully installed.When you open Cortex XSOAR for the first time, you need to add the license.
Troubleshoot Offline Installation
If you receive the following message, ensure you use a version of Podman that supports archives with multiple images.
Error: error pulling "": unable to pull dir:./xsoar_docker_images.tar: error determining pull goal for image "dir:./xsoar_docker_images.tar": error parsing dest reference name "localhost/./xsoar_docker_images.tar": error parsing named reference "localhost/./xsoar_docker_images.tar": invalid reference format
Next steps
After you successfully complete your Cortex XSOAR offline installation, you will likely need to:
Turn off Marketplace synchronization.
For more information, see Configure the Marketplace for Offline Installation.
Download content packs offline.
For more information, see Download Content Packs and Docker Images Offline and Install a Content Pack Offline.
Watch this video for information about installing content in an air-gapped environment. Install XSOAR Content in Air-Gapped Environments
(Optional) Install an engine offline. For more information, see Install a Cortex XSOAR Engine Offline.
(Informational) Set relevant server configurations.
For more information, see Reference.
Last updated
Was this helpful?
