Hi DOJO,
After configuring a new failover pair that uses local Cassandra and an indexing database, I encountered the following errors during the first failover switch from the main agent to the backup:
- Unexpected exception while triggering failover for MigrationManager: (Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Could not initialize the CustomDataType in DBGateWay required for the storage of type Skyline.DataMiner.Net.MigrationManager.MigrationStatus
- Unexpected exception while triggering failover for ProcessAutomationManager: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SLDataGateway.API.Types.Exceptions.StorageTypeNotFoundException: Exception of type 'SLDataGateway.API.Types.Exceptions.StorageTypeNotFoundException' was thrown
- Unexpected exception while triggering failover for UserDefinableApiManager: (Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Could not initialize the CustomDataType in DBGateWay required for the storage of type Skyline.DataMiner.Net.Apps.UserDefinableApis.ApiToken
- Unexpected exception while triggering failover for BaseProfileManager: (Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Could not initialize the CustomDataType in DBGateWay required for the storage of type Skyline.DataMiner.Net.Profiles.ProfileDefinition
From what I observed, the backup agent had a healthy connection to both databases. In SLSearch, at the time of the switch (which coincides with these errors), the following entry appears:
- 2026/05/19 07:11:21.077|SLDataGateway|ManagementController.ExecuteRequest(DatabaseStateRequest)|INF|0|34|ElasticsearchState(IsActive:True,InstallAgentInfo:null,IsInstalled:False,IsInstalling:False,IsInFailover:False)
Could you advise what might cause these errors? Does this SLSearch log indicate a failover configuration issue?
Hi Catarina,
These exceptions in general tend to show that the SLDataGateway process is unable to initialize the storages in question. The latter also means that DataMiner won't be able to query the database corresponding to these storages.
In general, this does not tend to be related to a failover configuration issue.
To be able to move forward, it will be important to have a look at the SLNet logs (for the full exception stack trace) and take a LogCollector package including an SLDataGateway memory dump.
Feel free to contact Data Core for assistance with this.
Hi Catarina – hope you're fine
Far from a solution – but this is the sections seems unexpected:
ElasticsearchState(IsActive:True,InstallAgentInfo:null,IsInstalled:False,IsInstalling:False,IsInFailover:False)
Wondering if some storage operation can change that – if "IsActive" is true, I would not expect "isInstalled" = False …
Not using Elastic yet – so just a thing I've noticed – subscribing to find out more from other users.
HTH