[Lerftest-ctrls] linxuRT CPU system time

Williams Jr., Ernest L. ernesto at slac.stanford.edu
Fri May 18 00:03:04 EDT 2018


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
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
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")
                    *   epicsEnvSet("ACF_INIT","/afs/slac.stanford.edu/g/lcls/epics/iocCommon/facility/Acf/soft_init_acf.cmd.soft")
                 *   < ${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>
Date: Thursday, May 17, 2018 at 8:52 PM
To: "Hoobler, Sonya" <sonya at slac.stanford.edu>, "lerftest-ctrls at jlab.org" <lerftest-ctrls at jlab.org>
Cc: "Williams Jr., Ernest L." <ernesto at slac.stanford.edu>, "Slepicka, Hugo Henrique" <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> on behalf of Williams Jr., Ernest L. <ernesto at slac.stanford.edu>
Sent: Thursday, May 17, 2018 8:34 PM
To: Hoobler, Sonya; 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> on behalf of Sonya Hoobler <sonya at slac.stanford.edu>
Sent: Thursday, May 17, 2018 2:24 PM
To: 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
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/f54fd6ca/attachment-0001.html>


More information about the Lerftest-ctrls mailing list