cancel
Showing results for 
Search instead for 
Did you mean: 

After installing SAP S/4 HANA

0 Kudos

Hello all.

I am a beginner.

The installation of SAP S / 4 HANA was carried out while referring to blogs.

However, the current situation is that we do not know how to operate it after that. I'm a beginner, so I don't know where to look. Even if I look it up, I don't know what to look for.The final content I want to implement is to run ABAP within the company.

Perhaps the following things will be needed along the way.

- How to start SAP S / 4 HANA

- How to stop SAP S / 4 HANA

- How to access SAP S / 4 HANA

- Sites to refer to

I would appreciate any advice.

Accepted Solutions (0)

Answers (6)

Answers (6)

Boris_Rubarth
Product and Topic Expert
Product and Topic Expert

Hi Youji,

"I want ... to run ABAP within the company"

seriously, you should reach out for professional education:

Software Training, Certification and User Adoption | SAP

Regards, Boris

alichtenau
Advisor
Advisor

Hi Youji,

is this the first SAP system in your company? What exactly have you installed (which version on which hana and which OS?) What is your background?

The questions you are asking are pretty basic. So just for my information to help you in a better way.


Cheers,
Andreas

0 Kudos

Dear Andreas Lichtenau

>is this the first SAP system in your company?

Yes. That's right. We are the first to introduce SAP S / 4 HANA.

The reference sites are as follows.

https://blogs.sap.com/2019/02/20/sap-s4hana-1809-installation-part-1/

https://blogs.sap.com/2019/02/22/sap-s4hana-1809-installation-part-2/

>What exactly have you installed (which version on which hana and which OS?)

Target Version:SAP S/4 HANA 1809

Target Stack: 02(05/2019)FP

OS:SLE-15-SP2-Full-x86_64-QU1-Media1

>What is your background?

My background has been a java development engineer for about 15 years.

Thank you

alichtenau
Advisor
Advisor

Hi youji-hanada,
to be honest... this is hard to figure out just here in the community. From what I read until now I would propose the following:

  1. Uninstall and refresh everything
  2. Carefully read the official installation guide from Software Logistics Toolset (sap.com). It can be found at "System Provisioning" and then "Install a System using Software Provisioning Manager". Also there is information how to access SAP ("Install a Frontend using SAPSetup").
  3. Start the installation.

But for me it sounds that there is no knowledge available. So please:

  1. Consider the answer of boris.rubarth. Take a SAPTEC training to get the basics.
  2. The Basis Administrators of the system should have at SAPTEC, ADM100, ADM325
  3. The Database Administrators: SAPTEC, HA100, HA200
  4. The ABAP guys: SAPTEC, BC400, BC401, BC430.


This for the beginning.


Best regards,
Andreas

0 Kudos

Self-solving

Probably the instance is started with the following command.

cd /usr/sap/hostctrl/exe
sapcontrol -prot NI_HTTP -nr 01 -function Start


vhcals4hci:s4hadm 63> sapcontrol -nr 01 -function GetProcessList


01.07.2021 00:00:04
GetProcessList
OK
name, description, dispstatus, textstatus, starttime, elapsedtime, pid
disp+work, Dispatcher, GREEN, Running, 2021 06 29 23:31:44, 24:28:20, 42238
igswd_mt, IGS Watchdog, GREEN, Running, 2021 06 29 23:31:44, 24:28:20, 42239
gwrd, Gateway, GREEN, Running, 2021 06 29 23:31:46, 24:28:18, 42244
icman, ICM, GREEN, Running, 2021 06 29 23:31:46, 24:28:18, 42245
vhcals4hci:s4hadm 64>

Thank you everyone.

alichtenau
Advisor
Advisor
0 Kudos

Hi Youji,

please check the profiles. An example is given in SAP Note 2142432 for HANA DB.

Anyway, please answer my initial questions so that we can help you.
It is not just starting and stopping a SAP system.

Best regards,
Andreas

0 Kudos

Dear Andreas Lichtenau

>please check the profiles. An example is given in SAP Note 2142432 for HANA DB

saw. Perhaps HANA DB is up.

vhcals4hci:/usr/sap/HDB/SYS/profile # cat HDB_HDB00_vhcals4hci
SAP_RETRIEVAL_PATH = $(DIR_INSTANCE)/$(SAPLOCALHOST)
DIR_HOME = $(SAP_RETRIEVAL_PATH)/trace
DIR_PERF = $(SAP_RETRIEVAL_PATH)/trace
DIR_LOGGING = $(SAP_RETRIEVAL_PATH)/log
SECUDIR = $(SAP_RETRIEVAL_PATH)/sec
Autostart = 0
SETENV_00 = PATH=$(DIR_INSTANCE)/exe:%(PATH)
SETENV_01 = SAP_RETRIEVAL_PATH=$(SAP_RETRIEVAL_PATH)
SETENV_02 = PYTHONPATH=$(SAP_RETRIEVAL_PATH):$(DIR_EXECUTABLE):$(DIR_INSTALL)/global/hdb/custom/python_support:$(DIR_EXECUTABLE)/python_support
SAPSYSTEMNAME = HDB
SAPLOCALHOST = vhcals4hci
SAPSYSTEM = 00
INSTANCE_NAME = HDB00
DIR_CT_RUN = $(DIR_EXE_ROOT)/linuxx86_64/hdb
DIR_EXECUTABLE = $(DIR_INSTANCE)/exe
DIR_PROFILE = $(DIR_INSTALL)/profile
ccms/enable_agent = 0
service/status_procs = hdbdaemon
service/protectedwebmethods = SDEFAULT
service/init_system_pki = ON
_PF = $(DIR_PROFILE)/HDB_HDB00_vhcals4hci
SETENV_03 = DIR_LIBRARY=$(DIR_LIBRARY)
SETENV_04 = LD_LIBRARY_PATH=$(DIR_LIBRARY):%(LD_LIBRARY_PATH)
SETENV_05 = SHLIB_PATH=$(DIR_LIBRARY):%(SHLIB_PATH)
SETENV_06 = LIBPATH=$(DIR_LIBRARY):%(LIBPATH)
#-----------------------------------------------------------------------
# Run hdbupdconf
#-----------------------------------------------------------------------
HDBUPDCONF = $(DIR_INSTALL)/global/hdb/install/bin/hdbupdconf$(FT_EXE)
Execute_00 = immediate $(HDBUPDCONF)
#-----------------------------------------------------------------------
# Copy SAP Executables
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
# Update HDB Configuration
#-----------------------------------------------------------------------
_PY = $(DIR_HOME)/py.sap$(SAPSYSTEMNAME)_$(INSTANCE_NAME)
Execute_01 = immediate rm -f $(_PY)
Execute_02 = immediate ln -s -f $(DIR_EXECUTABLE)/Python/bin/python$(FT_EXE) $(_PY)
#-----------------------------------------------------------------------
# Start SAP HDB
#-----------------------------------------------------------------------
_HDB = $(DIR_HOME)/hdb.sap$(SAPSYSTEMNAME)_$(INSTANCE_NAME)
Execute_03 = local rm -f $(_HDB)
Execute_04 = local ln -s -f $(DIR_EXECUTABLE)/hdbdaemon$(FT_EXE) $(_HDB)
Start_Program_02 = local $(_HDB) -d -nw -f $(SAP_RETRIEVAL_PATH)/daemon.ini pf=$(_PF)
vhcals4hci:/usr/sap/HDB/SYS/profile #

>What is your background?

I was mistaken. Excuse me.

What I want to do is build an ABAP environment in-house.

Then run ABAP.

Thank you

0 Kudos

Dear Andreas Lichtenau

After surrendering, there are no more screenshots, so again

