Broker Migration 10.5 to 10.15 : Relocate command not working-->[BRC.200.1235] Error: Cannot relocate the QS storage files

ISSUE—>

server_config relocate D:\SoftwareAG1015\Broker\data\awbrokers1015
default

Using Monitor configuration from “D:\SoftwareAG1015\Broker\bin
awbrokermon.cfg”.

[BRC.200.1236] Error: Cannot update QS configuration file “D:\SoftwareAG1015\Broker\data\awbrokers1015\default
BrokerData.qs”:

SIZE_MISMATCH(QS-19) Mapped file does not match the size of the original [file:D:\SoftwareAG1015\Broker\data\awbrokers1015\default\BrokerData.qs.stor](file:///D:/SoftwareAG1015/Broker/data/awbrokers1015/default/BrokerData.qs.stor) source:qs.cc line:274
[BRC.200.1235] Error: Cannot relocate the QS storage files.

It is unable to relocate QS storage files as Mapped file does not match the size of the original.

Can any one help with this further?

Hi Yashraj,

are there any Fixes applied to Broker 10.15?

Can you provide us a directory listing of the data directory (incl. sub dirs) of the affected Broker Server(s)?

Addendum:
Is the Broker Server still running?
If so, it is neccessary to stop this service while relocating.

Regards,
Holger

Not sure about the goal here. AFAIK broker is not receiving any updates since version 9.6. You shouldn’t need a migration since they are practically the same product (v10.15 and 10.5 and also 9.6). Is there a reason why you aren’t migrating to Universal Messaging Server instead?

1 Like

Hi Holger,

We’ve applied fixes at that time of installation together. Attaching audit log file of installed fixes.

Also, attaching screenshot of directory listing of data directory.

Basically, We’ve copied BrokerConfig.qs, BrokerConfig.qs.text, BrokerConfig.qs.stor, BrokerData.qs, BrokerData.qs.text, BrokerData.qs.stor files from 10.5 to 10.15 directory and we are updating current 10.15 directory in BrokerConfig.qs and BrokerData.qs through relocate command.

It worked in other in our few broker migration. But in this case, BrokerData.qs.stor is extended upto 2 GB almost which is causing issue for relocation.

Also, We’ve stopped broker server before relocating.

Can you please help further in this?

audit.log (3.9 KB)
relocating.
Broker storage SS

Hi Yashraj,

we have never used the relocate command during migrations.
Whenever we had to build up new environments for upgrading to newer versions we have installed and configured these from scratch while only migrating custom logic.

Regards,
Holger

Error suggests the actual file size does not match the recorded file size.
Find the actual file size of BrokerData.qs.stor is source data directory and target data directory. Also, find the recorded file size by running command “server_config storage -list” in the source data directory to find out what is the file size Broker is expecting.