This post is more than 5 years old

1 Message

2502

April 10th, 2013 03:00

Question:How to consolidate/merge the media database of two networker servers?

Hello,

.

in the past we realized a crossplatform migration of Networker 7.4 from unix to windows which is officially not supported by Legato/EMC.

.

We exported all the resources of /nsr/res with shellscripts, created batchscripts for windows to import the resources to a new networker server on windows, zipped the /nsr/index directory and the /nsr/mm directory and unzipped them on the new windows machine which served as the new networker server.

.

Everything went and works fine. :-) :-) :-)

.

Now we need to consolidate two networker servers. One will get shutdown forever (machine A) and one shall stay alive (machine B).

.

I created a client of machine A on machine B and copied the directory  /nsr/index/myclient from machine A to machine B. nsrinfo myclient on machine B shows me everything in the correct manner.

.

Now I would like to merge the media database from machine A into the media database of machine B.

.

I experienced mmrecov will use the command nsrmmdbasm, so I used the nsrmmdbasm.

.

In step one I saved the /nsr/mm/mmvolume6 directory of machine A into a dump file using the command "nsrmmdbasm -s  /nsr/mm/mmvolume6 > /export/home/dump.machine.A". 

.

In step two I saved the /nsr/mm/mmvolume6 directory of machine B into a dump file using the command "nsrmmdbasm -s  /nsr/mm/mmvolume6 > /export/home/dump.machine.B".

.

When extracting the /nsr/mm/mmvolume6 directory of machine B using the command "cat /export/home/dump.machine.B | uasm -r -iY -v" the /nsr/mm/mmvolume6 directory of machine A was overwritten.

.

I'm still looking for a way how to export all media database data into an ascii file where I can merge the media database data from machine A and the ones of machine B and import both of them into one consolidated /nsr/mm/mmvolume6 directory.

.

I also tried concatenating the two dump files and then use the command "cat /export/home/dump.both.machines | uasm -r -iY -v" which resulted in building the /nsr/mm/mmvolume6 directory of the first dump file.

.

Can someone tell me how to export the /nsr/mm/mmvolume6 data into ascii files?

.

Thanks in advance.

4 Operator

 • 

14.3K Posts

April 10th, 2013 06:00

It's easy - you can't do it.  You can only scan old data (if using disk, scanner -m goes really fast) and merge it that way.

No Events found!

Top