hdbadm@vhcals4hci:/usr/sap/HDB/HDB00> HDB info
USER          PID     PPID  %CPU        VSZ        RSS COMMAND
hdbadm      68020    68019   0.1      17216       7460 -sh
hdbadm      68135    68020   0.0      13476       3920  \_ /bin/sh /usr/sap/HDB/HDB00/HDB info
hdbadm      68166    68135   0.0      34108       3528      \_ ps fx -U hdbadm -o user:8,pid:8,ppid:8,pcpu:5,vsz:10,rss:10,args
hdbadm      10887    10886   0.0      17216       2500 -sh
hdbadm      11049        1   0.0      22508        876 sapstart pf=/usr/sap/HDB/SYS/profile/HDB_HDB00_vhcals4hci
hdbadm      11057    11049   0.0     265764      13320  \_ /usr/sap/HDB/HDB00/vhcals4hci/trace/hdb.sapHDB_HDB00 -d -nw -f /usr/sap/HDB/HDB00/vhcals4hci/daemon.ini pf=/usr/s
hdbadm      11075    11057  28.3    9716160    5809024      \_ hdbnameserver
hdbadm      11443    11057   2.1    1997876      62168      \_ hdbcompileserver
hdbadm      11445    11057   2.2    1940464      47376      \_ hdbpreprocessor
hdbadm      11550    11057   3.9    2857792     396300      \_ hdbdocstore -port 30049
hdbadm      11552    11057   3.8    2685688     345708      \_ hdbdpserver -port 30046
hdbadm      11554    11057  60.6   45094972   41739384      \_ hdbindexserver -port 30003
hdbadm      11556    11057   3.7    2775580     336276      \_ hdbxsengine -port 30043
hdbadm      13256    11057   2.2    1752524     176480      \_ hdbdiserver
hdbadm      13258    11057   2.2    1753532     176632      \_ hdbdiserver -port 30040
hdbadm      13261    11057   2.2    1981360     219028      \_ hdbwebdispatcher
hdbadm      13263    11057   0.9     754244     263656      \_ /hana/shared/HDB/xs/bin/../sapjvm_8/bin/java -Xmx128m -Xms64m -XX:ThreadStackSize=256 -XX:ReservedCodeCacheSi
hdbadm      16654    13263   0.1    1585012     425708      |   \_ /hana/shared/HDB/xs/router/webdispatcher/sapwebdisp pf=/hana/shared/HDB/xs/controller_data/controller/rou
hdbadm      13265    11057   4.7     784588     250904      \_ /hana/shared/HDB/xs/bin/../sapjvm_8/bin/java -Xmx128m -Xms64m -XX:ThreadStackSize=256 -XX:ReservedCodeCacheSi
hdbadm      13269    11057   0.8    1838300     669560      \_ /hana/shared/HDB/xs/bin/../sapjvm_8/bin/java -Djava.util.logging.config.file=/hana/shared/HDB/xs/bin/../uaase
hdbadm       2489        1   0.0     495152       2380 /usr/sap/HDB/HDB00/exe/sapstartsrv pf=/usr/sap/HDB/SYS/profile/HDB_HDB00_vhcals4hci -D -u hdbadm
hdbadm       2328        1   0.0      72080       1236 /usr/lib/systemd/systemd --user
hdbadm       2331     2328   0.0     119280        316  \_ (sd-pam)
hdbadm@vhcals4hci:/usr/sap/HDB/HDB00>



kaus19d
Active Contributor
0 Kudos

Hi youji-hanada,

S/4 is ABAP model, so on Linux OS layer login to SIDadm & for start the command is startsap, for stop command is stopsap... Of course you would have DB as Hana, so hana start command is HDB start, hana command for stop is HDB stop. For access to SAP system, you can install or ask the person who installed your S/4 system to install SAPgui on your Office Laptop & create a entry to login to your S/4 SAP system & when you are in your Office network, you can login your SAP application..

Hope this helps answer your question, also the bold letters in my above answer, you can try google them a little bit before doing so

Thanks,

Kaushik

0 Kudos

Dear Kaushik

"startsap" doesn't work.

I think PATH is probably okay.

SID:S4H

Environment variable & Execution result

