Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Support arbitrary number of LASes and auto-discover flash list to LAS mapping #76

Open
hsakulin opened this issue Apr 13, 2017 · 5 comments

Comments

@hsakulin
Copy link

DAQAggregator needs to be able to support any number of LASes in the configuration.
At the startup of the application, DAQAggregator should query all LASes using the retrieveCatalog service in order to determine on which LAS each flash list is served.

@gladky
Copy link
Contributor

gladky commented Apr 19, 2017

There are 3 flashlists names that are used across different LASes:

diskInfo:

hostInfo:

jobcontrol:

(*) Chosen by manual configuration.

In this case only one LAS url (kvm-s3562-1-ip151-95.cms:9945) introduces this collision but this is a problem for which we need a general solution.

In old DAQView I see that this issue is not addressed. The flashlist catalog is converted to a map where the name of the flashlist is a key. There is assumption that the flashlist name is unique. This is not a case with the set of LAS urls we are using now.

How do we handle general problem of name collision which may occur in the future e.g. misconfiguration.
a) halt DAQAggregator and report fatal problem
b) choose one (which?) and ignore the rest
c) concatenate flashlists with the same name into one big if columns match
d) other suggestions @mommsen @andreh12

@gladky
Copy link
Contributor

gladky commented Apr 20, 2017

I've implemented the solution b as I have to have the next version ready soon - mapping of the flashlists to LASes is going to be changed today. The order of the LAS urls will determine which ones will be ignored. First match from the configuration will be used while the rest will be ignored.

@hsakulin
Copy link
Author

hsakulin commented Apr 20, 2017 via email

@gladky
Copy link
Contributor

gladky commented Apr 28, 2017

Handling missing flashlists

Hannes:

The aggregator should be able to tolerate missing flash lists. Especially in the case of TCDS flash lists.

  1. Which flashlists may be missing?
  • EVM
  • FMMInput
  • FMMInputDetail
  • FMMStatus
  • RU
  • ferolConfiguration
  • ferolInputStream
  • ferolMonitoring
  • ferolStatus
  • ferolTcpStream
  • frlMonitoring
  • hostInfo
  • levelZeroFM_dynamic
  • levelZeroFM_static
  • levelZeroFM_subsys
  • jobcontrol
  • diskInfo
  • tcds_cpm_counts
  • tcds_cpm_deadtimes
  • tcds_cpm_rates
  • tcds_pm_action_counts
  • tcds_pm_tts_channel
  • ferol40Configuration
  • ferol40InputStream
  • ferol40Status
  • ferol40StreamConfiguration
  • ferol40TcpStream
  • tcdsFM
  1. How Aggregator indicates that is running in degraded mode (some flashlists could not be found in given LASes)? Entry in log. sth else?

@hsakulin
Copy link
Author

hsakulin commented Apr 28, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants