Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Task 1.4(c): Set up Databases, E-Mail, and Proxy Server Connections, SQL Server Alternative

...

  1. Secure the TraCS databases created in step 2.

    1. Set up a user id and password in SQL Server that will be used for all TraCS generated SQL commands. The user ID needs the following permissions for SQL Server databases:

      1. Select, insert, delete, and update permissions for all tables in the TraCS databases

      2. Create table, alter table, create column,and alter column (for successful pack installation and migration of users)

      3. Alter database (for successful pack installation)

      4. They simplest way would be to give the TraCS user ID owner permissions

  2. Create the needed tables in the tracs_log database using the “log” SQL script. The script will be located in c:\programdata\tracs\Baseline Files\Scripts\ Baseline Log Total SQLServer.sql

...

  1. Open the TraCS Configuration Manager,

  2. Sign in with account 00001, password tracs.

  3. Click Setup tab

  4. Click the Database Connections button.

  5. Select Database Connection Strings.

  6. Click Import DB Connections.

    1. Expand the database connection string item.

    2. Select the Support, Data, Users, and Log entries. (Use the <Ctrl> key to select multiple entries at the same time.)

    3. Click OK.

  7. Edit the database connection for the Support database.

    1. Expand the Database Connection Strings item.

    Image RemovedImage Added
    1. Select Support.

    2. Change the Database to SQL Server.

    3. Choose Application User ID and Password.

    4. In the Server Name field, enter the name of the server hosting the SQL server databases. This is the same as the Data Source in the connection string.

    5. In the Database Name field, enter tracs_support. This will populate the Catalog portion of the connection string.

    6. Enter the user ID and password needed to access the database.

    7. Click Test to verify the connection string.

  8. Edit the database connection for the data database.

    1. Select Data under the Database Connection Strings item.

      Image RemovedImage Added
    2. Change the Database to SQL Server.

    3. Choose Application User ID and Password.

    4. In the Server Name field, enter the name of the server hosting the SQL server databases. This is the same as the Data Source in the connection string.

    5. In the Database Name field, enter tracs_data. This will populate the Catalog portion of the connection string.

    6. Enter the user ID and password needed to access the database.

    7. Click Test to verify the connection string.

Info

Note: The database connection configuration editor also contains an option for trusted security, also known as “Windows Authentication.” We do not recommend this setting. Using trusted security implies that each user may also interact with the TraCS databases outside of the TraCS program because SQL Server permissions have been granted on the individual user’s account. Application User ID and Password is more secure.

  1. Edit the database connection for the Users database.

    1. Select Users under the Database Connection Strings item.

      Image RemovedImage Added
    2. Change the Database to SQL Server.

    3. Choose Application User ID and Password.

    4. In the Server Name field, enter the name of the server hosting the SQL server databases. This should be the same as what you would enter for the Data Source portion of the connection string.

    5. In the Database Name field, enter tracs_users. This will populate the Catalog portion of the connection string.

    6. Enter the user ID and password needed to access the database.

    7. Click Test to verify the connection string.

    8. Click Apply to save your work. (Important: If missed, next step will fail.)

  2. Run a batch file to create the tables for tracs_users database:

  3. C:\Program Files (x86)\TraCS\Baseline Files\Distribution\Total\TraCS Baseline Total Users.bat

  4. Edit the database connection for the Log database.

    1. Select Log under the Database Connection Strings item.

      Image RemovedImage Added
    2. Change the Database to SQL Server.

    3. Choose Application User ID and Password.

    4. In the Server Name field, enter the name of the server hosting the SQL server databases. This should be the same as what you would enter for the Data Source portion of the connection string.

    5. In the Database Name field, enter tracs_log. This will populate the Catalog portion of the connection string.

    6. Enter the user ID and password needed to access the database.

    7. Click Test to verify the connection string.

  5. Edit the database connection for the Custom database.

    1. Select Custom under the Database Connection Strings item.

    2. Change the Database to SQL Server.

    3. Choose Application User ID and Password.

    4. In the Server Name field, enter the name of the server hosting the SQL server databases. This should be the same as what you would enter for the Data Source portion of the connection string.

    5. In the Database Name field, enter tracs_custom. This will populate the Catalog portion of the connection string.

    6. Enter the user ID and password needed to access the database.

    7. Click Test to verify the connection string.

  6. Edit the SMTP connection to enable e-mail message delivery. (Optional)

    1. Select the SMTP entry.

      Image RemovedImage Added
    2. Click the add button.

    3. Enter e-mail in the Name field.

    4. Click OK.

    5. Expand the SMTP item.

      Image RemovedImage Added
    6. Select e-mail.

    7. Complete the panel on the right:

      Image RemovedImage Added
      1. In the Description field, enter e-mail.

      2. In the Server field, enter the address of your e-mail server. (For example: mail.myserver.com)

      3. In the port field, enter the port number, typically 25.

      4. In the timeout field, enter 240.

      5. In the UserID and Password fields enter the login credentials to be used when connecting to the e-mail server.

      6. In the From Address field, enter the “from” e-mail address to be used with messages coming from TraCS.

      7. In the Display Name field, enter the display name to be associated with the “from” e-mail address.

  7. Configure the web proxy server if your agency uses a proxy server to reach the Internet.

    1. Expand the Proxy item.

    2. Select Defined Proxy.

      Image RemovedImage Added
    3. Complete the panel on the right:

      1. Note: consult your proxy server administrator if you need help completing this panel.

      2. Complete the URL and Port fields as recommended by your proxy server administrator.

      3. If a user id and password are required to connect to the Internet through the proxy server, enter the required information in the Domain, UserID and Password fields.

  8. Click OK.

  9. Close the configuration manager.

...