Quote:
Originally Posted by
marunmeera
What are the parameters ((i.e., Process & Services) need to monitor for SAP & DB2 to capture shutdown, restart & Halt status of those applications.
Please suggest the best practices.
Ex: SAPSTART for SAP & DP2SYS for DB2
What do you mean by "capture shutdown, restart & Halt status"? It is realatively easy to find out if SAP is running or not, but to find out in which state the running software is you would need access to ot (via SAPGui, Web dispatcher or similar means). This might - depending on what you want to monitor exactly - not be feasible within a script.
Similar for DB/2. A look into the process list with "ps" tells you if DB/2 is started or not, but to tell if it is running normally or if only the dabase manager is started for a TSM backup or .... you will need to access the DB software itself.
So please specify what exactly you want to know and which means to find out you have at your disposal. Further, tell a bit more detail about your SAP instance: do you have an ABAP instance only, a JAVA stack too and, if the latter is the case, a web dispatcher instance on top?
I hope this helps.
bakunin