Hello Dojo,
When migrating a standalone DMA (version 10.4.0.0-14772) to a new Hardware, I am facing the following issue:
I'm following the procedure as described in https://docs.dataminer.services/user-guide/Getting_started/Installing_a_DMA/Installing_DM_using_the_DM_Installer.html
under "Restoring a backup onto the new installed DataMiner Agent":
Everything goes well (files creation etc.) until the restore procedure tries (and fails) to restore the Cassandra data.
The batch file (Executing 'C:\Skyline DataMiner\Backup\{5B8F34AF-xxx-xxx}.bat' with params '' (working dir: 'C:\Skyline DataMiner\Backup\')) doesn't come to an end, the restore procedure would stay in "Still working..." status forever.
Actually I have tried and checked a lot of things, but without success.
There is one thing I've realized which makes me wonder if this is really the right procedure to migrate data from one Hardware server to another: When checking the options of the tool "CassandraBackup.exe" (which is called from the batch file with -restore option in this case) it's printing a comment: "only backup and consequently restore on the same node is supported!". In my opinion, this contradicts to the suggestion to use this procedure for restoring a DMA on a different node.
However, can anybody help and give a hint what's missing or what I might be doing wrong?
Best Regards
Jörg
Hi Jörg,
After checking the logs, we found the error :
2025-05-27 16:19:15.313|114|PollStorageTypes. System.Exception: No connection with the database.
at SLCassandraClassLibrary.DBGateway.Failure.FailureStorageType`1.GetSizeInMB()
2025-05-27 16:20:19.148|128|PollStorageTypes. System.ArgumentException: Could not get the short path name of C:\Program Files\Cassandra\Java.
Parameter name: path
at SLDataGateway.Types.Misc.Nodetool.LocalFilePathResolver.GetShortPathName(String path)
This indicates SLDataGateway (DataMiner) uses nodetool (JAVA based) to query the DB and because the Java folder does not exist in C:\Program Files\Cassandra, it cannot connect to cassandra.
While you did have Amazon Corretto installed, DataMiner uses Java (for nodetool).
Since internally we haven't tested this, we could not guarantee whether this will work correctly.
Installing Standalone Cassandra Cluster Installer - DataMiner Dojo helped resolve the issue.

Hi Arunkrishna, many thanks for your support. Indeed, Cassandra (on Windows) for DMA requires its own Java folder. After I have used the Standalone Cassandra Installer
https://community.dataminer.services/download/standalone-cassandra-cluster-installer/
instead of installing any Cassandra 3.11 pointing on an "external" Java (or Amazon Corretto in my case), the DMA does the job now. Best Regards, Jörg