A region is a group of PacsSwitch servers, usually one per hospital, that share one list of servers and one schedule. One server is the schedule server; the others are members. A region change switches every server at the same time, and each server's status page shows the others. See From one site to a region for the idea in pictures.

How a region works

  • The schedule server keeps the region's list of servers and its scheduled changes, signed with the region key.
  • Each member fetches the signed list from the schedule server and keeps its own copy. At the time of a region change, every server switches from its own copy, so the switch still happens if the schedule server cannot be reached at that moment. A member warns when its copy gets old.
  • A region change switches every server to the scenario of the same name, for example "Backup/Contingency". Each server has its own scenario of that name, with the destinations that are right for its own site.
  • The monitor of each server checks the other servers every minute and shows them under Other DTRS Servers on its status page.

The schedule server also sets region maintenance: maintenance now, or weekly and one-time windows, that mute the alert emails on every server of the region at once.

Setting up a region

  1. Install PacsSwitch on every server and set up one of them completely: email, logging, alerts and scenarios.
  2. On that server, use Export settings... (Settings > Misc) and import the file on the other servers. A review screen shows every change first, and addresses that belong to the first server can be replaced (see Export and import settings).
  3. On every server, enter a Description and the same Group name in Settings > Region.
  4. On the schedule server, choose the role Schedule server, click Create new key... and save. Then open Region servers... and add every server of the region (see below).
  5. On each member, choose the role Member, enter the schedule server's status page address, paste the key (Copy key on the schedule server), click Check the schedule server and save.
  6. Give every server scenarios with the same names, each with its own destinations.
  7. On the schedule server, open Schedule > Region events... and check the Readiness list: every server should be ready (see Region scheduled changes).
Choose as schedule server a server that is always on and well looked after, and make a second server its standby (below). Appendix H has more best practices for setting up a region.

Region servers

On the schedule server, Region servers... (Settings > Region) edits the list: each server's description, role, version, host name, IP address and status page address. Members can view the list. Click Save to publish a changed list: it gets a new revision number, and the members pick it up within a minute. A version that differs from this server's is marked "(differs)".

The Region servers window on the schedule server: the schedule server and two members with their role, version, host name, IP address and status page address; one member is marked standby and one runs an older version, marked (differs).
ButtonWhat it does
Add..., Edit..., Delete, Move up, Move downEdit the list and its order (the order of the status page).
TestChecks that the selected server answers, and compares its version, region key and scenarios with this server.
Open pageOpens the selected server's status page.
Make StandbyMakes the selected member the standby schedule server (click again to remove it).
Hand over...A planned move: the selected member becomes the schedule server, this server becomes a member, and the others follow by themselves.

When the schedule server is lost

Routing and the region changes already scheduled go on, because every server switches from its own copy of the schedule. To make changes again, open Settings > Region on the standby (or on any member) and click Take over as schedule server.... It becomes the schedule server from its signed copy of the list, and the other members follow it by themselves. The same button hands the role back after the old server is restored. Appendices I and J describe a planned move and a failover step by step.

The region key

The region key signs the list and the schedule, so a member accepts only what the real schedule server published. The key stays on each server, protected by Windows, and is never in a support bundle or a settings export. To replace it, use Rotate key... on the schedule server:

  1. Click Start rotation. The new key goes out to the members inside the signed list.
  2. Wait until the list shows that every server has the new key, then click Switch to the new key now.
  3. For a server that missed the rotation, Copy the new key and paste it in that server's Settings > Region.
The Rotate the region key window during a rotation: the current and new key, and all three servers showing that they have the new key, with Switch to the new key now ready.

Watching the region

Each server's status page lists the other servers with their active scenario and state, and links to their pages. Server Health shows a Region check, and the Region problem alert email (Settings > Health) reports a server that cannot be reached or does not agree, for example one with a different key or an old copy of the list. The daily digest email sums up the whole region (see Daily digest).

When the status pages use HTTPS with self-signed certificates, tick Accept self-signed certificates in Settings > Region on every server.

Related pages

This page was revised 2026-11-04.


← Settings: MiscRegion scheduled changes and the daily digest →