Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions config/hspower/hspower_bspec1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,30 @@ peer_id: bspec1
group_id: hspower

hardware:
# blueeaton1, per the /etc/hosts table in
# docs/build_notes/host_machine_build_notes.rst. That table also lists
# blueeaton2 (192.168.29.152); confirm which of the two is the BSPEC unit
# (and what the other one is) before deploying.
ip_address: 192.168.29.151
# specblueeaton, per the /etc/hosts table in
# docs/build_notes/host_machine_build_notes.rst.
ip_address: 192.168.29.171
tcp_port: 23
# TODO: confirm against the hardware. EMAT-08 has eight outlets, EMAT-10 has
# ten, and this is what decides how many outlet keyword blocks exist; the
# daemon logs a warning at startup if it disagrees with the count the PDU
# reports.
outlet_count: 8
outlet_names:
1: 1_Inficon
2: 2_Aruba
3: 3_Unused
4: 4_bluelake
5: 5_redlake
6: 6_Unused
7: 7_Unused
8: 8_Unused
# Telnet login. The values never appear here: these name environment
# variables the daemon reads, set root-only in /etc/hispec/secrets.env (see
# docs/operations/systemd.md). All nine PDUs share one login today; point an instance
# at different variables if its unit gets its own.
username_env: HISPEC_PDU_USERNAME
password_env: HISPEC_PDU_PASSWORD
password_env: HISPEC_SPECEATON_PASSWORD

logging:
level: INFO
20 changes: 13 additions & 7 deletions config/hspower/hspower_rspec1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,30 @@ peer_id: rspec1
group_id: hspower

hardware:
# TODO: which unit is unknown. The /etc/hosts table in
# docs/build_notes/host_machine_build_notes.rst lists redeaton1, redeaton2
# and redeaton3, and there is one RSPEC config. Left unset on purpose: the
# daemon then starts, serves its keywords and reports 'missing PDU
# connection parameters' rather than reaching for a guessed address.
ip_address:
# specredeaton, per the /etc/hosts table in
# docs/build_notes/host_machine_build_notes.rst.
ip_address: 192.168.29.181
tcp_port: 23
# TODO: confirm against the hardware. EMAT-08 has eight outlets, EMAT-10 has
# ten, and this is what decides how many outlet keyword blocks exist; the
# daemon logs a warning at startup if it disagrees with the count the PDU
# reports.
outlet_count: 8
outlet_names:
1: 1_Unused
2: 2_Unused
3: 3_Unused
4: 4_Unused
5: 5_Unused
6: 6_Unused
7: 7_Unused
8: 8_Unused
# Telnet login. The values never appear here: these name environment
# variables the daemon reads, set root-only in /etc/hispec/secrets.env (see
# docs/operations/systemd.md). All nine PDUs share one login today; point an instance
# at different variables if its unit gets its own.
username_env: HISPEC_PDU_USERNAME
password_env: HISPEC_PDU_PASSWORD
password_env: HISPEC_SPECEATON_PASSWORD

logging:
level: INFO
5 changes: 4 additions & 1 deletion docs/build_notes/host_machine_build_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,10 @@ Edit ``/etc/hosts`` to include the private network entries for HISPEC, ordered n
192.168.29.164 redeaton2
192.168.29.165 redettemp
192.168.29.166 redeaton3
192.168.29.175 cred2
192.168.29.171 specblueeaton
192.168.29.177 specbluelakeshore
192.168.29.181 specredeaton
192.168.29.185 specredlakeshore

MQTT Broker Setup
-----------------
Expand Down
Loading