Preparing the Spotfire environment for supporting constrained delegation to SQL Server datasource

Preparing the Spotfire environment for supporting constrained delegation to SQL Server datasource

book

Article ID: KB0079994

calendar_today

Updated On:

Products Versions
Spotfire Server -

Description

When setting up the Spotfire environment with constrained delegation, the service accounts running the Spotfire Server and Node Manager. 

Issue/Introduction

This article describes the steps required to support constrained delegation to the SQL Server datasource

Environment

Windows / Linux Operating Systems

Resolution

Follow the steps given below to enable constrained delegation:
      Note: This is applicable in case of connector datasources as well as Information Services datasources
  1. In the [libdefaults] section of the TSS's krb5.conf, add forwardable = true, if it is not already there.
  2. Constrained delegation must be set up for the TSS service account. In the Active Directory Users and Computers snap-in on the Domain Controller, edit the service account and go to the Delegation tab. Select the option "Trust this user for delegation to specified services only", and select "Use any authentication protocol", then add the HTTP service of any worker in the current Spotfire cluster, e.g.:
    Service TypeUser or Computer
    HTTPmy-worker.test.com
    HTTPmy-worker2.test.com
  3.  Make sure to run the Node Manager service as the service account that has SPNs registered. 
  4. Enable delegation  for each account (machine or user) that runs a worker (Node Manger) - "Trust this user for delegation to specified services only", "Use any authentication protocol", and add the HTTP service of any Spotfire Servers in the cluster, along with services for external data source (MS SQL Server in our case), e.g.:
    Service TypeUser or ComputerPort
    HTTPmy-tss1.test.com 
    HTTPmy-tss2.test.com 
    MSSQLSvcmy-mssql.test.com1433
    MSSQLSvcmy-mssql.test.com