Minicom Advanced Systems CMG-DCM manual Server configuration

Page 61

Operator's guide

subscription list.

Receiving a valid DSS_DEL packet, dssserver will find the corresponding request in the subscription list, remove it, and

reply with a DSS_ACK packet. If the relevant data has already been transmitted, dssserver will still send the DSS_ACK packet to notify the client that the request has been dealt with.

dssserver keeps a record of the subscriptions for each client so that it can respond to DSS_LRQ packets. When a subscription is fulfilled, it is removed from the relevant list.

Other valid DSS commands are dealt with according to the standard.

When data arrives from connected digitizers, dssserver examines the current queue of data requests, and generates the required data or averages separately for each client, in accordance with these requests. This data is placed in a train, which is a data structure whose length is determined by the reporting interval. Every train includes data from the vertical, N/S, and E/W component of a particular instrument.

As soon as the received or generated data fills the buffer, it is ready for dispatch. dssserver forms the data into a DSS_DAT message and sends it to the client, identifying it with the relevant Data Identification Word.

Every 10 minutes or thereabouts, dssserver checks the client list for any clients which have not reported to it in the past 10 minutes, and purges the inactive clients from the list.

dssserver does not implement advanced prioritization or queuing schemes. All clients connect with the same password.

Server configuration

dssserver needs to be configured before it can run. On a DCM, this can be done by editing the text file /etc/dssserver.cfg, which determines the mapping between incoming GCF streams and DSS stream identifiers. This file can be edited using the DCM's Web page interface, by browsing to the Configuration Data Transfer DSS dssserver.cfg page. Each line has the format

stream-id:station-name:location-name:seedname

where stream-id is the Gür alp stream ID, and the remaining three fields are the stream identifiers used in DSS_REQ packets relating to that stream. A

December 2005

61

Image 61
Contents CMG-DCM Table of Contents December Inside the DCM Introduction CMG-DCM Inside the DCM Network services Serial port servicesSee .4, Connecting to a local network for full details Power supply Installing the CMG-DCMOverview Connecting over a serial link Connecting to a single computer192.168.0.x Connecting over EthernetConnecting over USB Using an internal modemConnecting to a local network Gcfgdbset option-namenew-value Connecting to the Internet Wi-FiSetting up the CMG-DCM Connecting digitizers and external hardwareWeb setup Setting up digitizers Using Scream General notes UsageDCM as a data store Gnblocks port-number Page CMG-DCM DCM as a GCF data source Accessing the DCM command line through gcfout Sensor arrays DCM as a network data hub Communicating with digitizers Configuring digitizers Data storage and retrieval Using miniSEED format Real-time data transmission CD1.0 and CD1.1 Troubleshooting DCM installations Cannot connect to the DCMs Scream! server Cannot see the DCMs Web site over Http or HttpsCannot Gcfping the DCMs Scream! server DCM is not receiving any data streams Can Gcfping the DCMs Scream! server, but no data appearsDCM is receiving streams, but they do not contain any data Use the Serial port configuration → port name Web page, or143032 up 34 min, load average 1.24, 1.32 General Configuration optionsDisk CMG-DCM Serial port configuration CMG-DCM Page Ethernet port Network configurationStatic routes DNS setup Incoming mail setup Outgoing mail setup Remote access Administrators PPP Mgetty Scream Data transferAutoDRM Scream! ClientHttp client Http serverCD1.0 CD1.1 CD1.1 subframe configuration DSS Server configuration Seed Page CMG-DCM Data Viewer ActionsStream list Icon barDigitizer Setup General digitizer settings Digitizer output control CMG-DCM Trigger criteria CMG-DCM Tap # Rate Bandwidth Samples/s Auxiliary Mux channels Sensor mass control Partition, and format disk Disk toolsCheck disk filesystem Flush flashCamera Disk filesRecent Log Entries Summary Network configurationData Out Port, Serial Port A, Serial Port B DNS configurationTamper lines Flash StatusDisk Status Software Versions Inside the DCM File systems CMG-DCM Command line tools Configuration Digitizer console access Data flow MonitoringDigitizer status Tamper lines Over the Internet Updating the DCMFrom the hard disk Removing support packagesFirmware Libgconfigdb Appendix A.1 Modular DCM units Appendix a Connector pinoutsPort a and B Data OUT portNetwork connector USB connectorDM/AM module output Appendix A.2 Integrated DCM unitsAppendix B.1 Sensor response codes Appendix B Sensor and digitizer typesDigitizer Appendix B.2 Digitizer type codes