question

Karthikayini M. avatar image
Karthikayini M. asked ·

While doing migration using the below command , I am getting jar file not found error.

Hi All,

While doing migration using the below command , I am getting jar file not found error.

note: dtma file is in my D drive.

java -jar dynatrace-migration.jar -migration -sourceDTHome "D:\Dynatrace Collector Archive7.0" -targetDTHome "C:\Program Files\Dynatrace\Dynatrace Collector 7.1"

Please help me.

Thanks & regards

Karthikayini M

java7.1migration
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Enrico F. avatar image
Enrico F. answered ·

It seems the file "dynatrace-migration.jar" is not in your current path or is not accessible.

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Taneshaa t. avatar image
Taneshaa t. answered ·

@Karthikayini M. also do install the latest version of migration.jar(in the target home).

thanks

taneshaa

2 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Hi @Taneshaa t.

could you please tell me where do I get he latest migration tool.

Is this the one?

https://www.dynatrace.com/support/doc/appmon/installation/upgrade-and-migration-guide/

Thanks & regards

Karthikayini M

1 Like 1 · ·
@Karthikayini M.

yes

0 Likes 0 · ·
scugy.png (4.9 KiB)
Saurav K. avatar image
Saurav K. answered ·

Hello,


We are also doing appmon migration from one server to another server and while running the command i am getting below error. Can someone please help me with this.

cmd- java -jar C:\Desktop\dynatrace-migration.jar -migration -sourceDTHome "D:\Program Files (x86)\dynaTrace\dynatrace 7.2" -targetDTHome "D:\Program Files (x86)\dynaTrace\dynatrace7.2_archive"

Eroor- THE OPTION targetDTHOME does not define a dynatrace server or collector install directory.

Regards,

Saurav Kumar

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

The "DTHome" text is a placeholder and should be replaced with the location of your Source and target install directories. You can run the migration.jar command without any parameters and it will give you HELP syntax for each parameter.

0 Likes 0 · ·
Karthikayini M. avatar image
Karthikayini M. answered ·

Hi @Taneshaa t. , @Enrico F.

I am getting below error now.

I have kept jar file in my current path.

error.jpg

THE OPTION SOURCEDTHOME does not define a dynatrace server or collector install directory.

Please help me.

Thanks & regards

Karthikayini M


error.jpg (42.6 KiB)
1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

As the error message states, the sourceDTHome directory ist not a collector/server directory. Make sure you have entered the correct path without any typos there.

1 Like 1 · ·