Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Anchor
EPICS Extensions
EPICS Extensions

...

EPICS Extensions

...

The following is a list of EPICS applications bundled as EPICS Extensions R.0.5.0:

ExtensionVersionExecutable
alh R1.2.351.0.0/usr/local/lcls/epics/extensions/alh/R1.2.351.0.0/bin/rhel6x86_64/alh
alh_DB R1.2.351.0.0/usr/local/lcls/epics/extensions/alh/R1.2.351.0.0/bin/rhel6x86_64/alh_DB
alh_printer R1.2.351.0.0/usr/local/lcls/epics/extensions/alh/R1.2.351.0.0/bin/rhel6x86_64/alh_printer
caCamcom R2.0.0/usr/local/lcls/epics/extensions/Camcom/R2.0.0/bin/rhel6x86_64/caCamcom
caSnooper R2.1.2.30.1.0/usr/local/lcls/epics/extensions/caSnooper/R2.1.2.30.1.0/bin/rhel6x86_64/caSnooper
ChannelWatcher R3.0.1/usr/local/lcls/epics/extensions/ChannelWatcher/R3.0.1/bin/rhel6x86_64/ChannelWatcher
CWget R3.0.1/usr/local/lcls/epics/extensions/ChannelWatcher/R3.0.1/bin/rhel6x86_64/CWget
CWput R3.0.1/usr/local/lcls/epics/extensions/ChannelWatcher/R3.0.1/bin/rhel6x86_64/CWput
edm R1.12.105B1.2.0/usr/local/lcls/epics/extensions/edm/R1.12.105B1.2.0/bin/rhel6x86_64/edm
eget R0.0.00.0.1/usr/local/lcls/epics/extensions/eget/R0.0.00.0.1/bin/rhel6x86_64/eget
ezcaVarArrayTest R3.7.2/usr/local/lcls/epics/extensions/labca/R3.7.2/bin/rhel6x86_64/ezcaVarArrayTest
flatdb R2.7.00.1.0/usr/local/lcls/epics/extensions/VisualDCT/R2.7.00.1.0/bin/rhel6x86_64/flatdb
fwdCliS R1.2.6/usr/local/lcls/epics/extensions/fwdCliS/R1.2.6/bin/rhel6x86_64/fwdCliS
gateway R2.0.6.01.0.1/usr/local/lcls/epics/extensions/gateway/R2.0.6.01.0.1/bin/rhel6x86_64/gateway
iocLogMsgServer R1.6.0/usr/local/lcls/epics/extensions/iocLogMsgServer/R1.6.0/bin/rhel6x86_64/iocLogMsgServer
msgReceiver R1.6.0/usr/local/lcls/epics/extensions/iocLogMsgServer/R1.6.0/bin/rhel6x86_64/msgReceiver
parsecasw R1.0.3.00.1.0/usr/local/lcls/epics/extensions/parsecasw/R1.0.3.00.1.0/bin/rhel6x86_64/parsecasw
probe R1.1.8.00.1.0/usr/local/lcls/epics/extensions/probe/R1.1.8.00.1.0/bin/rhel6x86_64/probe
procServ R2.7.01.1.0/usr/local/lcls/epics/extensions/procServ/R2.7.01.1.0/bin/rhel6x86_64/procServ
pvgetx R0.0.00.0.1/usr/local/lcls/epics/extensions/eget/R0.0.00.0.1/bin/rhel6x86_64/pvgetx
pvputx R0.0.00.0.1/usr/local/lcls/epics/extensions/eget/R0.0.00.0.1/bin/rhel6x86_64/pvputx
StripTool R2.5.18.01.0.0/usr/local/lcls/epics/extensions/StripTool/R2.5.18.01.0.0/bin/rhel6x86_64/StripTool
vdct R2.7.00.1.0/usr/local/lcls/epics/extensions/VisualDCT/R2.7.00.1.0/bin/rhel6x86_64/vdct
VisualDCT.jar R2.7.00.1.0/usr/local/lcls/epics/extensions/VisualDCT/R2.7.00.1.0/bin/rhel6x86_64/VisualDCT.jar

 

Anchor
alh
alh

