|
NAMEslrsh - Perform rsh command on all clump systemsSYNOPSISslrsh commandslrsh command command ... quit DESCRIPTIONslrsh executes the arguments as a shell command like rsh does. However the command is executed on every host registered with rschedule. This is useful for system management functions.Without a argument, slrsh will prompt for commands and execute them. In any commands, @HOST is replaced with the name of the local host (ala `hostname`), and @HOSTS causes the command to be replicated for each host. Thus this command on a 2 machine clump: slrsh mount /net/@HOSTS will execute 4 commands: ssh host1 mount /net/host1 ssh host1 mount /net/host2 ssh host2 mount /net/host1 ssh host2 mount /net/host2 ARGUMENTS
COMMANDS
SETUPHere's an example of setting up ssh keys so root can get between systems. This example will differ for your site.ssh-keygen -t dsa mv .ssh/authorization_keys2 .ssh/authorized_keys2 slrsh su root ssh -l root jamaica rm -rf /root/.ssh ln -s \$(DIRPROJECT_PREFIX)/root/.ssh /root/.ssh DISTRIBUTIONThe latest version is available from CPAN and from <http://www.veripool.org/>.Copyright 1998-2011 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0. SEE ALSOSchedule::Load, rhostsAUTHORSWilson Snyder <wsnyder@wsnyder.org>
Visit the GSP FreeBSD Man Page Interface. |