on 07-07-2014 3:39 PM
Hi Folks,
I have a doubt , i need to increase the trace only on the ASCS instance for the gateway and not on all the application servers, is there a way to do to.
SMGW increase trace option would only perform on the particular application server right.
rdisp/trace if we increase it will increase the trace for dispatcher as well right which i dont want to do it.
Another option is to change in ASCS profile will it require restart if we change it manually and not from SAP level.
Hi,
A/SCS instance never has a Gateway.
Gateway is part of an application server and trace needs to be activated on application servers.
Or may be I could not interpret your question. Please clear what is exactly needed.
Thanks
Imtiaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
According to the link.
http://help.sap.com/saphelp_nw70ehp3/helpdata/en/31/42f34a7cab4cb586177f85a0cf6780/frameset.htm
it says that ASCS doesnt has a gateway but we have it.
ENQHISOVR dev_enqlisten dev_enrepsrv.old gw_log-2011-07-26 gw_log-2012-11-04 gw_log-2014-06-01 sapstartsrv.log
ENQLOG99 dev_enqlisten.old dev_ms gw_log-2011-07-27 gw_log-2012-11-18 logsave.bin sapstartsrv.old
INSTSTAT dev_enqrepl dev_ms.old gw_log-2011-08-20 gw_log-2013-04-07 ms.sapP11_ASCS75 se.sapP11_ASCS75
available.log dev_enqrepl.old dev_rd gw_log-2011-09-16 gw_log-2013-05-05 sapcontrol_logon stderr0
co.sapP11_ASCS75 dev_enqsig dev_rd.old gw_log-2011-10-09 gw_log-2013-08-18 sapcpe_base.log stderr1
dev_enqadm dev_enqsig.old dev_sapstart gw_log-2011-11-06 gw_log-2013-09-08 sapcpe_sapcrypto.log stderr2
dev_enqadm.old dev_enqsrv en.sapP11_ASCS75 gw_log-2011-11-20 gw_log-2013-10-20 sapcpe_scs.log stderr3
dev_enqio_0 dev_enqsrv.old enquelog gw_log-2012-02-12 gw_log-2013-11-03 sapcpe_scs.old.log stdout0
dev_enqio_0.old dev_enqwork er.sapP11_ASCS75 gw_log-2012-02-19 gw_log-2013-11-17 sapstart.log stdout1
dev_enqio_1 dev_enqwork.old gw.sapP11_ASCS75 gw_log-2012-05-06 gw_log-2014-02-16 sapstart0.trc stdout2
dev_enqio_1.old dev_enrepsig gw_log-2011-06-04 gw_log-2012-06-03 gw_log-2014-03-09 sapstart1.trc stdout3
dev_enqio_2 dev_enrepsig.old gw_log-2011-06-25 gw_log-2012-07-29 gw_log-2014-04-06 sapstart2.trc work2.tar
dev_enqio_2.old dev_enrepsrv gw_log-2011-07-23 gw_log-2012-09-30 gw_log-2014-04-10 sapstart3.trc
you can clearly see that we have a dev_rd and an active gateway process running.
Hi alwina,
thanks a ton for the quick response.
does it write as to which profile is being useed.
---------------------------------------------------
trc file: "dev_rd", trc level: 1, release: "721"
---------------------------------------------------
Sun Jun 1 02:57:58 2014
***LOG S00=> GwInitReader, gateway started ( 38142038) [gwxxrd.c 1758]
systemid 324 (IBM RS/6000 with AIX)
relno 7210
patchlevel 0
patchno 45
intno 20020600
make single threaded, Unicode, 64 bit, optimized
pid 38142038
gateway runs with dp version 137000(ext=119000) (@(#) DPLIB-INT-VERSION-137000-UC)
gateway (version=721.2012.12.03)
gw/reg_no_conn_info = 1
gw/local_addr : 0.0.0.0
gw/sim_mode : set to 0
***LOG S1I=> GwSetSimMode, Simulation Mode deactivated () [gwxxprf.c 3944]
* SWITCH TRC-RESOLUTION from 1 TO 1
switch off alert monitoring
Bind service sapgw15 (socket) to port 3315
Bind service sapgw15s (socket/snc) to port 4815
GwIRegInitRegInfo: reg_info file /usr/sap/P11/ASCS75/data/reginfo not found
GwPrintMyHostAddr: my host addresses are :
1 : [<ipaddress>] <hostname> (HOSTNAME)
2 : [127.0.0.1] loopback (LOCALHOST)
3 : [<ipaddress>] <hostname> (NILIST)
4 : [<ipaddress>] <hostname> (NILIST)
5 : [<ipaddress>] <hostname> (NILIST)
Full qualified hostname = <hostname>
WLM Tag 'P11/GWY' successfully set for this process
GwDpInit: not attached to gw_adm
Sun Jun 1 04:54:45 2014
***LOG S23=> GwIDisconnectClient, client disconnected (085) [gwxxrd.c 10547]
***LOG S74=> GwIDisconnectClient, client disconnected ( peplap00) [gwxxrd.c 10558]
***LOG S0R=> GwIDisconnectClient, client disconnected () [gwxxrd.c 10575]
***LOG S0I=> GwIDisconnectClient, client disconnected ( Xse-idoc) [gwxxrd.c 10588]
Hello sap basis,
many thanks. No, I do not see, which profile the gateway use, but since according to the trace gateway is searching for reginfo file in /usr/sap/P11/ASCS75/data directory, the gateway is really configured to run in ASCS. Probably this is a setup as described in the note 1010990?
1010990 - Configuring a Standalone Gateway in an HA ASCS instance
You have only 2 possibilities to increase the trace level of the gateway - either by setting of parameter rdisp/TRACE=2 in the profile, which gateway is using. If your setup is as per note above, this should be the ASCS instance profile and this parameter will increase trace level also for all other processes of the ASCS instance and a restart is required. Or you can send "kill -USR2 <pid>" on OS level at runtime only to the gateway process.
Since you have mentioned you need to trace everything incoming in message server gateway trace will not be helpful here, because gateway does not communicate with the message server.
Regards,
Alwina
No Actually our architecture is like this , we have ASCS on cluster , database is on another cluster not on the same as ASCS and then we have application servers non clustered obviously.
Is there any requirement to start the external programs on ASCS if we dont have database on the same cluster?
then the gateway on ASCS instance has this purpose as described in note 1010990:
"RFC-Client programs (external programs and SM59 ABAP connections)
connecting to a high-availability ABAP system need to use load balancing
in order to connect to one of the non-clustered ABAP servers of an SAP
system."
Hello sap basis,
but an ASCS instance does not have a dispatcher and gateway...Is it a standalone gateway?
You can increase trace level by sending "kill -USR2 <PID>" on a unix server to the process, please have a look at the note "112 - - Trace and error information in the "dev_" files" for more information.
Regards,
Alwina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alwina,
As i have said earlier i have an ASCS instance i want to increase the trace for the same. ASCS does have a gateway or else message server cannot talk to external world. You can check the same by checking for the gateway process.
rdisp/trace would increase the trace for other stuff as well right.
Dispatcher i was referring to application server instance.
Hello sap basis,
message server does not need a gateway to talk to external world, it communicates with the dispatchers of instances. You can always increase a trace level of a SAP process on OS level as described in the note 112
https://service.sap.com/sap/support/notes/112
Regards,
Alwina
but gateway can never be a part of ASCS instance. Sometimes it is required to install a standalone gateway to start external programs like sapxpg on the server where database or ASCS instance are running. ASCS instance includes message server and enqueue, it does not have dispatcher with work processes and it does not have a gateway. Such standalone gateway has its own profile, where you can set parameters only for this gateway.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.