SAP Linux Commands
Today I learned:
- Check for the Zombie process in Linux in SAP
(root): top -b1 -n1 | grep Z
- Check for the initial app/service in Linux:
(root) ls /etc/init.d/sapint
sudo su - cdnadm
cdpro
grep -i auto *
---
henogencdn:cdnadm 54> grep -i auto *
henogencdn:cdnadm 55> cdpro
henogencdn:cdnadm 56> grep -i auto *
CDN_DVEBMGS00_henogencdn:login/no_automatic_user_sapstar = 1
CDN_DVEBMGS00_henogencdn:#rdisp/gui_auto_logout = 3600
CDN_DVEBMGS00_henogencdn.BAK:login/no_automatic_user_sapstar = 1
CDN_DVEBMGS00_henogencdn.BAK:#rdisp/gui_auto_logout = 3600
START_DVEBMGS00_henogencdn:Autostart = 0 -> current OFF
- Check for the last reboot:
(root): last reboot -l
- Check for the services under sidadm:
su - cdnadm
ps -aef | grep cdnadm
- Check SAP service via SAPCONTROL command
sapcontrol -nr 00 -function GetProcessList
- Check SAP AutoStart via SAP Profile:
RZ10->SAP START PROFILE
Autostart = 1 -> ON
2) SAP Profiles
henogencdn:cdnadm 54> cdpro
henogencdn:cdnadm 55> pwd
/sapmnt/CDN/profile
henogencdn:cdnadm 56> ll
-rw-r--r-- 1 cdnadm sapsys 911 Aug 20 2021 CDN_ASCS01_henogencdn
-rw-r--r-- 1 cdnadm sapsys 6747 Mar 18 09:00 CDN_DVEBMGS00_henogencdn -> Instance Profile
-rw-rw-r-- 1 cdnadm sapsys 6747 Feb 26 18:41 CDN_DVEBMGS00_henogencdn.BAK
-rw-r--r-- 1 cdnadm sapsys 2530 Mar 18 09:00 DEFAULT.PFL -> Default Profile
-rw-r--r-- 1 cdnadm sapsys 817 Mar 18 08:33 dev_dpmon
drwxr-xr-x 2 cdnadm sapsys 142 Aug 20 2021 OLD
-rw-r--r-- 1 cdnadm sapsys 1702 Aug 20 2021 START_ASCS01_henogencdn
-rw-r--r-- 1 cdnadm sapsys 4426 Mar 18 09:00 START_DVEBMGS00_henogencdn -> Start Profile
-rw-r--r-- 1 cdnadm sapsys 10130 Mar 18 08:40 trans.log
henogencdn:cdnadm 57> cat START_DVEBMGS00_henogencdn
#.******************************************************************************************************************************
#.* *
#.* Start profile START_DVEBMGS00_HENOGENCDN *
#.* *
#.* Version = 000004 *
#.* Generated by user = TEAMWORK *
#.* Generated on = 18.03.2024 , 09:00:22 *
#.* *
#.******************************************************************************************************************************
#parameter created by: DDIC 29.01.2020 11:30:33
Autostart = 0
SAPSYSTEMNAME = CDN
SAPSYSTEM = 00
INSTANCE_NAME = DVEBMGS00
DIR_CT_RUN = $(DIR_EXE_ROOT)/run
DIR_EXECUTABLE = $(DIR_INSTANCE)/exe
DIR_PROFILE = $(DIR_INSTALL)$(DIR_SEP)profile
_PF = $(DIR_PROFILE)/CDN_DVEBMGS00_henogencdn
SETENV_00 = DIR_LIBRARY=$(DIR_LIBRARY)
SETENV_01 = LD_LIBRARY_PATH=$(DIR_LIBRARY):%(LD_LIBRARY_PATH)
SETENV_02 = SHLIB_PATH=$(DIR_LIBRARY):%(SHLIB_PATH)
SETENV_03 = LIBPATH=$(DIR_LIBRARY):%(LIBPATH)
SETENV_04 = PATH=$(DIR_EXECUTABLE):%(PATH)
SETENV_05 = DB2_CLI_DRIVER_INSTALL_PATH=$(DIR_EXECUTABLE)/db6_clidriver
#-----------------------------------------------------------------------
# Copy SAP Executables
#-----------------------------------------------------------------------
Execute_00 = immediate $(DIR_CT_RUN)/sapcpe$(FT_EXE) pf=$(_PF)
#-----------------------------------------------------------------------
# Copy IBM Db2 for Linux, UNIX, and Windows database client software
#-----------------------------------------------------------------------
_CPDB0 = copy_links list:$(DIR_GLOBAL)/db6/LINUXX86_64/clidriver.lst source:$(DIR_GLOBAL)/db6/LINUXX86_64
Execute_01 = immediate $(DIR_CT_RUN)/sapcpe$(FT_EXE) pf=$(_PF) $(_CPDB0)
_CPDB1 = list:$(DIR_GLOBAL)/db6/jdbc/jdbcdriver.lst source:$(DIR_GLOBAL)/db6/jdbc
Execute_02 = immediate $(DIR_CT_RUN)/sapcpe$(FT_EXE) pf=$(_PF) $(_CPDB1)
_CPARG0 = list:$(DIR_CT_RUN)/sapcrypto.lst
Execute_03 = immediate $(DIR_CT_RUN)/sapcpe$(FT_EXE) pf=$(_PF) $(_CPARG0)
#-----------------------------------------------------------------------
# Start SCSA administration
#-----------------------------------------------------------------------
Execute_04 = local $(DIR_EXECUTABLE)/sapmscsa pf=$(_PF) -n
#-----------------------------------------------------------------------
# Start application server
#-----------------------------------------------------------------------
_DW = dw.sap$(SAPSYSTEMNAME)_$(INSTANCE_NAME)
Execute_05 = local rm -f $(_DW)
Execute_06 = local ln -s -f $(DIR_EXECUTABLE)/disp+work$(FT_EXE) $(_DW)
Start_Program_00 = local $(_DW) pf=$(_PF)
#-----------------------------------------------------------------------
# Start internet graphics server
#-----------------------------------------------------------------------
_IG = ig.sap$(SAPSYSTEMNAME)_$(INSTANCE_NAME)
Execute_07 = local rm -f $(_IG)
Execute_08 = local ln -s -f $(DIR_EXECUTABLE)/igswd_mt $(_IG)
Start_Program_01 = local $(_IG) -mode=profile pf=$(_PF)
SETENV_06 = SECUDIR=$(DIR_INSTANCE)/sec
#-----------------------------------------------------------------------
# Start syslog collector daemon
#-----------------------------------------------------------------------
_CO = co.sap$(SAPSYSTEMNAME)_$(INSTANCE_NAME)
Execute_09 = local rm -f $(_CO)
Execute_10 = local ln -s -f $(DIR_EXECUTABLE)/rslgcoll $(_CO)
Start_Program_02 = local $(_CO) pf=$(_PF) -F
#-----------------------------------------------------------------------
# Start syslog send daemon
#-----------------------------------------------------------------------
_SE = se.sap$(SAPSYSTEMNAME)_$(INSTANCE_NAME)
Execute_11 = local rm -f $(_SE)
Execute_12 = local ln -s -f $(DIR_EXECUTABLE)/rslgsend $(_SE)
Start_Program_03 = local $(_SE) pf=$(_PF) -F
henogencdn:cdnadm 59> cat CDN_DVEBMGS00_henogencdn
#.******************************************************************************************************************************
#.* *
#.* Instance profile CDN_DVEBMGS00_HENOGENCDN *
#.* *
#.* Version = 000007 *
#.* Generated by user = TEAMWORK *
#.* Generated on = 18.03.2024 , 09:00:22 *
#.* *
#.******************************************************************************************************************************
#parameter created by: TEAMWORK 26.02.2024 18:39:33
login/min_password_digits = 1
#parameter created by: TEAMWORK 26.02.2024 18:39:15
login/min_password_specials = 1
#parameter created by: TEAMWORK 26.02.2024 18:38:37
login/min_password_lowercase = 1
#parameter created by: MEESALASR 26.08.2022 11:43:27
sapgui/user_scripting_per_user = TRUE
#parameter created by: TEAMWORK 28.01.2020 11:27:24
icm/server_port_2 = PROT=HTTPS,PORT=8443,TIMEOUT=3600,PROCTIMEOUT=3600
#parameter created by: TEAMWORK 28.01.2020 11:27:12
icm/server_port_1 = PROT=SMTP,PORT=25000,TIMEOUT=120,PROCTIMEOUT=120
SAPSYSTEMNAME = CDN
INSTANCE_NAME = DVEBMGS00
SAPSYSTEM = 00
abap/atrasizequota = 50000
abap/buffersize = 1200000
abap/heap_area_dia = 2000683008
abap/heap_area_nondia = 2000683008
abap/heap_area_total = 2000683008
abap/heaplimit = 41943040
abap/swap_reserve = 20971520
abap/use_paging = 0
auth/no_check_in_some_cases = Y
auth/auth_number_in_userbuffer = 9000
# system copy 06.11.2010
#dbs/db6/schema = sapcdn
dbs/db6/schema = sappdn
DIR_CT_RUN = $(DIR_EXE_ROOT)/run
DIR_EXECUTABLE = $(DIR_INSTANCE)/exe
DIR_TRANS = /usr/sap/trans
DIR_ROLL = /usr/sap/CDN/DVEBMGS00/data
DIR_PAGING = /usr/sap/CDN/DVEBMGS00/data
#parameter created by: TEAMWORK 26.02.2024 18:38:19
login/min_password_uppercase = 1
DIR_DATA = /usr/sap/CDN/DVEBMGS00/data
DIR_REORG = /usr/sap/CDN/DVEBMGS00/data
DIR_TEMP = /tmp
DIR_SORTTMP = /usr/sap/CDN/DVEBMGS00/data
em/initial_size_MB = 6144
em/blocksize_KB = 2048
em/stat_log_size_MB = 20
em/stat_log_timeout = 600
#parameter created by: CMSADM 20.01.2012 09:34:09
#old_value: 90 changed: CAMPAGNANI.S 22.02.2021 10:17:40
login/password_expiration_time = 91
EM/TOTAL_SIZE_MB = 6144
enque/table_size = 65000
#old_value: DEF changed: CMSADM 30.08.2011 16:23:27
eu/iwb/installed_languages = DEFR
#parameter deactivated by: CMSADM 01.10.2010 10:07:07
#eu/iwb/path_win32 = /temp
#parameter deactivated by: CMSADM 01.10.2010 10:07:07
#eu/iwb/help_type = 5
exe/saposcol = $(DIR_CT_RUN)/saposcol
gw/max_conn = 2000
gw/max_overflow_size = 25000000
icm/server_port_0 = PROT=HTTP,PORT=80$$
#parameter deactivated by: CMSADM 30.08.2011 16:23:27
#install/codepage/appl_server = 1100
#parameter created by: CMSADM 20.01.2012 09:35:43
login/password_max_idle_initial = 14
install/umask = 002
ipc/shm_psize_01 = 0
ipc/shm_psize_02 = 0
ipc/shm_psize_03 = 0
ipc/shm_psize_10 = 616000000
ipc/shm_psize_16 = 0
ipc/shm_psize_31 = 0
ipc/shm_psize_40 = 366000000
ipc/shm_psize_52 = 0
login/disable_multi_gui_login = 1
login/fails_to_session_end = 003
login/fails_to_user_lock = 6
login/min_password_lng = 6
#old_value: FOURNIER.JL,VIGLIOCCO.P,REUBER.A,CMS-SUPPORT1,CMS-SUPPORT2,CMS-SUPPORT3,CMSADM changed: CMSADM 11.06.2012 09:47:43
login/multi_login_users = FOURNIER.JL,VIGLIOCCO.P,REUBER.A,CMS-SUPPORT1,CMS-SUPPORT2,CMS-SUPPORT3,CMSADM,XYLANDER
login/no_automatic_user_sapstar = 1
#login/password_expiration_time = 90
#old_value: 3 changed: CMSADM 20.01.2012 09:37:33
login/password_max_new_valid = 7
#old_value: 100,300 changed: CMSADM 09.08.2018 11:31:21
#rec/client = 100,300,500
rec/client = 500
rdisp/appc_ca_blk_no = 100
rdisp/elem_per_queue = 2000
#rdisp/gui_auto_logout = 3600
rdisp/max_arq = 2000
rdisp/max_comm_entries = 2000
rdisp/max_wprun_time = 4800
rdisp/ROLL_SHM = 25600
rdisp/ROLL_MAXFS = 64000
rdisp/PG_SHM = 32768
rdisp/PG_MAXFS = 131072
rdisp/tm_max_no = 02000
rdisp/wp_ca_blk_no = 300
rdisp/wp_no_restricted = 0
rdisp/configurable_wp_no = 0
rdisp/dynamic_wp_check = FALSE
rdisp/wp_no_dia = 20
#for system copy
#old_value: 0 changed: DDIC 11.01.2024 17:43:25
rdisp/wp_no_btc = 10
#rdisp/wp_no_btc = 10
rdisp/wp_no_vb = 3
rdisp/wp_no_vb2 = 1
rdisp/wp_no_enq = 1
rdisp/wp_no_spo = 2
#rdisp/wp_no_spo = 0
rsau/enable = 1
rsau/selection_slots = 10
rsau/user_selection = 1
rsdb/cua/buffersize = 40000
rsdb/max_blocking_factor = 5
rsdb/max_in_blocking_factor = 5
rsdb/ntab/entrycount = 101542
rsdb/ntab/ftabsize = 152399
rsdb/ntab/irbdsize = 30480
rsdb/ntab/sntabsize = 15240
rsdb/obj/max_objects = 150000
rsdb/obj/buffersize = 400000
rspo/global_shm/printer_list = 1000
rspo/spool_id/loopbreak = 99000
rspo/spool_id/max_number = 99000
rtbb/buffer_length = 65000
sapgui/user_scripting = TRUE
snc/enable = 0
#old_value: DEF changed: CMSADM 31.08.2011 21:01:14
zcsa/installed_languages = DEFR
zcsa/presentation_buffer_area = 20000000
# for russian language
#parameter created by: CMSADM 31.08.2011 21:00:55
zcsa/second_language = E
zcsa/system_language = D
zcsa/table_buffer_area = 360000768
#old_value: 8000 changed: CMSADM 07.07.2010 11:18:02
ztta/parameter_area = 32000
ztta/roll_area = 6500352
ztta/roll_extension = 2000683008
SAPLOCALHOST = henogencdn
https://community.sap.com/t5/technology-q-a/autostart-sap-on-linux/qaq-p/11324463
Comments
Post a Comment