Hi Community,
We are facing issue (screenshots for the same are pasted below) while installing Indexing Engine to install the Elasticsearch on a DMA via DataMiner cube. This is the doc which we are following
https://docs.dataminer.services/user-guide/Advanced_Functionality/Databases/Elasticsearch_database/Installing_Elasticsearch_via_DataMiner.html
To check if your system meets the minimum requirements we use the windows performance counters.
In some cases those counters get corrupt/broken in windows, which results in us having that exception.
To restore them, run this command as administrator on windows:
lodctr /r
Some more info can be found here:
lodctr | Microsoft Learn
———– LogID: 127 ———–
Info
ServerTime: 6/4/2023 11:45:42 PM
ClientTime: 6/5/2023 5:15:45 AM
Message : Elastic Search Recommendation request failed:
– (Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Cpu Performance Counter was null —> System.NullReferenceException: Cpu Performance Counter was null
at SLCassandraClassLibrary.DBGateway.Resources.CPUResource.RetrieveInformation()
at SLCassandraClassLibrary.DBGateway.Misc.Recommendations.DatabaseRecommendationsComposer.GetCPUUsageInPercent()
at SLCassandraClassLibrary.DBGateway.Misc.Recommendations.ElasticsearchRecommendationsComposer.GetCPUUsageInPercentRecommendation()
at SLCassandraClassLibrary.DBGateway.Misc.Recommendations.ElasticsearchRecommendationsComposer.GetRecommendations()
at SLCassandraClassLibrary.DBGateway.ManagementController.ExecuteRequest[T](DatabaseRecommendationsRequest`1 request)
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at SLCassandraClassLibrary.DBGateway.IncomingConnection.ExecuteMigrationRequest(MigrationBaseRequest request)
— End of inner exception stack trace —
Server stack trace:
at SLCassandraClassLibrary.DBGateway.IncomingConnection.ExecuteMigrationRequest(MigrationBaseRequest request)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Skyline.DataMiner.Net.Messages.SLDataGateway.ISLDataGateway.ExecuteMigrationRequest(MigrationBaseRequest request)
at Skyline.DataMiner.Net.Facade.HandleClientRequestMessage(IConnectionInfo connInfo, ClientRequestMessage oneMsg, Boolean canQueue)
at Skyline.DataMiner.Net.Facade.c__DisplayClass50_0.b__0(ClientRequestMessage r)