On 11/21/2016 06:03 AM, bruce wrote:
> Hey Rick (and any others with thoughts!)
> 
> Starting to fire up clusterSSH/cssh
> 
> Couple of things..
> 
> 1) The app actually fires up sep xterm/term window sessions! So
> looking at X windows is going to take up space! might need a sep
> monitor!
> 
> 2) I saw that the app has a "launcher" from the desktop/gnome.. anyway
> to change the user the app runs as? The ssh pub/priv keys are already
> set to the cloud/client systems to be user 'foo'
> 
> 3) The base install didn't/doesn't have /etc/cluster for a config
> file.. Been looking, thought for certain there'd be a sample in
> github, haven't found one.
> -Any chance you want to post your config file?
> 
> Also, I did see a chunk of a config file with a couple of lines one
> for each group..
> 
> If I want to have a bunch of client ssh servers in a group, can a
> group have multiple, servers on multiple lines?? Is there a delimiter?

Here's a redacted sample:

#-----------------------------------------------------------------------
#### Ingest servers (production)
#-----------------------------------------------------------------------
mioing-1 rstevens@ing1-r1 rstevens@ing2-r1 rstevens@ing3-r1
rstevens@ing4-r1 rstevens@ing5-r1 rstevens@ing6-r1 rstevens@ing7-r1
rstevens@ing8-r1 rstevens@ing9-r1 rstevens@ing10-r1 rstevens@ing11-r1

mioing-2 rstevens@ing12-r1 rstevens@ing13-r1 rstevens@ing14-r1
rstevens@ing15-r1 rstevens@ing16-r1 rstevens@ing17-r1 rstevens@ing18-r1
rstevens@ing19-r1 rstevens@ing20-r1 rstevens@ing21-r1 rstevens@ing22-r1

mioing mioing-1 mioing-2
#-----------------------------------------------------------------------

That is three lines (it'll probably wrap on the list). Everything on
the line starting "mioing-1" is a SINGLE line.

Essentially, each line starts with a "cluster name", a space, then a
space-separated list of remote machines OR another cluster name. I use
"rstevens@hostname" on the host entries because I have to log in that
way on those machines (they don't have my ssh keys).

This /etc/clusters (or ~/.clusterssh/clusters) file allows me to do
things like "cssh mioing-1" to get ssh sessions to the first 11 servers,
"cssh mioing-2" to get ssh sessions to the second 11 servers, and (if I
can tolerate tiny little windows), "cssh mioing" to get sessions to all
22 servers (note that the third line consists of a cluster name of
"mioing", followed by two previously-defined cluster names).

I also have this in my /etc/csshrc (or ~/.clusterssh/config) file:

terminal_reserve_top = 28
auto_close = 1
key_addhost = Alt-h

This keeps the terminals from overlapping their windows, closes them
after I log out of the session and lets me use "ALT-H" to open a window
to add a new host to those already displayed.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-               500: Internal Fortune Cookie Error                   -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to