[INSTRM-1769] summit DNSmasq needs to be sorted out Created: 26/Oct/22 Updated: 01/Feb/24 Resolved: 01/Feb/24 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | ics_dnsmasq |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | yuki.moritani | Assignee: | Yoshida, Hiroshige |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Recently DNSmasq configuration is checked to prepare SM3 AIT work. At that time, there are some points to be sorted out. Here is report from Yoshida-san on Slack:
|
| Comments |
| Comment by yuki.moritani [ 28/Oct/22 ] |
|
For the PFI-related points (the first and second bullets), it is comes from we assign the same IP to the devices on the old and new E-box.
PFI temperature devices (ADAM-6015) set 1: in the new E-box
set 2: in the old E-box, and attached on PFI
|
| Comment by Yoshida, Hiroshige [ 28/Oct/22 ] |
|
So we cloned the MAC of pfi-temps1 (they are identical - that is one way to make swapping between two E-boxes easier - perhaps we should clone MACs of pfi-temps2 and pfi-temps3 as well)? |
| Comment by Yoshida, Hiroshige [ 28/Oct/22 ] |
|
filterwheel-dcb is on 133.40.165.123, as in master (commit 35bd765a). pdu2-dcb is moved to 133.40.165.124. |
| Comment by yuki.moritani [ 03/Nov/22 ] |
|
In regard to pfi-temp[23], it is possible to clone the MAC address. Given that the old E-box is working in the current situation, we'll modify it after Dec run, when Chi-Hung is visiting Subaru. |
| Comment by cloomis [ 04/Nov/22 ] |
|
If you just want to have unchanging IP addresses for the various eboxes, I am pretty sure it is OK to have two MAC addresses for one hostname/IP address. You just have to make sure not to power/connect them both at the same time. |
| Comment by yuki.moritani [ 05/Nov/22 ] |
|
In short term, until we confirm the new E-box is fine to use on the telescope, we may turn on both old E-box and new E-box, I guess. |
| Comment by cloomis [ 05/Nov/22 ] |
|
As far as dnsmasq itself goes I just complicated things a bit: I created the sm[2-4] subaru host configs in dnsmasq-ics:/etc/dnsmasq.d and checked them in as myself. But I did not push, since I am not smart enough to do that from there. |
| Comment by yuki.moritani [ 28/Oct/23 ] |
|
|