[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Progress bringing up tom4 and tom5





VNC is a good idea if you work in an MS Windows exvironment
but X11 already has the remote display ability built-in so
you don't need to bother with setting anything up.

There are several leels of automation that can be used.
The simplest is just opening up a terminal window loging into
the other computers and then running the command to start up
the software.  The problem with this is that reliablilty is
multiplicative.  You now have two computers and if either has
a problem the process crashes. With a chain the chance of
failure is not "the leakest link".  You have to combine the
probility of failure of _all_ the links.

Of course the ampersign "&" solves this problem.  As for not
seeing any error messages that might appear on the terminal
you can send that output to a log file with something like
foobar >& foobar.log &  or get fancy with maybe
foobar >& foobar.`date`.log &

1) use "ssh" put put the commad to run the system in the
ssh conand line.  Then you can put four ssh commands to
start four telescops running all in one script.  

Other things to try:
2) Put the process in the "cron table" so that it will execute
periodically.  Acutally you would place a script in the table
and the script would run, say every night at 7:00pm but the script
might check for a config file first, if no config file that
it does not run.  When an error occures the script can send
email to someplace.  email enabled cell phones are popular with
many sys-admins

3) Design the system as a "daemon", that is a long runnig process
that aalways runs whenthe computer is running.  IMO this would
be the best way to run a data ollection system.  It would look
at the time of day and do whatever is scheduled for that time.



Chris Albertson
  Home:   310-376-1029  chrisalbertson90278@yahoo.com
  Cell:   310-990-7550
  Office: 310-336-5189  Christopher.J.Albertson@aero.org
  KG6OMK

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com