2.11 Connecting to a Unified Communications Manager 4.x Data Source

Cisco Unified Communications Manager version 4.x does not permit connections to SQL Server using SQL authentication. You must connect using Windows authentication.

Before running the AddDataSource_CiscoCallMgr Knowledge Script, take the following steps to grant the minimum permissions that allow the Call Data Analysis module to function properly.

2.11.1 Setting Permissions on the Communications Manager Server

Use the following steps to create a user account that has minimal permissions on the CallManager server. The new account can access only specific databases in SQL Server, and has read-only permission. It cannot change data and has no other authority on the CallManager server.

To set permissions on the CallManager server:

  1. Navigate to the Control Panel, double-click Administrative Tools, and then double-click Computer Management.

  2. Expand Local Users and Groups and click Users.

  3. In the right pane, right-click anywhere and select New User.

  4. Type the user name and password of the user for whom you are setting permissions.

  5. Ensure the User must change password at next logon option is not selected.

  6. Click Create and then click Close.

  7. Start the Microsoft SQL Server Enterprise Manager application.

  8. In the left pane, expand Microsoft SQL Servers > SQL Server Group > [local computer name] (Windows NT) > Security > Logins.

  9. In the right pane, right-click anywhere and select New Login.

  10. In the Name field, select the name you added in steps 3 - 6.

  11. Click Add and then click OK.

  12. In the New Login dialog box, select Windows Authentication.

  13. On the Database Access tab, select the options in the Permit column for the following databases:

    • master

    • CDR

    • All databases that begin with “CCM”

    For each database you permit, select db_datareader in the Permit in Database Role list.

  14. Click OK.

2.11.2 Setting Permissions on the Data Mart Computer

Use the following steps to set SQL Server Agent logon permissions for the same user account you created in Section 2.11.1, Setting Permissions on the Communications Manager Server. Ensure you secure the password so no unauthorized person can log onto the Data Mart computer using the new account.

To set permissions on the Data Mart computer:

  1. In Control Panel, double-click Administrative Tools, and then double-click Computer Management.

  2. Expand Local Users and Groups and click Users.

  3. In the right pane, right-click anywhere and select New User.

  4. Type the user name and password of the user for whom you are setting permissions.

  5. Ensure the User must change password at next logon option is not selected.

  6. Click Create and then click Close.

  7. In the left pane of the Computer Management window, click Groups, and then double-click Administrators in the right pane.

  8. Click Add, select the new user name from the list, and then click OK.

  9. Navigate to the Control Panel, double-click Administrative Tools, and then double-click Services.

  10. Double-click SQLSERVERAGENT, and then click the Log On tab in the Properties dialog box.

  11. Select This account and then click Browse.

  12. In the list of names, double-click the new user name.

  13. Type the new password in the Password and Confirm password fields, and then click OK.

  14. In the Services window, right-click SQLSERVERAGENT and select Restart.