Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

After deleting availability group, listener remains in the system table.

$
0
0

Hello.

We have come across an issue where we deleted an availability group, but the listener remained in sys.availability_group_listeners.

The method used to delete the AG was not correct. It was connected in SSMS via the listener and  then we deleted the AG for that listener which of course caused and error, but did still delete the AG. Therefore we know cause.

Having done some investigation I have been unable to find any reference to this issue. 

I want to remove the listener from here. Does anyone have any suggestions?

We have tried removing directly from sys.availability_group_listeners (in a lab environment) but as expected we get the error stating "Ad hoc updates to system catalogs are not allowed."

Thanks in advance.


Viewing all articles
Browse latest Browse all 4689

Trending Articles



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