How to setup Analytics in dedicated SQL

How to setup Analytics in dedicated SQL

Problem:  Need to move Analytics database to a dedicated SQL server.  It is highly recommended you move this database to a separate dedicated SQL server on any production installations.



Cause:  The included Hypersonic SQL (HSQL) is not designed for production environments



Prerequisite(s):
  • Unified Workspace 6.3.0.232 or later
  • Supported SQL database already setup and configured
  • Relevant SQL script already run against database (found in the stoneware\hsql\dbscripts folder)
  • SQL JDBC driver already in place



Solution(s):  Reconfigure webNetworkAuditDB connection object, Audit service and fix Analytics reports.


Configure webNetworkAuditDB:
  1. Go to webAdmin tool
  2. Expand Report Admin and click on webNetworkAuditDB
  3. Change Database type to MySQL (or relevant Microsoft SQL)
  4. Enter IP address/DNS name
  5. Enter database name wn_audit
  6. Click Save button
  7. Click Ping button
  8. Input credentials then click Test Connection
  9. Verify connection was successful


Configure Audit service:
  1. Go to Server Management Console (https://127.0.0.1:8090)
  2. Go to Services tab
  3. Right-click on Audit Services
  4. Select Properties
  5. Enter wnsql service account credentials
  6. Click Save button
  7. Right-click on Audit Services
  8. Click Restart
  9. Verify Audit Services restarts successfully
  10. Repeat steps 1-9 for every other Unified Workspace server


Fix Analytics reports:
  1. Go back to webAdmin tool
  2. Expand Utilities and select Migrate Audit/Logging
  3. Click Browser button
  4. Select OU=Stoneware and click OK
  5. Select webNetwok Audit Database connection
  6. Enter wnsql credentials
  7. Click Next Step button
  8. Choose database for catalog
  9. Click Next Step
  10. Verify completed


**It is recommended to setup your database to purge old records according to your organization's retention policy to keep your database from growing too large, as UW does not purge old records.


Reference(s):

    Can't find the KB

    Unable to find the KB to address your issue ?  

      • Recent Articles

      • Change Reset Password Button Text

        Change the text of the "Reset Password" button on the UW Login Page How to change the text of the Reset Password button on the Login Page. Login to webNetwork and open webAdmin on your Relay Central Server Expand Customization Center Expand Tenants ...
      • Remove Reset Password Button From Login Page

        Remove the Reset Password Button from the Login Page How to remove the Reset Password button from the Unified Workspace login page. Login to webNetwork and open webAdmin on your Relay Central Server Expand Customization Center Expand Tenants Expand ...
      • Lenovo Unified Workspace End-of-Life Questions and Answers

        As of January 31st 2024, Lenovo Unified Workspace (formerly Stoneware WebNetwork) is no longer supported. This means that we no longer provide licenses, downloads, updates, patches, or technical assistance for this product. If you have any questions ...
      • How do I determine my Unified Workspace license expiration date?

        The best method for determining the licensing information including the expiration date of your Unified Workspace license: Login to your 8090 management console on each server This may take remoting into each LUW server and relay, opening a browser, ...
      • Lenovo Unified Workspace 7.0.2.13 Released

        Highlights of Unified Workspace 7.0.2.13 Before you install: Please view the installation notes here. 7.0.2.13 requires a 7.0 license file. Below is a list of enhancements and fixes released in Unified Workspace 7.0.2.13 Fixed external storage ...
      • Related Articles

      • Move SQL Databases to a new SQL Server

        Issue Customer would like to move their UW SQL Databases from older hardware to new hardware. Solution The easiest method is to use the same SQL database type, as this only requires exporting/importing the existing database from the old server to the ...
      • Running Analytics Migration Wizard

        After applying a Service Pack, not all of the Analytics reports work.  Some show an error: Unable to Run Report The database that contains the information for this report is not currently available. Please try again later.  If you continue to have an ...
      • Analytics Link report not working after upgrading to 6.3.0.x

        Problem:  Analytics Link reports not loading after upgrading to 6.3.0.x Cause:  We discovered in about version 6.3.0.127 that the ActionID that define the events for the Audit database were changed thus causing the Link Report in the Analytics tile ...
      • MS SQL Transaction Logs full

        MS SQL defaults to only truncating the transaction logs once the database and transaction log have been properly backed up. At that point the server will clean truncate and compact the log files.  Obviously, this requires having a backup system in ...
      • Dedicated IP webapp with multiple ports

        Question:  How does a dedicated IP webapp with multiple ports work ? Answer: If multiple ports are configured and the app is configured for SSL, only port 443 will use SSL. All other ports will just be http.  If the app is configured so that the ...