Child pages
  • Multiple web front ends to single XNAT database or archive

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

WARNING:  Please review the discussion on problems and pitfalls carefully.  When experiments/assessors are created on multiple servers, currently experiment ID's cannot be guaranteed to be unique, even across projects.  It is strongly recommended that all processes that create new experiments should be directed towards the primary server.  Secondary servers should be used for activities that don't result in the creation of new experiments such as receiving of DICOM and processing files and data within existing sessions.  A fix for this issue is forthcoming.

It can be useful to set up multiple XNAT web front-end servers to point to a single XNAT back-end database and archive.  This setup of multiple web front ends can be used to offload handling of some requests from the primary XNAT web instance in order to maintain performance of the primary web application.  These secondary servers commonly are referred to as  "shadow servers" and are often used to handle application server intensive requests such as the receiving of DICOM and the handling REST communications with pipelines or other batch processing jobs.  Typically, these shadow servers are running the identical version of the XNAT web application as the primary server and are often placed behind the organization's firewall, since they're expected to handle internal processing and receiving of sessions rather than usage by standard users.  This is not a load balanced set up, as described in this article, where requests to the same URL are passed among a number of identical back end nodes.  Rather, in this case, each server is reached by a different URL, so the determination of which server to use is determined by the pipeline, process, or configured in the scanner or CTP.  The setup of shadow servers is simple, however there are some potential problems and pitfalls which must be considered.