on 03-18-2015 10:48 AM
How I can tell an SAP system is ABAP or Java or Dual Stack through only command line remote access and by looking at processes running at OS level?
For example, I can see the following (when I install Linux trail version)
dw.sapNPL_DVEBMGS42 pf=/usr/sap/NPL/SYS/profile/NPL_DVEBMGS42_nplhost
|
The above are some of the examples of command line items I noticed on linux trail version.
I noticed that the default.pfl has system/type not mandatory in all servers so I cannot depend.
Assume that there is no physical person going through all this but a software needs to identify what type SAP system. Any recommendations are also appreciated
Thanks
Raju
Make use of the sapcontrol program to identify the instance type.
The GetSystemInstanceList option will list all the details you need.
If it is an ABAP stack you will see ABAP, if it is a Java stack you will see J2EE and for dual stack systems you will see ABAP|J2EE along with the other components.
Additionally the GetProcessList will list the status of all the processes (ABAP and Java).
sapcontrol -nr 00 -function GetSystemInstanceList
sapcontrol -nr 00 -function GetProcessList
Cheers
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Even easier
Go to /usr/sap/<SID>... If you see a DVEBMGS** directory is ABAP, if you see a J** directory Java, if there is a j2ee directory under the DVEBMGS** is abap + java.
Regards, Juan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check for :
Regards,
Garry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Garry,
I will check and update here.
Meanwhile, if any one else has any ideas on both Linux and Windows, that would be great.
The plan is to enable a software program or a script to identify the SAP services running and designate the server either Dual or ABAP AS or Java AS. The program does not know SAP system ID, or any information related to it at the initial run.
Regards,
Raju
Dear Raju,
Please check as
dw.sap(disp+work) + jstart = ABAP + JAVA
dw.sap(disp+work) = Only ABAP
jstart = Only JAVA
I hope it help you.
Best Regards.
AJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank Atul,
I will investigate further on above. In the linux trail version I had, I do not see jstart but the defaul.pfl has the following.
system/type = DS
and
#-----------------------------------------------------------------------
# SAP Central Service Instance for J2EE
#-----------------------------------------------------------------------
j2ee/scs/host = nplhost
j2ee/scs/system = 00
j2ee/ms/port = 3900
login/system_client = 001
As I cannot see jstart, should I say it is ABAP AS but why system/type parameter says 'DS'. I will check further as well. Meanwhile, please do let me know what else I can check?
Regards,
Raju
Hi Raju,
Please check default profile for parameter for differnt combination.
*********************************************************
This parameter also affects the default values for the available services in the Internet Communication Manager (ICM).
1. ABAP
a) icm/server_port_0 = PROT=HTTP,PORT=0,TIMEOUT=30,PROCTIMEOUT=60
b) cm/server_port_1 = PROT=SMTP,PORT=0,TIMEOUT=120,PROCTIMEOUT=120
2. J2EE
a) icm/server_port_0 = PROT=HTTP,PORT=5$(SAPSYSTEM)00,TIMEOUT=60, PROCTIMEOUT=600
b) icm/server_port_1 = PROT=P4,PORT=5$(SAPSYSTEM)04
c) icm/server_port_2 = PROT=IIOP, PORT=5$(SAPSYSTEM)07
d) icm/server_port_3 = TELNET,PORT=5$(SAPSYSTEM)08
3. DS
a) icm/server_port_0 = PROT=HTTP,PORT=5$(SAPSYSTEM)00,TIMEOUT=60,PROCTIMEOUT=600
b) icm/server_port_1 = PROT=P4,PORT=5$(SAPSYSTEM)04
c) icm/server_port_2 = PROT=IIOP, PORT=5$(SAPSYSTEM)07
d) icm/server_port_3 = TELNET,PORT=5$(SAPSYSTEM)08
e) icm/server_port_4 = PROT=SMTP,PORT=0,TIMEOUT=120,PROCTIMEOUT=120
BR
AKJ
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.