Hello,
I needed a simple tool to power off and restart my clients. So I wrote a small utility that can query the power status of clients and remotely restart or shutdown them. I thought this may be useful in SI in general and this ticket http://trac.systemimager.org/ticket/8 seems to confirm that. At the moment this is a very simple command with very few options. It has the following syntax: si_power [--query|--off|--restart] --clients <clients> The --query option pings all clients and prints the status of each host (ON|OFF|ERR). The --off and --restart options connect to the host via ssh (public key authentication) and simply execute "init 0" or "init 6". Like I said this is something very simple and there are many features missing, but I hope this can be used as the base for something really useful. The biggest feature missing is of course --on, which should send Wake-On-Lan "magic-packets" to each client to power them on. However since my clients don't seem to support this (unfortunately), this isn't a feature that I'll add myself. Another thing that could be improved is the performance for querying clients, especially when they are not powered on, since there is 1 second timeout before the next client is queried. This should probably be done asynchronously. So I would love to hear if this is something that may be useful to you and that you would like to see in SI. If you find it useful I will check it in trunk, so that you can start submitting patches ;-) Thanks, Thomas Krause
si_power
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
