Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Service bus 1.0 High availability not working as expected

$
0
0

Hi,

I'm testing Service bus 1.0 High Availability by configuring it on 3 node cluster, let's say the node names as n1, n2, n3, in my configuration file I've specified it as

<appSettings>
    <add key="Microsoft.ServiceBus.ConnectionString"
        value="Endpoint=sb://n1/TestSB,sb://n2/TestSB,sb://n3/TestSB;StsEndpoint=https://n1:9355/TestSB,https://n2:9355/TestSB,https://n3:9355/RelTestSB;RuntimePort=9354;ManagementPort=9355" />
  </appSettings>

if any of n2 or n3 node goes down i'm able to access the SB, however if I just bring only n1 down (other two nodes are up) then i'm unable to access the service bus. The strange part is, if I modify the connection string and move n1(down node) to the end like the below then i'm able to access "Endpoint=sb://n2/TestSB,sb://n1/TestSB,sb://n3/TestSB

is it a bug in SB? how do I handle this scenario? i've tried RetryPolicy<ServiceBusTransientErrorDetectionStrategy> but it is not recognizing Windows Service bus assembly, looks like it is meant for Azure SB only. 

Thanks

Shan


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>