OT Scripting

OT scripting backend DNS: otscripting.lbto.org

Currently as of Apr 2018, the otscripting.lbto.org , with ip:, is based on a Tucson VM, sharing same ip address as the pit.lbto.org

As of Apr 24th 2018 the mountain has a clone of this VM, with ip address, OTs run from the observer's machine are directed to this VM, so in the event of a network failure the mountain can still use the OT.

In the /etc/hosts file for the obs# machines a DNS entry was added to direct the OT to the cloned VM.


In obs3 /etc/hosts you find the entry otscripting.lbto.org

Sometimes power glitches might leave the machine unoperative, in that case there are two options either comment out the above line in the /etc/hosts or run the script from another machine.

In the backend the OT scripting is actioned by one CGI


which is on a symlink to /var/www/bin/scripting/seqTransform.py

seqTransform.py configuration is, currently, inside the script in two places:
  • config_all hash at the beggining of the script. It defines paths and files for production and test environments
  • otVersionList: defines allowed OT versions.

The python script will parse the XML the OT sends and run one or more XSLT transformations on it via the XSLT scripts: all in /var/www/bin/scripting

The XSLT transformations happen through a java call, see python method xslt_translation in seqTransform.py

The seqTransform.py log information will be on the webserver log and three files left in the /tmp directory. The three files are the input xml, a cleanup version of the input xml and the output xml.

Apache is the webserver, with logging to /var/log/http

Apache installation and configuration is the default Centos OS: e.g. /etc/httpd/

-- %USERSIG{IgorSola - 2018-04-25}%
Topic revision: r2 - 20 Sep 2018, IgorSola
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback