how to logon to 30+ machines and put a job run in background and then logout automatically in a script file?
From: walala (mizhael_at_yahoo.com)
Date: 09/27/03
- Next message: Rich Teer: "Re: cpp - C language preprocessor"
- Previous message: Langelage, Frank: "Re: cpp - C language preprocessor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Sep 2003 17:50:33 -0500
Dear all,
I am facing a problem that needs your help... I need to run a simulation in
part on about 30+ unix workstations, servers, etc. We use ssh here.
Every time I need to do the following:
ssh username@machinename1.xxx.xxx.xxx
nohub run_some_job_in_background &
logout
ssh username@machinename2.xxx.xxx.xxx
nohub run_some_job_in_background &
logout
ssh username@machinename3.xxx.xxx.xxx
nohub run_some_job_in_background &
logout
the trouble was:
a. The above script scheme did not work. after I typed in the password for
the first login, it logged onto the first machine, and run .cshrc of that
machine, and then stopped, without running my "nohub" and "logout" command,
basically, it stopped there;
b. Even if the scheme worked, there still has the trouble that everytime I
need to type in password again and again for the 30+ machines...
Can anybody give me help on how to fully streamline the whole process?
Thanks a lot,
-walala
- Next message: Rich Teer: "Re: cpp - C language preprocessor"
- Previous message: Langelage, Frank: "Re: cpp - C language preprocessor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|