The exitNode utility "gracefully" shuts down each SIAM instrument service on the specified node (effectively executing shutdownPort for each service), switches off power to all instrument ports, and then terminates the SIAM node service. Note that delays will occur while each instrument service is being terminated, depending on how the specific instrument service shuts down its device. If for some reason these delays are excessive, it is possible to use killj9 to immediately terminate the node application. Note however that killj9 does not result in graceful instrument shutdown or power shutoff.
| Option | Description | Values |
|---|---|---|
| nodeURL | IP address or host name of SIAM node | e.g. 134.89.88.1, mooring.moos.mbari.org |
Example output:
exitNode localhost SIAM version $Name: $
The following environment variables must be set:
| Variable | Description | Example |
|---|---|---|
| JAVA_HOME | location of Java installation | /j9, /opt/java/jdk1.3.1, etc. |
| JAVA | Path to JVM command | For MMC $JAVA_HOME/bin/j9 For Sun JVM (e.g. linux, win32, mac OS) $JAVA_HOME/bin/java
|
| SIAM_HOME | top of the SIAM directory tree | - |
| SIAM_CLASSPATH | Path including all SIAM and supporting classes | For MMC $JAVA_HOME/lib/jclMax/classes.zip:$JAVA_HOME/lib/prsnlmot.jar:$JAVA_HOME/lib/RXTXcomm.jar:$SIAM_HOME/classes For linux/win32 $SIAM_HOME/classes |