alh

  1. Log into lcls-srv01 as physics with current 32-bit environment
  2. Run:

    Code Block
    languagebash
    themeMidnight
    [physics@lcls-srv01 ~ ]$ which alh
    /usr/local/lcls/epics/extensions/extensions-R3-14-12/bin/linux-x86/alh
    [physics@lcls-srv01]$ $TOOLS/script/alarmtree.py LASR -o /tmp/alarmtree_LASR_R3-14-12.json
  3. Log into lcls-srv01 as physics3 with default 64-bit environment
  4. Run:

    Code Block
    languagebash
    themeMidnight
    [physics3@lcls-srv01 ~]$ which alh
    /usr/local/lcls/epics/extensions/R0.5.0/bin/rhel6-x86_64/alh
    [physics3@lcls-srv01]$ $TOOLS/script/alarmtree.py LASR -o /tmp/alarmtree_LASR_R7.0.2-1.0.json
  5. Compare the two files and make sure that they match:

    Code Block
    languagebash
    themeMidnight
    diff -y -d /tmp/alarmtree_LASR_R3-14-12.json /tmp/alarmtree_LASR_R7.0.2-1.0.json
  6. Log into lcls-srv01 as physics3 and launch lclshome->All->Alarm Handler Tree and verify that the Alarm Tree Handler display comes up.

Anchor
alhCUD
alhCUD

alhCUD

The PPS/BCS CUD reads a text file that alhCUD emits

...

So I changed the PPS access state of the LCLS Injector Vault, and watched an instance of the PPS/BCS CUD to see if the state change showed up on the CUD. 

Anchor
caCamcom
caCamcom

caCamcom

  1. Log into lcls-srv01 as physics3 (with a default 64-bit environment)
  2. Run (with permission from OPS):
Code Block
languagebash
themeMidnight
[physics3@lcls-srv01]$ source $EPICS_SETUP/fixed-epics-setup.bash
[physics3@lcls-srv01]$ source $EPICS_SETUP/epicsenv-7.0.2-1.0.bash
[physics3@lcls-srv01]$ $TOOLS/script/piopreset -t klys -b li22 -u 21

Anchor
caSnooper
caSnooper

caSnooper

  1. Log into lcls-daemon10 as laci
  2. Run:
Code Block
languagebash
themeMidnight
[laci@lcls-daemon10]$ source $EPICS_SETUP/fixed-epics-setup.bash
[laci@lcls-daemon10]$ source $EPICS_SETUP/epicsenv-7.0.2-1.0.bash
[laci@lcls-daemon10]$ $TOOLS/script/doSnoop64.bash 10 20
SIOC:SYS0:AL00:MODE            PRODUCTION
Checking connections for PVs from caSnooper output 
input from /tmp/caSnooper.out
===> WILL CHECK CONNECTIONS FOR CASNOOPER OUTPUT
Starting CaSnooper 2.1.2.3 (7-3-2013) at Aug 20 15:08:44
EPICS 3.15.5-1.1.1
Individual Name is CaSnoop.test
Internal PV names are not being published

CaSnooper terminating after 20.00 seconds [0.33 minutes]
  Data collected for 20.00 seconds [0.33 minutes]

Aug 20 15:09:04:
There were 17555 requests to check for PV existence for 11703 different PVs.
  Max(Hz):   5.00
  Mean(Hz):  0.07
  StDev(Hz): 0.11

PVs with top 10 requests:
   1 mccas0.slac.stanford.edu:46638 TRS1:AS2:LOST:PAVE.VAL            5.00
   2 lcls-daemon1.slac.stanford.edu:40376 FBCK:BSY0:1:STATE                 1.20
   3 lcls-daemon0.slac.stanford.edu:57669 KLYS:LI24:41:TRIG_DEVNAME         1.00
   4 lcls-daemon0.slac.stanford.edu:57669 KLYS:LI24:51:TRIG_DEVNAME         0.70
   5 lcls-daemon0.slac.stanford.edu:57669 TRIG:LI24:206:TREF                0.60
   6 lcls-daemon1.slac.stanford.edu:40207 @%m/%d/%Y                         0.60
   7 mcc.slac.stanford.edu:1193     TRS2:SLEDFBCK:COMM:FRESH          0.55
   8 lcls-srv03.slac.stanford.edu:47925 USEG:UND1:1850:KEQ                0.50
   9 lcls-srv03.slac.stanford.edu:47925 USEG:UND1:1950:KEQ                0.50
  10 lcls-srv03.slac.stanford.edu:47925 USEG:UND1:1750:KEQ                0.50
