Skip to content

Commit

Permalink
automate
Browse files Browse the repository at this point in the history
  • Loading branch information
frumania committed Nov 21, 2023
1 parent 561452b commit 5e7d38c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ssm_sap/lw_discovery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ echo $HOSTCTRL
#RUN ONLY IN CASE OF SAP APPSRV
if [ -d /usr/sap/$SAP_SID ]; then

sleep 300
SAPOS=$(sudo /usr/sap/hostctrl/exe/saposcol -l)
echo $SAPOS

sleep 60

SAPCTRL=$(sudo /usr/sap/hostctrl/exe/sapcontrol -nr $SAP_CI_INSTANCE_NR -function GetSystemInstanceList)
echo $SAPCTRL
Expand Down

0 comments on commit 5e7d38c

Please sign in to comment.