Wednesday, August 15, 2007

Distributed administration using SSH

clipped from www.ibm.com

System Administration Toolkit: Distributed administration using SSH

Use Secure Shell (SSH) to run commands on remote UNIX®
systems and, with some simple scripts, put together a system that enables you to
manage many systems simultaneously from one machine without having to log in
directly to the machines themselves. Also examine the basics of a distributed
management system and some scripts and solutions using the technique.

Simplifying remote login

Running a remote command

                
$ ssh mc@gentoo.vm df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 14544820 3611520 10194464 27% /
udev 128044 564 127480 1% /dev
/dev/hdc1 1968872 50340 1818516 3% /var/tmp
/dev/hdc2 1968904 1482220 386668 80% /usr/portage
/dev/hdc3 1968904 35760 1833128 2% /home/build
shm 128044 0 128044 0% /dev/shm

Direct interactive
sessions

Running a remote command
across multiple machines

Using remote execution
for performance monitoring

Running the same
operation across multiple machines

Summary

0 comments: