Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added a TOC and changed cases of a header

Below are documentation on Polyglot and Softwareserver, including how they work together. Intended for developers or interested users. Started with what Rui learned as part of work of BD-460 "Software Server not setting correct public IP on checkins".

Table of Contents

  • User Interface

A user interacts with Polyglot. Polyglot works internally with software servers. By default Polyglot runs on port 8184, Softwareserver on port 8182. A user can use "http://<polyglot_ip>:8184/" to see the available endpoints / URLs, such as "http://<polyglot_ip>:8184/servers" to see the server IP list, or "http://<polyglot_ip>:8184/form" to use a form to submit a conversion request.

...

Softwareserver job checkin is in SoftwareServerRESTUtilities.java, Polyglot accessing RabbitMQ part is in polyglot/PolyglotStewardAMQ.java.

  • Installation of
    required software packages
    Required Software Packages on Ubuntu Trusty (14.04)

Need to install the programs used in Softwareserver scripts:

...

To install those that are available in on Ubuntu 14.04 and copy Daffodil, do:

sudo vi /etc/apt/sources.list   # to uncomment the 4 multiverse lines.

sudo apt-get update

sudo apt-get install -y imagemagick unoconv p7zip-full libav-tools xvfb eog flac gthumb htmldoc rar unrar cabextract netcdf-bin pdf2djvu soundconverter txt2html unrtf vlc-nox

cd /home/polyglot

sudo scp -pr dap-dev.ncsa.illinois.edu:/home/polyglot/daffodil .

sudo chown -R --reference=/home/polyglot /home/polyglot/daffodil