Tool to Administor Clusters
TAC


TAC is one of the few rpm's, where I wrote the program instead of just packaged it into a nice rpm. I started with two snipit's of bash code from Ray Paseties, and then just went wild. I'm sure there are much larger bash scripts out there, but this ended up being the largest bash script I've ever written.

So what is TAC?
tac let's you send commands or files to a cluster of machines, or run scripts using those same names as variables. It was designed to allow the user a wide variety of ways to accomplish whatever it was that needed doing. So in short, it was written to allow an administrator to manage a group of machines with only one command to remember.

How do I use TAC?
TAC has three modes, interactive, non-interactive, and mixed. This means that if you really want to, all you have to do is type 'tac' and it will ask you questions to find out what you want to do. You can also pass it options at startup to tell it what to do. And, you can pass it some options, and it will ask you for the info that it still needs to get.
To get a list of what you can pass to tac, do

tac [-h]
   [-c (command)]
   [-t (local file) (remote destination)]
   [-s (script>]
   [-b (hostname prefix) (suffix start) (suffix end)]
   [-f (cluster file)]
   [-u (username)]
   [-k ]

 -h help      Display this help file
 -c command   Send this command to all selected machines
 -t transfer  Send the local file to the destination on all selected machines
 -s script    Run the specified script for all selected machines
 -b build     Build a list of machines from the prefix and suffix
 -f file      Use the selected file to get machine names
 -u username  The username on the remote machine
 -k kerberos  Get a kerberos ticket, use the way found in preferences

How do I get TAC?
It's right here. tac-current.rpm

Hold the horses here. tac is already a program name. It's basically cat backwards. Why didn't you pick a program name that wasn't already taken?
I am horrible at picking names for programs. This was my third name I picked for this program, almost taking as long as writting the program itself. But I didn't know that tac was already a program until I had written and built the rpm and tried to install it. By that time I was so frazzled about a name that I just kept it.
As of this writting, I haven't found anyone that has ever used the original tac for anything other o see what it does. So I haven't heard any complaints.


If you have any comments or questions please write to Troy Dawson who is the maintainer of these rpms

Back to RPM's
Back Home
May 1, 2002