Install Additional App Servers
Install additional app servers for Cortex XSOAR 6.13 high availability.
To implement a full high availability configuration, you should install a load balancer, configure a shared directory, and install additional app servers.
Install a Load Balancer
Cortex XSOAR recommends using a load balancer or round-robin DNS server to ensure proper high availability and to avoid having a single point of failure for certain components, such as engines, communication tasks, and usage of the API.
Note
When connecting through the load balancer, you can validate the app server you are connected to by adding the /remoteServer/appID to the URL https://<load balancer url>/remoteServer/app.
In Cortex XSOAR, navigate to Settings → About → Troubleshooting.
In the Server Configuration section, enter the external host name in the External Host Name configuration key. This is the Cortex XSOAR address registered in the load balancer or DNS.
Update engines to connect through the load balancer.
Configure a Shared Directory
Configure a shared directory, using the network file sharing solution of your choice, on each Cortex XSOAR app server. Migrate the /var/lib/demisto directory to the shared file system before installing additional application servers.
Note
If you are using a location that is different from the default /var/lib/demisto, you must install the additional app servers using the -data-dir flag.
Stop the service on the first Cortex XSOAR application server.
Migrate the
/var/lib/demistodirectory, without the/var/lib/demisto/tempsubdirectory, to the shared file system.Copy the
demisto.licfile from/usr/local/demistoto the shared directory.cp /usr/local/demisto/demisto.lic /<share>/var/lib/demisto
Modify
/etc/demisto.confto reference the shared file system, using the example below.The
folders.libkey must point to the location of the shared file system.The
folders.tempkey must be local to the individual app server and not shared. To change the location of the temp directory, edit thefolders.tempkey in the **demisto.conf**file.( Multi-tenant) - For a multi-tenant deployment, the
folders.tempconf key must be updated per tenant on each host. The tenant conf file can be found at/usr/local/demisto/tenants/acc_{`` ``tenant_name}/server.confAdd or modify the license key at the end of
/etc/demisto.conf."folders": { "lib": "/<share>/var/lib/demisto", "temp": "/var/lib/demisto/temp" }, "license": { "file": { "path": "/<shared>/var/lib/demisto" } },
Start the service on the first Cortex XSOAR app server.
Verify that you see the shared folder
/<share>/var/lib/demistols -lh /<share>/var/lib/demisto
Validate Additional App Servers
After adding application servers to your high availability deployment, we recommend verifying that each application server has the correct configuration.
Verify the shared file system was created and is owned by demisto user.
sudo ls -lh /<shared>/var/lib/demistoModify path as needed if you mounted the shared filed system at another location.
Confirm you see folders for artifacts, images, systemTools, etc.
Verify that the temp folder on the new application server contains folders for tempSystemContent, script directories, etc.
ls -lh /var/lib/demisto/tempModify path as needed if you choose a different temp folder location.
Temp folder must be owned by
demisto:demistoVerify that the Cortex XSOAR license file is in the shared file system folder. If not, upload the file.
Applies only to first application server.
Validate the
/etc/demisto.conffiles are the same across all application servers.Only the
AppIDandInClusterHostNamekeys should be different per application server.Log in to the new Cortex XSOAR app server
https://<app server>.Install the Elasticsearch Monitoring content pack and validate you can view the Elasticsearch Monitoring dashboard to check Elasticsearch indexes for shards, replicas, and cluster status.
Applies only to first application server.
Go to Settings → Advanced → App Servers.
Confirm that two or more application servers are showing online.
Create a new incident and verify you can view the incident across all application servers.
Last updated
Was this helpful?
