microsoft / SDN

This repo includes PowerShell scripts and VMM service templates for setting up the Microsoft Software Defined Networking (SDN) Stack using Windows Server 2016
Other
486 stars 541 forks source link

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

Open chriscoveyduck opened 3 years ago

chriscoveyduck commented 3 years ago

When running SDNExpress we're seeing the following error.

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

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

chriscoveyduck commented 3 years ago

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

chriscoveyduck commented 3 years ago

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.

luyaof commented 3 years ago

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