cancel
Showing results for 
Search instead for 
Did you mean: 

How can I discover what instance is the Primary Application Server?

BrunoDuque
Product and Topic Expert
Product and Topic Expert
0 Kudos
281

Dear Community,

I'm creating a python application and I need to know on a ABAP system, what application server is the primary (also called Central Instance).

I'm able to retrieve all application servers by scanning /sapmnt/<SID>/profile but I also need which one is the PAS.

Thank you in advance for your suggestions.

Best regards,

Bruno

raquel_gomez
Advisor
Advisor

Hi Bruno,
By checking the profiles, you should be able to identify which is the Primary Application Server or ASCS (depending on system configuration).
Central instance will be called SID_DVEBMGS$$_hostname (where $$ stands for instance number).
In case of an ASCS, where ENQ and MS run outside, it will be called SID_ASCS$$_hostname.
The rest of the application servers are named as SID_D$$_hostname.
Regardsm
Raquel

Accepted Solutions (1)

Accepted Solutions (1)

alwina_enns
Advisor
Advisor

Hello Bruno,

starting with the release 7.5 there is no difference anymore between PAS and AAS, please see details in the KBA:

2360614 - Primary Application Server (PAS) Instance Directory renamed as of SAP Netweaver 7.50 

If you do not know in release 7.5, which instance was installed as PAS, you cannot get it from the SAP system anymore, there is no difference between instances.

In lower releases an instance called as a central instance, when the message server and enqueue service is running inside it. If the SAP system has an ASCS instance, then this system does not have a central instance. You can see, which instance was installed as PAS, on the directory structure as explained in the KBA above.

Regards, Alwina

BrunoDuque
Product and Topic Expert
Product and Topic Expert
0 Kudos
Thank you Alwina for your comments but when using SWPM for a system copy it requests to use the Primary Application Server.
BrunoDuque
Product and Topic Expert
Product and Topic Expert
0 Kudos
see example on this note: https://me.sap.com/notes/2633997/E also when installing a SAP system you need to install first the PAS before any additional application server.
alwina_enns
Advisor
Advisor
0 Kudos
A SAP system running with HANA database is a special case, SWPM must run on the server, where an application server is running, to start the export. For all other databases the export must be started on database host. The system copy guide tells only, it should be this server:
alwina_enns
Advisor
Advisor
0 Kudos
"

Answers (1)

Answers (1)

BrunoDuque
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Alwina and Raquel,

Thank you for your answers, much appreciated.

Best regards, Bruno