Skip to main content

Discovering SQL Server standalone instances with multiple IP addresses (KBA9540)




KBA# 9540

Applicable Delphix Versions

Click here to view the versions of the Delphix engine to which this article applies
Major Release All Sub Releases



If a Source SQL Server Standalone Instance has been configured to listen on a secondary IP address, Environment Add and Environment Refresh operations in the Continuous Data Engine may not discover this instance.

When this happens, the following warning may be reported during Environment Add or Refresh operations:

Failed to query instance "INSTANCENAME" on host "SOURCE_HOSTNAME"







This document should not be used when adding environments containing AlwaysOn Availability Groups, or for routine discovery of Failover Cluster Instances. For more information about support for these instance types, see Supported Roles for Failover Cluster Instances and Always On Availability Groups.


The issue described in this article may occur if the Listen All option is set to No for the instance in SQL Server Configuration Manager:


And an IP other than the primary server IP Address has been set to Enabled in the IP Addresses tab:


This configuration may also be described as a multihomed instance, or using a secondary IP address.


To resolve this issue, use the SQL Server Manual Discovery feature, which was introduced in version 5.3. For more information, see Manual Discovery for SQL Server Instances.

  1. Navigate to the Manage → Environments screen.
  2. Select the Environment containing the instance that is not being discovered.
  3. Switch to the Databases tab, and press the Add Instance button:
  4. Ensure that the Add as Failover Cluster Source checkbox is checked, and fill out the instance details:
  • Server Name: The dedicated IP address for the instance (this will only appear once Failover Cluster Source checkbox is selected)
  • Instance Name: The instance name of your SQL Server installation
  • Port: 1433 (or another port, if that is how the instance has been configured)
  • Installation Path: The installation directory for this version of SQL Server, usually a subdirectory of C:\Program Files\Microsoft SQL Server\
  • Instance Owner: The account which runs your SQL Server Service on the Source environment. You may need to check this from the Services control panel on your Source Server.
  • Internal Version: This varies by SQL Server version. You can confirm this by running the following query on the Source instance: SELECT DATABASEPROPERTYEX(N'master', 'Version');
  • Version: This varies depending on your installation. You can confirm this by running the following query on the Source instance: SELECT @@version, or by checking the version number that appears next to the server name in SQL Server Management Studio.
  1. Press the Add button, and wait for the Delphix Engine to attempt discovery.
  2. If multiple instances have been installed in this way, repeat this process for each instance.


Related Articles

The following articles may provide more information or related information to this article: