on 11-20-2007 4:00 AM
Hello,
I want to test the connectivity of all the servers on my logon pad each day.
we have 150+ application servers.
I'm using SAP GUI 6400.2.0.972.
i tried writing a .bat file like this (each line for each server):
<drive>:\Progra~1\SAP\FrontEnd\SapGui\sapgui.exe <application server ip>
it's working fine.
My requirement is:
1. I can't use this for the systems with same ip but <b>different instance numbers</b>.
2. each time all the screen's will be open after successful connection - i don't want this
3. i just want to know if the particular system is getting connected or not. if it is not getting connected, i want to know why. --> if this could be summarized in a file ... it will make my life easier.
bit tricky?? if this is possible .. this will save my time....
Regards,
Srihari
instead, run program sapinfo on desktops:
sapinfo ashost=hostname sysnr=00
then, analyze error level using a BAT script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you said earlier:
i tried writing a .bat file like this
so, I thought you knew about .bat scripts... anyway, here goes:
sapinfo ashost=servername sysnr=00 >nul
if errorlevel 1 goto SYSTEM_DOWN
echo ALL is OK
goto BYE
:SYSTEM_DOWN
echo system is DOWN!
:BYE
Please also read https://www.sdn.sap.com/irj/sdn/crphelp#posted
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.