Skip to main content
Version: 10.2

Migration to Another Computer with Different Analysis Server Version

Using the Same Database

This guide covers the migration of the Analysis Server to another machine with a different Open iT Version but still using the same SQL Server database connection.

Prerequisites

  1. Take note of the modifications in the following components:

    • Task Scheduler - the command that runs daily. Sometimes there is an applied filter in the data loaded. Use the instructions in the Review of Task Scheduler Job Modifications section.

    • SSRS URI - the configured SQL Server Reporting Services URI in the Reporting page. Use the instructions in the Check the Configured SSRS URI section.

    • Service Account – the domain account used to run services and connect to the databases. Use the instructions in the Application Settings Configuration section and be guided in accessing the configuration file. Take note of the key RunAsUser.

  2. Take note of the following information:

    • SQL Server (Database Engine and Analysis Services) with instance
    • Deployed databases names (SQL and OLAP)

    Use the instructions in the Database Connection Strings Configuration section to see and take note of the SQL Server connection properties of the Analysis Server.

  3. Gather screenshots of the following web interface pages:


Instructions

  1. In the new machine, install and setup all the software requirements of Analysis Server. Use the instructions in the Base Enterprise - Installation Requirements section.

  2. Once all the requirements are set up, excluding the installation of SQL Server, install the Analysis Server. In this case, install the latest or higher version of Analysis Server as per the previous installation. Do the following sequentially to install and set up the Analysis Server.

    a. Installation

    NOTE

    When prompted for the SQL and OLAP server and database connection, use the information noted from the Prerequisites section.

    b. Installation Verification

  3. Update the database schema. Do the following instructions sequentially to update the schema of the previous database:

    a. Deploy SQL Database

    b. Deploy OLAP Database

  4. Compare the properties of the scheduled job in the Task Scheduler from the noted configuration of the previous installation. If the two properties differ, choose whether to apply the previous configuration or retain the default settings. Use the instructions in the Review of Task Scheduler Job Modifications section to see the current properties of the scheduled job.

  5. If Reporting Services is configured, create the reporting link in the Analysis Server web interface. Use the instructions in the CreateLinkToAs as a guide to properly execute the correct command.

    warning

    Provide the noted SSRS URI in the Prerequisites section when executing the command. This ensures that it will use the previous configuration of Reporting Services.

Using a New SQL Server Locally

This guide covers the migration of the Analysis Server with SQL Server to another machine.

Prerequisites

  1. Take note of the modifications in the following components:

    • Task Scheduler - the command that runs daily. Sometimes there is an applied filter in the data loaded. Use the instructions in the Review of Task Scheduler Job Modifications section.

    • Service Account – the domain account used to run services and connect to the databases. Use the instructions in the Application Settings Configuration section and be guided in accessing the configuration file. Take note of the key RunAsUser.

  2. Gather screenshots of the following web interface pages:


