Solution Manager 7.2 – Upgrade – III – Dual Stack Split
Hello Friends,
Now we have SAP Solution Manager 7.2 with Support Pack Stack 01 system upgraded and now its tile to split Dual Stack System before we start using it. Split of ABAP and JAVA stacks is just an effect of the Netweaver release strategy.
Reference : 1797362 – Dual-Stack Split for Systems Based on SAP NetWeaver
In order to split system, we need to use Dual Stack Split tool (SWPM*.SAR)
SAP recommend that you download the latest tool support package and patch level when starting a new provisioning project at: http://help.sap.com/sltoolset -> System Provisioning -> Download Software Provisioning Manager
In my case I am going to execute as below because SAP is recommended to KEEP DB. Moving database is also supported by SAP
For more Information on Dual Stack Split please go through : http://scn.sap.com/docs/DOC-25162
DUAL STACK SPLIT PROCESS
Note: Please use this process if you have Central or distributed installation of SAP Solution Manager system
Export Source System
- STOP JAVA System
As Result
- Depend on your option select one. In my case as below
- Confirm Disable AS Java
- Take over ICM port (Mostly all 50XXX Ports)
- SCS Instance Profile parameter
Note: Restart you Solution manager system after export finish
Install Target JAVA System
- Select Option
- Select New SID name for Solution Manager JAVA
- Provide kernel: 51049724_10
- Java Message Server Port (IN MY CASE ACCORDING INSTANCE NUMBER)
Adept DB for Target system
- Select option as below
- Select profile of your new JAVA System
- Select existing solution Manager Database
- Make sure you have follow note
Replace old DB id with New DB ID in Database
- When you open config tool you will get message below
- Change user and password and SAVE settings
Note: Whenyou re-open tool you will able to connect database without any error
Install Primary Application Server for JAVA Stack
- Select as below
- Profile of your new System
- Select existing solution Manager Database
- Provide JAVA DVD : 51050526
- Select NO SLD (For now and we will configur it later )
- Reuse ports
- Prompt for restart
Remove JAVA Stack Primary Application Server
Note: If you have Additional JAVA Application server please remove it first
- Select as below
- Select profile of your first solution Manager profile (Dual Stack)
Remove SCS instance from Dual Stack System
- Select option as below
- Select profile of your first solution Manager profile (Dual Stack)
Now your system is Single Stack only 🙂
Hope this document show you guideline to split your Solution Manager Dual Stack system. Don’t forget to read my next document on post configuration after dual stack split
Thank you for reading and comments are welcome.
Yogesh
Solution Manager 7.2 – Upgrade – I – Technical Checks and Preparations
Solution Manager 7.2 – Upgrade – II – Actual Upgrade Process
Solution Manager 7.2 – Upgrade – III – Dual Stack Split
Solution Manager 7.2 – Upgrade – IV – Correction After Dual Stack Split
Solution Manager 7.2 – Upgrade – V – SolMan Support Pack Stack 01 Correction
For the Export Source System steps, did you intend for the checkbox to be set "checked" on in the screen shot for Enable reuse of SCS ports during target system installation? or should that checkbox be left unchecked?
You can decide what option you want. I like to reuse ports thats why I have it selected.
As per SNOTE 2227300 – Further Upgrade Information for SAP Solution Manager 7.2
IMPORTANT: When you run the “Same host” option, make sure to select the “Enable reuse of SCS ports during target system installation” option within Step 2 / Define Parameters / SCS Instance Ports Reuse.
The split tool will otherwise adjust the Java SCS port numbers, as the Java SCS instance number changes. And you need to install a SAP Web Dispatcher, as proposed below, to reconnect existing Diagnostics Agents.
OK, the box is actually unchecked in the screen shot, that it what I am asking about. Did you intend to show it as checked in the screen shot?
Now I understand your confusion. I have it fixed for you.
-Yogesh
OK, to clarify, is the checkbox to be set to checked, or unchecked, for Enable reuse of ports during target system installation ?
keep as I showed.
hi yogesh..you have kept the checkbox unchecked but i have adviced to keep it checked...this is for Enable reuse of SCS ports
i have selected the checkbox since i am using the same host for my java instance installation
thanks n Regards,
akki
Hello Akki,
What screenshot you are talking about?
Thanks
Yogesh
Hi Yogesh,
I am talking about the Enable reuse of SCS ports screen.Please see the chain of messages...
Thanks,
Akki
I think screenshot already have checked.
-Yogesh
It seems that DVD 51050526 is no longer available, do you know a replacement?
Try below ...
51050949_9 - SAP Solution Manager 7.2 Java Components
-Yogesh
Hi Yogesh
When you split the ABAP stack and Java Stack.
Can you install the Java Instance on the same Server where the ABAP stack resides ?
or do you need to install on a different hardware or Server ?
Can we intsall a secondary database for the Java instance on the same Database Server ?
Thanks
Hello Mohammed,
Please find answers below...
Question 1:
Can you install the Java Instance on the same Server where the ABAP stack resides ?
or do you need to install on a different hardware or Server ?
Answer 1:
You can install on same server or on different server its all up to your choice.
Question 2:
Can we install a secondary database for the Java instance on the same Database Server ?
Answer 2:
Technically yes but what is the benefits of doing it? I recommend you that use the same database instance and create new database for java system.
Please let me know if you have any other question.
Regards,
Yogesh
Just a question - why don't you don't use the "Move Java database" option?
I have use SAP guide and this is the way they want us to do it.
Hi Yogesh
while doing JAVA Split am using KEEP DB option -now at Install PAS phase
asking for
Installation Export
Language
JAVA Components
SAP NetWeaver 7.4 SPS12 Java for
SAP Solution Manager 7.2
Number 51050949
Hello,
What your Maintenance Planner showing as part of upgrade?
What you said looks like right DVD
Try below Thanks
Yogesh
Hi Yogesh
Thank you let me try and let you know if it works
Hi Yogesh
Where did you use your JAVA export ?
Thanks
Suda
When you import java you need export and Java media
-Yogesh
Hi Yogesh,
We have selected Enable reuse of SCS while export. During SCS installation again selected reuse of SCS instance and continued with SCS installation. But as that same SCS instance processes are running on the same host from it’s dual stack system, it took different instance number for SCS installation.
Also when I checked the /sapmnt/<SID>/profile/<SID>_SCS##_host it has entry like
# Reuse <SID>_SCS**_hostname
#———————————————————————–
ms/server_port_0 = PROT=HTTP,PORT=81##
Please let me know how it normally works. And what this entry in SCS instance profile means.
** is old SCS instance number
THanks,
Urvi
Can you please talk to your SAP BASIS Admin. They can explain you in detail.
-Yogesh
Hi Yogesh,
I am basis only, so not asking for theoretical part. Let me re-frame my question here.
We want to have keep database, and reuse SCS instance number. So far we performed export java step and we checked the check box for reuse SCS as per your blog.
Now 2nd step is install scs instance, if got completed successfully. However when checked it has created SCS with 00 whereas we want it to reuse 05 (we had checked SCS reuse option already). But as SCS05 is still part of dual stack running on same host it has not reused it. Conceptually that is fine. So now whether my SCS will not be able to use 05 anytime even if I had given input reuse option for it. My requirement is to reuse SCS.
Thanks,
Urvi
When you split how it can be a part of dual stack?
When you reuse it will be part of java/abap single stack.
-Yogesh
Hi Yogesh
We have below scenario:
Primary Application server and AAS on Linux
oracle DB, ASCS, SCS, ERS are on AIX HA scenario: Could you please let me know which option we are going to proceed, I have raised the OSS message to SAP, but different people had given different suggestions.
1st One: Move DB option
2nd one: First migrate Central services ASCS, SCS to LINUX and Proceed to DSS. (Even I have read the DSS guide which was mentioned DSS not supporting HETROGENIOS system configuration.
Could you please suggest your opinion, If 2nd option is correct how to proceed ( Are we need to Install new ASCS & SCS on LINUX and make the OUR environment homogeneous ?) After splitting, are we need to again install ASCS SCS, ERS on AIX? because we are using HACAMP HA solution.
Your advanced suggestion is most appreciated.
Thanks
Sudhakar
You already have answered make homogeneous system copy...
-Yogesh
Hi Yogesh
Thanks for your kick replay, I have a small doubt, Is Solman 7.2 supporting the heterogeneous system configuration? for making use of Our HA configuration cluster HACAMP (our both DB nodes on AIX).
Thanks
sudhakar
I think this is possible.
-Yogesh
Hi Yogesh,
I guess you might help me in my issue.
We have dual stack solution manager Distributed environment with PAS is running on Linux x86_64 and DB is running on AIX and SCS&ASCS is running on a different Linux server.
basically DB is on AIX and PAS/ CI is on individual Linux servers respectively.
Now we have upgraded the Solman to 7.2 and currently we are doing the Java split we did the step-1 and took the export of upgraded PAS(running on Linux) of dual stack and it created the below export structure
drwxrwxr-x 2 md1adm sapsys 4096 Jul 21 21:30 SEC
drwxrwxr-x 2 md1adm sapsys 4096 Jul 21 21:30 TOOLS
-rw-rw-r-- 1 md1adm sapsys 8 Jul 21 21:30 LABELIDX.ASC
-rw-rw-r-- 1 md1adm sapsys 19 Jul 21 21:30 LABEL.ASC
drwxrwxr-x 2 md1adm sapsys 4096 Jul 21 21:30 LUP
drwxrwxr-x 3 md1adm sapinst 4096 Jul 21 21:31 EXE
-rw-r--r-- 1 root sapinst 109 Jul 21 21:31 PORTS.PROPERTIES
-rw-rw-r-- 1 md1adm sapsys 447 Jul 21 21:31 SOURCE.PROPERTIES
-rw-r--r-- 1 root sapinst 741 Jul 21 21:31 PORTCONFIGS.PROPERTIES
drwxrwxrwx 6 md1adm sapsys 4096 Jul 25 09:44 solmanexport_15
now using this migration export we are running Step-3" Adapt database for Java target System " and it ends in error and error shows as below
ERROR 2017-07-25 13:37:24.091 (root/sapinst) (startInstallation) id=nw.syscopy.storagecopy.secstore.GetDBUserJavaFailed errno=CJS-30249 com.sap.sdt.ins.component.dss_adapt_secure_store.GetSourceDBUser
<p style="margin-top: 0"> Cannot retrieve Java database user, see output of log file '/usr/sap/sapinst_instdir/DSS/KeepDB/ORA/AdaptDB/getDBUserSource.log'. </p>
Exception in thread "loadNeededClasses" java.lang.Exception: Retrieving DB source information failed, java returned 1
at com.sap.sdt.ins.component.dss_adapt_secure_store.GetSourceDBUser.getSourceDBConnectInformationFromSecureStore(GetSourceDBUser.java:68)
at com.sap.sdt.ins.component.dss_adapt_secure_store.GetSourceDBUser.execute(GetSourceDBUser.java:42)
ERROR 2017-07-25 13:37:24.095 (root/sapinst) (startInstallation) [/bas/749_REL/bc_749_REL/src/ins/SAPINST/impl/src/sapinst/CJvmLibClassLoader.cpp:329] id=controller.java.exceptionDuringFunctionExecution errno=FCO-00141 CJvmLibClassLoader::executeStepClass()
The JVM reports an exception during execution of class ( com.sap.sdt.ins.component.dss_adapt_secure_store.GetSourceDBUser ) and function executeStepClass. DETAILS: The reported error message from JVM is: java.lang.Exception: Retrieving DB source information failed, java returned 1
at com.sap.sdt.ins.component.dss_adapt_secure_store.GetSourceDBUser.getSourceDBConnectInformationFromSecureStore(GetSourceDBUser.java:68)
at com.sap.sdt.ins.component.dss_adapt_secure_store.GetSourceDBUser.execute(GetSourceDBUser.java:42)
.
ERROR 2017-07-25 13:37:24.652 (root/sapinst) (startInstallation) [/bas/749_REL/bc_749_REL/src/ins/SAPINST/impl/src/sapinst/CSiStepExecute.cpp:1117] id=controller.stepExecuted errno=FCO-00011
The step GetSourceDBUser with step key |dss_adapt_db|ind|ind|ind|ind|0|0|dss_adapt_secure_store|ind|ind|ind|ind|secstore|0|GetSourceDBUser was executed with status ERROR ( Last error reported by the step: <p style="margin-top: 0"> Cannot retrieve Java database user, see output of log file '/usr/sap/sapinst_instdir/DSS/KeepDB/ORA/AdaptDB/getDBUserSource.log'. </p>).
now if i refer the file error log /usr/sap/sapinst_instdir/DSS/KeepDB/ORA/AdaptDB/getDBUserSource.log it says as below
sh: /usr/sap/sapinst_instdir/DSS/KeepDB/ORA/AdaptDB/sapjvm/sapjvm_6/bin/java: cannot execute
Here is the main issue --> when i proceed further, SWPM is extracting the sapjvm6 folder from the PAS export from step-1 which i gave as input initially in ADAPT DB procedure and this export i took in Linux server and it got created using the SAP Kernel of Linux server as per below.
below is the sapinst.log from Linux PAS while taking export for step-1
Output of /usr/sap/MD1/sapinst_exe.57595.1500654313/SAPCAR -c -v -i -C /usr/sap/MD1/SYS/exe/jvm/linuxx86_64/sapjvm_6.1.102 -p 0755 -f /usr/sap/MD1/SOLMAN_EXPORT_720/EXE
/DBINDEP/SAPJVM6.SAR .:
a sapjvm_6
a sapjvm_6/include
a sapjvm_6/include/classfile_constants.h
a sapjvm_6/include/jvmti.h
a sapjvm_6/include/jdwpTransport.h
a sapjvm_6/include/linux
a sapjvm_6/include/linux/jni_md.h
a sapjvm_6/include/linux/jawt_m
Note :- SWPM in step-3 on AIX is extracting the sapjvm from PAS export and running the current step where we are getting this error.
I believe this is the reason why java can't be executed because this java utility was built while taking export in Linux using SAP Linux kernel and giving this as input to Adapt DB on AIX which is incompatible and hence it doesn't execute.
Replace old DB id with New DB ID in Database
Note: Whenyou re-open tool you will able to connect database without any error
Thanks for the response !!
but currently i am not in removal of JAVA step.
I am running Step-3 "ADAPT DB for JAVA", the solution you suggested could be useful at later stage.
any suggestion in current scenario ?
downloaded sapjvm6.SAR for AIX and replaced the Linux export under ./EXE/DBINP/sapjvm6.SAR with the downloaded one for AIX and re-triggered the ADAPT DB and it worked fine.
Regards,
Supragya
Hi Yogesh,
I have upgraded Solman 7.1 sps12 to solman 7.2 sps5 and currently performing dual stack split. I am currently at the step install instance bas scs00 during scs instance phase where the install is ending with an error
.
We are trying to install the SCS instance on the same server where we have original system.
Appreciate your help.
Thanks
Hari
Hi Yogesh,
If, as a Solution Manager and BASIS consultant, I had access only to ABAP stack (after the dual stack split), will I be able to perform configuration of all Solution Manager 7.2 functionalities? Would it cause any kind of restriction on my being able to monitor Solution Manager itself or perform any maintenance activities like CIM/CR upgrades?
Regards,
Dipyaman
Hello Former Member
You need to have access on both side ABAP+JAVA
-Yogesh
Hi Yogesh,
we have SAP Solution Manager 7.2 system upgraded and now try to split Dual Stack System.
But we get the following error and can't find a solution:
ERROR 2017-11-27 14:57:40.928 (root/sapinst) (startInstallation) [/bas/749_REL/bc_749_REL/src/ins/SAPINST/impl/src/sapinst/CJvmLibClassLoader.cpp:329] id=controller.java.exceptionDuringFunctionExecution errno=FCO-00141 CJvmLibClassLoader::executeStepClass()
The JVM reports an exception during execution of class ( com.sap.sdt.ins.component.dss_create_kernel_export_for_osdb_migration_dialogs.AskForOSDBMigration ) and function executeStepClass. DETAILS: The reported error message from JVM is: java.lang.IllegalArgumentException: Unknown database type ''.
at com.sap.sdt.inst.services.util.DbType.getDBType(DbType.java:45)
at com.sap.sdt.ins.component.dss_create_kernel_export_for_osdb_migration_dialogs.AskForOSDBMigration.init(AskForOSDBMigration.java:62)
at com.sap.sdt.ins.component.dss_create_kernel_export_for_osdb_migration_dialogs.AskForOSDBMigration.execute(AskForOSDBMigration.java:43)
ERROR 2017-11-27 14:57:40.979 (root/sapinst) (startInstallation) [/bas/749_REL/bc_749_REL/src/ins/SAPINST/impl/src/sapinst/CSiStepExecute.cpp:1108] id=controller.stepExecuted errno=FCO-00011 CSiStepExecute::execute()
The step AskForOSDBMigration with step key |dss_move_db_export_java|ind|ind|ind|ind|0|0|dss_create_kernel_export_for_osdb_migration_dialogs|ind|ind|ind|ind|osdbmigration|0|AskForOSDBMigration was executed with status ERROR (Last error reported by the step: The JVM reports an exception during execution of class ( com.sap.sdt.ins.component.dss_create_kernel_export_for_osdb_migration_dialogs.AskForOSDBMigration ) and function executeStepClass. DETAILS: The reported error message from JVM is: java.lang.IllegalArgumentException: Unknown database type ''.
at com.sap.sdt.inst.services.util.DbType.getDBType(DbType.java:45)
at com.sap.sdt.ins.component.dss_create_kernel_export_for_osdb_migration_dialogs.AskForOSDBMigration.init(AskForOSDBMigration.java:62)
at com.sap.sdt.ins.component.dss_create_kernel_export_for_osdb_migration_dialogs.AskForOSDBMigration.execute(AskForOSDBMigration.java:43)
DEFAULT.PFL:j2ee/dbtype = ora
DEFAULT.PFL:system/type = DS
DEFAULT.PFL:#dbms/type = ora
DEFAULT.PFL:dbms/type = hdb
Do you have an idea how we can solve this?
Thank you very much in advance for your support.
Carola
Hello Former Member,
Are you migrating your DB?
-Yogesh
Hello Experts
I have successfully done the dual stack split and Solution manager is running perfectly fine with both ABAP and Java running on same server. Scs got removed from the original dual stack solman and added to Java node.
But now the problem is there is no SCS running under Abap node and When i run the SUM tool for applying new support packs it says no :
Severe error(s) occurred in phase PREP_PRE_CHECK/INSTANCELIST_INIT!
Last error code set:
SYSTEM MANAGER: instance list does not contain SUM central instance.
Whereas everything is there but SUM tool is not happy anymore.
Below is the instance list running on the same server but because its different instance number now for ABAP and JAVA.
sapcontrol -nr 00 -function GetSystemInstanceList
28.11.2017 13:10:06
GetSystemInstanceList
OK
hostname, instanceNr, httpPort, httpsPort, startPriority, features, dispstatus
****SMDCI, 0, 50013, 50014, 1, GATEWAY|MESSAGESERVER|ENQUE, GREEN
****SMDCI, 1, 50113, 50114, 3, J2EE|ICMAN|IGS, GREEN
sapcontrol -nr 07 -function GetSystemInstanceList
28.11.2017 13:10:41
GetSystemInstanceList
OK
hostname, instanceNr, httpPort, httpsPort, startPriority, features, dispstatus
****SMDCI, 7, 50713, 50714, 2, ABAP|GATEWAY|MESSAGESERVER|ENQUE|ICMAN|IGS, GREEN
Hello Yogesh,
sorry, yes, we migrate vom oracle to hana.
With kind regards
Carola
The problem is solved. Problem with unix and gid of sapinst, so a very special case...
Hi Yogesh,
While removing JAVA PAS i am getting error of unable to connect DB.also i am getting error while launching config tool.
any suggestion as i am stuck at this phase?
can we also split the SAP ASE DB Split