Title: how to stop and restart instances on remote server

I created a script to stop and restart services on remote servers, but it is failing... anyone know a better way?  and FYI: for some reason my script centers on remote servers will not work. Script centers always give me Login failure, although I can run the scripts in command center or from a CLP without any problems... OTHER FYI: we are running db2 udb 5.2 on NT

script is as follows

DB2 CONNECT TO %1 USER admin USING password
DB2 FORCE APPLICATION ALL
DB2STOP
DB2START

all the above script does, is stop the instance on the LOCAL workstation that I am running the script from...

any help would be greatly appreciated

Reply via email to