The autoscript utilities automatically transfer a shell script from shore to the SIAM primary node during a telemetry connection. A component on the node (runAutoscript) automatically execute the script there, and returns the script output on a subsequent connection.
These utilities are very useful in cases where the telemetry link is intermittent and unpredictable, making it difficult to sustain a connection long enough to perform maintenance or troubleshooting operations.
To automatically transfer and execute a script, follow these steps:
The scripts that implement autoscript include:
The following environment variables must be set:
|JAVA_HOME||location of Java installation||
/j9, /opt/java/jdk1.3.1, etc.
|JAVA||Path to JVM command||For MMC
For Sun JVM (e.g. linux, win32, mac OS)
|SIAM_HOME||top of the SIAM directory tree||-|
|SIAM_CLASSPATH||Path including all SIAM and supporting classes||For MMC