cancel
Showing results for 
Search instead for 
Did you mean: 

How to repeat whole import with DISTMON

Former Member
0 Kudos

Dears,

I'm converting to Unicode a Sap environment using the Distribution Monitor . I'm using two machines, Server1 and Server2.

I started the import after the end of the export phase, ended successfully.

Unfortunately during the import the target Unicode environment crashed so badly that the database has been damaged.

The import from Server1 was already finished successfully at the time of the crash, the import from Server2 not.

I'm going to reinstall the target Unicode environment, and to repeat  only the import phase.

I do not want to redo the export.

How I should clean up the Comdir/Server1 and Server2 just from the old import  logs ?

In your opinion it's enough to run the distmon with "-i cleanALL" on both the Server1 and Server2 or do I have to do something   different ?

regards

Accepted Solutions (1)

Accepted Solutions (1)

former_member189725
Active Contributor
0 Kudos

I believe you have run the distribution monitor for both import and export on both the servers from the single common distmon directory.

What I suggest is as follows :

Drop all the tables,indexes on the target database (hopefully views are not created)

On both the servers,

Delete the import <package>.log files under importInstallDir , distribution_monitor_import.log

import_monitor.log ,  from the distmon directory

Also delete the following <commDir>\import_time_<HOSTNAME>.txt

                                    <commDir>\import_time_<HOSTNAME>.html

                                    <commDir>\info\import_props_<HOSTNAME>.txt

                                    <commDir>\info\combined_time.txt

                                    <commDir>\summary.txt

Delete from distmon directory  import_time.log ,import_state.properties

Then try starting the import again. Give it a try.

Let me know the target database.

Regards

Ratnajit

Former Member
0 Kudos

Hi Ratnajit,

the target unicode  database is completely empty, as it has been reinstalled from scratch. It was not recoverable after the crash.

So I have to repeat the whole import process, from both the Server1 and Server2.

I cleaned up all the files suggested and all the log files starting with *import* , from the dm working directories, from the COMDIR and from the Server1 and Server2 directories.

Neverthless, when I run the distribution_monitor.sh -d it continue to report the old import status, with the successfull and missing packages...

I expect to see only the export status, not the import status for which I deleted all the logs.

Which other logs do I have to delete ?

regards

former_member189725
Active Contributor
0 Kudos

Also delete the following logs under the distmon directory

     DistributionMonitor.console.log

     TimeAnalyzer.console.log

But is the import happening ?

Regards

Ratnajit 

Former Member
0 Kudos

Hi,

finally I found it.

The importInstallDir is replicated also under the comdir/server1 and server2.

And the import_state.properties is replicated also here.

Removed these files the distmon -d show just the exportted packages, no status about the imported packages.

Now the import is running again from both the Server1 and Server2.

regards

former_member189725
Active Contributor
0 Kudos

Yes , under

<commDir>\<HOSTNAME>  importInstallDir is also replicated .

The distribution monitor in display mode , requires the import_state.properties under

<commDir>\<HOSTNAME>

Gr8 to hear your issue is resolved.

Regards

Ratnajit

Answers (0)