|
Re: execute a command after getting/loosing a IP-Address?: msg#00012apache.mod-wackamole.general
So, we don't provide any solutions to this problem within Wackamole. However, I'm sure someone else has had to deal with it, and might answer you with something they've already developed. (This is a big holiday in the US, which means a lot of people on the list probably won't be responding for a few days). The solution you proposed is probably the quickest and dirtiest way to get what you want. If you wanted something more powerful, using the same mechanism to run a pair of shell-scripts "Acquire-script" and "Release-script" would give this to you. However, I'd be a little worried about doing so in a general situation, because of the privileges with which Wackamole is run. I wouldn't recommend adding anything too complicated directly to Wackamole, because of timing concerns. You might consider a long-running daemon to handle this failover, that communicates (something along the lines of "Acquire/Release address") with Wackamole via named pipes or another Unix IPC mechanism. Hops this helps, Ryan Oliver Fänger wrote: Hi list, -- Ryan W. Caudy Center for Networking and Distributed Systems Department of Computer Science Johns Hopkins University |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | execute a command after getting/loosing a IP-Address?: 00012, Oliver Fänger |
|---|---|
| Next by Date: | Re: execute a command after getting/loosing a IP-Address?: 00012, Theo Schlossnagle |
| Previous by Thread: | execute a command after getting/loosing a IP-Address?i: 00012, Oliver Fänger |
| Next by Thread: | Re: execute a command after getting/loosing a IP-Address?: 00012, Theo Schlossnagle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |