FEL/services/channelFinder.rst
author weiher
Mon, 05 Feb 2018 16:54:45 +0100
changeset 12 d0f2a667d9d5
parent 10 f7c1eb1e5733
permissions -rw-r--r--
Mergen mit meinem Zweig

=============
Channelfinder
=============

Channel finder service
----------------------

Channelfinder run's on fel02. Fel02 is a VM running on a DELL R530 server
(Bld. E, Groundfloor, Server room, labeld FEL0X) as part of a esx-cluster.
It gives an overview of all PV's, IOC's used at the FEL experiment. PV'a are
searchable. Based on a mongodb database.

.. uml::

   @startuml

   node FEL0X <<esx host>> {
     node fel02 {
       [eth0] <<141.14.134.176>>
       [eth1] <<10.0.0.16>>
     }
   }
   @enduml

User 'channel' in /home/channel (Password:ch...r)

Source files can be found in /var/www/html/channelfinder::

 channel@fel02:/var/www/html/channelfinder$ ls -l
 total 24
 -rw-r--r-- 1 root root 6413 Apr  2  2015 channelfinder.php
 -rw-r--r-- 1 root root   48 Mar 29  2015 index.php
 -rw-r--r-- 1 root root 1735 Mar 28  2015 lall
 -rw-r--r-- 1 root root  889 Mar 29  2015 searchPV.php
 -rw-r--r-- 1 root root 1692 Mar 30  2015 showPVs.php

To collect al PVs from all known (ioc list is hardcoded in findPVs) IOCs the
script 'findPVs' must be run. It can not be used in a cron job. If some PV's
are not available it might hang. On all requested IOC's fel02's ssh key must be
registered (.ssh/authorized_keys).

The script reads the /srv/ioc/log/Database/$IOC.dbl file which gets written on
IOC reboot (on load of db files).

findPVs:

.. include:: findPVs

How to use
----------------------

Access: http://fel02.rz-berlin.mpg.de/channelfinder/channelfinder.php