Supported topology for concurrent Azure + on-prem DVLS nodes sharing one database (PAM/AD access)
Environment:
- Devolutions Server container, devolutions/devolutions-server:release-2026.2 (client build 2026.2.15.0)
- Primary node: Azure App Service for Linux Containers, Azure SQL Database backend, fronted by Azure Front Door (custom domain)
- Planned second node: on-premises, same network as our Active Directory, connecting to the same Azure SQL database over a planned site-to-site VPN
Goal: We need PAM features that depend on reachability to our on-prem Active Directory. Since the Azure-hosted node can't reach on-prem AD directly, our plan is to run a second DVLS Server instance on-prem pointed at the same Azure SQL database as the Azure node so the on-prem node handles AD-dependent PAM operations while the Azure node continues serving cloud/remote users, both against one shared vault.
Questions:
1. Is running two DVLS Server instances concurrently (not active/passive failover — both actively serving traffic to different user populations) against the same database an officially supported topology? If
not supported today, is there a recommended alternative for giving a cloud-hosted DVLS instance access to an on-prem AD for PAM without a second live node?
2. If concurrent nodes are supported: does each node require the identical encryption.config/DVLS_ENCRYPTION_CONFIG_B64 to correctly decrypt shared vault data, or is there a different mechanism for multi-node encryption key distribution?
3. We used Set-DPSAccessUri with -AdditionalAccessURIs to register a second valid external hostname against one database (needed to fix an OAuth/AccessUri mismatch behind Azure Front Door). Is this the correct/intended mechanism for a node serving multiple hostnames, or is it meant only for a single node with multiple front-end domains, not genuinely separate server instances?
4. Are there known constraints around session affinity, caching, or concurrent-write conflicts when two nodes serve live traffic against one database simultaneously?
5. Is there a licensing consideration for running multiple concurrent instances against a single license/database?
Hi kseay1,
Thank you for reaching to our forum, short version: two nodes on one database is supported, but I do not think it is what you want. Devolutions Server can reach your domain controllers through a Devolutions Gateway installed on-premises, so the Azure node you already have can do the AD work and you need no second node.
1. Yes, supported - both a high-availability load-balancing topology and a manual failover one:
https://docs.devolutions.net/server/overview/topologies/#high-availability-load-balancing-topology
That second article is written for Windows and IIS; the mechanics apply to containers, but we have no container-specific one yet.
My reason is what runs where. PAM work a user triggers a password reset from the interface, say runs in the web application on whichever node served the request. Everything on a timer belongs to the Scheduler: heartbeat, scheduled rotation, and the whole checkout lifecycle - activation, expiry, and the check-in that removes the temporary group from Active Directory. Only one scheduler is active per deployment, the others standing by:
Which one wins is decided automatically, with no way to prefer a node or a location. That is the problem with the second node: users on it could request a checkout and reset a password there, but activation, expiry and the check-in still run wherever the active scheduler is so if that is the Azure node with no route to your domain, the temporary group is never deleted and the elevation never lapses.
You could force the scheduler on-prem by leaving the Azure node without one, at the cost of the standby though I have not confirmed that behaves as a per-node control on the App Service image, so do not build on it yet. The Gateway avoids the question entirely: every node then has a route to AD, whichever holds the scheduler.
The better route is a Devolutions Gateway. Install it on-premises next to your DCs, tick Use Devolutions Gateway in the domain configuration, and the server tunnels LDAP or LDAPS to the domain controller through it instead of reaching the DC directly. Selecting a preferred domain controller becomes mandatory once the option is on. The PAM side is written up step by step, and the same option sits in the authentication domain's advanced settings:
Configure one thing separately: Kerberos only travels the tunnel if the Gateway entry also carries a KDC server URL and a Kerberos realm its own section, not part of the box you tick
(https://docs.devolutions.net/gateway/knowledge-base/how-to-articles/use-the-devolutions-gateway-kdc-proxy/).Without it the LDAP tunnel works but Kerberos has no route.
This is what the standard, separate-host Gateway install exists for - our guidance calls it the choice for networks "that Devolutions Server cannot access"
Its click-through starts from the Devolutions Server Console, which a container does not have; the MSI or silent PowerShell install on the same page is your route. Note the direction too: your Azure node reaches the Gateway outbound, not your domain controllers, so one published HTTPS endpoint replaces the whole network-integration exercise.
It covers interactive AD logins too, on the default configuration: the domain's user validity strategy decides how a login is checked, and the shipped default your dropdown shows it as Default (Ldap) uses the same LDAP path the Gateway carries. ValidateCredentials and CreateUserPrincipal talk to the domain directly and would bypass it, so tell me if you have picked either. Each node binds to AD itself and never delegates, and on a login it does so with that user's own credentials.
If you would rather not run a Gateway, the alternative is giving the Azure node its own reach to the DCs but that is not an extension of your SQL VPN. An App Service for Linux Containers reaches on-premises only through regional virtual network integration, which carries its own prerequisites around region, routing and DNS; Microsoft's App Service virtual-network-integration overview lists them. Worth pricing against a Gateway.
2. Identical, and you supply it yourself there is no key distribution mechanism. Container nodes need the same DVLS_ENCRYPTION_CONFIG_B64 value you saved at first-time setup
If a node is a Windows/IIS install instead, do not copy encryption.config between machines on Windows it is DPAPI-protected to that machine; export the keys from the console on one node and import them on the other. Be careful here: the configuration holds several separate keys - data, passwords, tokens, attachments, login - so a partial mismatch does not fail loudly. The vault looks healthy while domain authentication or PAM secrets fail; we have chased that symptom before.
3. Yes, that is the intended mechanism, and with two nodes you must apply it on both. The OpenID client registration the redirect and post-logout URLs the server accepts is built from AccessUri plus AdditionalAccessUris and written to the shared database every time a node starts, so the node that started most recently sets that list for the whole database. If each lists only its own hostname, logins through the other break after a restart. Give both the same complete list.
4. Three things to plan for.
Affinity is recommended and is entirely the load balancer's job; in your design each population has its own front end, so it is satisfied by construction. Enable X-Forwarded-For if you use IP allowlisting or conditional access, or every request looks like Front Door.
Caching is the one that will bite you. Each node caches settings and domain configuration for about five minutes, so change a domain service account password on one node and the other keeps the old value until its cache expires - and during that window AD sync, user lookups and domain authentication fail on it. Restarting that node clears it. This is a known open issue on our side, not a misconfiguration at yours.
Concurrent writes from scheduled work are not a concern, for the single-active-scheduler reason above; expect a few minutes during a failover where none runs. On interactive concurrent writes I have no constraint to report and no test of my own - the load-balancing topology is documented for that shape, and I would rather say I have not verified it than imply I have.
5. No extra licence is needed. Licences live in the shared database and are assigned per user, so nodes draw on one entitlement and nothing counts instances.
Happy to go further on any of these. One thing worth checking whichever way you go: what your System dashboard (https://docs.devolutions.net/server/web-interface/system/system-dashboard/) shows for schedulers. If nothing is listed as Up, checkouts are not activating or expiring and check-ins are not completing today, Gateway or no Gateway.
Best regards,
Michel
Michel Audi
Environment:
- Devolutions Server container, devolutions/devolutions-server:release-2026.2 (client build 2026.2.15.0)
- Primary node: Azure App Service for Linux Containers, Azure SQL Database backend, fronted by Azure Front Door (custom domain)
- Planned second node: on-premises, same network as our Active Directory, connecting to the same Azure SQL database over a planned site-to-site VPN
Goal: We need PAM features that depend on reachability to our on-prem Active Directory. Since the Azure-hosted node can't reach on-prem AD directly, our plan is to run a second DVLS Server instance on-prem pointed at the same Azure SQL database as the Azure node so the on-prem node handles AD-dependent PAM operations while the Azure node continues serving cloud/remote users, both against one shared vault.
Questions:
1. Is running two DVLS Server instances concurrently (not active/passive failover — both actively serving traffic to different user populations) against the same database an officially supported topology? If
not supported today, is there a recommended alternative for giving a cloud-hosted DVLS instance access to an on-prem AD for PAM without a second live node?
2. If concurrent nodes are supported: does each node require the identical encryption.config/DVLS_ENCRYPTION_CONFIG_B64 to correctly decrypt shared vault data, or is there a different mechanism for multi-node encryption key distribution? fnaf
3. We used Set-DPSAccessUri with -AdditionalAccessURIs to register a second valid external hostname against one database (needed to fix an OAuth/AccessUri mismatch behind Azure Front Door). Is this the correct/intended mechanism for a node serving multiple hostnames, or is it meant only for a single node with multiple front-end domains, not genuinely separate server instances?
4. Are there known constraints around session affinity, caching, or concurrent-write conflicts when two nodes serve live traffic against one database simultaneously?
5. Is there a licensing consideration for running multiple concurrent instances against a single license/database?
@kseay1Hello
1. Yes, this is supported. Devolutions supports both high-availability/load-balancing and manual-failover topologies. However, running two active nodes does not guarantee that AD-dependent PAM operations will execute on the on-premises node. The Scheduler is automatically elected, and only one Scheduler is active at a time. This could cause problems with scheduled password rotation, checkout expiration, and automatic check-in if the active Scheduler cannot reach AD.
2. Both container instances must use the identical DVLS_ENCRYPTION_CONFIG_B64 value. There is no automatic key-distribution mechanism. Both nodes need the same encryption keys to access the shared encrypted database correctly.
3. Additional Access URIs: Yes, Set-DPSAccessUri -AdditionalAccessURIs is the intended mechanism. However, both nodes must have the complete list of valid hostnames configured. Otherwise, the node starting most recently could overwrite the shared OAuth redirect URI configuration.
4. Session affinity and caching: Session affinity is recommended and should be handled by the load balancer. There is also a known caching limitation: settings and domain configurations can remain cached for approximately five minutes on each node. Changes made on one node might not immediately be reflected on the other. Devolutions support did not report a confirmed concurrent-write problem but acknowledged that this scenario had not been independently verified.
Hi donclark7,
Thank you for posting the summary on this topic. Your summary of points 1 to 4 matches what I wrote in August, and the full answer, with more on caching and Front Door, is in my reply above. One part it leaves out bears directly on this design.
The alternative to a second live node is a Devolutions Gateway installed on-premises, in the network of your domain controllers. In Administration, Privileged access, Providers, edit the domain provider, enable Use Devolutions Gateway, select the Gateway, then choose a domain controller, which that option makes mandatory. That domain provider then reaches your domain controllers through the Gateway instead of directly. Domain logins and Kerberos have their own settings, covered in my August reply above.
The summary also has no point 5. As I wrote in August, a second instance needs no extra licence. At your version, Devolutions Server keeps the licences in the database and checks them per user, at sign-in and when a licence is assigned, so both instances use the same licences.
https://docs.devolutions.net/server/concepts/basic-concepts/licenses/
One caution if you do add an instance with the Devolutions Server Console, in its window or from its command line. Update to the current version first, since an older Console installing a new instance against an existing database that holds licences of both the older and the newer model can remove the newer ones. A container started against your existing database does not run that step.
If you want to go further on any of these points, reply here.
Best regards,
Michel
Michel Audi