Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.75 KB

index.md

File metadata and controls

22 lines (14 loc) · 1.75 KB

Using Winston

Requirements

Winston relies on a number of external libraries which are included in the distribution package. The only other requirements are a Java JRE and a MySQL-compatible database.

  • Java -- Any Java 7 compliant JVM should work. Both Oracle's Java SE and OpenJDK have been tested.

  • Database -- Winston requires a MySQL-compatible database. Either MySQL or MariaDB will work. The number of real-time stations Winston can handle is commonly limited by database write times. Winston avoids use of transactional features available in some MySQL storage engines to help streamline writes. Because of this, the MyISAM is the preferred storage engine for non-trivial Winston instalations.

Instalation

  1. Unzip the winston distribution in a convienient location.
  2. Install MySQL or MariaDB
  3. Create a winston user in the database.
    GRANT ALL ON `W_%`.* to winstonuser@'localhost' identified by 'winstonpass';

Starting Winston

  1. Ingest waveforms -- The Winston database is created automatically when the first waveforms are ingested. The wave server will not function until there is data to serve. Most winston users feed data from an Earthworm export. See the ImportEW page for the details. Data can also be loaded using SEED or SAC files.

  2. Import station metadata (optional) -- Use ImportDataless or ImportHypoinverse to populate station metadata tables.

  3. Start wave server -- Winston Wave Server is used to serve data to Swarm and web browsers.