Koozali.org: home of the SME Server

WEB SHUTDOWN

William Ersing

WEB SHUTDOWN
« on: February 24, 2002, 08:58:37 PM »
Dose anyone know how i can build a website where it will have a link on it that will send a system command to the server to halt? I have more than one server and its annoying haveing to go to each website and click shutdown, i want to consolidate all the server shutdown buttons on one page and also have a master shutdown that will shutdown all the servers at once.

Please get back to me asap.
Thanks,
Will Ersing
Student @ HHS

Michael Herger

Re: WEB SHUTDOWN
« Reply #1 on: February 25, 2002, 12:24:09 PM »
You could write your own script (eg. using perl and its LWP package) to send a HTTP request to the corresponding page in each server's server-manager.

Ryan

Re: WEB SHUTDOWN
« Reply #2 on: March 01, 2002, 07:18:16 AM »
I use ssh putty.exe in windows to accomplish a similar goal.  You can save the connection settings for each server in putty.  I simply double click the nickname I saved for the server settings and I get the linux root login prompt (across the internet).  Login as root and use the reboot command, or login as admin and use the text mode server manager option #5 issue reboot or shutdown.  Logging in as admin with putty is works as if you where at the SME server's keyboard.  You have to enble remote administrative command to do this.