cancel
Showing results for 
Search instead for 
Did you mean: 

Finding SAP system type (ABAP, Java or Dual stack) remotely (by software not person)

Former Member
0 Kudos

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

/sapdb/NPL/db/pgm/vserver -sdbstarter 501 501 A -S 7200 -Y

/usr/sap/hostctrl/exe/sapstartsrv pf=/usr/sap/hostctrl/exe/host_profile -D
sapstart pf=/usr/sap/NPL/SYS/profile/START_SCS00_nplhost
icman -attach pf=/usr/sap/NPL/SYS/profile/NPL_DVEBMGS42_nplhost
/usr/sap/NPL/DVEBMGS42/exe/igsmux_mt -mode=profile -restartcount=0 -wdpid=28707 pf=/usr/sap/NPL/SYS/profile/NPL_DVEBMGS42_nplhost
/usr/sap/hostctrl/exe/saposcol -l -w60 pf=/usr/sap/hostctrl/exe/host_profile

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

Accepted Solutions (1)

Accepted Solutions (1)

Reagan
Advisor
Advisor
0 Kudos

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

Former Member
0 Kudos

Thanks Reagan,

Seems to work. Checking on different systems. will update and award points soon

Regards,

Raju

Answers (3)

Answers (3)

JPReyes
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

Check for :

  1. Central Services Instance (JAVA)
  2. Central Instance DVEBMGS (ABAP)
  3. Port number (different for JAVA and ABAP)
  4. Jstart/JCO/launch etc.

Regards,

Garry

Former Member
0 Kudos

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

AtulKumarJain
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

AtulKumarJain
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Ramalinga,

If this parameter is DS, that means your system is double stack:

system/type = DS

If your J2EE engine is not running, maybe it has already been deactivated by that parameter:

rdisp/j2ee_start

Regards,

Serhat

Former Member
0 Kudos

Thanks Serhat,

I started with that profile parameter check and noticed that it(system/type) is not always maintained and is not required parameter.

In trail Linux (SDN ones) has this but when I cross checked with some other IDES and actual servers, it is not always maintained.

Regards,

Raju