cancel
Showing results for 
Search instead for 
Did you mean: 

Space issue During Export on ABAP+JAVA system on a drive

Former Member
0 Kudos

Hello,

We are performing system copy of ABAP+JAVA Solman 7.0 EHP1 system using data base specific option (backup/restore).

We want to take export for SDM and APPS which is on drive with very less space.


when we use sapinst the drive is getting full though we have given export path to another location ,that drive is getting full due the temp used for making that JAR and SCA.

How to force sapinst to use temp while creating SDMKIT.JAR and SCA.

Thanking you in anticipation.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Can you try the following:

Go to /usr/sap/<SID>/<INSTANCE>/SDM/program/config and modify the sdm_jstartup.properties to include this variable:

sdm.tmpdir=<any dir with space>

Restart your SDM.

Let me know if this worked.

Regards,

Sonia

Former Member
0 Kudos

Hi,

I modified the sdm_jstartup.properties and included the variable sdm.tmpdir=<any dir with space> and restarted the SDM.

Still it is going to the same default location  usr/sap/SID/dvebmsg00/sdm/program/pack and creating the jar file "packedroot.jar" which is causing the space issue again.

Do you have any alternative solution for this?

Thanks for your help.

nicholas_chang
Active Contributor
0 Kudos

if due to space issue, perhaps one of the workaround is create a soft link to a dir with sufficient space.

Former Member
0 Kudos

Hi,

Thanks for suggesting this.

I even tried to create a soft link via linkd but still it is not working.

I linked the folder pack to another directory having free space.

But Export is not going in the linked folder, it is creating its own and exporting the jar file there only.

former_member189725
Active Contributor
0 Kudos

Can you please check the SAP note Note 920877 - New functionality of the command "createsdmkitjar"

Try editing the control.xml file . Search the string sdm.createsdmkitjar and edit the line

sdm createsdmkitjar [excludedcomplist=<...>] [excludesoftwarecomponents=<...>] [tofile=<...>] [tmpdir=<...>]

In the tmpdir put the value to location with enough space.

Check if this works.

Regards

Ratnajit

Former Member
0 Kudos

Hi,

You can execute the sdm command manully. Go to /usr/sap/SID/dvebmsg00/SDM/program

execute

sdm createsdmkitjar tofile=SDMkit.jar tmpdir=<any dir with space>

Alternately you can find the command from sapinst_dev.log.

This will place the packedroot.jar to the tmp dir.

Regards,

Sonia

Former Member
0 Kudos

Hi Raja,

A correction, the command has to be executed from the export dir so that the SDMKit.jar should be placed in /export_dir/JAVA/SDM.

Regards,

Sonia

Former Member
0 Kudos

Hi Sonia,

Thanks for your help again.

The solution you suggested above will only create export for SDM.

I am looking for the complete JAVA migration export including APPS (ADS, KMS, PORTAl etc) + SDM.

Is there any way or command to create complete JAVA export in directory with free space ?

or

is there any way to create APPS (ADS, KMS, PORTAl etc) separatly with other way or command, without SDM which i will create as suggested by you.

Thanks in Advance!!

Regards,

Venkat

Former Member
0 Kudos

Hi Raja,

As far as I know only creation of this SDMKit.jar file takes up space and continue on with little space available.

Have you tried continuing after the above steps?

How much space is currently available?

Regards,

Sonia

Former Member
0 Kudos

Hi Sonia,

We tried to create the sdm with the command as shown below:

sdm createsdmkitjar ["tofile=<G:\sdm_extract>"] [“tmpdir=<=G:\sdm_extract_temp>”]

It gave us error : Access is denied.

Could you please suggest us how to go further.

Thanks,

Prateek

Former Member
0 Kudos

Hello Raja,

If it is not allowing you to use the softlink for pack directory, I would have tried the softlink to program directory and would have given a try.

Make sure SDM is not running when you are moving program directory to the place where you have free space and creating the softlink.

Try following sequence:-

Stop SDM --> create soft link to program --> Start SDM --> continue export

Regards,

Vishal

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

We are able to successfully generate sdmkit using the command:

java.exe -Xmx256M -jar D:\usr\sap\<SID>\DVEBMGS00\SDM/program/bin/SDM.jar createsdmkitjar tofile=G:/sdm_extract/JAVA/SDM/SDMKIT.JAR tmpdir=G:\sdm_extract_temp sdmhome=D:\usr\sap\<SID>\DVEBMGS00\SDM/program

We need help in how to generate only APPS (SAR files for installed apps like KMC, ADS, Portal etc.)?

Thanking you in anticipation.

Regards,

Prateek

nicholas_chang
Active Contributor
0 Kudos

Hi,

Do you mean your sapinst files or the export file?

In Unix, to use another directory for sapinst, you can set the var below:

as SIDadm:

setenv TMP /usr/sap/SID (eg:)

setenv TMPDIR /usr/sap/SID

setenv TEMP /usr/sap/SID

All the logs during sapinst export will write to the directory you specify above.

For export directory, SAPINST will prompt you for the export directory before export started.

Cheers,

Nicholas Chang

Former Member
0 Kudos

sapisnt by default uses /tmp on UNIX to create the installation directory.  If you have space issues on /tmp you can pass this paratmeter "sapinst_instdir=<location_with_space>" to sapinst.

this will make sapinst use this new location for writing all the files created during install.

Regards

Amit Padmawar