What is the ideal production environment that customer use in production ?
I had configured the environment as follows:
OS: Redhat Linux 9.4
IRIS 2025.2 installed on local directory
IRIS Database: One LVM is created with 20 Storage luns and the LVM is mounted on a mount point. IRIS database is created on that
Primary and Alternate Journal: One LVM is created with 5 Storage luns and the LVM is mounted on a mount point. IRIS database is created on that.
WIJ: One LVM is created with 5 Storage luns and the LVM is mounted on a mount point. IRIS database is created on that.
So Data, WIJ and Journal is mounted on 3 separate mount point.
IRIS instance is installed on both primary and secondary hosts. Iris instance on secondary is stopped.
Operation:
Perform IRIS freeze
Took snapshot
Perform IRIS thaw.
map the snapshot to svols on secondary host. Activate the LVs on Secondary host.
Start the Iris instance on secondary host.
immediately I am getting the WIJ MISMATCH Error on secondary host.
Am I following the recommended procedure or anything I am missing here?
Comments
As a guess this is an issue with the target and how it was shutdown.
Here is a link on WIJ recovery.
IRIS documentation on backup and restore mentions this for the contents of the snapshot:
"The snapshot is typically a snapshot of all file systems in use by the system. At a minimum, this includes all directories used by the InterSystems IRIS database in any way, such as the installation directory, database directories, journal and alternate journal directories, WIJ directory, and any directory containing external files used by the system." (https://docs.intersystems.com/iris20253/csp/docbook/DocBook.UI.Page.cls…)
As @AlexanderPettitt said, the target instance needs to be cleanly shutdown. The snapshot needs to include everything IRIS expects to use; I'm not certain about what is included in the snapshot from your post.
MISMATCH.WIJ is described here: https://docs.intersystems.com/iris20253/csp/docbook/DocBook.UI.Page.cls?KEY=GCDI_wij#GCDI_wij_recover_compare
If you are comparing the IRIS.WIJ from the target against the contents of the databases from the source (or vice versa) you will get mismatches. If you take the wrong action, you will affect the integrity of the data. The specific details of this are important: such as how the snapshot was taken, what mounting an svol means, and whether or not you actually have some other problem beyond how the backup was taken.
This is a situation where the WRC can help. I'd suggest starting there.