Admins,
I have had several responses stating that Command Scripter is the way to go...
I have the PDF and I'm looking into purchasing..
One response has gotten me thinking though..
From
Brandon Smith
i knew someone who had all their HSGs setup on a terminal server. after
they would establish a session w/ one of the controllers via a unix box, in
their case a Tru64 box, they would echo HSG commands to the open session.
i'm not sure of any details, because i don't have any. their scripts for
the HSGs would contain lots of echo commands....
I have been trying to no avail to send command lines or strings to our
controller.... My new question is
What's thes best way to send commands through telnet to this controller. I
have tried
echo "\n\n\n show disks '^]'" | telnet <servername> (port) > output.txt
or
telnet <servername> (port) < echo "\n\n\n show disks '^]'"
or make a command.txt file
^m
^m
^m
show disks
^]
then
cat command.txt | telnet <servername> (port)
There is a little tickler in my brain that thinks I may have to use expect..
Any idea????
By the way... I'm using Tru64 Unix 4.0f patch level 3.
Lee Brewer
---------------------- Forwarded by Lee Brewer/US/DCI on 06/11/2001 02:34 PM
---------------------------
Lee_Brewer_at_discovery.com on 06/11/2001 12:20:27 PM
To: tru64-unix-managers_at_ornl.gov
cc: (bcc: Lee Brewer/US/DCI)
Subject: HSZ or HSG controller scripting
Admins,
Is there any way to script at the TRU64 unix level commands for HSZ70 and
HSG80's without using hszterm. I have never used hszterm and my predecessor
told me it was a bad tool. I would like to incorporate the cloning feature of
the controller and eliminate the clone fileset commands
Thanks
Lee Brewer
Received on Mon Jun 11 2001 - 18:51:56 NZST