------------------------------------------------------------------------------------
===>  NOW CHECKING FOR PVS THAT ARE NOT CONNECTING...
1  TRS1:AS2:LOST:PAVE.VAL NOT connected
2  FBCK:BSY0:1:STATE NOT connected
3  KLYS:LI24:41:TRIG_DEVNAME NOT connected
4  KLYS:LI24:51:TRIG_DEVNAME NOT connected
5  TRIG:LI24:206:TREF NOT connected
6  @%m/%d/%Y NOT connected
7  TRS2:SLEDFBCK:COMM:FRESH NOT connected
8  USEG:UND1:1850:KEQ NOT connected
9  USEG:UND1:1950:KEQ NOT connected
10  USEG:UND1:1750:KEQ NOT connected
------------------------------------------------------------------------------------
TOTAL COUNT OF DISCONNECTED PVS IN SNOOPER SAMPLE: 10

 

Anchor
ChannelWatcher
ChannelWatcher

ChannelWatcher

  1.     Reserve MATLAB PVs (lclshome->All->Matlab GUIs->Matlab PVs->Matlab Support PVs, choose unreserved ones marked “spare”)
  2.     Create list of test PVs from step (1), one per line
  3.     Open Message Log Viewer and filter for “Facility like “Channel”
  4.     Run: ChannelWatcher -f <filename from step (2)>
  5.     Verify that ChannelWatcher logs a message connecting to the PVs in the list from step (2)
  6.     Change the value(s) of the PVs in the list using caput
  7.     Verify that ChannelWatcher logs messages pertaining to each PV value change

 

Anchor
CWget
CWget

CWget

  1. Using reserved MATLAB PVs from ChannelWatcher test, run:
    CWget <file with list of MATLAB PVs, one per line>
  2. Verify with caget that the values returned match the actual current values of the PVs.

CWget [filename] > [output_file]

 

Anchor
CWput
CWput

CWput

  1. Using reserved MATLAB PVs from ChannelWatcher test, create file with one PV per line and

...

  1. Change /etc/init.d/st.iocLogMsgServer on lcls-daemon2 to point at /usr/local/lcls/tools/iocLogMsgServer/script/st.iocLogMsgServer64
  2. Change /etc/init.d/st.fwdCliS on lcls-daemon2 to point at /usr/local/lcls/tools/fwdCliS/script/st.fwdCliS64
  3. Restart /etc/init.d/st.iocLogMsgServer on lcls-daemon2
  4. Restart /etc/init.d/st.fwdCliS on lcls-daemon2
  5. Open lclshome->All->Message Log... and verify that messages are coming through
  6. Verify that messages are being added to the Oracle database

gateway

See: Testing PV Gateways

NamePurpose PVs served Host
CAS port
Beacon Port
Beacon sent to Document/Comment
LCLS
gwEbeamServe

Serving LCLS PVs (Ebeam) to Photon

Readonly

Write for selected PVs

lcls-daemon350805081

172.21.40.63

(Photon Gateway Subnet)

Design

Admin

Allow all

Deny OTRS:DMP1:695:.*

gwEbeamServeWF

Serving LCLS PVs (Ebeam) to Photon

Readonly

Write for selected PVs

lcls-daemon350795081

172.21.40.63

(Photon Gateway Subnet)

Deny all

Allow OTRS:DMP1:695:.*

(dedicated to serve XTCAV OTRDMP camera image PV)

gwLCLS4FACETServing LCLS PVs to FACETReadonlylcls-daemon1050705069

172.27.75.255

(FACETCA)

Design

Admin

gwLCLSPUBServing LCLS PVs to publicReadonlylcls-prod0150685069

134.79.151.255

(DMZ)

Admin

gwLCLSARCH0Serving LCLS and LCLS-II PVs to Archiver on DMZReadonlylcls-prod0150765069

134.79.151.255

(DMZ)

.* ALLOW (default)

Deny a list

refer gwLCLSARCH*.dat

 

 

gwLCLSARCH1Serving LCLS and LCLS-II PVs to Archiver on DMZReadonlylcls-prod0150775069

134.79.151.255

(DMZ)

.* DENY

Allow portion in the list

refer gwLCLSARCH*.dat

gwLCLSARCH2Serving LCLS and LCLS-II PVs to Archiver on DMZReadonlylcls-prod0150785069

134.79.151.255

(DMZ)

.* DENY

Allow portion in the list

refer gwLCLSARCH*.dat

gwLCLSARCH3Serving LCLS and LCLS-II PVs to Archiver on DMZReadonlylcls-prod0150795069

134.79.151.255

(DMZ)

.* DENY

Allow portion in the list

refer gwLCLSARCH*.dat

gwLCLS4LCLSIIServing LCLS PVs to LCLS-IIRead and Writelcls-daemon1050605069172.27.131.255 ( LCLS2IOC) and 172.27.11.255 (MCCSRV 
LCLS-II
gwLCLSII4LCLSServing LCLS-II PVs to LCLSRead and Writelcls2-daemon1050605069172.27.3.255 ( LCLSIOC) and 172.27.11.255 (MCCSRV) 
FACET
gwFACET4LCLSServing FACET PVs to LCLSReadonlyfacet-daemon150705069

172.27.11.255

(LCLSCA)

Design

Admin

gwFACETPUBServing FACET PVs to publicReadonlylcls-prod0150635069

134.79.151.255

(DMZ)

Design
gwEXP2FACETServing Fedora based PCOEdge Camera PVs in B244 to FACET controls

Readonly

Write allowed from facet-srv20 to slac-dev-fed

lcls-prod0150625069

facet-srv*:

172.27.72.28 172.27.72.22 172.27.72.23

Not in use currently
gwFACETARCHServing FACET PVs to Archiver on DMZReadonlylcls-prod0150755069

134.79.151.255

(DMZ)

Allow all

 

Test Facilities
gwACCTESTPUBServing Test Facilities PV to publicReadonlytestfac-daemon250485049

134.79.219.255

(LCLSDEV)

doc

 

gwEbeamServe:

  1. Change ` /etc/init.d/st.gwEbeamServe on lcls-daemon3 to use CMDPATH=/usr/st.gwEbeamServe`local/lcls/tools/gateway/script/st.gwEbeamServe64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon3]$ /etc/init.d/st.gwEbeamServe restart
  3. Verify that all LCLS PVs except for OTRS:DMP1:695:* PVs can be seen from Photon/PCDS subnet clients.

 

gwEbeamServeWF:

  1. Change /etc/init.d/st.gwEbeamServeWF on lcls-daemon3 to use CMDPATH=/usr/local/lcls/tools/gateway/script/st.gwEbeamServeWF64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon3]$ /etc/init.d/st.gwEbeamServeWF restart
  3. Verify that only OTRS:DMP1:695:* PVs can be seen from Photon/PCDS subnet clients.

 

gwLCLS4FACET:

  1. Change /etc/init.d/st.gwLCLS4FACET on lcls-daemon10 to use CMDPATH=/usr/local/lcls/tools/gateway/script/st.gwLCLS4FACET64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon10]$ /etc/init.d/st.gwLCLS4FACET restart
  3. Verify that LCLS PVs can be seen from FACETCA subnet clients.

 

gwLCLS4LCLSII:

  1. Change /etc/init.d/st.gwLCLS4LCLSII on lcls-daemon10 to use CMDPATH=/usr/local/lcls/tools/gateway/script/st.gwLCLS4LCLSII_64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon10]$ /etc/init.d/st.gwLCLS4LCLSII restart
  3. Verify that LCLS PVs can be seen from LCLS2IOC subnet clients.

 

gwLCLSPUB:

  1. Change /etc/init.d/st.gwLCLSPUB on lcls-prod01 to use CMDPATH=/afs/slac/g/lcls/tools/gateway/script/st.gwLCLSPUB64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-prod01]$ /etc/init.d/st.gwLCLSPUB restart
  3. Verify that LCLS production PVs can be seen when running lclshome on LCLSDEV/LCLSDMZ nodes (e.g., mcclogin).

gwLCLSARCH0:

  1. Change /etc/init.d/st.gwLCLS4LCLSII on lcls-prod01 to use CMDPATH=/usr/local/lcls/tools/gateway/script/st.gwLCLSARCH0_64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon10]$ /etc/init.d/st.gwLCLSARCH0 restart
  3. Verify that LCLS PVs can be seen from LCLS2IOC subnet clients.

