Quantcast
Channel: SQL Service Broker forum
Viewing all articles
Browse latest Browse all 461

The Database Mirroring endpoint is in disabled or stopped state.

$
0
0

Hello

I'm trying to configure 2 service broker instances to communicate over LAN network.

Right now both sql instances is able to receive messages locally when sent locally.


But as soon as I create an endpoint on SRV1 and route on SRV2

I'm getting this very annoying transmission status: "The Database Mirroring endpoint is in disabled or stopped state."

when running: select transmission_status, * from sys.transmission_queue

My endpoint on "SRV1"-instance:

create endpoint NotificationServiceEndpoint
state = started
as tcp
(
listener_port = 4022
)
for service_broker
(
authentication = certificate NotificationServiceCertPrivate,
encryption = disabled
)

Route on SRV2:

create route NotificationServiceRoute
with service_name = 'NotificationService',
broker_instance = '8EB69F6A-4B30-4C9A-B006-495104C5D75B',
    ADDRESS = 'TCP://192.168.98.30:4022' 

I know 4022 is default, but I've tried many different ports without luck.

On SRV1, if I run: select * from sys.service_broker_endpoints

I get:

Dedicated Admin Connection    1    1    2    TCP    2    TSQL    0    STARTED    1
TSQL Local Machine    2    1    4    SHARED_MEMORY    2    TSQL    0    STARTED    0
TSQL Named Pipes    3    1    3    NAMED_PIPES    2    TSQL    0    STARTED    0
TSQL Default TCP    4    1    2    TCP    2    TSQL    0    STARTED    0
TSQL Default VIA    5    1    5    VIA    2    TSQL    0    STARTED    0
NotificationServiceEndpoint    65544    1    2    TCP    3    SERVICE_BROKER    0    STARTED    0

At first I thought that Mirroring was disabled on some ports, that I unluckily had configured in ServiceBroker but no.



Viewing all articles
Browse latest Browse all 461

Trending Articles



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