How to Upgrade SDM Version

The following activities was done on Windows operating system.

Determine the installed SDM version, verify and get the required file from the SAP Service Marketplace. The easiest way to get the file is, by searching the keyword “SDM”. The result will appear as below – You may download by referring to the Release and SP Number or SP Patchlevel.

SDM Update - SAP Service Marketplace

Go to SDM installation directory and stop the SDM server.

> StopServer.bat

Waiting 5 seconds for SDM server to shut down...
SDM server successfully shut down.
Successfully executed. Return code: 0

Switch the SDM into standalone mode.

> sdm.bat jstartup "mode=standalone"

Operationmode for JStartupFramework set to "standalone".
Successfully executed. Return code: 0

Extract the downloaded SDMKIT file (example, SDMKIT10_0-10006657.JAR) using WinRAR or below command. The extracted files need to be located outside the SDM installation directory.

 jar -xvf SDMKIT10_0-10006657

Execute the script.

update. bat (Windows)

You may need to enter the SDM installation directory, [default = C:\usr\sap\SID\DVEBMGS00\SDM\program]

Please enter the value of
  SDM installation directory
You can press 'ENTER' to accept the default value given in parenthesis.
(c:\sdm_home):C:\usr\sap\SID\DVEBMGS00\SDM\program
Installed SDM version: 7.0210.20111017072753.0000
New SDM version: 7.0210.20111017072753.0000
Initializing SDM for update
Initializing Network Manager (50017)
Checking if another SDM is running on port 50018
Retrieved SDM Port '50018' from repository.
Copy and unpack SDM
Read Java Home value from old files
read previous javaHome, setting C:/usr/sap/SID/DVEBMGS00/exe/sapjvm_4 
as java Home
Read Java Home value from old files
read previous javaHome, setting C:/usr/sap/SID/DVEBMGS00/exe/sapjvm_4 
as java Home
Switch temporary to active and active to backup directory structure...
bin
lib
doc
inBox
instfiles
META-INF
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\.hotspot_compiler
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\Readme.txt
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\RemoteGui.bat
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\RemoteGui.sh
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\saplogging.config
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\sdm.bat
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\sdm.sh
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\sdm_jdk.bat
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\sdm_jdk.sh
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\sdm_prep_com.bat
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\sdm_prep_com.sh
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\startSDM.bat
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\startSDM.sh
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\StartServer.bat
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\StartServer.sh
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\StopServer.bat
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\StopServer.sh
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\version.txt
file C:\usr\sap\SID\DVEBMGS00\SDM\program\sdm_tmp\config\sdm_jstartup.properties

Switch of directory structure successful
Save updated SDM repository
Remove temporary files
Successfully updated SDM on C:\usr\sap\SID\DVEBMGS00\SDM\program
Successfully executed. Return code: 0

Switch back SDM into integrated mode.

> sdm.bat jstartup "mode=integrated"

Start SDM server.

> StartServer.bat (Windows)

You May Also Like

Leave a Reply?