gwLCLSARCH1:

  1. Change /etc/init.d/st.gwLCLS4LCLSII on lcls-daemon10 to use CMDPATH=/usr/local/lcls/tools/gateway/script/st.gwLCLS4LCLSII_64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon10]$ /etc/init.d/st.gwLCLS4LCLSII restart
  3. Verify that LCLS PVs can be seen from LCLS2IOC subnet clients.

 

gwLCLSARCH2:

  1. Change /etc/init.d/st.gwLCLS4LCLSII on lcls-daemon10 to use CMDPATH=/usr/local/lcls/tools/gateway/script/st.gwLCLS4LCLSII_64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon10]$ /etc/init.d/st.gwLCLS4LCLSII restart
  3. Verify that LCLS PVs can be seen from LCLS2IOC subnet clients.

 

gwLCLSARCH3:

  1. Change /etc/init.d/st.gwLCLS4LCLSII on lcls-daemon10 to use CMDPATH=/usr/local/lcls/tools/gateway/script/st.gwLCLS4LCLSII_64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon10]$ /etc/init.d/st.gwLCLS4LCLSII restart
  3. Verify that LCLS PVs can be seen from LCLS2IOC subnet clients.

 

gwLCLSII4LCLS:

  1. Change /etc/init.d/st.gwLCLS4LCLSII on lcls-daemon10 to use CMDPATH=/usr/local/lcls/tools/gateway/script/st.gwLCLS4LCLSII_64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon10]$ /etc/init.d/st.gwLCLS4LCLSII restart
  3. Verify that LCLS PVs can be seen from LCLS2IOC subnet clients.

 

gwFACET4LCLS:

  1. Change /etc/init.d/st.gwLCLS4LCLSII on lcls-daemon10 to use CMDPATH=/usr/local/lcls/tools/gateway/script/st.gwLCLS4LCLSII_64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon10]$ /etc/init.d/st.gwLCLS4LCLSII restart
  3. Verify that LCLS PVs can be seen from LCLS2IOC subnet clients.

 

gwFACETPUB:

  1. Change /etc/init.d/st.gwLCLS4LCLSII on lcls-daemon10 to use CMDPATH=/usr/local/lcls/tools/gateway/script/st.gwLCLS4LCLSII_64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon10]$ /etc/init.d/st.gwLCLS4LCLSII restart
  3. Verify that LCLS PVs can be seen from LCLS2IOC subnet clients.

 

gwEXP2FACET:

  1. Change /etc/init.d/st.gwLCLS4LCLSII on lcls-daemon10 to use CMDPATH=/usr/local/lcls/tools/gateway/script/st.gwLCLS4LCLSII_64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon10]$ /etc/init.d/st.gwLCLS4LCLSII restart
  3. Verify that LCLS PVs can be seen from LCLS2IOC subnet clients.

 

gwFACETARCH:

  1. Change /etc/init.d/st.gwLCLS4LCLSII on lcls-daemon10 to use CMDPATH=/usr/local/lcls/tools/gateway/script/st.gwLCLS4LCLSII_64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon10]$ /etc/init.d/st.gwLCLS4LCLSII restart
  3. Verify that LCLS PVs can be seen from LCLS2IOC subnet clients.

 

gwACCTESTPUB:

  1. Change /etc/init.d/st.gwLCLS4LCLSII on lcls-daemon10 to use CMDPATH=/usr/local/lcls/tools/gateway/script/st.gwLCLS4LCLSII_64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon10]$ /etc/init.d/st.gwLCLS4LCLSII restart
  3. Verify that LCLS PVs can be seen from LCLS2IOC subnet clients.

gwCRYO4LCLS:

  1. Change /etc/init.d/st.gwLCLS4LCLSII on lcls-daemon10 to use CMDPATH=/usr/local/lcls/tools/gateway/script/st.gwLCLS4LCLSII_64
  2. Restart gateway:

    Code Block
    languagebash
    themeMidnight
    [laci@lcls-daemon10]$ /etc/init.d/st.gwLCLS4LCLSII restart
  3. Verify that LCLS PVs can be seen from LCLS2IOC subnet clients.

probe

StripTool

 

Info

...