cancel
Showing results for 
Search instead for 
Did you mean: 

System Copy with the db up and SAP down

benoit-schmid
Contributor
0 Kudos

Hello,

The last time I had run a system copy on source system (export),

I was able to perform it with the db up and sap r3 down.

Is it still possible to perform the same way with SWPM?

If I run the following:

-> SAP Business Suite 7 SR1

--> Enhancement Package 4 for SAP ERP 6.0

---> SAP Application Server ABAP

----> Software Life-Cycle Options

-----> System Copy

------> Oracle

-------> Source System Export

--------> Central System

---------> Based on AS ABAP

----------> Database Instance Export

I have the following error:

---

An exception occurred while connecting to the message server instance PRD/DVEBMGS00 on host xxx, port 13900. DIAGNOSIS: The original exception was: wapsmod.ms.MsAttachFailed: Connect to message server (xxx/13900) failed: MSENILAYER.. SOLUTION: Make sure that the message server is started.

---

Thanks in advance for your answer.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

  Try to take a export using the following option.

Sapinst SAPINST_USE_HOSTNAME=<DBHOSTNAME>

You can find the dbhostname in default profile in the profile directory.

Please try in this way and share your feedback

Thanks and Regards,

Vimal

benoit-schmid
Contributor
0 Kudos

Hello Maria,

It does not change anything.

It ask for the profile directory.

I reply /sapmnt/SID/profile

It opens it and then complains because the ms server is not responding.

Regards,

Former Member
0 Kudos

Hi

Please open the profile directory ( /sapmnt/SID/profile)

Remove/move all the duplicate profiles from the location.. Try to maintain only the startup, default and instance profiles. and check again.

Thanks and Regards,

Vimal

former_member188883
Active Contributor
0 Kudos

Hi Benoit,

Please start the SAP instance and then initiate the SWPM. Initially it may perform some checks and then prompt you to shutdown the SAP instance before starting the export. ( The same feature was available with SAPINST).

Hope this helps.

Regards,

Deepak Kori

benoit-schmid
Contributor
0 Kudos

Hello,

I have let:

DEFAULT.PFL

START_DVEBMGS00_xxx

PRD_DVEBMGS00_xxx

But it did not help.

The problem is that it tries to speak to a msg server.

But the ms server is down.

Regards,

benoit-schmid
Contributor
0 Kudos

Hello,

Deepak Kori wrote:

Hi Benoit,

Please start the SAP instance and then initiate the SWPM. Initially it may perform some checks and then prompt you to shutdown the SAP instance before starting the export. ( The same feature was available with SAPINST).

I have copied the DB on another host without SAP.

In order to avoid side effects, I would like to avoid starting SAP on this host.

Therefore can I run the system copy whithout having to start SAP,

as it was possible in previous versions?

Thanks in advance for your answer.

Former Member
0 Kudos

Hi,

  Sometimes it could be a problem with the swpm too.

Please try with removing un-necessary profiles and check.

Are you using the same SWPM that you used before?

Thanks and Regards,

Vimal

benoit-schmid
Contributor
0 Kudos

Hello,

What do you mean by unnecessary profile?

Could you also describe the following:

---

Are you using the same SWPM that you used before?

---

Before what?

Thanks in advance for your answer.

Former Member
0 Kudos

You have replied for Deepak Kori that you have already performed the export without the SAP..

I mean whether you are using the same SWPM that you used before.

Former Member
0 Kudos

Please check whether listener services are running too.

benoit-schmid
Contributor
0 Kudos

Hello,

Maria Joseph Vimalan wrote:

You have replied for Deepak Kori that you have already performed the export without the SAP..

I mean whether you are using the same SWPM that you used before.

This was for an ECC 5 (NW 6.40).

I can not us the same sapinst for an ECC 6.04.

Regards,

benoit-schmid
Contributor
0 Kudos

Hello,

Maria Joseph Vimalan wrote:

Please check whether listener services are running too.

The listener is running.

Regards,

former_member188883
Active Contributor
0 Kudos

Hi Benoit,

As per your information SAP is running on distributed environment and you are running SWPM on the database host. ( Correct me for my understanding).

If my understanding is correct, could you start the SWPM from the Central instance host.

Post the results after that.

Regards,

Deepak Kori

benoit-schmid
Contributor
0 Kudos

Hello,

Deepak Kori wrote:

Hi Benoit,

As per your information SAP is running on distributed environment and you are running SWPM on the database host. ( Correct me for my understanding).

If my understanding is correct, could you start the SWPM from the Central instance host.

Post the results after that.

Regards,

Deepak Kori

It is a little bit more complicated.

I have restored a productive DB on a recovery and isolated host.

Now I would like to run test migmon export to evaluate the export time

with different configuration and maybe table splitting.

On this host I have restored the DB, the Oracle Kernel and also the SAP profile.

I can restore the kernel too if needed.

But I do not want to start this productive SAP to avoid side effects related to external interfaces.

Therefore I run it on a pseudo DB host and I do not want to run this a the real productive server.

Does it answer your questions?

Thanks in advance for your help.

former_member188883
Active Contributor
0 Kudos

Hi Benoit,

On the restored system you need to ensure that R3trans -d works as well as profile parameters are maintained correctly. Especially the hostname should be changed in the profile parameters.

Even if you do not start the SAP instance and maintain correct hostname and R3trans -d works file, SWPM should proceed.

Regards,

Deepak Kori

benoit-schmid
Contributor
0 Kudos

Hello,

Deepak Kori wrote:

Hi Benoit,

On the restored system you need to ensure that R3trans -d works as well as profile parameters are maintained correctly. Especially the hostname should be changed in the profile parameters.

Even if you do not start the SAP instance and maintain correct hostname and R3trans -d works file, SWPM should proceed.

Regards,

Deepak Kori

If I create sidadm and restore the kernel (/sapmnt/SID/exe),

shoud it be enough?

Thanks in advance for your answer.

former_member188883
Active Contributor
0 Kudos

Hi Benoit,

You will need to

1) Restore kernel

2) Create sidadm and restore environment from source. Tweak it to match target hostname and paths

3) Adapt SAP profile to match target hostname

4) Ensure /etc/services has all the port entries include 3600/tcp sapms<SID>

5) Check the results for R3trans -d is (0000).

Regards,

Deepak Kori

benoit-schmid
Contributor
0 Kudos

Hello Deepack,

I have performed as you said.

It has worked.

Thanks.

Answers (0)