database mirroring monitor - remove server or database

  • does anyone know how to remove a database from the database mirroring monitor once you have registered one. It only seems to let you add databases to monitor, but I can't remove one once it is added.

  • Not sure I understand but I think you're looking for

    ALTER DATABASE {db_name} SET PARTNER OFF

    This removes the db from mirroring

  • Read that a bit fast. To unregister the db from the actual monitor just right click it and select "unregister this database" in regards to 2005 database mirroring monitor

  • well, when I right click a database, it doesn't give the the option to unregister the database. it only gives an option to register a database, manage server instance connections, or refresh. I have explored both of those screens and have not found a way to unregister. Maybe there is a problem with my copy, as the option just doesn't show up in the right click context menu.

    Thanks for the replies.

  • What build level is it running at?

  • well, it does it in both my 2005 (90.0.3042.00) and my 2008 clients(10.0.1600.22)

  • Are you a sysadmin or in the dbm_moniotr role? It is also possible that you have both tools for 2005 and 2008 and maybe the pack for 2000 in 2005. The installation steps and sequential order in which these are installed is touchy. It's possible the sqlmonitor.exe is having issues that you are selecting. Possibly try the sqlmonitor.exe in the 100 and 90 Binn folder and see if you get the same results. You can mannually launch them by opening sqlmonitor.exe-->Go-->database mirroring

    I would also search on SP3 or an updates on msdn for any known updates or fixes in 3042 (SP2).

  • I'll give that a try. I tried manually launching both, and still had the same problem. I'll try the latest service packs and see if that helps. Also, I am SA on the boxes I'm trying to monitor.

  • I found the problem. After installing most recent service packs, DMMM still wasn't working properly. I went to manage server instance connections and removed them all and added them back in. This fixed the problem. I had to re-register all my databases, but it's working now.

  • Yes, SET PARTNER OFF.

    Just worked for me also.

Viewing 10 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic. Login to reply