|
Size: 1373
Comment:
|
← Revision 10 as of 2021-08-27 07:35:43 ⇥
Size: 1478
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| == Servers == | == Nodus == |
| Line 9: | Line 9: |
| * fb1 runs the central ntp server used by martian. This is run through ntp daemon with configuration file present in {{{/etc/ntp.conf}}} | == FB1 and FE subnetwork == This was successfully implemented by Jamie. See elog [[https://nodus.ligo.caltech.edu:8081/40m/16302 | 40m/16302]] for complete details. |
| Line 11: | Line 12: |
| * fb1 uses nodus and caltech ntp server (131.215.239.14 or ntp-02.caltech.edu) | === Server === |
| Line 13: | Line 14: |
| * All FE computers use fb1 and nodus as the ntpservers and run ntp client using ntp daemon service. | * fb1 runs the ntp server used by FE computers. This is run through ntp with configuration file present in {{{/etc/ntp.conf}}} |
| Line 15: | Line 16: |
| * The configuration files for FE ntp service is present in on fb1 {{{/diskless/root.jessie/etc/ntp.conf}}} | * fb1 uses 4 servers from debian.pool.ntp.org as ntp servers. |
| Line 17: | Line 18: |
| * To change anything in FE computers, one needs to chroot into the root.jessie chroot jail which is exported to the FEs as their os. | * ntp is configured to serve the front end network by using: broadcast 192.168.123.255 === Clients === * All FE computers use fb1 at the ntpservers. * The configuration files for FE ntp service is present in on fb1 {{{/diskless/root/etc/systemd/timesyncd.conf}}} * To change anything in FE computers, one needs to chroot into the root chroot jail which is exported to the FEs as their os. |
| Line 20: | Line 29: |
| chroot /diskless/root.jessie /bin/bash | sudo chroot /diskless/root.jessie /bin/bash |
| Line 23: | Line 32: |
| * This will take you to terminal in debian os which is exported to FEs. You can use apt-get to install anything here. | * This will take you to the terminal in debian os which is exported to FEs. You can use apt-get to install anything here. |
| Line 25: | Line 34: |
| * Logging into FEs themselves, one can not edit or add any file as the whole filesystem is read-only and imported from fb1. But one can check the status of ntp service by: | * Logging into FEs themselves, one can not edit or add any file as the whole filesystem is read-only and imported from fb1. But one can check the status of timesyncd service and ntp synchronization status by: |
| Line 27: | Line 36: |
| sudo systemctl status ntp | sudo systemctl status systemd-timesyncd |
| Line 29: | Line 38: |
| and | |
| Line 31: | Line 39: |
| ntpd -pn | timedatectl |
| Line 33: | Line 41: |
* Relevant elog post threads: [[https://nodus.ligo.caltech.edu:8081/40m/16292 |40m/16292]] and [[https://nodus.ligo.caltech.edu:8081/40m/16286 | 16286]]. |
NTP Synchronization
Nodus
* Nodus runs an NTP server using chronyd. The configuration files are present at: /etc/chronyd.conf
* Nodus uses 4 servers from rhel.pool.ntp.org as ntp servers.
FB1 and FE subnetwork
This was successfully implemented by Jamie. See elog 40m/16302 for complete details.
Server
* fb1 runs the ntp server used by FE computers. This is run through ntp with configuration file present in /etc/ntp.conf
* fb1 uses 4 servers from debian.pool.ntp.org as ntp servers.
* ntp is configured to serve the front end network by using: broadcast 192.168.123.255
Clients
* All FE computers use fb1 at the ntpservers.
* The configuration files for FE ntp service is present in on fb1 /diskless/root/etc/systemd/timesyncd.conf
* To change anything in FE computers, one needs to chroot into the root chroot jail which is exported to the FEs as their os.
sudo chroot /diskless/root.jessie /bin/bash
* This will take you to the terminal in debian os which is exported to FEs. You can use apt-get to install anything here.
* Logging into FEs themselves, one can not edit or add any file as the whole filesystem is read-only and imported from fb1. But one can check the status of timesyncd service and ntp synchronization status by:
sudo systemctl status systemd-timesyncd
timedatectl
