Stop/Start SAP service via ansible

Hi,

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

Regards
Kumar

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