[Lerftest-ctrls] linxuRT CPU system time
Slepicka, Hugo Henrique
slepicka at slac.stanford.edu
Fri May 18 00:03:55 EDT 2018
Hi Ernest,
Sure! Go for it!
Cheers,
Hugo
Sent from my iPhone
On May 17, 2018, at 9:03 PM, Williams Jr., Ernest L. <ernesto at slac.stanford.edu<mailto:ernesto at slac.stanford.edu>> wrote:
I would like to reboot now to fix this.
Can I proceed?
Ernest Williams
Dept. Head, Advanced Control Systems
Advanced Instrumentation Research, Technology Innovation Directorate
SLAC National Laboratory, Stanford University
________________________________
From: Williams Jr., Ernest L.
Sent: Thursday, May 17, 2018 9:02 PM
To: Slepicka, Hugo Henrique; Hoobler, Sonya; lerftest-ctrls at jlab.org<mailto:lerftest-ctrls at jlab.org>
Cc: Williams Jr., Ernest L.
Subject: Re: [Lerftest-ctrls] linxuRT CPU system time
Hi Hugo,
Thanks 👍
I think it is best to put the following in the LERF linuxRT CPU's "kernel-modules.cmd" file
# Use Eastern timezone.
# The computer hosting the linuxRT kernel is at JLAB
export TZ=EST5EDT
echo "Eastern timezone is "$TZ
Cheers,
Ernest Williams
Dept. Head, Advanced Control Systems
Advanced Instrumentation Research, Technology Innovation Directorate
SLAC National Laboratory, Stanford University
________________________________
From: Slepicka, Hugo Henrique
Sent: Thursday, May 17, 2018 8:54 PM
To: Williams Jr., Ernest L.; Hoobler, Sonya; lerftest-ctrls at jlab.org<mailto:lerftest-ctrls at jlab.org>
Subject: Re: [Lerftest-ctrls] linxuRT CPU system time
Hi Ernest,
Here it is:
* From CPU Folder…
* ../common/st.cmd.linuxRT.cpu
* ../common/cpuStart
* ../facility/envSet.sh
* . $FACILITY_ROOT/epics/iocCommon/common/commonSetup.sh
* . nfsMount.sh
* . ${EPICS_IOCS}/${HOSTNAME}/kernel-modules.cmd
* su $IOC_USER -c $(which caRepeater) &
* su $IOC_USER -c linuxRT_cpu_load_viocs.sh
* su $IOC_USER -c 'linuxRT_startup_vioc.sh $VIOC $IOC_EXECUTABLE'
* STARTUP_CMD=$EPICS_IOCS/common/st.cmd.linuxRT
* < ${EPICS_IOCS}/facility/st.cmd.linuxRT.pre
* epicsEnvSet("ACF_FILE","/afs/slac.stanford.edu/g/lcls/epics/iocCommon/facility/Acf/lclsSecurity.acf<https://urldefense.proofpoint.com/v2/url?u=http-3A__slac.stanford.edu_g_lcls_epics_iocCommon_facility_Acf_lclsSecurity.acf&d=DwIGaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=MC4BiMCxQYqEDjREdMYBjgMtK8B97Elv6HGMlZhd7K4&m=C3DesDb3WYpg_aebqKIFZchCmG1fcQMBW6UjbmZH5ZE&s=cWghqf-0fXbwAOqEhkxRtmO_iB-qsLyUkGwjA1x4O_8&e= >")
* epicsEnvSet("ACF_INIT","/afs/slac.stanford.edu/g/lcls/epics/iocCommon/facility/Acf/soft_init_acf.cmd.soft<https://urldefense.proofpoint.com/v2/url?u=http-3A__slac.stanford.edu_g_lcls_epics_iocCommon_facility_Acf_soft-5Finit-5Facf.cmd.soft&d=DwIGaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=MC4BiMCxQYqEDjREdMYBjgMtK8B97Elv6HGMlZhd7K4&m=C3DesDb3WYpg_aebqKIFZchCmG1fcQMBW6UjbmZH5ZE&s=oEBYYAj1qzeMsiy9ft61Gc3CYCUPVdGS3DyhQGg9Uck&e= >")
* < ${ST_CMD}
* < ${EPICS_IOCS}/common/st.cmd.soft.post
# Use Eastern timezone.
# The computer hosting the linuxRT kernel is at JLAB
export TZ=EST5EDT
echo "Eastern timezone is "$TZ
From: "Williams Jr., Ernest L." <ernesto at slac.stanford.edu<mailto:ernesto at slac.stanford.edu>>
Date: Thursday, May 17, 2018 at 8:52 PM
To: "Hoobler, Sonya" <sonya at slac.stanford.edu<mailto:sonya at slac.stanford.edu>>, "lerftest-ctrls at jlab.org<mailto:lerftest-ctrls at jlab.org>" <lerftest-ctrls at jlab.org<mailto:lerftest-ctrls at jlab.org>>
Cc: "Williams Jr., Ernest L." <ernesto at slac.stanford.edu<mailto:ernesto at slac.stanford.edu>>, "Slepicka, Hugo Henrique" <slepicka at slac.stanford.edu<mailto:slepicka at slac.stanford.edu>>
Subject: Re: [Lerftest-ctrls] linxuRT CPU system time
Hi Sonya and Hugo,
Since LERF is a temporary facility with few linuxRT computers, we should just override "TZ=PST8PDT" in "kernel-modules.cmd"
# Always use Pacific timezone. This will be fixed in future kernel images, but
# no harm in being redundant.
export TZ=PST8PDT
echo "Pacific timezone is "$TZ
Note: commonSetup.sh is maintained by CVS.
I am not sure if it is worth the trouble to put logic that figures out the Locale/Region.
Hugo, can you tell us the order of all these start scripts?
I need a clear order of who calls who.
Starting from: /usr/local/lcls/epics/iocCommon/lcls-llrfcpu01/startup.cmd
Cheers,
Ernest Williams
Dept. Head, Advanced Control Systems
Advanced Instrumentation Research, Technology Innovation Directorate
SLAC National Laboratory, Stanford University
________________________________
From: Lerftest-ctrls <lerftest-ctrls-bounces at jlab.org<mailto:lerftest-ctrls-bounces at jlab.org>> on behalf of Williams Jr., Ernest L. <ernesto at slac.stanford.edu<mailto:ernesto at slac.stanford.edu>>
Sent: Thursday, May 17, 2018 8:34 PM
To: Hoobler, Sonya; lerftest-ctrls at jlab.org<mailto:lerftest-ctrls at jlab.org>
Subject: Re: [Lerftest-ctrls] linxuRT CPU system time
Hi Sonya,
Do you mind if I go in a fix this?
I will need to reboot both linuxRT computers.
Cheers,
Ernest Williams
Dept. Head, Advanced Control Systems
Advanced Instrumentation Research, Technology Innovation Directorate
SLAC National Laboratory, Stanford University
________________________________
From: Lerftest-ctrls <lerftest-ctrls-bounces at jlab.org<mailto:lerftest-ctrls-bounces at jlab.org>> on behalf of Sonya Hoobler <sonya at slac.stanford.edu<mailto:sonya at slac.stanford.edu>>
Sent: Thursday, May 17, 2018 2:24 PM
To: lerftest-ctrls at jlab.org<mailto:lerftest-ctrls at jlab.org>
Subject: [Lerftest-ctrls] linxuRT CPU system time
Hi Hugo,
I see commonSetup.sh sets the time zone to SLAC time:
export TZ=PST8PDT
How do we want to handle this?
And actually, the linuxRT CPU system time is 8 hours ahead:
#date
Thu May 17 22:19:05 PDT 2018
so that is odd.
Thanks,
Sonya
_______________________________________________
Mailing List: Lerftest-ctrls at jlab.org<mailto:Lerftest-ctrls at jlab.org>
https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls
Wiki: https://wiki.jlab.org/lerf/index.php/Network
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/lerftest-ctrls/attachments/20180518/0799a9f9/attachment-0001.html>
More information about the Lerftest-ctrls
mailing list