host checkout before run

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Something we have had a number of problems with in func is when you want to run a command on all your boxes but some of them are down and your timeouts take FOREVER so you have to wait and wait and wait. I was considering adding code to func in general that before any command was run it would run a test.ping() with a 5s(configurable) timeout. Then take the list of hosts which did not respond and weed them out of your host spec for the main script.

I've found that saves a lot of time, especially if you've added a high --timeout b/c the process you want to run is likely to take a long time.

thoughts?

-sv

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux