Written by

Senior Sales Engineer at InterSystems
Question Marcel den Ouden · Sep 4, 2024

Forcefully remove database from mirror

An IRIS.DAT file was removed, as it was not needed anymore. But the database was mirrored, so it still shows up in the mirror monitor and database list. How can this be fixed? There is no backup of the .DAT file so it cannot be restored.

w##class(SYS.Mirror).RemoveMirroredDatabase("/mydir/")

throws a protect error.

(everything else works fine and this is not a production system, it only is annoying in the mirror monitor and database list)

Product version: IRIS 2023.1

Comments

Marcel den Ouden  Sep 4, 2024 to Alexander Pettitt

Yep, same result. Probably calls the same method...

0
Marcel den Ouden · Sep 9, 2024

The "cure all" solution: after restart of the instance I was able to remove the logical entry from the list. 

0