cancel
Showing results for 
Search instead for 
Did you mean: 

Application check script for HA

Former Member
0 Kudos

Hi All,

In our landscape we want to step-up HA systems, Before switching the application I want to develop

a script which checks the application status for this I want to know which parameters need to be consider.

(I have tried with R3trans -x, ps -ef |grep dw | wc -l) but I want to know the any other which would be

more helpful for check.

Thanking you in advance.

Regards,

Bharath Parsi

Accepted Solutions (1)

Accepted Solutions (1)

IanSegobio
Advisor
Advisor
0 Kudos

Hello there Bharath,


You can use the return for sapcontrol web methods:

---------------------------
sapcontrol -nr <instance number> -function GetSystemInstanceList

---------------------------

OR


---------------------------

sapcontrol -nr <instance number> -function GetProcessList
---------------------------

And check whether "GREEN" is part of the response. The first one will return one line per instance while the latter will return the status of all services for the local instance.

If they all are green then the instance is up and running.


Cheers,
Ian Segóbio.

Answers (1)

Answers (1)

Former Member
0 Kudos

i think you are looking for commnad : HDB info (this shows the hana DB process status)