Instructions

  1. In the new machine, install all the software requirements of Analysis Server. Use the instructions in the Base Enterprise - Installation Requirements section.

  2. Once all the requirements are set up, excluding the installation of SQL Server, install the Analysis Server. In this case, install the latest or higher version of the Analysis Server as per the previous installation. Do the following sequentially to install and set up the Analysis Server.

    a. Installation

    b. Installation Verification

    c. Post-Installation Configuration

    warning

    When setting the core database path and configuring mapping sources and time zones, get the configurations from the previous Analysis Server installation or be guided by the screenshots taken from the Prerequisites section.

  3. If Email Settings is configured in the previous installation, accomplish the following instructions:

    a. Go to the Email Settings page of the new Analysis Server installation.

    b. Apply the configuration from the screenshot taken in the Prerequisites section for the Email Settings page. Use the instructions in the Email Settings section as a guide.

  4. If Cost, Application Cost, or Storage Cost is configured in the previous installation, follow these instructions to migrate the configurations:

    Generate Scripts for Cost Pages

    a. Connect to the SQL database of the old Analysis Server installation using SQL Server Management Studio (SSMS).

    b. Right-click the database name and select Task > Generate Scripts.

    Generate Scripts

    Generate Scripts


    c. The Generate Scripts dialog will be displayed. Click Next.

    Generate Scripts Dialog

    Generate Scripts Dialog


    d. Choose the Select specific database objects option.

    e. Expand the Tables option and select the table counterpart if the page is configured:

    • GlobalApplicationPrice - Cost
    • CostCatalog – Application Cost
    • StorageCost – Storage Cost

    Click Next.

    Generate Scripts Tables

    Generate Scripts Tables


    f. Click the Advanced button. The Advanced Scripting Options will be displayed.

    g. Under the General options, look for Types of data to script, then select Data only. Click OK.

    h. Select the Open in New Query Window option. Click Next.

    Generate Scripts Advanced

    Generate Scripts Advanced


    i. Review the configurations, then click Next.

    Generate Scripts Review

    Generate Scripts Review


    j. Wait until the process is finished. Click Finish.

    A new query window will open containing INSERT SQL queries.

    Generate Scripts Completed

    Generate Scripts Completed


    k. Connect to the SQL database of the new Analysis Server installation using SQL Server Management Studio (SSMS).

    l. Click the New Query button in the upper-left corner of the window. This will open a new query window.

    m. Copy the generated script from step j. Replace the [database_name] in the query at the start of the script with the newly created database name.

    USE [database_name]

    n. Click the Execute button in the upper-left corner of the window. This will execute the query and insert data from the old Analysis Server installation to the new installation.

    Executing Generated Scripts

    Executing Generated Scripts


    o. Once successful, go to the pages of the new Analysis Server installation and verify that there is data displayed.

  5. If there were created dashboards in the Dashboard page in the old Analysis Server installation, follow these instructions to migrate all the created dashboards and subscriptions:

    Generate Scripts for Dashboard

    a. Connect to the SQL database of the old Analysis Server installation using SQL Server Management Studio (SSMS).

    b. Right-click the database name and select Task > Generate Scripts.

    Generate Scripts

    Generate Scripts


    c. The Generate Scripts dialog will be displayed. Click Next.

    Generate Scripts Dialog

    Generate Scripts Dialog


    d. Choose the Select specific database objects option.

    e. Expand the Tables option and select the following related tables to Dashboard:

    • dbo.AdhocDashboard
    • dbo.AdhocDashboardFolder
    • dbo.PortletInstances
    • dbo.PortletSubscriptions

    Click Next.

    Generate Scripts Tables

    Generate Scripts Tables


    f. Click the Advanced button. The Advanced Scripting Options will be displayed.

    g. Under the General options, look for Types of data to script, then select Data only. Click OK.

    h. Select the Open in New Query Window option. Click Next.

    Generate Scripts Advanced

    Generate Scripts Advanced


    i. Review the configurations, then click Next.

    Generate Scripts Review

    Generate Scripts Review


    j. Wait until the process is finished. Click Finish.

    A new query window will open containing INSERT SQL queries.

    Generate Scripts Completed

    Generate Scripts Completed


    k. In the generated query, please remove the following lines:

    AdhocDashboard

    INSERT [dbo].[AdhocDashboard] ([Id], [Name], [Description], [Owner], [LayoutId], [Publish], [FolderId], [ProductFilter], [FeatureFilter], [IsDefault], [PackageFilter], [Type], [StartDateFIlter], [EndDateFilter]) VALUES (1, N'Default Dashboard', N'', N'PortalAdmin', 2, 1, 1, NULL, NULL, 1, NULL, 0, NULL, NULL)

    AdhocDashboardFolder

    INSERT [dbo].[AdhocDashboardFolder] ([Id], [Name], [Owner], [IsPublic], [FolderOrder]) VALUES (1, N'Public Dashboards', N'SVG\jplanas', 1, 1)
    INSERT [dbo].[AdhocDashboardFolder] ([Id], [Name], [Owner], [IsPublic], [FolderOrder]) VALUES (2, N'My Dashboards', N'SVG\jplanas', 0, 2)
    INSERT [dbo].[AdhocDashboardFolder] ([Id], [Name], [Owner], [IsPublic], [FolderOrder]) VALUES (3, N'Default', N'SVG\jplanas', 1, 3)

    PortletInstances

    INSERT [dbo].[PortletInstances] ([Id], [DashboardId], [PortletId], [Owner], [Label], [Threshold], [RSS], [IM], [Panel], [ProductFilter], [FeatureFilter], [AlertUsers], [IsHtml], [Flood], [CustomTemplate], [Title], [Subtitle], [Message], [IsAlertCustom], [OrderInPanel], [UOM], [Height], [PackageFilter], [OfflineData], [InstanceCondition], [CustomFilter1], [CustomFilter2], [IsSubsAlertCustom], [SubsCustomTemplate], [SubscriberTitle], [SubscriberSubtitle], [SubscriberMessage], [Source], [Schedule], [Start], [DataCheck], [ReportType], [TimeZone]) VALUES (1, 1, 1, N'PortalAdmin', N'Approaching Max: Max Utilization >= 90 %', 90, NULL, NULL, N'secondContainer', NULL, NULL, 0, 1, 0, NULL, NULL, NULL, NULL, 0, 0, N'%', 10, NULL, 0, N'Max Utilization >=', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, N'Immediate', NULL, N'every 5 minutes and 10 seconds', 1, NULL)
    INSERT [dbo].[PortletInstances] ([Id], [DashboardId], [PortletId], [Owner], [Label], [Threshold], [RSS], [IM], [Panel], [ProductFilter], [FeatureFilter], [AlertUsers], [IsHtml], [Flood], [CustomTemplate], [Title], [Subtitle], [Message], [IsAlertCustom], [OrderInPanel], [UOM], [Height], [PackageFilter], [OfflineData], [InstanceCondition], [CustomFilter1], [CustomFilter2], [IsSubsAlertCustom], [SubsCustomTemplate], [SubscriberTitle], [SubscriberSubtitle], [SubscriberMessage], [Source], [Schedule], [Start], [DataCheck], [ReportType], [TimeZone]) VALUES (2, 1, 4, N'PortalAdmin', N'License Expiration: Expiration <= 60 Days', 60, NULL, NULL, N'firstContainer', NULL, NULL, 0, 1, 0, NULL, NULL, NULL, NULL, 0, 1, N'Days', 10, NULL, 0, N'Expiration <=', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, N'Immediate', NULL, N'every day at 7:00:10', 1, NULL)
    INSERT [dbo].[PortletInstances] ([Id], [DashboardId], [PortletId], [Owner], [Label], [Threshold], [RSS], [IM], [Panel], [ProductFilter], [FeatureFilter], [AlertUsers], [IsHtml], [Flood], [CustomTemplate], [Title], [Subtitle], [Message], [IsAlertCustom], [OrderInPanel], [UOM], [Height], [PackageFilter], [OfflineData], [InstanceCondition], [CustomFilter1], [CustomFilter2], [IsSubsAlertCustom], [SubsCustomTemplate], [SubscriberTitle], [SubscriberSubtitle], [SubscriberMessage], [Source], [Schedule], [Start], [DataCheck], [ReportType], [TimeZone]) VALUES (3, 1, 6, N'PortalAdmin', N'License Daemon Down: Minutes >= 10', 10, NULL, NULL, N'thirdContainer', NULL, NULL, 0, 1, 0, NULL, NULL, NULL, NULL, 0, 2, N'Minutes', 10, NULL, 0, N'Minutes >=', NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, N'Immediate', NULL, N'every 5 minutes and 10 seconds', 1, NULL)

    Removing these entries avoids conflicts with the entries in the newly deployed database.


    l. Connect to the SQL database of the old Analysis Server installation using SQL Server Management Studio (SSMS).

    m. Click the New Query button in the upper-left corner of the window. This will open a new query window.

    n. Copy the generated script from step j with modifications from step k. Replace the [database_name] in the query at the start of the script with the newly created database name.

    SQL Query
    USE [database_name]

    o. Click the Execute button in the upper-left corner of the window. This will execute the query and insert data from the old Analysis Server installation to the new installation.

    Executing Generated Scripts

    Executing Generated Scripts


    p. Once successful, go to the Dashboard page of the new Analysis Server installation and verify that there is displayed.

  6. If there were saved Templates in the Analysis page in the old Analysis Server installation, follow these instructions to migrate all the saved templates and folders:

    Generate Scripts for Analysis Page Templates

    a. Connect to the SQL database of the old Analysis Server installation using SQL Server Management Studio (SSMS).

    b. Right-click the database name and select Task > Generate Scripts.

    Generate Scripts

    Generate Scripts


    c. The Generate Scripts dialog will be displayed. Click Next.

    Generate Scripts Dialog

    Generate Scripts Dialog


    d. Choose the Select specific database objects option.

    e. Expand the Tables option and select the following related tables to Analysis page:

    • AdhocReportTemplates
    • AdhocReportFolder

    Click Next.

    Generate Scripts Tables

    Generate Scripts Tables


    f. Click the Advanced button. The Advanced Scripting Options will be displayed.

    g. Under the General options, look for Types of data to script, then select Data only. Click OK.

    h. Select the Open in New Query Window option. Click Next.

    Generate Scripts Advanced

    Generate Scripts Advanced


    i. Review the configurations, then click Next.

    Generate Scripts Review

    Generate Scripts Review


    j. Wait until the process is finished. Click Finish.

    A new query window will open containing INSERT SQL queries.

    Generate Scripts Completed

    Generate Scripts Completed


    NOTE

    The query generated will include all the folders and templates created in the Analysis page. If you have many folders and templates saved, the query will be longer.

    k. Connect to the SQL database of the new Analysis Server installation using SQL Server Management Studio (SSMS).

    l. Click the New Query button in the upper-left corner of the window. This will open a new query window.

    m. Copy the generated script from step j. Replace the [database_name] in the query at the start of the script with the newly created database name.

    SQL Query
    USE [database_name]

    n. Click the Execute button in the upper left corner of the window. This will execute the query and insert data from the old Analysis Server installation to the new installation.

    Executing Generated Scripts

    Executing Generated Scripts


    o. Once successful, go to the Analysis page of the new Analysis Server installation and verify that the Templates can be loaded.

  7. If a new SQL Server Reporting Services instance has been set up and Reporting Services was previously configured, you must reconfigure the Reporting Services in the Analysis Server installation. Use the instructions in ConfigureAll to reconfigure Reporting Services to the new SQL Server.

Further Verification

Once all important configurations from the old Analysis Server installation are migrated, follow these steps to verify that the migration is successful:

  1. Access the Analysis Server web interface and navigate through each of the pages. This is to make sure that the migration did not break any page and that the migrated configurations are still present. Use the instructions in the Web Interface Access section. Compare the screenshots taken in the Prerequisites section to validate the configurations.

  2. Run the scheduled job in the Task Scheduler and check if there are errors encountered in the logs. This is to make sure that the processing will be successful in the succeeding executions. Use the instructions in the Running the Scheduled Job in Task Scheduler Manually section.

  3. If Reporting Services is configured, access any report template in the Home page. Make sure that it redirects to the Reporting Services Web Portal and the report template can be generated.