Stop/Start SAP service via ansible

10 views
Skip to first unread message

kumare...@gmail.com

unread,
Jan 23, 2023, 11:04:14 AM1/23/23
to Ansible Project
Hi,

Could someone help here to stop/start sap services via ansible?

Regards
Kumar

Werner Flamme

unread,
Jan 23, 2023, 12:03:06 PM1/23/23
to ansible...@googlegroups.com
Hi Kumar,

on Linux it should be sufficient to execute /usr/sap/sapservices to
start them.

Stopping - not so simple. User sidadm can issue the command "sapcontrol
-nr <instancenumber> -function Stop" (or StopSystem), but you have to
know the sidadm's name and the instance number somehow.

HTH,
Werner
--

Reply all
Reply to author
Forward
0 new messages