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?
Alberto De Luca [DevOps Enabler] Posted new comment
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