End-of-Life (EoL)

Configure Live Backup

This information is intended for configuring Live Backup on an existing multi-tenant deployment.
Make sure you have satisfied all prerequisites before you configure Live Backup.
  • Install and configure a Cortex XSOAR multi-tenant deployment, a main server and at least one host server.
  • Root access.
  • Internet access.
You need to configure Live Backup for the main server and each host server.
You must install the same Cortex XSOAR version and build on all servers.
Live Backup architecture
The example provided assumes a multi-tenant architecture with four servers.
  • Main server (already installed)
  • Host server- (already installed)
  • Backup main server
  • Backup host server
Files and folders
These are the files and folders you migrate from the main server and host server to the backup main server and backup host server, respectively.
File/Folder
Location
Data
/var/lib/demisto/data
Artifacts
/var/lib/demisto/artifacts
Attachments
/var/lib/demisto/attachments
System Tools
/var/lib/demisto/systemTools
Tenants
/var/lib/demisto/tenants
Public Key
/usr/local/demisto/cert.key
PEM file
/usr/local/demisto/cert.pem
License
/usr/local/demisto/license
  1. Install and configure Cortex XSOAR on the backup main server.
    1. Run the
      ./<demistoserver-xxxx.sh> -- -multi-tenant -dr -do-not-start-server
      command as root user to install Cortex XSOAR.
    2. On the main server machine, set all necessary server configurations, for example,
      External host name
      ,
      Archiving
      ,
      Log Level
      ,
      Log level
      , and so on.
    3. On the main server machine go to
      Settings
      Account Management
      +Add Host
      to download a host installer file.
    4. Get the host installer file by one of the following methods.
      • Download the file.
      • Retrieve the file from the
        /artifacts
        folder.
  2. Install and configure the host server and backup host server.
    1. Copy the host installer file from the main server to the backup host server.
    2. On the backup host server machine run the
      ./<demistoserver-xxxx.sh> -- -dr -do-not-start-server
      command as root user to install Cortex XSOAR.
    3. On the host server machine, set all necessary server configurations, for example,
      External host name
      ,
      Archiving
      ,
      Log Level
      ,
      Log level
      , and so on.
    4. On the main server machine, go to
      Settings
      Account Management
      and verify that the main server recognizes the host server.
      All statuses should be green.
  3. Configure Live Backup for the main server.
    1. On the main server machine, go to
      Settings
      Advanced
      Backups
      . and enable the Live Backup option.
    2. Enable the
      Live Backup
      option.
    3. In the
      Hostname/IP Address
      field enter the hostname or IP address of the backup main server.
    4. In the
      Port
      field enter the port of the backup main server.
    5. Click
      Save Live Backup configuration
      .
  4. Configure Live Backup for the host server.
    1. On the main server machine, go to
      Settings
      Account Management
      .
    2. Click
      Edit
      next to the host name.
    3. Enable the
      Live Backup
      option.
    4. In the
      Hostname/IP Address
      field enter the hostname or IP address of the backup host server.
    5. In the
      Port
      field enter the port of the backup host server.
    6. Click
      Save Live Backup configuration
      .
  5. When prompted, restart the servers.
  6. Shut down the main server and host server in the following order.
    • Main server
    • Host server
  7. Copy all relevant files and folders from the main server to the backup main server.
  8. Copy all relevant files and folders from the host server to the backup host server.
  9. Start the servers in the following order.
    • Backup main server
    • Backup host server
    • Main server
    • Host server
  10. When all servers are up, confirm that Live Backup is running successfully.
    1. On the main server machine, go to
      Settings
      Advanced
      Backups
      and verify that there are no errors.
    2. (Recommended)
      create an incident on each tenant account and verify that there are no errors.

Recommended For You