|
|
Question : Stop/Start sybase 12.5 from a remote computer by script
|
|
Is it possible to re-start a Sybase Server on NT from a remote NT-System from script? isql, Windows Scripting Host, cmd file ... etc?
Hopefully without installing additional software.
Please supply working script.
I know password of sa on the Sybase Server. I know username and password of a local NT administrator on the remote system. My local username is not known on the remote NT system.
|
Answer : Stop/Start sybase 12.5 from a remote computer by script
|
|
The way I've done this is to install cygwin on the machine. It's a unix shell that runs on windows, and you can run bash scripts and connect from computer to computer using ssh (or telnet, if you really want). You can create a bash script that will ssh into the remote box and issue your run commands. To do a shutdown, it's easier to do this in isql but that can be accomplished in cygwin as well in the same manner.
If you're administering multiple NT or XP servers, I believe cygwin is a tool you absolutely must have. You can download it for free at cygwin.com
Greg
|
|
|
|
|