08-17-2016 06:17 AM
Hi Folks,
Since ISE 2.1 ODBC connections are possible. We are about to figure out if we could use our SCCM database during MAB authentication of our desktop.
It seems that only unnamed SQL Instances are allowed. Does anyone know if this is the case? If named instances are possible how do I have to define it? Characters like "/" and "\" are not allowed...
If someone have experience with the ODBC connection in a production environment, could you please share your experience regarding SQL response times and the overall authentication latency?
I'm lookup forward to the responses.
Best Regards, Jan-Willem Molenaar
Solved! Go to Solution.
08-18-2016 01:58 AM
Thanks all for your valued information. After an evening digging into SQL I found a solution. I'm not an expert on SQL or databased at all so any feedback is appreciated.
It turned out that SQL Aliases did the main trick for me. I created an Alias and point that to my named instance.
Because of my lack of knowledge I created this configuration for both 32 bits and 64 bits SQL Native Client 10.0 Configuration. I also don't know if the Cisco ISE solution is depended on one of the two
Secondly I created a DNS A record for my alias 'JWM' and used the IP address of the SQL server. Afterwards I verified that a CNAME is also valid.
As last item I changed the ODBC connection in Cisco ISE to use the defined Alias.
08-17-2016 08:11 AM
Try using port number as "\" does not pass input validation in the Hostname/IP[:port] field.
MSDN …> Connecting to SQL Server with the JDBC Driver > Building the Connection URL says in the section Named and Multiple SQL Server Instances
SQL Server allows for the installation of multiple database instances per server. Each instance is identified by a specific name. To connect to a named instance of SQL Server, you can either specify the port number of the named instance (preferred), or you can specify the instance name as a JDBC URL property or a datasource property. If no instance name or port number property is specified, a connection to the default instance is created.
08-17-2016 08:25 AM
Hi,
Thanks for your reply.
That information is well know but it looks that Cisco ISE does not support the named instance. According the documentation I should user [serverName[\instanceName]. As you can see in the image below ISE does not accept the entered values.
As soon as I use a "\" it doesn't accept the configuration
08-17-2016 08:29 AM
Right. The MSDN doc mentions it's preferred to use port number.
08-17-2016 08:37 AM
If no portnumber is explicitly mention the default port number is being used.
We also tried an ODBC connection with an unnamed instance, directly on IP and directly on DNS name, that works very well.
The production environment is based on named instances. I'm figuring out if Cisco ISE can/should support named instances.
08-17-2016 08:45 AM
Correct, the default MS SQL server port is used if not specified.
Are you unable to identify the port number of your named instance since it's not the default instance? MSDN seems implying a named instance will have its unique port number.
For optimal connection performance, you should set the portNumber when you connect to a named instance. This will avoid a round trip to the server to determine the port number. If both a portNumber and instanceName are used, the portNumber will take precedence and the instanceName will be ignored.
08-17-2016 09:03 AM
On the performance, it's more to do with monitoring and tuning the store procedures and database because it's an external data source. It's a new feature in ISE 2.1 so we have no much feedback.
08-17-2016 11:27 AM
Named instances in MSSQL rely on named pipes. From the looks of it, ISE will only be able to connect to MSSQL using TCP/IP. You simply need to configure your instance to respond to TCP/IP in addition to named pipes.
You should be able to specify the hostname rather than the IP. ISE just needs to be able to resolve it to the IP address responding to TCP/IP. In the most likeliness, you will need to specify a full FQDN and not the short name of the server,
08-17-2016 11:47 AM
Hi Victor,
The ODBC connection is working fine with DNS and unnamed SQL instances.
But as soon as a named SQL instance is involved it doesn't work.
So DNS and/or enabling TCP/IP within SQL are both covered.
Do you have any ideas?
08-17-2016 12:26 PM
Configure a Server to Listen on a Specific TCP Port (SQL Server Configuration Manager)
Does that not work for you?
08-18-2016 01:58 AM
Thanks all for your valued information. After an evening digging into SQL I found a solution. I'm not an expert on SQL or databased at all so any feedback is appreciated.
It turned out that SQL Aliases did the main trick for me. I created an Alias and point that to my named instance.
Because of my lack of knowledge I created this configuration for both 32 bits and 64 bits SQL Native Client 10.0 Configuration. I also don't know if the Cisco ISE solution is depended on one of the two
Secondly I created a DNS A record for my alias 'JWM' and used the IP address of the SQL server. Afterwards I verified that a CNAME is also valid.
As last item I changed the ODBC connection in Cisco ISE to use the defined Alias.
10-24-2018 02:31 PM
Do you have this working? We are trying to use MS SQL to store MAC address that pulls macs from various sources such as SCCM and Printer logic. We are having trouble with the procedures. Would you mind sharing how you have your table and procedures configured?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide