SRM reconfigure fails - DBManager error: Product version mismatch
search cancel

SRM reconfigure fails - DBManager error: Product version mismatch

book

Article ID: 312660

calendar_today

Updated On: 02-19-2025

Products

VMware Live Recovery

Issue/Introduction

Symptoms:

SRM reconfigure fails - DBManager error: Product version mismatch.

VMware-dr.log : 

2024-12-20T00:32:23.600Z error vmware-dr[02426] [SRM@6876 sub=MainUtil] DBManager error:
--> 14DBManagerError Product version mismatch.  Runtime version 9.0.2. Found schema version 8.6.0 in database.
2024-12-20T00:32:23.600Z info vmware-dr[02426] [SRM@6876 sub=MainUtil] Exiting InitMain
2024-12-20T00:32:23.600Z info vmware-dr[02426] [SRM@6876 sub=MainUtil] Entering ExitMain
2024-12-20T00:32:23.600Z verbose vmware-dr[02426] [SRM@6876 sub=SyncManager] Shutting down [SynchronizationManager]
2024-12-20T00:32:23.601Z info vmware-dr[02426] [SRM@6876 sub=MainUtil] Exiting ExitMain
2024-12-20T00:32:23.601Z panic vmware-dr[02426] [SRM@6876 sub=Default] Application error: N7Vmacore9ExceptionE DBManager error: Product version mismatch.  Runtime version 9.0.2. Found schema version 8.6.0 in database.
--> [context]zKq7AVECAAQAANjOcAEKdm13YXJlLWRyAABtGE9saWJ2bWFjb3JlLnNvAABSJCUA17AiACwZHAEWVgJ2bXdhcmUtZHIAASvhDAKGfQtsaWJkci12bWFjb3JlLnNvAAHgCAMDCn8CbGliYy5zby42AAGdFAM=[/context]
--> [backtrace begin] product: VMware vCenter Site Recovery Manager, version: 9.0.2, build: build-24170200, tag: vmware-dr, cpu: x86_64, os: linux, buildType: release
--> backtrace[00] libvmacore.so[0x004F186D]
--> backtrace[01] libvmacore.so[0x00252452]: Vmacore::System::Stacktrace::CaptureWork(unsigned int)
--> backtrace[02] libvmacore.so[0x0022B0D7]: Vmacore::System::SystemFactory::CreateQuickBacktrace(Vmacore::Ref<Vmacore::System::Backtrace>&)
--> backtrace[03] libvmacore.so[0x001C192C]: Vmacore::Throwable::Throwable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)
--> backtrace[04] vmware-dr[0x00025616]
--> backtrace[05] vmware-dr[0x000CE12B]
--> backtrace[06] libdr-vmacore.so[0x000B7D86]: Dr::DrApp::Run(std::function<int ()> const&)
--> backtrace[07] vmware-dr[0x000308E0]
--> backtrace[08] libc.so.6[0x00027F0A]
--> backtrace[09] vmware-dr[0x0003149D]
--> [backtrace end]

Environment

VMware Site Recovery Manager 8.x
VMware Live Site Recovery 9.x

Cause


1. This problem is observed if the upgrade procedure of the embedded DB schema fails because the vPostgreSQL service was not fully started.

2. DBManager error: Product version mismatch, when the current and runtime schema version don't match.

 

Resolution


SSH into the SRM appliance and run this command to upgrade the database schema.

/opt/vmware/srm/bin/initdb --cmd upgrade --cfg /opt/vmware/srm/conf/vmware-dr.xml

Additional Information

Impact/Risks:

Backup SRM database before running this fix.