суббота, 11 июля 2020 г.

How to run S4 HANA environment (HDB & application server)



Start sequence

1. under database user s4dadm
s4host:~ # su - s4dadm
s4dadm@s4host:/usr/sap/S4D/HDB00> HDB start

2. under application server user s4hadm
su - s4hadm
s4host:s4hadm 51> /usr/sap/S4H/D01/exe/sapcontrol -prot NI_HTTP -nr 01 -function Start
s4host:s4hadm 51> /usr/sap/S4H/ASCS02/exe/sapcontrol -prot NI_HTTP -nr 02 -function Start

Stop sequence

1. under application server user s4hadm
su - s4hadm
s4host:s4hadm 51> /usr/sap/S4H/ASCS02/exe/sapcontrol -prot NI_HTTP -nr 02 -function Stop
s4host:s4hadm 51> /usr/sap/S4H/D01/exe/sapcontrol -prot NI_HTTP -nr 01 -function Stop

2. under database user s4dadm
s4host:~ # su - s4dadm
s4dadm@s4host:/usr/sap/S4D/HDB00> HDB stop

Run processes check
s4host:~ # su - s4dadm
s4dadm@s4host:/usr/sap/S4D/HDB00> sapcontrol -nr 01 -function GetProcessList

Should be something like this...
GetProcessList
OK
name, description, dispstatus, textstatus, starttime, elapsedtime, pid
disp+work, Dispatcher, GREEN, Running, 2020 06 22 10:26:58, 0:02:58, 8795
igswd_mt, IGS Watchdog, GREEN, Running, 2020 06 22 10:26:58, 0:02:58, 8796
gwrd, Gateway, GREEN, Running, 2020 06 22 10:27:01, 0:02:55, 8815
icman, ICM, GREEN, Running, 2020 06 22 10:27:01, 0:02:55, 8816

VBox tricks / UUID change
CD C:\Program Files\Oracle\VirtualBox\
C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands sethduuid "E:\RHEL8\RHEL8.vdi"

To grant folder's authorisation in Linux, the next commands use:
chmod a-x,g+w file
or
chmod ug=rw,o=r file
the steps under root user are:
chmod a-x,g+w  /usr/sap/trans/EPS/in
chmod -R 777 /usr/sap/trans/EPS/in


Комментариев нет:

Отправить комментарий