Configuring the Adapter for SQL Server Analysis Services

Topics:

x

Configuring the adapter consists of specifying connection and authentication information for each of the connections you want to establish.

Declaring Connection Attributes

How to:

Reference:

The SET CONNECTION_ATTRIBUTES command allows you to declare a connection to one SQL Server Analysis Services.

You can declare connections to more than one Analytical Engine by issuing multiple SET CONNECTION_ATTRIBUTES commands. The actual connection takes place when the first query referencing that connection is issued. You can include those commands in an RPC or a server profile. The profile can be encrypted.

If you issue multiple SET CONNECTION_ATTRIBUTES commands, the first command sets the default SQL Server Analysis Services to be used.

Procedure: How to Configure an Adapter

  1. From the Web Console sidebar, click Connect to Data.

    or

    From the Data Management Console, expand the Adapters folder.

    In the DMC, the Adapters folder opens. In the Web Console, the Adapters page opens showing your configured adapters.

  2. In the Web Console, click the New Datasource button on the menu bar and find the adapter on the page or, in the DMC, expand the Available folder if it is not already expanded.
    On the Web Console, you can select a category of adapter from the drop-down list or use the search option (magnifying glass) to search for specific characters.
  3. In the DMC, expand the appropriate group folder and the specific adapter folder. The group folder is described in the connection attributes reference.
  4. Right-click the adapter name and/or version and select Configure.

    The Add Adapter to Configuration pane opens.

  5. Enter values for the parameters required by the adapter, as described in the chapter for the specific adapter you want to configure.
  6. Click Configure. The configured adapter is added to the Adapters list in the DMC resources tree or the Configured list in the Web Console.
    In the Web Console, the adapter remains on the Available Adapters list with an asterisk to indicate that at least one connection has been configured. You can configure additional connections from either the Configured or Available list by right-clicking the adapter and clicking Add Connection.

Reference: Connection Attributes for SQL Server Analysis Services (SSAS)

The SQL Server Analysis Services adapter is under the OLAP group folder.

The following list describes the connection attributes for which you can supply values. To complete the attribute declaration, click the Configure button.

Connection name

Logical name used to identify this particular set of connection attributes. The default is CON01.

Server

Name of the machine where SQL Server Analysis Services (SSAS) is running. If that machine has more than one instance of SQL Server Analysis Services (SSAS) installed, provide the server name and the instance name as follows: server\instance.

Security

There are three methods by which a user can be authenticated when connecting to a database server:

  • Explicit. The user ID and password are explicitly specified for each connection and passed to the database, at connection time, for authentication.
  • Password Passthru. The user ID and password received from the client application are passed to the database, at connection time, for authentication.
  • Trusted. The adapter connects to the database using the database rules for an impersonated process that are relevant to the current operating system.
User

Primary authorization ID by which you are known to the data source.

Password

Password associated with the primary authorization ID.

Select profile

Select a profile from the drop-down menu to indicate the level of profile in which to store the CONNECTION_ATTRIBUTES command. The global profile, edasprof.prf, is the default.

If you wish to create a new profile, either a user profile (user.prf) or a group profile if available on your platform (using the appropriate naming convention), choose New Profile from the drop-down menu and enter a name in the Profile Name field (the extension is added automatically).

Store the connection attributes in the server profile (edasprof).

Default Database

Must be specified only when accessing Cognos TM1. For example, SData.

Additional connection string keywords (Optional)

Are extended connection parameters (provider string) for specification of such parameters as EffectiveUserName for SSAS or CAMNamespace for TM1. These values should be entered as keyword=value pairs separated by semicolons (;). For example, EffectiveUserName=Domain\UserID (SSAS) or CAMNamespace=NTLM_NAMESPACE (TM1)

Syntax: How to Declare Connection Attributes Manually

Trusted authentication. The adapter connects to SQL Server Analysis Services (SSAS) as an operating system login using the credentials of the operating system user impersonated by the server data access agent.

ENGINE SSAS SET CONNECTION_ATTRIBUTES [connection]server/

Explicit authentication. The user ID and password are explicitly specified for each connection and passed to SQL Server Analysis Services (SSAS), at connection time, for authentication as a standard login.

ENGINE SSAS SET CONNECTION_ATTRIBUTES [connection]server/user,pwd

Password passthru authentication. The user ID and password received from the client application are passed to SQL Server Analysis Services (SSAS), at connection time, for authentication as a standard login.

ENGINE SSAS SET CONNECTION_ATTRIBUTES [connection]server 

where:

SSAS

Indicates the adapter. You can omit this value if you previously issued the SET SQL ENGINE command.

connection

Is a logical name used to identify this particular set of attributes.

If you plan to have only one connection to SQL Server Analysis Services, Is the server name used as a connect descriptor to the SQL Server Analysis ServicesServer across the network..

server

Is the machine where SQL Server Analysis Services is running.

user

Is the primary authorization ID by which you are known to SQL Server Analysis Services.

pwd

Is the password associated with the primary authorization ID.

WebFOCUS

Feedback