Quantcast
Channel: SCN : All Content - SAP NetWeaver Administrator
Viewing all articles
Browse latest Browse all 5139

Installing DI after systemcopy overwrites instance.properties

$
0
0

Hello,

 

I did a systemcopy of our productive CRM-System (CI+DB with Java Addin, Version 7.0 EH1) to move it to new hardware. I used for that the swpm.

 

After the systemcopy I had problems with the additional Application server. So I deleted and reinstalled on another server a DI with the same SWPM:

 

 

 

After restarting both systems I the J2EE instance on the central host did not start - the reason was that the DI-Installation replaced some values in the instance.properties:

 

ID5958800.ClassPath=./bin/boot/boot.jar:./bin/system/bytecode.jar:.

ID5958800.Debuggable=no

ID5958800.JLaunchParameters=

ID5958800.JavaParameters=-Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy

-Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer -Dcom.sap.jvm.scenario=j2ee -Xss2M -Drdbms.driverLocation=E:/usr/sap/KCP/D00/exe/mssjdbc/sqljdbc.jar -Drdbms.driverLocation=E:/usr/sap/KCP/D00/exe/mssjdbc/sqljdbc.jar

ID5958800.JavaPath=E:/usr/sap/KCP/D00/exe/sapjvm_4

ID5958800.LogName=dispatcher

ID5958800.MainClass=com.sap.engine.boot.Start

ID5958800.MaxHeapSize=256

ID5958800.Name=dispatcher

ID5958800.Parameters=

ID5958800.RootPath=E:/usr/sap/KCP/D00/j2ee/cluster/dispatcher

ID5958800.Type=dispatcher

ID5958850.ClassPath=./bin/boot/boot.jar:./bin/boot/jaas.jar:./bin/system/bytecode.jar:.

ID5958850.DebugMode=no

ID5958850.DebugPort=50021

ID5958850.Debuggable=no

ID5958850.JLaunchParameters=

ID5958850.JavaParameters=-Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy

-Xss2M -Drdbms.driverLocation=E:/usr/sap/KCP/D00/exe/mssjdbc/sqljdbc.jar

ID5958850.JavaPath=C:/Program Files/sapinst_instdir/BS2010/CRM701/LM/COPY/MSS/SYSTEM/CENTRAL/AS/sapjvm_4/sapjvm_4

ID5958850.LogName=server0

ID5958850.MainClass=com.sap.engine.boot.Start

ID5958850.MaxHeapSize=2048

ID5958850.Name=server0

ID5958850.Parameters=

ID5958850.RootPath=E:/usr/sap/KCP/D00/j2ee/cluster/server0

ID5958850.Type=server

bootstrap.ClassPath=./bootstrap/launcher.jar

bootstrap.JavaParameters=-Djco.jarm=1 -Djava.security.policy=./java.policy

bootstrap.JavaPath=E:/usr/sap/KCP/D00/exe/sapjvm_4

bootstrap.MainClass=com.sap.engine.offline.OfflineToolStart

bootstrap.MaxHeapSize=512

bootstrap.Name=bootstrap

bootstrap.Parameters=com.sap.engine.bootstrap.Bootstrap ./bootstrap ID0059588

bootstrap.RootPath=E:/usr/sap/KCP/D00/j2ee/cluster

bootstrap.Type=bootstrap

bootstrap_ID5958800.ClassPath=./bootstrap/launcher.jar

bootstrap_ID5958800.JLaunchParameters=

bootstrap_ID5958800.JavaParameters=-Djco.jarm=1 -Djava.security.policy=./java.policy

bootstrap_ID5958800.JavaPath=E:/usr/sap/KCP/D00/exe/sapjvm_4

bootstrap_ID5958800.MainClass=com.sap.engine.offline.OfflineToolStart

bootstrap_ID5958800.MaxHeapSize=256

bootstrap_ID5958800.Name=dispatcher bootstrap

bootstrap_ID5958800.Parameters=com.sap.engine.bootstrap.Bootstrap ./bootstrap ID005958800

bootstrap_ID5958800.RootPath=E:/usr/sap/KCP/D00/j2ee/cluster

bootstrap_ID5958800.Type=bootstrap

bootstrap_ID5958850.ClassPath=./bootstrap/launcher.jar

bootstrap_ID5958850.JLaunchParameters=

bootstrap_ID5958850.JavaParameters=-Djco.jarm=1 -Djava.security.policy=./java.policy

bootstrap_ID5958850.JavaPath=C:/Program Files/sapinst_instdir/BS2010/CRM701/LM/COPY/MSS/SYSTEM/CENTRAL/AS/sapjvm_4/sapjvm_4

bootstrap_ID5958850.MainClass=com.sap.engine.offline.OfflineToolStart

bootstrap_ID5958850.MaxHeapSize=2048

bootstrap_ID5958850.Name=server0 bootstrap

bootstrap_ID5958850.Parameters=com.sap.engine.bootstrap.Bootstrap ./bootstrap ID005958850

bootstrap_ID5958850.RootPath=E:/usr/sap/KCP/D00/j2ee/cluster

bootstrap_ID5958850.Type=bootstrap

instance.box.number=KCPD00kdocrmapp1

instance.en.host=kdocrmprd1

instance.en.port=3202

instance.enabled=yes

instance.install.dir=E:/usr/sap/KCP/D00/j2ee

instance.ms.host=kdocrmprd1

instance.ms.port=3902

instance.osLibsPath=E:/usr/sap/KCP/D00/j2ee/os_libs

instance.runAction=NONE

instance.runMode=normal

instance.system.id=0

 

 

As you can see, the Directories were all set to the D00-Instance so the CI could not find the path and did not start.

 

 

I had to shutdown both system and copied a backup file of the instance.properties back to the origin location (e:\usr\sap\SID\dvebmgs00\j2ee\cluster).

 

After that, the central instance started right and it  is green in the MMC. But the Dialog Instance had the same problem now, it could not start thus the directories can't be found.

 

 

I.e. the dev_bootstrapID5958850:

 

Thr 6112] JLaunchIStartFunc: Thread 6112 started as Java VM thread.

[Thr 6112] *** ERROR => Can't change working directory [E:\usr\sap\KCP\DVEBMGS00\j2ee\cluster] (rc = 2) [jlnchxxi.c   397]

[Thr 6112] *** ERROR => Cannot change to working directory [E:\usr\sap\KCP\DVEBMGS00\j2ee\cluster] (rc=-1) [jlnchxxi.c   812]

 

Thr 6024] Mon Oct 06 21:10:35 2014

[Thr 6024] JLaunchCloseProgram: good bye (exitcode = -1)

 

I uninstalled the DI, restarted both servers and reinstalled the DI again, but the same behavior:The instance.properties in the CI was overwritten with values from the DI.

 

Am I missing something? I cant remember how I installed the old DI, I just know that I used other Installation-DVDs. But the swpm has the option to install a DI for CRM so I think it should work!?

 

Thank you and best regards

Kai


Viewing all articles
Browse latest Browse all 5139

Trending Articles