vhcals4hci:s4hadm 53> printenv
SHELL=/bin/csh
PATH=/home/s4hadm/bin:/usr/local/bin:/bin:/usr/bin:/usr/sap/S4H/SYS/exe/uc/linuxx86_64:/usr/sap/S4H/SYS/exe/run:/home/s4hadm:/usr/sap/S4H/hdbclient
HOME=/home/s4hadm
USER=s4hadm
LOGNAME=s4hadm
TERM=xterm
HOSTTYPE=x86_64
VENDOR=unknown
OSTYPE=linux
MACHTYPE=x86_64-suse-linux
SHLVL=1
PWD=/home/s4hadm
GROUP=sapsys
HOST=vhcals4hci
CSHEDIT=emacs
MAIL=/var/spool/mail/s4hadm
CPU=x86_64
HOSTNAME=vhcals4hci
LESS=-M -I -R
LESSOPEN=lessopen.sh %s
LESSCLOSE=lessclose.sh %s %s
LESS_ADVANCED_PREPROCESSOR=no
LESSKEY=/etc/lesskey.bin
PAGER=less
MORE=-sl
MINICOM=-c on
MANPATH=/usr/local/man:/usr/share/man
XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
XNLSPATH=/usr/share/X11/nls
COLORTERM=1
XCURSOR_THEME=DMZ
QT_SYSTEM_DIR=/usr/share/desktop-data
LANG=ja_JP.UTF-8
FROM_HEADER=
WINDOWMANAGER=/usr/bin/gnome
SDL_AUDIODRIVER=pulse
AUDIODRIVER=pulseaudio
QEMU_AUDIO_DRV=pa
ALSA_CONFIG_PATH=/etc/alsa-pulse.conf
PYTHONSTARTUP=/etc/pythonstart
XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share/gnome
XDG_CONFIG_DIRS=/etc/xdg
G_BROKEN_FILENAMES=1
G_FILENAME_ENCODING=@locale,UTF-8,EUC-JP,EUC-JP,SHIFT_JIS,ISO-8859-1
MAN_KEEP_FORMATTING=yes
CSHRCREAD=true
LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.dl=01;35:*.fli=01;35:*.gif=01;35:*.gl=01;35:*.jpg=01;35:*.jpeg=01;35:*.mkv=01;35:*.mng=01;35:*.mov=01;35:*.mp4=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.svg=01;35:*.tga=01;35:*.tif=01;35:*.webm=01;35:*.webp=01;35:*.wmv=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.aiff=00;32:*.ape=00;32:*.au=00;32:*.flac=00;32:*.m4a=00;32:*.mid=00;32:*.mp3=00;32:*.mpc=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:*.wma=00;32:*.wv=00;32:
LS_OPTIONS=-N --color=tty -T 0
SAPSYSTEMNAME=S4H
DIR_LIBRARY=/usr/sap/S4H/SYS/exe/run
RSEC_SSFS_DATAPATH=/usr/sap/S4H/SYS/global/security/rsecssfs/data
RSEC_SSFS_KEYPATH=/usr/sap/S4H/SYS/global/security/rsecssfs/key
rsdb_ssfs_connect=0
LD_LIBRARY_PATH=/usr/sap/S4H/SYS/exe/run:/usr/sap/S4H/SYS/exe/uc/linuxx86_64:/usr/sap/S4H/hdbclient
dbms_type=HDB


vhcals4hci:s4hadm 63> pwd
/usr/sap/S4H/SYS/exe
vhcals4hci:s4hadm 64>
vhcals4hci:s4hadm 64> cd run
vhcals4hci:s4hadm 65>
vhcals4hci:s4hadm 65> ll *sap*
-rw-r--r-- 1 s4hadm sapsys      160  6月 29 18:52 dev_sapstart
-rwxr-xr-x 1 s4hadm sapsys   364215 10月 24  2020 getsapversion
-rwxr-xr-x 1 s4hadm sapsys  5485254 10月 24  2020 libsapcrypto.so
-rwxr-xr-x 1 s4hadm sapsys  1112055 10月 24  2020 libsapcsa.so
-rwxr-xr-x 1 s4hadm sapsys  9374834 10月 24  2020 libsapnwrfc.so
-rwxr-xr-x 1 s4hadm sapsys   168535 10月 24  2020 libsapu16.so
-rwxr-xr-x 1 s4hadm sapsys  1070965 10月 24  2020 libsapucum.so
-rwxr-xr-x 1 s4hadm sapsys  4247373 10月 24  2020 libsapvsi.so
-rwxr-xr-x 1 s4hadm sapsys  6754130 10月 24  2020 sapccm4x
-rwxr-xr-x 1 s4hadm sapsys  6818054 10月 24  2020 sapccmsr
-rwxr-xr-x 1 s4hadm sapsys  6031585 10月 24  2020 sapcontrol
-rwxr-xr-x 1 s4hadm sapsys  1488437 10月 24  2020 sapcpe
-rwxr-xr-x 1 s4hadm sapsys     1770 10月 24  2020 sapcpeft
-rwxr-xr-x 1 s4hadm sapsys    29241 10月 24  2020 sapcppn47.so
-rwxr-xr-x 1 s4hadm sapsys     3352 10月 24  2020 sapcpuinfo.jar
-rwxr-xr-x 1 s4hadm sapsys      102 10月 24  2020 sapcrypto.lst
-rwxr-xr-x 1 s4hadm sapsys      233 10月 24  2020 sapcrypto.mf
-rwxr-xr-x 1 s4hadm sapsys   269124 10月 24  2020 sapdbmrfc
-rwxr-xr-x 1 s4hadm sapsys  4378522 10月 24  2020 sapevt
-rwxr-xr-x 1 s4hadm sapsys   489742 10月 24  2020 sapevt_rfc
-rwxr-xr-x 1 s4hadm sapsys   377287 10月 24  2020 sapexec
-rwxr-xr-x 1 s4hadm sapsys  4151830 10月 24  2020 sapftp
-rwxr-xr-x 1 s4hadm sapsys    38320 10月 24  2020 sapgenpse
-rwxr-xr-x 1 s4hadm sapsys    49661 10月 24  2020 saphascriptco.so
-rwxr-xr-x 1 s4hadm sapsys  4958155 10月 24  2020 saphttp
-rwxr-xr-x 1 s4hadm sapsys  3049489 10月 24  2020 sapiconv
-rwxr-xr-x 1 s4hadm sapsys  1861232 10月 24  2020 sapkprotp
-rwxr-xr-x 1 s4hadm sapsys  3570639 10月 24  2020 saplicense
-rwxr-xr-x 1 s4hadm sapsys  9053442 10月 24  2020 saplikey
-rwxr-xr-x 1 s4hadm sapsys      284 10月 24  2020 sapmanifest.mf
-rwxr-xr-x 1 s4hadm sapsys      299 10月 24  2020 sapmanifestdb.mf
-rwxr-xr-x 1 s4hadm sapsys      284 10月 24  2020 sapmanifestj2ee.mf
-rwxr-xr-x 1 s4hadm sapsys  1270265 10月 24  2020 sapmscsa
-rwxr-xr-x 1 s4hadm sapsys  1154529 10月 24  2020 sapparar
-rwxr-xr-x 1 s4hadm sapsys  1509573 10月 24  2020 sappfpar
-rwxr-xr-x 1 s4hadm sapsys    13587 10月 24  2020 saproot.sh
-rwxr-xr-x 1 s4hadm sapsys  2264250 10月 24  2020 saprouter
-rwxr-xr-x 1 s4hadm sapsys    18901 10月 24  2020 sapstack
-rwxr-xr-x 1 s4hadm sapsys  1576970 10月 24  2020 sapstart
-rw-r--r-- 1 s4hadm sapsys       94  6月 29 18:52 sapstart.log
-rwxr-xr-x 1 s4hadm sapsys 22316250 10月 24  2020 sapstartsrv
-rwxr-xr-x 1 s4hadm sapsys    92367 10月 24  2020 sapsysinfo.sh
-rwxr-xr-x 1 s4hadm sapsys  1281570 10月 24  2020 sapuxuserchk
-rwxr-xr-x 1 s4hadm sapsys 13409661 10月 24  2020 sapwebdisp
-rwxr-xr-x 1 s4hadm sapsys   568140 10月 24  2020 sapxpg
vhcals4hci:s4hadm 66>




