10
|
1 |
=============
|
|
2 |
Channelfinder
|
|
3 |
=============
|
|
4 |
|
|
5 |
Channel finder service
|
|
6 |
----------------------
|
|
7 |
|
|
8 |
Channelfinder run's on fel02. Fel02 is a VM running on a DELL R530 server
|
|
9 |
(Bld. E, Groundfloor, Server room, labeld FEL0X) as part of a esx-cluster.
|
|
10 |
It gives an overview of all PV's, IOC's used at the FEL experiment. PV'a are
|
|
11 |
searchable. Based on a mongodb database.
|
|
12 |
|
|
13 |
.. uml::
|
|
14 |
|
|
15 |
@startuml
|
|
16 |
|
|
17 |
node FEL0X <<esx host>> {
|
|
18 |
node fel02 {
|
|
19 |
[eth0] <<141.14.134.176>>
|
|
20 |
[eth1] <<10.0.0.16>>
|
|
21 |
}
|
|
22 |
}
|
|
23 |
@enduml
|
|
24 |
|
|
25 |
User 'channel' in /home/channel (Password:ch...r)
|
|
26 |
|
|
27 |
Source files can be found in /var/www/html/channelfinder::
|
|
28 |
|
|
29 |
channel@fel02:/var/www/html/channelfinder$ ls -l
|
|
30 |
total 24
|
|
31 |
-rw-r--r-- 1 root root 6413 Apr 2 2015 channelfinder.php
|
|
32 |
-rw-r--r-- 1 root root 48 Mar 29 2015 index.php
|
|
33 |
-rw-r--r-- 1 root root 1735 Mar 28 2015 lall
|
|
34 |
-rw-r--r-- 1 root root 889 Mar 29 2015 searchPV.php
|
|
35 |
-rw-r--r-- 1 root root 1692 Mar 30 2015 showPVs.php
|
|
36 |
|
|
37 |
To collect al PVs from all known (ioc list is hardcoded in findPVs) IOCs the
|
|
38 |
script 'findPVs' must be run. It can not be used in a cron job. If some PV's
|
|
39 |
are not available it might hang. On all requested IOC's fel02's ssh key must be
|
|
40 |
registered (.ssh/authorized_keys).
|
|
41 |
|
|
42 |
The script reads the /srv/ioc/log/Database/$IOC.dbl file which gets written on
|
|
43 |
IOC reboot (on load of db files).
|
|
44 |
|
|
45 |
findPVs:
|
|
46 |
|
|
47 |
.. include:: findPVs
|
|
48 |
|
|
49 |
How to use
|
|
50 |
----------------------
|
|
51 |
|
|
52 |
Access: http://fel02.rz-berlin.mpg.de/channelfinder/channelfinder.php
|