cancel
Showing results for 
Search instead for 
Did you mean: 

Optimizing BW System Copy

Former Member
0 Kudos

Recentle we upgraded our BW landcape to NW 7.3.We had a system copy from Development to our technical system.But it tool unusually long time for the DI and CI installation.During CI installation itself,it tool a day to installl system directories.Is there any way to get this done faster.We do export basis specefic tables and import it later to save time.Moreover we dont carry out BDLS configuration.

Before upgrade it took half a day or less for CI installtion.BASIS gurus please throw some insights.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

it took a day to installl system directories

I have seen sapinst setting file owner and permissions one by one. In case you have a lot of files lying around in /usr/sap/SID (or maybe /sapmnt/SID too) this can take quite a while.

Check for directories with large amounts of files, you can probably delete most of them prior to the CI installation.

If this does not help, it would be nice if you could give us more details about what specific steps are taking the longest time.

Cheers Michael

Former Member
0 Kudos

Hi Ho,

This is exactly what is happening ,sapinst settling file owner and permissions one by one.It took a day doing that simply.What exactly happens in this step?

Which files/directories we should remove prior to CI installation in /usr/sap?

Please throw some more light on this?

Former Member
0 Kudos

There is probably one directory containing lots of files, logfiles, traces stuff like that.

Try these commands, they show a list of directories and how many files they contain on the next line:

find /usr/sap/<SID> -type d -exec sh -c "echo {} ' '; ll {} | wc -l" \;

find /sapmnt/<SID> -type d -exec sh -c "echo {} ' '; ll {} | wc -l" \;

Replace <SID> with your SID. Look out for high numbers >> 1000

It is probably one of these:

/usr/sap/SID/DVEBMGS0x/work

/usr/sap/SID/DVEBMGS0x/data

/sapmnt/SID/global

If you are unsure whether you can delete the files, then give us the details.

Cheers Michael

Former Member
0 Kudos

Hi Ho,

Thanks for the reply.

When i executed this command in unix box , an endless loop started running.And befor CI installation during system copy,should i clear all files and directories in /usr/sap/SID and /sapmnt

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

{}

sh: ll:  not found

       0

Former Member
0 Kudos

Replace the ll command with ls -l to make it work.

Theoretically you can clean the directories, but i would definitely save the profiles in /sapmnt/SID/profile first. To be sure you don't lose an important file you could just move everything away to another directory.

Cheers Michael

Answers (1)

Answers (1)

Former Member
0 Kudos

Did you check BackUp and Restore option ?

Thanks