I'm planning to create script that reads whether current SAP is running or not (oracle database is up and application is up also).
My OS is AIX 5.3, Oracle Database is 18.104.22.168, and SAP ECC is version ECC 6 EHP 4.
I cannot use the availability.log in /usr/sap/SID/DVEBMGSxx/work because it always stated unavailable.
I presume it's because igswd_mt was not installed.
I want to try to use sapcontrol command to get Process List of Message Server and Dispatcher.
But, it turns out that sapcontrol result states our Message Server is stopped, meanwhile the SAP is running.
Here I paste the result of sapcontrol command:
name, description, dispstatus, textstatus, starttime, elapsedtime, pid
msg_server, MessageServer, GRAY, Stopped, , , 929950
enserver, EnqueueServer, GRAY, Stopped, , , 475356
Does anybody know why the MessageServer is read as Stopped?
Or is there any parameter beside sapcontrol that I can use to determine SAP status (stop/start)?