cancel
Showing results for 
Search instead for 
Did you mean: 

SDM: Cleanup of old SCA's (SDM root directory keeps growing)

ed-holland
Explorer
0 Kudos

Hi,

I was wondering is somebody in this community has found a way to keep the SDM directory in check ?

We use a lot of development / test systems and are keeping them up to date with SPS releases.

As such, the SDM root directory now has several GB. It contains now over 10 versions of the same component.

If one could easily cleanup the older BASE-J2EE components (especially adobe) then it would not grow as such. The base-components are always complete, so there is no need to keep the older versions.

I've searched help, oss and sdn but did not find any solution for it.

As one way to reduce it, i've created a script to recreate the whole SDN root from scratch, but it is not optimal.

Greetings,

Ed.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

When you deploy patched or support packs , all the previous versions are retained as a backup under SDM repositories.

Please perform the following activity from program folder

./StopServer.sh
./sdm.sh jstartup mode=standalone
./sdm.sh gc sdmhome=/usr/sap/SID/inst#/SDM/program
./sdm.sh jstartup mode=integrated
./StartServer.sh

ed-holland
Explorer
0 Kudos

I found another thread on the same subject but without a real answer.

https://forums.sdn.sap.com/click.jspa?searchID=19619851&messageID=6287021