vhcals4hci:s4hadm 66>
vhcals4hci:s4hadm 66> ./sapstart
./sapstart=>sapparam(1c): No Profile used.
./sapstart=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
**** unknown SAPSYSTEMNAME.
(116237) Exiting with Return-Code -101. (Unknown Sap-System-Name)


vhcals4hci:/usr/sap/S4H/SUM/abap # su - s4hadm
vhcals4hci:s4hadm 52>
vhcals4hci:s4hadm 52> ./startsap
./startsap: コマンドが見つかりません.
vhcals4hci:s4hadm 53>

kaus19d
Active Contributor
0 Kudos

Hi youji-hanada,

startsap & stopsap the command is without ./

anyways can you cd /usr/sap/S4H/SYS/profile & do ls & do cat DEFAULT.PFL

Also can you do ls /usr/sap & ls /usr/sap/S4H

So basically we want to confirm if the App is in the same server

can you also do cat /etc/passwd | grep adm

Also provide details of cat /etc/hosts

Please provide the outputs & it would help assist you in better way

Thanks,

Kaushik

0 Kudos

Dear Kaushik

Thank you for your command advice.

The following is the execution result.

vhcals4hci:~ # cd /usr/sap/S4H/SYS/profile
vhcals4hci:/usr/sap/S4H/SYS/profile # ll
total 24
-rw-r--r-- 1 s4hadm sapsys  853 Jun 23 23:51 DEFAULT.1.PFL
-rw-r--r-- 1 s4hadm sapsys  880 Jun 23 23:53 DEFAULT.2.PFL
-rw-r--r-- 1 s4hadm sapsys  948 Jun 25 02:44 DEFAULT.3.PFL
-rw-r--r-- 1 s4hadm sapsys  880 Jun 25 03:06 DEFAULT.PFL
-rw-r--r-- 1 s4hadm sapsys 1939 Jun 25 02:39 S4H_ASCS02_vhcals4hci
-rw-r--r-- 1 s4hadm sapsys 2339 Jun 25 02:42 S4H_D01_vhcals4hci
vhcals4hci:/usr/sap/S4H/SYS/profile #
vhcals4hci:/usr/sap/S4H/SYS/profile # cd /usr/sap/S4H/SYS/profile
vhcals4hci:/usr/sap/S4H/SYS/profile #  cat DEFAULT.PFL
SAPDBHOST = 192.168.5.102
dbms/type = hdb
dbms/name = HDB
dbs/hdb/dbname = HDB
SAPSYSTEMNAME = S4H
SAPGLOBALHOST = vhcals4hci
system/type = ABAP
rsdb/ssfs_connect = 0
system/secure_communication = ON
rdisp/mshost = vhcals4hci
rdisp/msserv = sapmsS4H
rdisp/msserv_internal = 3902
enque/process_location = REMOTESA
enq/enable = TRUE
enq/serverhost = vhcals4hci
enq/serverinst = 02
is/HTTP/show_detailed_errors = FALSE
icf/user_recheck = 1
icm/HTTP/ASJava/disable_url_session_tracking = TRUE
service/protectedwebmethods = SDEFAULT
rsec/ssfs_datapath = $(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data
rsec/ssfs_keypath = $(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key
gw/acl_mode = 1
gw/sec_info = $(DIR_GLOBAL)$(DIR_SEP)secinfo$(FT_DAT)
login/password_downwards_compatibility = 0
vmcj/enable = off
login/system_client = 000
dbs/hdb/schema = SAPHANADB
vhcals4hci:/usr/sap/S4H/SYS/profile #
vhcals4hci:/usr/sap/S4H/SYS/profile #
vhcals4hci:/usr/sap/S4H/SYS/profile # ls /usr/sap
HDB  S4H  ccms  hostctrl  sapservices  sapservices.1  sapservices.2  sapservices_202106_23_22.18.39  tmp  trans
vhcals4hci:/usr/sap/S4H/SYS/profile #
vhcals4hci:/usr/sap/S4H/SYS/profile # ls /usr/sap/S4H
ASCS02  D01  SAPCAR.EXE  SUM  SUM20SP11_0-80002456.SAR  SYS  hdbclient
vhcals4hci:/usr/sap/S4H/SYS/profile #
vhcals4hci:/usr/sap/S4H/SYS/profile #
vhcals4hci:/usr/sap/S4H/SYS/profile # cat /etc/passwd | grep adm
hdbadm:x:1001:79:SAP HANA Database System Administrator:/usr/sap/HDB/home:/bin/sh
sapadm:x:465:79:SAP Local Administrator:/home/sapadm:/bin/false
s4hadm:x:1002:79:SAP System Administrator:/home/s4hadm:/bin/csh
vhcals4hci:/usr/sap/S4H/SYS/profile #
vhcals4hci:/usr/sap/S4H/SYS/profile #  cat /etc/hosts
#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#


127.0.0.1       localhost


# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback


fe00::0         ipv6-localnet


ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts
192.168.5.102   vhcals4hci


vhcals4hci:/usr/sap/S4H/SYS/profile #



Startsap & stopsap is probably deprecated as far as I can tell.

Currently, it seems to use the sapcontrol command.

1763593 - Starting and stopping SAP system instances - startsap/stopsap are deprecated | SAP Knowled...

Thank you

kaus19d
Active Contributor
0 Kudos

Hi youji-hanada,

Here for you Stop process would go as below,

Process1:

>su - s4hadm

>sapcontrol -nr 01 -function Stop

>sapcontrol -nr 02 -function Stop

>su - hdbadm

>HDB stop

Process2:

>su - s4hadm

>stopsap

>su - hdbadm

>HDB stop

So basically the Start is reverse to the Sop order. The Start process here is

Process1:

>su - hdbadm

>HDB start

>su - s4hadm

>sapcontrol -nr 02 -function Start

>sapcontrol -nr 01 -function Start

Process2:

>su - hdbadm

>HDB start

>su - s4hadm

>startsap

Hope this helps... Although this processes are the basic starting point for a SAP System Admin in your organisation... Also i dont understand that the guy who deployed this why are you not able to take help from that person. Or is it that you deployed any trial version from your side & you are finding it difficult to manage it... Its just a hunch from my side following your hostname vhcals4hci... If its organisation deployment & not a trial one, I would rather suggest to hire/get a SAP Admin guy for this system as its just a start of maintenance for your S4H system & there could be a lot more issues to come in coming days while using this system...

Thanks,

Kaushik