microsoft/SDN

Failed to start service 'Software Load Balancer Host Agent (SLBHostAgent)'

chriscoveyduck opened this issue · 3 comments

When running SDNExpress we're seeing the following error.

Failed to start service 'Software Load Balancer Host Agent (SLBHostAgent)'.
+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException
+ FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand
+ PSComputerName : XXXXXX

Running "Debug-NetworkControllerConfigurationState -NetworkController restfqdn" shows

ResourcePath: https://restfqdn/Networking/v1/servers/b01c31b8-c054-4491-925a-2b388095ee62
Status: Warning

Source: SoftwareLoadBalancerManager
Code: HostNotConnectedToController
Message: Host is not Connected.

SLNHostAgent cannot be started and there are no routes being advertised by the Mux's.

We have tried all the troubleshooting steps referenced in articles. The SLBM doesn't seem to be aware of it's VIP which has been taken from the PrivateVIP logical network.

Any help on troubleshooting this would be greatly appreciated.

Thanks

CC

Sorry should have added this is a Windows Server 2019 Core environment, not HCI.

We rolled back to the version of SDNExpress on 20th Aug, as suggested by someone, and this issue is not present. Script completes and the service starts correctly.

Seems there is some issue introduced since then, we will try and debug a bit more over the Christmas period to determine what's changed.

@chriscoveyduck there was an issue with the XML generated by the script and workaround is to manually change the XML as below.

  • Go to file C:\Windows\System32\slbhpconfig.xml on each SDN Host.
  • Remove the leading whitespace at first line ""
  • Save the XML file and try to start SlbHostAgent service again.