Versions Compared

Key

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

...

where
%s1 = table name
%s2 = CSVs in the same order as in the #Schema (top-to-bottom = left-to-right); ignore the ID column; replace the FKs with enums from the referenced table.

Verify that the client connects
Code Block

iocegr@lcls-builder$ iocConsole ioc-bsy0-mp01

/* Be very careful here */
Cexp@ioc-bsy0-mp01>printHistoryServerList()
172.27.8.41:30001       Time-to-live: 20        Is Connected: Yes
0x00000000 (0)

CTRL-a then d to exit

Note: Wait > 20 seconds before restarting the history server.

User's Guide

...

Scripts

You have to run mpshist on lcls-daemon2 as laci

Code Block
/etc/initrc3.d/stS99st.mpshist start

To stop mpshist

Code Block
/etc/initrc3.d/stS99st.mpshist stop

Check if a server is connected (on production)

Code Block
iocConsole ioc-bsy0-mp01

Test

To test whether the Server is working, use POSI:EP02:400:MTLM_LGC_BYPV, e.g.

Code Block

caput POSI:EP02:400:MTLM_LGC_BYPV 1
//wait 10 seconds
caput POSI:EP02:400:MTLM_LGC_BYPV 0

Verify in MpsGui (not in cmlog)

Cmlog

The cmlog facility is "MPS History".

...