Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-35729

Update the TMA Machines to Use NTP on Summit

    XMLWordPrintable

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: ts_main_telescope
    • Labels:

      Description

      Update the TMA machines to use NTP on summit.

      IPs:

      • EUI: tma-controller01.cp.lsst.org
      • TMAPXI: 192.168.209.10
      • AxesPXI: 192.168.213.11 access from TMAPXI --> Use 192.168.209.12 now
      • AuxPXI: 192.168.209.11 --> Reachable by ccw-mgmt.cp.lsst.org.

      From IT:
      1. ccw-mgmt.cp.lsst.org - CCW desktop
      2. tma-vm01.cp.lsst.org (TMA VM) - shutdown
      3. tma-controller01.cp.lsst.org - TMA physical server - shutdown

      Based on Alberto:

      You need to connect to EUI computer, it is accessible from outside, and then form it you have ssh access to PXIs in the private network.

      In PXIs the OS is the NI Linux RT. The user "admin" is root privileged.
      The EUI is a CentOS 7. The user "lsst" is not root privileged.

      In all cases the password is -redacted - do not post passwords
      - in CentOS.

      I guess that you need to disable the PTP synchronization and adapt the PHC to take the synchronization from NTP. In the PXIs there are couple of scripts that starts when the OS starts. This was done using the update-rc.d command. The name of the scripts are ptpScript and phcScript, and they are located in /etc/init.d/.

        Attachments

          Activity

          Hide
          dmills Dave Mills added a comment -

          Excellent, thanks for prioritizing it

          Show
          dmills Dave Mills added a comment - Excellent, thanks for prioritizing it
          Hide
          dmills Dave Mills added a comment -

          I added ntp to the firewall rules on tma-controller01
          (firewall-cmd --add-service=ntp --permanent ; firewall-cmd --reload)
          I changed /etc/chronyd.conf to "allow 192.168"
          I forced an update on a PXI with

          ssh admin@192.168.209.10
          /etc/init.d/ntpd stop
          ntpd -qg
          /etc/init.d/ntpd start

          Show
          dmills Dave Mills added a comment - I added ntp to the firewall rules on tma-controller01 (firewall-cmd --add-service=ntp --permanent ; firewall-cmd --reload) I changed /etc/chronyd.conf to "allow 192.168" I forced an update on a PXI with ssh admin@192.168.209.10 /etc/init.d/ntpd stop ntpd -qg /etc/init.d/ntpd start
          Hide
          ttsai Te-Wei Tsai added a comment - - edited

          From Julen:

          • Aux-PXI: 192.168.209.11
          • TMA-PXI: 192.168.209.10
          • AXES-PXI: 192.168.209.12
          Show
          ttsai Te-Wei Tsai added a comment - - edited From Julen: Aux-PXI: 192.168.209.11 TMA-PXI: 192.168.209.10 AXES-PXI: 192.168.209.12
          Hide
          dmills Dave Mills added a comment -

          Reopened ticket :
          We also need to ensure that the settai program is run whenever the PXI's, MCS boot so that the kernel leap seconds gets set correctly

          Show
          dmills Dave Mills added a comment - Reopened ticket : We also need to ensure that the settai program is run whenever the PXI's, MCS boot so that the kernel leap seconds gets set correctly
          Hide
          ttsai Te-Wei Tsai added a comment -

          It looks like Dave built the chronyd in the PXIs now.

          Show
          ttsai Te-Wei Tsai added a comment - It looks like Dave built the chronyd in the PXIs now.

            People

            Assignee:
            dmills Dave Mills
            Reporter:
            ttsai Te-Wei Tsai
            Reviewers:
            Dave Mills
            Watchers:
            Andy Clements, Cristián Silva, Dave Mills, Te-Wei Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Jenkins

                No builds found.