The Beeks Analytics appliance software installation has the following layout in the filesystem (where <env> is typically the customer name):
/vmx/install|-- <env>| |-- data| | |-- logs| | |-- static| | \-- stores| \-- server| |-- bin| |-- lib| \-- config| \-- agent| |-- pmux| \-- global/vmx/db|-- mysql|-- influxdb|-- backup-install/vmx/data|-- capture|-- retro|-- sdk/opt/tsa|-- bin|-- db| `-- platency3|-- etc|-- lib -> lib64|-- lib64|-- share| |-- acd.schema.json| |-- aggregator.schema.json| |-- base| | |-- etc| | `-- utils| |-- decoders| | |-- acd| | | |-- custom| | | |-- market_data| | | |-- mock_data| | | |-- order| | | |-- performance| | | `-- transport| | `-- sbe| | |-- custom| | `-- public| | |-- market_data| | `-- order_entryNotes:
To facilitate data recovery the
/vmx/installand/vmx/dbdirectories each contains a full backup of the other.The
/vmx/install/<env>/serverdirectory contains the customer project deployable image/vmx/install/<env>/vmxis the root of the Beeks Analytics product installation, typically a symbolic link to a specific product version./vmx/install/admincontains administration scripts./vmx/install/<env>/datacontains volatile files such as log files and dynamic configuration stores./vmx/dbcontains the database data.
The /data and /opt/tsa directories may only be present on machines with VMX-Capture software installed:
/data/capturecontains rolling capture files./data/retrocontains the output of any UI created retro jobs (output also linked from the UI)./data/sdkcontains any custom plugins for decoders and stats generation./opt/tsacontains utilities and bootstrap configuration for the Beeks Analytics capture software.The /opt/tsa/share directory contains schema documentation for building VMX-Capture configuration files. See below.
The static decoder config is stored in the
/opt/tsa/share/decodersdirectories.
On appliances where there is a separate disk reserved for capture, the capture directory will be at /data/capture , not /vmx/data/capture.
VMX-Capture Configuration Schema
For users with VMX-Capture installed on the appliance, we’ve provided configuration schema files in /opt/tsa/share to help you easily create valid JSON configuration files for VMX-Capture. Copy the schema files to your workspace and set up your editor tool to reference them when you're creating your JSON configuration files. The editor should support use of schema files, e.g. Visual Studio Code. Once set up, you’ll be able to use keyboard shortcuts in your JSON configuration file to display a list of valid keys and view autocomplete suggestions as well as benefitting from keyword highlighting and auto-validation when you save the file. For Visual Studio Code, there is useful documentation here.
Directory Aliases
If you are logged in as the vmxcustomer user and you have set your environment correctly, you can use common directory aliases to navigate you to the appropriate directory. Here are some examples:
# Switch environment to valentineexport VMX_ENV=valentine# Switch to the config directory ( /vmx/install/valentine/server/config )confdir# Switch to the binary directory is - this is actually where the environment variable scripts are stored# ( /vmx/install/valentine/server/bin )bindir# Switch to the logfile directory ( /vmx/install/valentine/data/logs )logdirWe will often reference these directory aliases as shorthand within this document.
For example…
Change directory to
<confdir>/agent.
This means that you need to run the following commands at the Unix command prompt, when logged in with the vmxcustomer or equivalent account:
confdircd agent