Data Aggregator Migrators
Following migrators are available to make it easier to update existing setups to newer versions:
Tip
See also: Data Aggregator
Enabling GQI DxM
The Data Aggregator MigratorToGQIDxM tool should be used to migrate any existing queries into the format supported by the GQI DxM.
Make sure Data Aggregator version 3.1.0 or higher is installed.
Enable the
UseGQIDxM
setting.Restart the
DataMiner DataAggregator
service.Use the MigratorToGQIDxM tool, by executing the following command with Administrator permissions, with or without the options below:
DataAggregator.MigratorToGQIDxM.exe
Option Description -u Optional. To be used when another URL is configured in appsettings.custom.json
(default:http://localhost:12345
).-p Optional. To be used when Data Aggregator is installed in a custom location (default: C:\Program Files\Skyline Communications\DataMiner DataAggregator
).Note
At present, this tool is only available on demand by sending a request to support@dataminer.services.
The output will confirm whether the migration succeeded.
Reverting the GQI DxM migration
When you migrate the existing queries, a backup of the query files is created, so that it is possible to revert the migration if necessary.
To revert the GQI DxM migration:
Stop the
DataMiner DataAggregator
service.Disable the
UseGQIDxM
setting.In
C:\Program Files\Skyline Communications\DataMiner DataAggregator
, replace the new.json
files with their corresponding.bak
file.In
C:\Program Files\Skyline Communications\DataMiner DataAggregator\Helper.json
within theDataSources
array, remove the"Contract": 1
property on every item where it exists.Start the
DataMiner DataAggregator
service.
Upgrading from version 2.x.x
The Data Aggregator Migrator should be used after upgrading the Data Aggregator DxM from version 2.x.x to 3.x.x or higher. This one-time migration process is only necessary if the prior installation included configured GQI queries.
You can download the tool from DataMiner Dojo.
Install the Data Aggregator Migrator on a DMA.
After downloading the files, extract them to a local folder, and place them on the server hosting Data Aggregator.
Use the migration tool with the following options:
Option Description -i File location of appsettings.custom.json
(typicallyC:\Program Files\Skyline Communications\DataMiner DataAggregator\appsettings.custom.json
)-o Use when another URL is configured in appsettings.custom.json
(e.g.https://10.10.15.32:22345
)If there is no specific URL configured in the appsettings.custom.json file, execute this command to perform the one-time migration:
.\"DataMiner DataAggregator.Migrator.exe" -i "C:\Program Files\Skyline Communications\DataMiner DataAggregator\appsettings.custom.json"
If one or more specific URLs are configured in the appsettings.custom.json file, execute this command to perform the one-time migration:
.\"DataMiner DataAggregator.Migrator.exe" -i "C:\Program Files\Skyline Communications\DataMiner DataAggregator\appsettings.custom.json" -o "https://10.10.15.32:22345/api/"
Verify the migration was successful:
The configuration of the queries from appsettings.custom.json is migrated to the Helper.json file located at
C:\Program Files\Skyline Communications\DataMiner DataAggregator\Data Sources.
The JSON files containing the queries have been moved to
C:\Program Files\Skyline Communications\DataMiner DataAggregator\Data Sources\Scripted Connectors
.