Hi
The feature with DNN and FCI, that is available since SQL Server 2019 CU2, is pretty interesting for us but we are not exactly sure if we are on the right path.
We are currently setting up an SQL Failover Cluster with two servers (Server1, Server2) and two instances that are running on the same servers, called "INSTANCE_A" and "INSTANCE_B". Server1 is currently holding the roles but can be failed over without any issues.
I have two roles in my failover cluster manager, one is called "SQL Server (INSTANCE_A)" and one is called "SQL Server (INSTANCE_B)".
In both roles are the SQL Server and SQL Server Agent resource and SQL Server CEIP role, according to the configured instance.
In addition, both roles use an own (virtual) server name and ip address in the same subnet, sqlc01 (10.0.0.3) for INSTANCE_A and sqlc02 (10.0.0.4) for INSTANCE_B.
In my understanding, we can define two different DNN, one for "Server1\INSTANCE_A" and one for "Server1\INSTANCE_B".
For both roles we set a Distributed Server Name / DNN to FCIA (INSTANCE_A) respectively FCIB (INSTANCE_B).
Now when I try to connect to FCIA with the SQL Management Studio (18.7.1), the correct databases will be displayed, the one from "Server1\INSTANCE_A".
When I try to connect to FCIB, the same databases are displayed as in FCIA. When I add the instance name to the DNN, like FCIA\INSTANCE_A and FCIB\INSTANCE_B, I connect to the correct instances.
What is the advantage in using the DNN instead the virtual server name, when I still have to define the instance name in the connection string?
Our idea was that we only can use FCIA and FCIB for the connection strings, but it seems that this is not the correct way.
I know we can use network aliases, but this did not work correctly either, I think there is a missing setting too.
Thank you in advance.