Manage Engines - Administrator Guide - 8 - Cortex XSOAR - Cortex - Security Operations

Cortex XSOAR Administrator Guide

Product
Cortex XSOAR
Version
8
Creation date
2024-09-18
Last date published
2024-10-31
Category
Administrator Guide
Solution
Cloud
Retire_Doc
Retiring
Link_to_new_Doc
/r/Cortex-XSOAR/8/Cortex-XSOAR-Cloud-Documentation
Abstract

Manage engines and load balancing groups in Cortex XSOAR.

After you have installed the engine, you can manage engines and Load-Balancing groups by going to Settings & InfoSettingsIntegrationsEngines.

You can view engine names, hosts, status, connection, etc.

Note

In the NAME column, if the service name starts with a d1 prefix, it is a multiple engine.

You can do the following:

  • Add/remove engines to the Load-Balancing Group.

    You can only add the engine to the Load-Balancing group after you have connected the engine.

    If you want to remove the last engine from a specific Load-Balancing group, if one or more integration instances use that engine, you will get an error. Before moving the engine, you need to assign Run on to a different engine or no engine for each of the integration instance settings.

  • Create Load-Balancing Groups

    When selecting Load-Balancing GroupAdd to new group, you can create multiple Load-Balancing groups and decide which engines are part of each group. It is useful to create separate Load-Balancing groups. For example,

    • Use separate Load-Balancing groups for different integrations and instances. Create Load-Balancing groups for certain tasks, which can help segregate the infrastructure of critical integrations.

    • Managed Security Service Providers may want to split internal engines and SaaS product engines.

    • If you have multiple AWS accounts that are not connected and do not want a single point of failure for AWS integrations that use STS.

    Users can move an engine from one group to another. A group will be deleted when the last engine is removed from it.

    Each engine can only belong to one group

    Note

    (Multi-tenant) - When clicking Load-Balancing and Propagation, you can share engines with tenants for integration purposes.

  • Get engine logs

    Logs are located in /var/log/demisto. For multiple engines, logs are located in /var/log/demisto/ <name of the engine>. For example, var/log/demisto.d1_e1.

  • Upgrade an engine

    Whenever there is a Cortex XSOAR major version change or a change in server-engine protocol version, your engines require an upgrade. In the UI, the Cortex XSOAR version for that engine is red.

    To upgrade the engine, select the checkbox for the engine that requires the upgrade and click Upgrade Engine. When the upgrade finishes, the version appears in the Cortex XSOAR Version. The upgrade procedure can take several minutes.

    You can only upgrade the engine if you installed the engine with the shell installer. To upgrade engines that were not installed with the shell installer, you need to remove the engine and do a fresh install. For more information, see Engine Installation. For troubleshooting, see Troubleshoot Engine Upgrades.

    Note

    By default, auto upgrade extracts the files to the /tmp directory. In some cases, you might need to use a different directory. For example, a common use case is if your /tmp directory is mounted as a non-executable directory. To use a different directory, edit the XSOAR_ENGINE_AUTO_UPGRADE_TMP_DIR env variable. The env variable can be specified as a global variable or can be edited in the crontab of the root user that runs the engine upgrade script. To edit the crontab of root, run sudo crontab -e. For example:

    # d1 engine
    XSOAR_ENGINE_AUTO_UPGRADE_TMP_DIR=/root/tmp
    PATH=/sbin:/bin:/usr/sbin:/usr/bin
    * * * * * /usr/local/demisto/upgrade_engine.sh >> /var/log/demisto/demisto_install.log
    							
  • Delete engines