Revert "revert de97f24da594e5ef0a8a2e5c4947a4d81c271b7a"
Build and Deploy Documentation / build-and-deploy (push) Successful in 5s

This reverts commit fc8cc9aebd.
This commit is contained in:
acerbo_a committed 2026-11-25 14:10:30 +01:00
1 parent 0f3fb3c8c2
commit 01355a9c44
41 files changed
+3411 -11

No files matched your search

@@ -6,3 +6,33 @@ tags:
- SwissFEL
- HIPA
---
## Introduction
A picoammeter is a precision electrical measuring instrument designed to measure very small electrical currents, typically in the picoampere (pA) and femtoampere (fA) ranges.
Keithley Instruments, manufactures a range of low-current measurement instruments suitable for applications involving semiconductor devices, photodetectors, ionisation chambers, electron microscopy and other sensitive electrical measurements.
![keithley 6482](<images/keithley 6482 Model.jpg>)
The Keithley 6400 series includes instruments designed for accurate low-current measurement over a wide dynamic range. The relevant models used at PSI facilities are:
- Keithley 6485: Single-channel picoammeter.
- Keithley 6482: Dual-channel picoammeter with two integrated voltage-bias sources.
Both instruments measure currents from 2 nA to 20 mA, but differ in their channel architecture, measurement resolution, voltage-source capabilities and intended applications.
Detailed Specifications/Datasheet is available on their [Website](https://www.tek.com/en/products/keithley/low-level-sensitive-and-specialty-instruments/series-6400-picoammeters)
## Communication Interface
The instruments support the following communication interfaces:
- GPIB (IEEE-488): Parallel instrument communication interface.
- RS-232: Serial communication interface.
[KickStart Instrument Control Software](https://www.tek.com/en/software/kickstart/2-11-5)
application developed by Tektronix/Keithley, provides a graphical user interface (GUI) for configuring instruments, performing measurements, acquiring data and visualising measurement results without requiring users to develop custom programming cod
The Keithley picoammeters support remote instrument operation through computer communication interfaces. These interfaces allow the instruments to be configured, controlled and monitored using external software (EPICS).
Remote Operation and Commands details can be found in [User Manual](https://www.tek.com/en/low-level-sensitive-and-specialty-instruments/series-6400-picoammeters-manual/model-6485-model-6487)
## EPICS Integration
The device can be integrated on [EPICS](https://epics-controls.org/) using the [Keithley](https://gitea.psi.ch/epics_ioc_modules/keithley) IOC modules developed at PSI. Both communication interface are supported by the IOC modules and are connected through [MOXA](../../../3._Knowledge_Center/03_how_to/16_configure_MOXA.md)
Sample EPICS UIs for 6485 & 6482 Models
![keithley 6485](images/keithley6485.png)
![keithley 6482](images/keithley6482.png)
Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

@@ -3,11 +3,12 @@ title: Beckhoff
tags:
- SLS
- SwissFEL
- HIPA
---
# EtherCAT based motion hardware
ECMC is an EPICS-based motion control and data acquisition module for EtherCAT systems. It combines axis control, realtime PLC logic, data acquisition, and runtime extensions in one IOC-oriented package. The growing list of EtherCAT hardware supported by Controls forms the basis of the SLS 2.0 Motion Control Standard.
ECMC is an EPICS-based motion control and data acquisition module for EtherCAT systems. It combines axis control, realtime PLC logic, data acquisition, and runtime extensions in one IOC-oriented package.
## EtherCAT Hardware Portfolio
@@ -26,4 +27,4 @@ The use of non-preferred, but otherwise supported, terminals should be discussed
## Scope of support
The support of EtherCAT hardware often extends past EPICS integration of basic motion control and I/O. For further information, see the ECMC subsection in the Service Portfolio tab.
The support of EtherCAT hardware often extends past EPICS integration of basic motion control and I/O. For further information, see the [Motion Control](../../Services/06_motion.md) or [Generic I/O](../../Services/07_generic_io.md) subsections in the Service Portfolio tab.
@@ -2,7 +2,42 @@
title: Aerotech
tags:
- SLS
- PROSCAN
- SwissFEL
- HIPA
---
# Aerotech platform capabilities
The Aerotech platform encompases a vendor-integrated stack of stages, drives and controller with advanced motion functionality. Full functionality is available through vendor provided software, while some functionality is available through a PSI supported EPICS driver.
## Current Platform: Automation1
:green_circle: Partially Supported: Basic motion through EPICS motorRecord
### Motion and Control
- Coordinated trajectories for up to 32 axes on the PC-based controller and 12 axes on the drive-based one.
- High-speed encoder feedback, on-the-fly end-point modification, data acquisition, joystick support, gantry mode, enhanced tracking control and friction compensation.
- Recent releases add gantry control, current command coupling for high torque/force systems, unique output waveforms and data capture features.
- PSO (Position-synchronized output) and encoders.
### Architecture
- One development environment, two targets. The same Motion Development Kit deploys to either a PC-based or a drive-based controller.
- HyperWire bus. The controller connects to servo drives, galvo scan head controllers and more over Aerotech's fiber-optic HyperWire bus. Aerotech also highlights laser scan head and piezo actuator drive electronics.
- EtherCAT. The controller can be integrated into larger EtherCAT architectures.
### Software and programming
- Setup tools. Machine Setup, EasyTune motor tuning and setup checklists are included. The Studio application also has an interactive tool for finding the commutation offset on axes with absolute-encoder commutation.
- APIs. .NET, C and Python APIs, plus an instrument driver for LabVIEW, with the .NET API exposing the same functions Aerotech's own developers use.
- Version 2.8. It added data acquisition, HMI visualization and CNC features, and support for the 4-axis XA4 controller.
## Legacy Platform: Ensemble
:orange_circle: Supported Ending: Basic motion through EPICS motorRecord
For platform details:
https://de.aerotech.com/product/ensemble-drive-based-multi-axis-motion-controller/
@@ -9,8 +9,488 @@ tags:
# Control System IT Infrastructure
boot infra
virt/physica hosts
gateways
autodeploy services ?
...
## What we provide
Controls IT (group 8213, Control System Infrastructure and Services) operates the Linux infrastructure the control systems of SLS, SwissFEL, HIPA and PROSCAN run on. Every facility gets the same set of standard machines with the same naming, so what you know from one facility applies to the others.
![What Controls IT operates in a facility: consoles, servers, login cluster and boot servers in the office network and in the machine network, soft IOC hosts in the machine and beamline networks, and the Channel Access gateways between them; the SSH gateway is operated by AWI](images/02_platform_overview.svg)
| What | What it is for |
| --- | --- |
| LC machines (login cluster) `<facility>-lc` (office network), `<facility>-lca` (machine network) | A special type of development machine that Controls IT operates for Controls: the EPICS development and debugging environment. |
| Soft IOC hosts `<facility>-vserv-NN`, older `<facility>-softioc-…`, in the machine networks and in the beamline networks | Run EPICS soft IOCs in a defined, reproducible environment. All IOCs essential for operating a facility, beamline or endstation must run on these hosts. |
| Consoles `<facility>-cons-NN`, `<facility>-vcons-NN`, in the machine network and in the office network | Desktops that people log in to and operate from, with the control system tools installed. |
| Boot servers `<facility>-boot-NN`, `<facility>129-boot-NN` | Network boot (TFTP server) for the facility. |
| [Channel Access gateways](#ca-gateways) `<facility>-cagw` | EPICS Channel Access between networks; see [CA gateways](#ca-gateways). |
| Port server hosts | Serial console access to devices: `ioc connect <name>` from any controls machine. |
| Servers and container hosts, in the office network and in the machine network | Servers for central controls services, for example web displays (noVNC), web applications in containers and [archiver](04_data.md) components. |
| Controls software on every machine | The EPICS and [Python environment](03_devops.md#python-software); see [Python software](03_devops.md#python-software) and [Autodeploy](11_autodeploy.md). |
The SSH gateways (`<facility>-gw`), your way from the office network into the machine and beamline networks, are operated by AWI, not by Controls IT. Their access lists are kept by Operations or the beamline responsible.
New RHEL9 soft IOC hosts and consoles are named `<facility>-vserv-NN` and `<facility>-vcons-NN`. A RHEL9 machine that replaces a RHEL 8 machine gets a number in the 20s that keeps the last digit of the old one: `-01` becomes `-21`.
Machines are virtual machines on the central AIT VM cluster wherever possible. A physical server is used only when there is a pressing technical reason for one, as for hardware-bound IOC hosts. Storage, user accounts (Active Directory) and [central logging](03_devops.md#logging) come from central PSI services; Controls IT does not run its own.
## Machine types on RHEL9
Every new RHEL9 machine is one of four standard types. The type decides what is installed and configured; per machine only its group, its size and its name differ.
![The four RHEL9 machine types with their purpose and the Small, Medium and Large sizes](images/02_platform_machine_types.svg)
| Type | What it is for | Grouped by | Name | Hosts today |
| --- | --- | --- | --- | --- |
| Soft IOC host (`sioc`) | Runs EPICS soft IOCs for an accelerator, a beamline or an endstation. | Network or beamline, e.g. SwissFEL machine network, X07DA | `<facility>-vserv-NN` | 70 |
| Console | A desktop people log in to and operate from, with the control system tools. | Owning group (org unit) | `<facility>-vcons-NN` | 21 |
| Server | Runs a service in the background: an [archiver](04_data.md), a gateway, a boot server, containers, a database. | Service | per service, e.g. `<facility>-cagw-NN` | 75 |
| Workstation / login cluster | A shared Linux machine for interactive work, such as a login cluster node. | Owning group, if any | per group | – |
"Hosts today" counts the host definitions in the Controls IT configuration data on 23 November 2026, all operating system releases together; another 12 container hosts are kept as a separate group.
Standard machines are virtual machines. Sizes are fixed steps rather than free numbers:
| Size | CPU | Memory | Disk | When |
| --- | --- | --- | --- | --- |
| Small (default) | 2 | 4 GB | 32 GB | Enough for most machines; can be grown later. |
| Medium | 4 | 8 GB | 64 GB | Many IOCs on one host, many displays open on a console, a busy service. |
| Large | 8 | 16 GB | 128 GB | Heavy processing, lots of data or many users. |
| Custom | 1, 2, 4 or 8 | 2, 4, 8, 16 or 32 GB | 32, 64, 128 or 256 GB | Any other combination of these steps. A custom size is not picked off the shelf: it is agreed in an individual discussion with Controls IT and is part of resource planning. |
For anything above 8 CPU, 32 GB memory or 256 GB disk, and for any physical machine, contact Controls IT.
How a machine is kept standard:
- Its definition is a file in Git: type, group, size and name. Controls IT reviews every new definition and every change before it is applied.
- Puppet installs and configures the machine from that definition and the settings of its type and group. Nobody changes a standard machine by hand.
- Operating system and packages are updated automatically every day, kernel included.
- On RHEL9 consoles and login cluster nodes mount the PSI central storage by default.
- The packages each type gets are listed in [Host types](../../3._Knowledge_Center/06_references/04_host_types.md).
![Machine lifecycle: defined as code, provisioned, kept standard, re-created rather than repaired](images/02_platform_lifecycle.svg)
### Consoles
Consoles are the operator terminals used to run and watch a facility. They are built to be secure for production:
- **No user has root on a console.**
- **You work from the installed software.** The tools come from the Controls System Layer and the runtime content from [autodeploy](11_autodeploy.md); nothing is installed or changed by hand.
- **Home directories are local to each console, and nothing should live in them.** Do not keep scripts, data or settings you depend on in your home on a console: they exist only on that one machine.
- **Consoles are the supported machines.** When a console has a problem, it is the machine everyone jumps on to fix.
Consoles stay in the **managed tier**: Controls IT owns the console image, its configuration and its life cycle. You use consoles but do not customise them per machine. A console that misbehaves is re-created to standard, and whatever was in a local home directory is gone with it.
### Development machines
Development machines are where your group builds, tests and packages its software before it goes to the rest of the fleet as [RPM packages](../../3._Knowledge_Center/03_how_to/07_build_deploy_rpms.md). They have the compilers, packaging tools and scratch space that consoles deliberately lack, so they are more open, but they are still built from a standard image.
They are **self-service**: your group uses and operates them and owns what it builds there. Keep source code and results in Git and in the package repositories, not only on the machine. Controls IT does not debug your build problems on them; if the machine itself is broken or drifted, it is re-created to standard.
The **LC machines** (the login clusters: `<facility>-lc` in the office network, `<facility>-lca` in the machine network) are a special type of development machine. Controls IT operates them for Controls as the EPICS development and debugging environment.
### Soft IOC hosts and hardware-bound IOC hosts
**Soft IOC hosts** run EPICS soft IOCs. EPICS base and modules come as versioned packages, so the EPICS version is a recorded property of the host and a soft IOC host can be reproduced exactly when it is re-created. IOC runtime content (startup, displays, configuration) comes through [autodeploy](11_autodeploy.md). Soft IOCs hold no irreplaceable state and are in the self-service, cheaply re-creatable tier. Running soft IOCs as rootless [Podman](../../3._Knowledge_Center/03_how_to/09_containers.md) containers supervised by systemd is the target for IOCs that suit it (planned).
**Hardware-bound IOC hosts** are connected to physical devices and carry firmware state, timing and calibration settings, and sometimes special kernel modules or interface cards. They are **not** disposable and are not re-created on demand: they are in the managed tier, supported closely by Controls IT, and any rebuild is a planned action within a facility access window.
Your group owns its IOC applications, their records, logic and configuration; Controls IT owns the packaged [EPICS toolchain](01_epicscore.md) they run on. How IOCs are built and deployed: [Build and Deploy EPICS IOCs](../../3._Knowledge_Center/03_how_to/10_build_deploy_iocs.md).
### Servers and container hosts
Servers run services in the background. For services that are better isolated from the host, the platform provides containers: **rootless [Podman](../../3._Knowledge_Center/03_how_to/09_containers.md) containers run as systemd services** on a standard container host, deployed by a catalogue action. The container carries its own dependencies, so the host stays standard. This is deliberately lighter than a Kubernetes or OpenShift cluster.
Controls IT owns the standard container host and the container integration; your group owns its containers and what runs in them. A broken container host is re-created, not debugged. Deploying containers through `cas` is planned; the commands exist but do not yet change anything.
### Gateways
Gateways pass EPICS traffic (Channel Access, PV Access) across network boundaries and are part of the separation of accelerator and beamline networks from the office network. They are built from a standard, re-creatable definition, but because one gateway serves many groups and sits on a security boundary, they are **managed by Controls IT end to end**, including their configuration. Your group uses the connectivity but does not operate or reconfigure gateways. Gateways stay with Controls IT throughout the move to RHEL9 and are migrated by Controls IT. Details: [CA gateways](#ca-gateways).
### The rest of the Controls System Layer
| Building block | In short | Where to read more |
| --- | --- | --- |
| Software packages (RPM) | All software on a machine is installed from versioned [RPM packages](../../3._Knowledge_Center/03_how_to/07_build_deploy_rpms.md), never by hand. Controls IT builds and signs its own packages; groups can build theirs and publish them in repositories Controls IT runs. Machines follow a test or production channel; a package is promoted between channels, not rebuilt. Group publishing is planned. | – |
| [Autodeploy folders](11_autodeploy.md) | Read-only network folders that bring scripts (`bin/`), displays (`ui/`) and configuration (`config/`) to standard machines without changing the machine. You link your content in; it is to become Git-backed and reconciled automatically. | [Autodeploy](11_autodeploy.md) |
| Python | Reproducible [Python environments](03_devops.md#python-software), to be managed with pixi, which AIT supports for beamlines. What is available today and how to install it is on the Python software page. | [Python software](03_devops.md#python-software) |
| Controls tools | In-house applications and command-line tools, shared client libraries (a stable, versioned interface), third-party controls software, the operator display framework. | [Tools](../Tools/index.md) |
| Logging and monitoring | Standard agents on every machine send logs and metrics to a central platform; Elastic for logs and search, dashboards for your own data. Central monitoring is also how drift from the standard is detected. | [Logging](03_devops.md#logging), [Monitoring](03_devops.md#monitoring) |
| Automation | Ansible playbooks run by [Rundeck](../../3._Knowledge_Center/02_explanations/04_rundeck.md) and by `cas`, from a catalogue Controls IT owns. | [Rundeck](../../3._Knowledge_Center/02_explanations/04_rundeck.md) |
## How to request a machine or a change
There are two ways in: the web interface gfa-monitoring and the `cas` command-line tool. Both end in a reviewed change: nothing is created or changed on a machine until Controls IT has reviewed it.
**About gfa-monitoring.** [gfa-monitoring](http://gfa-monitoring.psi.ch) is planned to become the web-based hub for Controls IT services. Today it is a proof of concept, so its functions and screens may still change. Once Controls IT has settled its functionality and user interface, it will be implemented professionally for long-term maintenance, support and security. It is reachable from inside PSI. Signing in with your PSI account is planned; until then every request is a pull request that Controls IT reviews before anything happens.
### Request a new machine in gfa-monitoring
Available today in the proof of concept. Open *Request a machine* and answer five questions:
1. **What do you need?** Choose the type: soft IOC host, console, server or workstation.
2. **Where does it belong?** For a soft IOC host: where its IOCs will run (a network or a beamline, e.g. "SwissFEL machine network"). For a console or workstation: which group will use it, as the four digits of the org unit (leave empty if not decided yet). For a server: which service it will run, chosen from the existing ones, or tick *Request a new service* and name it.
3. **How big?** Small, Medium or Large. A custom combination of the steps in [Machine types on RHEL9](#machine-types-on-rhel9) is possible after an individual discussion with Controls IT, as part of resource planning.
4. **What should it be called?** The portal offers the name families already used in that group and picks the next free number (first 20–29, then upwards). It checks that the name is not taken.
5. **Why?** A short reason for the reviewers.
Aliases and facility file shares can be set under *More options*.
What happens then:
1. The portal opens **one pull request**: the machine's configuration file in the controls configuration repository, written like the files of the machines beside it. This file is the machine's only definition.
2. **Controls IT reviews** the pull request and merges it, or comes back to you.
3. **Controls IT creates the machine**; Puppet then configures it from its file. Creating the machine directly from the portal after the merge is planned.
The portal shows the progress of your request: waiting for review, ready to deploy, deploying, waiting for the machine, done.
### Replace a RHEL 8 machine with a RHEL9 one
Available today in the proof of concept. On the page of a RHEL 8 machine, a bar offers **Request migration to RHEL9**. It opens the same request form, already filled in as the replacement:
- the name gets a number in the 20s keeping the last digit (`-01` becomes `-21`), or the first free one of 20–29;
- same type and group as the old machine;
- CPU and memory rounded up from what the old machine has (at most the largest custom step), the smallest disk;
- owner and network carried over, every alias of the old machine kept.
After you send it, the bar shows the progress of the request. Your IOCs are then moved to the new machine (see [Build and Deploy EPICS IOCs](../../3._Knowledge_Center/03_how_to/10_build_deploy_iocs.md)), and the old machine is retired by hand.
### Request a change to an existing machine
Available today in the proof of concept. On a machine's page you can ask for:
| Change | Where on the machine's page |
| --- | --- |
| Add or remove a package | Packages |
| Add a network mount | Mounts |
| Add a power user (administrator rights on that machine) | Responsible / power users |
Each change becomes a pull request on the machine's configuration file. The merge is the approval; Puppet applies the change on the machine. Nothing is changed on the machine directly. The page shows the open pull requests of the machine until they are merged, then "Merged; Puppet applies it" and, once Puppet has run, "Merged; Puppet ran".
Planned: changing a machine's role or environment and decommissioning a machine as requests of the same kind.
Other ways for other needs:
- **Larger, physical or unusual machines:** contact Controls IT.
- **Access to the machine network:** ask Operations or your beamline responsible to put you on the SSH gateway's access list.
- **Restarts and Puppet runs** are run by Controls IT through the central job runner ([Rundeck](../../3._Knowledge_Center/02_explanations/04_rundeck.md)), which logs every run.
- **Monitoring** of hosts, IOCs and gateways in gfa-monitoring: see [Monitoring](03_devops.md#monitoring).
### With the `cas` command-line tool
`cas` is the command-line front-end of the platform. It runs the same reviewed catalogue actions as the web interface, from your own shell: there is no server in between, the playbooks run as you, with your own Kerberos ticket and SSH access. Every command that changes something shows its plan first (which action, which machines) and asks for confirmation; `--check` makes a dry run that changes nothing; every run is a job with an id and a log.
**Who can use it today:** Controls IT, for its own work. Next is a pilot group that brings a development machine and the actions it needs. The tool opens to all groups only after sign-in and group rights (Kerberos, LDAP groups, personal SSH certificates) are in place. Because it runs with your own access, it can only reach machines you can already log in to.
Live today:
| Command | What it does |
| --- | --- |
| `cas status` | Where the actions come from and whether they can run from here |
| `cas catalog` | The actions you can run, and where each is defined |
| `cas features` | What is implemented, what only shows sample data, what is planned |
| `cas machine list`, `cas machine show HOST` | The machines in the inventory, one machine in detail |
| `cas machine add --hostname H …` | Writes a new machine definition into your Git checkout; you commit it and open a pull request |
| `cas machine deploy --on HOST` | Creates the virtual machine, registers it and powers it on |
| `cas machine puppet --on HOST`, `cas machine restart --on HOST` | Puppet run, restart |
| `cas job list`, `cas job logs ID` | Your jobs and their logs |
For example, to look around, define a machine and see what creating it would do, without changing anything:
cas status
cas catalog
cas machine add --hostname dev-x07da-02.psi.ch --type virtual --facility diag \
--cpu 4 --ram 8192 --disk 64
cas machine deploy --on dev-x07da-02.psi.ch --check
Planned: creating a machine from its type in one step (`cas machine provision --type …`), re-creating it to standard (`cas machine recreate HOST`, refused for managed-tier machines), drift reports, and commands for packages, [autodeploy](11_autodeploy.md), containers, IOCs and [Python environments](03_devops.md#python-software). These commands already exist so their shape can be reviewed: read commands show sample data marked `MOCK DATA`, commands that would change something stop with exit code 7 and say they are not implemented yet.
Installation and the full reference are in the [cas_infrastructure](https://gitea.psi.ch/controls_it/cas_infrastructure) repository (`docs/QUICKSTART.md`, `docs/USERS_GUIDE.md`; access needed).
## Why RHEL9, and why a platform
Three things happen at the same time, and together they change how Controls IT works:
| Reason | What it means |
| --- | --- |
| **RHEL 7 and RHEL 8 reach end of life.** | An operating system out of support gets no more security fixes, and the libraries controls software needs stop being maintained for it. Running controls on such machines, in networks next to accelerator and beamline operation, is not acceptable. Every machine has to move to RHEL9. This is not optional. |
| **Controls IT cannot own every machine.** | The old way, where Controls IT installs, configures and debugs each machine for every group, worked while there were few machines. With the number of machines growing and the team not growing, it does not scale. |
| **Hand-built machines fail in unique ways.** | When every console and IOC host is slightly different, every problem is a new investigation and a rebuild after a failure is done from memory. A small number of identical, standard machine types, fully described in Git, can be rebuilt in minutes and compared with each other. |
Because every machine has to be touched for RHEL9 anyway, Controls IT uses the migration to change *how* machines are built and owned at the same time. Re-creating the old one-off machines on the new operating system would waste that chance.
What this is **not** meant to do: limit what your group can do, or put your work behind a slow request queue. The aim is the opposite: you get a fast, self-service way to deploy and update your own software on a stable base, without waiting for Controls IT for routine changes.
Slides: <a href="../presentations/Controls_RHEL9_Platform.pptx" download>RHEL9 and the move to a Controls Platform (PowerPoint download)</a> (June 2026).
## How the platform is built
The platform has three layers, each with exactly one owner.
![Three layers: the RHEL9 base operating system owned by AWI, the Controls System Layer owned by Controls IT, and the software and configuration owned by your group](images/02_platform_layers.svg)
| Layer | Owner | What it contains |
| --- | --- | --- |
| 1 Base operating system | AWI | The standard PSI RHEL9 installation: operating system, its updates, networking, identity (accounts), provisioning of the machine. |
| 2 Controls System Layer | Controls IT | Everything that turns a PSI Linux machine into a controls machine: the [RPM package](../../3._Knowledge_Center/03_how_to/07_build_deploy_rpms.md) repositories and the controls software in them, the [EPICS toolchain](01_epicscore.md), the standard [Python environments](03_devops.md#python-software), the controls tools and client libraries, the [autodeploy folders](11_autodeploy.md), the standard machine types, the gateways, [logging and monitoring](03_devops.md), and the automation and self-service tools that deliver all of this. |
| 3 Software and configuration | Your group | What is specific to your machine, beamline or subsystem: your IOCs and applications, scripts, operator displays and configuration. You deploy it through the platform and you operate and debug it. |
The rule that makes this work: **no layer reaches around another.** Your group does not change the base operating system or the Controls System Layer directly; you use the platform's ways in (catalogue actions, package repositories, autodeploy folders, configuration pull requests). In the other direction, Controls IT does not take over your software just because it runs on a machine Controls IT built.
## Who is responsible for what
### The support contract
![Support contract: Controls IT supports the standard layer, your group owns its software; a broken or drifted machine is re-created to standard and your group re-deploys; gateways, standard consoles and hardware-bound IOC hosts are a managed tier](images/02_platform_responsibilities.svg)
**Controls IT supports** the Controls System Layer and everything it produces: standard consoles, development machines, container hosts and the container services on them, the automation and its catalogue of actions, the [package repositories](../../3._Knowledge_Center/03_how_to/07_build_deploy_rpms.md) and the controls software packaged there, the [EPICS toolchain](01_epicscore.md), [autodeploy](11_autodeploy.md), the [logging and monitoring platform](03_devops.md), and the shared critical infrastructure such as gateways. If a standard machine does not behave as its standard definition says, that is Controls IT's problem to fix.
**Controls IT does not debug** problems your group introduced on your machines. If you deployed software, scripts, configuration or dependencies onto a machine and something does not work as you expect, finding out why is your group's job. Controls IT provides the standard, the tools and the documentation.
Where the line runs when your application breaks on something Controls IT ships: a bug *in* a packaged library, the EPICS build or the base image is Controls IT's; a bug in what you built on top is yours. The shared client libraries are versioned so you can pin a known-good version. Unclear cases are looked at together.
| Concern | AWI | Controls IT | Your group |
| --- | --- | --- | --- |
| Base RHEL9 operating system, updates, provisioning | **Owns** | Uses | – |
| Controls System Layer (repositories, EPICS, autodeploy, tools) | – | **Owns** | Uses |
| Standard consoles | – | **Owns and manages** (managed tier) | Uses |
| Hardware-bound IOC hosts | – | **Owns and manages** (managed tier); re-created only in access windows | Owns the IOC application and records |
| Development machines | – | Owns the standard image | **Operates** (self-service) |
| Container hosts and container service definitions | – | **Owns the standard** | Deploys its own containers |
| Gateways and other shared critical infrastructure | – | **Owns and manages** | Uses |
| Automation and its catalogue of actions | – | **Owns** | Starts actions on its own machines |
| Central inventory of machines | – | **Owns** | Registers its machines |
| Your software, IOCs, scripts, displays, configuration | – | Provides the standard and the tools | **Owns and operates** |
| Debugging problems your group introduced | – | Not in scope: re-create instead | **Owns** |
### Re-create rather than repair
If a machine of your group is broken, has drifted from its standard or is in an unknown state, the remedy Controls IT offers is to **re-create it to standard**: the machine is rebuilt from its standard image and the standard layer, and your group then deploys its software again through the platform. Controls IT does not investigate why the previous state broke.
This is safe and cheap because nothing irreplaceable is kept on the machine itself:
- software comes from [RPM packages](../../3._Knowledge_Center/03_how_to/07_build_deploy_rpms.md) in the repositories,
- runtime files (scripts, displays, configuration) come from the [autodeploy folders](11_autodeploy.md) and Git.
Home directories are local to the machine, for example on the consoles. Do not keep anything you depend on in them.
For you this means: **keep your machines re-creatable.** Put your software into packages, your runtime content into autodeploy and Git, and your data off the local disk. Anything that only exists on one machine is lost when it is re-created.
Today a re-create is done by Controls IT. A one-command re-create (`cas machine recreate`, with a dry run first) is planned.
### Standard tier and managed tier
Not every machine is handed over to self-service. Three kinds of machine stay in a **managed tier** that Controls IT owns and supports closely:
| | Standard tier (self-service) | Managed tier |
| --- | --- | --- |
| Which machines | Development machines, soft IOC hosts and container hosts for soft IOCs and services, other machines your group owns | Gateways and similar shared services; standard consoles; hardware-bound IOC hosts |
| Why | Re-creating them is cheap and safe | A gateway serves many groups and sits on a security boundary; identical consoles are part of safe operation; a machine wired to hardware carries device, timing and calibration state and often cannot be stopped during beam time |
| Who operates it | Your group, through the platform | Controls IT |
| What you may change | Through the supported paths: packages, mounts and power users of the machine as a configuration pull request; your software, runtime files and containers through packages, [autodeploy](11_autodeploy.md) and catalogue actions. Changes made by hand outside these paths take the machine out of support | Nothing per machine. You use the machine; what is specific to operators comes through the home directory and autodeploy. Changes are coordinated with Controls IT |
| Support you get | The standard layer is supported; your software is yours; a broken or drifted machine is re-created to standard | Supported closely by Controls IT |
| Re-create | On request, as the normal remedy | Only by Controls IT as a planned action; for hardware-bound IOC hosts only within a facility access window, never as an unplanned wipe |
Your group may hold administrator rights on its own standard-tier machines (power users, requested per machine). The boundary is not what you are allowed to do but what is supported: whatever is changed by hand outside the supported paths has left the standard, is no longer supported, and its remedy is a re-create.
## Self-service: rules and status
The platform is used through two equal front-ends over one set of actions:
- a **web portal** for guided, everyday actions: today the proof of concept [gfa-monitoring](http://gfa-monitoring.psi.ch) (see [How to request a machine or a change](#how-to-request-a-machine-or-a-change));
- a **command-line tool, `cas`**, for scripting and automation.
Both run the same reviewed actions; neither can do something the other cannot. Behind them, every action is an Ansible playbook from a catalogue that Controls IT owns and reviews. Your group decides *when* and *where* to run an action on its own machines; Controls IT decides *what* actions exist. A new action means a new reviewed catalogue entry.
| Rule | What it means for you | Status (November 2026) |
| --- | --- | --- |
| The catalogue is the only sanctioned way to change a standard machine | There is no side door of manual edits; what you need becomes a catalogue action | Live: catalogue in Git, run by `cas` and by the portal through [Rundeck](../../3._Knowledge_Center/02_explanations/04_rundeck.md) |
| Configuration changes are pull requests | Packages, mounts and power users of a machine are changed in its configuration file; the merge is the approval, Puppet applies it | Live in the portal |
| Every change is recorded | Each action records who asked for what on which machine, with its log | Live: action log in the portal, job log in `cas` |
| Only machines in the central inventory can be targeted | A machine that is not registered cannot be changed through the platform | Live |
| You sign in with your PSI account; the CLI reuses your Kerberos login | No new password | `cas` runs with your own Kerberos ticket and SSH access today; sign-in to the portal is planned |
| You can act only on your group's machines | Rights follow your Unix (LDAP) groups and a machine's power users and responsibles | Planned |
| Managed-tier machines refuse destructive actions | You cannot accidentally restart or re-create a gateway, console or hardware IOC host | Planned |
| Secrets are kept centrally | Credentials never appear in content your group can see | Live for the portal's actions (kept in Rundeck) |
![Self-service: you use the gfa-monitoring proof of concept or the cas CLI; both lead to reviewed pull requests or catalogue actions that Controls IT owns, applied by Puppet and Rundeck to inventoried machines](images/02_platform_request_paths.svg)
## The move to RHEL9: plan and what you need to do
The move is time-boxed: the plan of June 2026 migrates the fleet during 2026 and switches off the remaining RHEL 7 and RHEL 8 machines (the legacy sunset) in the first quarter of 2027. Shared critical infrastructure such as the gateways is migrated by Controls IT, not by self-service.
![Transition: foundation and standard machine types in Q3 2026, self-service tools and pilot groups, general migration in Q4 2026, legacy sunset in Q1 2027](images/02_platform_transition.svg)
| Phase | Target | Content | Done when | Status |
| --- | --- | --- | --- | --- |
| 0 Foundation | Q3 2026 | Package repositories, central inventory, automation, [autodeploy](11_autodeploy.md) | A standard machine can be built end to end without manual steps | Almost done (June 2026) |
| 1 Standard machine types | Q3 2026 | Standard machine images; EPICS, Python and tools as packages | Each type can be created and re-created reproducibly | Completed (June 2026). Creating or re-creating a machine by type in one command is still planned (November 2026) |
| 2 Self-service tools and monitoring | Q3 2026 | Web portal and CLI, central [logging and monitoring](03_devops.md), drift detection | A group can run a standard action on its own machines; drift is visible centrally | November 2026: `cas` CLI in use by Controls IT; gfa-monitoring proof of concept live for machine requests and configuration changes; sign-in and group rights planned |
| 3 Pilot | Q3 2026 | A few volunteer groups move onto the platform | Their workloads run without per-machine help from Controls IT | Planned: two volunteer groups first, then the first groups onboarded from November 2026 (plan of June 2026) |
| 4 General migration | Q4 2026 | The remaining machines move to RHEL9; all groups onboarded | New machines are created only as standard types | Planned |
| 5 Legacy sunset | Q1 2027 | Remaining RHEL 7 and RHEL 8 machines switched off; hand-built machines and live edits on shared folders end; per-machine support only for the managed tier | No machine on an unsupported operating system | Planned |
### A RHEL 8 machine is replaced, not upgraded
A RHEL 8 machine is not upgraded in place. A new RHEL9 machine is created beside it (a "parallel host"), you test your IOCs and applications there, and what works stays on the new machine for production. The old machine is retired afterwards. Request the replacement as described in [Replace a RHEL 8 machine](#replace-a-rhel-8-machine-with-a-rhel9-one).
### What you need to do
- **Know your machines.** Check with Controls IT which machines are your group's and whether they are standard or need special attention: CPU and memory needed, firewall rules, network, mounts, users.
- **Test on the new machine.** When the RHEL9 replacement exists, test your IOCs and applications on it. If they do not work, they need to be adapted as soon as possible.
- **Own your extras.** Any package your group needs beyond the standard needs an owner in your group who makes it work when a system update breaks it and prepares it for new platform releases.
- **Keep machines re-creatable**: software in packages, runtime content in [autodeploy](11_autodeploy.md) and Git, data off the local disk.
- **Plan before the legacy sunset.** RHEL 7 and RHEL 8 machines are to be switched off in the first quarter of 2027.
### What changes for whom
| Who | What you gain | What changes |
| --- | --- | --- |
| Groups that own machines and software (beamlines, machine and subsystem groups) | A fast self-service way to deploy and update your own software on a stable, secure base, without waiting for Controls IT for routine changes | You own your software and its operation. A broken or drifted machine is re-created to standard and you re-deploy; Controls IT no longer debugs your software in place |
| Operators and console users | Identical consoles that are secure for production, with no root for users, and that can be rebuilt | Work from the installed software and keep nothing in your home directory on a console; consoles stay managed by Controls IT |
| Users of shared services (gateways, [archiver](04_data.md), login clusters) | Shared infrastructure stays with Controls IT | Gateways are migrated by Controls IT |
| PSI management | Controls IT concentrates on the shared platform; no controls on end-of-life operating systems | Controls IT stops debugging group-specific software on group machines; the groups take on operating what they deploy |
## CA gateways
A Channel Access (CA) gateway lets EPICS clients in one network (for example the office or a beamline network) read and write PVs of IOCs in another, protected network (for example a machine network). It passes only the PVs its PV list allows, and lets you write only where its access rules allow it. Gateways are shared critical infrastructure: Controls IT owns and manages them, including their configuration.
![A client in the office or beamline network reaches IOCs in a protected network through a CA gateway; only allowed PVs and allowed writes pass](images/02_cagw_overview.svg)
### Which gateways exist
Controls IT operates these gateways. Use the names as given here.
| Facility | Gateway | What it is for |
| -------- | ------- | -------------- |
| SwissFEL | `sf-cagw.psi.ch` | Office network to SwissFEL machine PVs |
| SwissFEL | `sf-daq-cagw.psi.ch` | DAQ systems to SwissFEL machine PVs |
| SwissFEL | `sf-<endstation>-cagw.psi.ch` | Endstation network to machine PVs; a second instance serves camera images |
| SwissFEL | `<endstation>-cagw.psi.ch` | Machine network and [archiver](04_data.md) to the endstation's PVs |
| SLS | `sls-cagw.psi.ch` | Office network to SLS machine and beamline PVs, read-only |
| SLS | `<beamline>-cagw.psi.ch` | Beamline network to machine PVs, and machine network to the beamline's PVs |
| HIPA | `hipa-cagw.psi.ch` | Access to HIPA PVs |
| PROSCAN | `proscan-cagw.psi.ch` | Access to PROSCAN PVs |
| CRYO | `cryo-cagw.psi.ch` | Access to CRYO PVs (plus a read-only instance for the archiver) |
| TWLHA | `twlha-cagw.psi.ch` | Access to TWLHA PVs, read-only |
SwissFEL endstations: `saresa` (Alvra), `saresb` (Bernina), `saresc` (Cristallina), `satesd`, `satese` (Maloja), `satesf` (Furka) and `slab`. SLS beamlines: `x01da`, `x02da`, `x02sa`, `x03da`, `x03ma`, `x04db`, `x04sa`, `x05da`, `x05la`, `x06da`, `x06sa`, `x07da`, `x07ma`, `x08sa`, `x09la`, `x09lb`, `x10da`, `x10sa`, `x11ma`, `x12sa`.
### Using a gateway
Point your Channel Access client at the gateway's name, not at the IOCs. On PSI Linux machines the `ca` shell command sets the EPICS environment for a facility; `caq` shows what is set and `cac` clears it:
ca <context> gateway
caq
caget <PV name>
Through a gateway you see only the PVs its PV list allows. Reading is the normal case; writing works only for PVs, users and hosts the access rules allow, and never through the read-only gateways (SLS office, TWLHA, [archiver](04_data.md) instances).
### Requesting a change
Which PVs a gateway passes and who may write them is configured in the repository [gfa_ansible_ca-gateways](https://gitea.psi.ch/controls_it/gfa_ansible_ca-gateways), one PV list (`files/<gateway>.pvlist`) and one access file (`files/<gateway>.access`) per gateway.
![The change flow: request as pull request, review by the gateway admins, merge, deployment to the gateway](images/02_cagw_change_flow.svg)
1. Fork the repository in Gitea, edit the PV list of your gateway (the Gitea web editor is enough) and open a pull request against `master`. Say in the description which PVs you need and why, and whether you need write access. See also [Use Git / Gitea](../../3._Knowledge_Center/03_how_to/12_git_gitea.md).
2. The gateway admins review the change; people affected by it are informed.
3. The pull request is merged.
4. The admins deploy the new rules to the gateway with the repository's playbooks, which restarts it. Only then does the change take effect.
Files that start with "Automatically generated … Do not edit!" (the SLS beamline gateways) are produced by a script; describe the change in a pull request or ask instead of editing them.
### When a channel is not reachable
1. Check your environment with `caq`: are you using the gateway of the right facility?
2. Check that the IOC is running and the PV exists, from inside the protected network if you can.
3. Check that the PV name is allowed in the gateway's PV list in the repository. If not, request a change as above.
4. If reading works but writing does not, the access rules or a read-only gateway are the reason.
5. The state and statistics of all gateways are collected in [gfa-monitoring](http://gfa-monitoring.psi.ch) (reachable from inside PSI); its gateway view also shows which gateways serve a given PV. See [Monitoring](03_devops.md#monitoring).
6. If nothing gets through for anybody, the gateway itself may have a problem: contact your Controls contact ([SLS beamlines](../../4._Contacts_Support/BL_SLS.md), [SwissFEL endstations](../../4._Contacts_Support/BL_SF.md)).
### For operators
Architecture, configuration reference, deployment, monitoring, logging and the restart procedures are in the README of [gfa_ansible_ca-gateways](https://gitea.psi.ch/controls_it/gfa_ansible_ca-gateways).
## Pikett access and support
This section describes how on-call (Pikett) staff reach Controls IT systems and what they may do there. Who is on call and how to reach them is on the [Pikett](13_pikett.md) page.
### Access path
The facility machine networks and the beamline and endstation networks are protected networks. They are reached through the facility SSH gateways:
- To use a gateway you must be on its access list. The lists are kept in DUO and maintained by Operations or by the responsible beamline staff.
- The SLS and SwissFEL machine gateways are blocked during machine operation. On-call staff who need access then request it from the control room.
![On-call staff connect by SSH from the PSI office network to the facility SSH gateway, whose access list is kept in DUO, and from there to the Puppet-managed Linux hosts in the protected facility network, where they may restart a host](images/02_pikett_access_path.svg)
### What on-call staff may do
The Linux hosts are configured exclusively through Puppet/Hiera and Ansible, not by manual changes on the machines. The rights of on-call staff are part of that central configuration and are limited to specific actions:
| Systems | Rights of on-call staff |
| --- | --- |
| Puppet-managed Linux hosts of SLS, SwissFEL, HIPA and PROSCAN | Restart (reboot) the host |
| Data API service hosts | Status, start, stop, logs and a predefined restart of the data API service |
| Data acquisition systems | Administrative rights for the on-call group of these systems |
| [Channel Access gateways](#ca-gateways) | Controls and Operations staff of the facility can log in and restart a gateway instance ([instructions](https://gitea.psi.ch/controls_it/gfa_ansible_ca-gateways#troubleshooting--restart)) |
### What Controls IT supports
Controls IT supports the Controls System Layer and the machines it produces: standard consoles, development machine images, soft IOC hosts, container hosts, and the shared critical infrastructure (login clusters, [EPICS Channel Access gateways](#ca-gateways), boot servers, port server hosts and the [archiver](04_data.md)), together with the [package repositories](../../3._Knowledge_Center/03_how_to/07_build_deploy_rpms.md), [autodeploy](11_autodeploy.md), the automation and the [logging and monitoring platform](03_devops.md). Software your group deploys on its own machines is your group's to operate and debug; see [Who is responsible for what](#who-is-responsible-for-what).
### Office hours, Pikett hours and emergencies
For the [Channel Access gateways](#ca-gateways) the documented problem workflow is:
| When | Contact |
| --- | --- |
| Office hours | The gateway service responsibles |
| Pikett hours | Pikett, who troubleshoots according to the gateway instructions |
| Other times | Operations (control room) |
If a gateway machine is completely blocked and no SSH login is possible, Operations restarts the virtual machine with the [VM emergency restart procedure](https://gitea.psi.ch/controls_it/gfa_ansible_ca-gateways/src/branch/master/Readme_VM_Emergency_Restart.md). It is a last resort, and every use must be reported to the facility operations mailing list and to the gateway responsibles.
### Getting Pikett access
On-call rights are configured centrally per facility, not requested per host.
For problems and questions, contact the on-call service as described on the [Pikett](13_pikett.md) page.
## iLO management network
iLO (HPE Integrated Lights-Out) is the management controller built into HPE ProLiant servers. It runs independently of the server's operating system and provides a remote console, power control and hardware health information, also when the operating system hangs or the server is switched off.
### How Controls IT uses it
- **Hardware monitoring.** On physical HPE ProLiant servers, Puppet installs the HPE iLO tools and a hardware health check. The check reads the server's health status from iLO, including memory status, and reports it to the Icinga monitoring. It supports current iLO 5 servers and older Gen9 servers with iLO 4.
- **Serial console.** The same physical servers are configured with a serial console in addition to the screen console.
- **Dell servers.** Physical Dell servers get the equivalent check through Dell's iDRAC instead of iLO.
- **Virtual machines** have no iLO. They are managed through the virtualisation platform (VMware vCenter); for example, a hung Channel Access gateway VM is restarted there with the emergency procedure described above.
### Management network and access
The on-call rights described in [Pikett access and support](#pikett-access-and-support) are rights on the host operating system. They do not include access to iLO.
### If a physical server hangs
Report it as described in [Pikett access and support](#pikett-access-and-support), giving the host name and what no longer works.
## Support status & contact
Operated and supported by Controls IT, group 8213 Control System Infrastructure and Services, for all four facilities. New machines and changes to machines are requested through gfa-monitoring or `cas`, as described in [How to request a machine or a change](#how-to-request-a-machine-or-a-change). For other questions see [About](../../1._Home/about.md) and [Controls Services contacts](../../4._Contacts_Support/Service.md).
## Further reading
- [Migration to RHEL 9](../Initiatives/03_rhel9.md)
- [RHEL 9 Platform Tooling](../Tools/09_rhel9_platform_tooling.md)
- [Controls IT Services](03_devops.md): logging, monitoring and Python software
- [Autodeploy](11_autodeploy.md)
- [Host types](../../3._Knowledge_Center/06_references/04_host_types.md): packages per machine type
- [Rundeck: running tasks on hosts](../../3._Knowledge_Center/02_explanations/04_rundeck.md)
- [IT Infrastructure reference](../../3._Knowledge_Center/06_references/01_it_infrastructure.md)
- [Build and Deploy EPICS IOCs](../../3._Knowledge_Center/03_how_to/10_build_deploy_iocs.md)
- [cas_infrastructure](https://gitea.psi.ch/controls_it/cas_infrastructure): the `cas` tool, its catalogue of actions and its documentation (access needed)
### Presentations
- <a href="../presentations/Controls_RHEL9_Platform.pptx" download>RHEL9 and the move to a Controls Platform (PowerPoint download)</a> (June 2026, 10 slides): why RHEL9 and why a platform, the three layers, the support contract and re-create to standard, self-service with web portal and CLI, the key technical decisions, the rollout plan.
@@ -8,3 +8,331 @@ tags:
---
# Controls IT Services
This page describes four services of Controls IT that you meet as soon as you run software on a Controls host: how an IOC gets from its repository to a running IOC, where the log messages of your services and IOCs go, how to see the state of hosts and IOCs, and how Python software is delivered and installed.
All four are part of the Controls platform on RHEL9. Its rule is simple: each layer has one owner.
| Layer | Owner | What it contains |
| --- | --- | --- |
| Base operating system | AWI | RHEL9, patching, networking, identity, provisioning of the machine |
| Controls layer | Controls (group 8213) | RPM repositories, EPICS, Python (pixi), Controls tools, autodeploy folders, standard machine types, gateways, logging and monitoring, automation |
| Your software and configuration | your group | IOCs, applications, scripts, operator displays, configuration |
Controls supports the layer and the standard machine types. Controls does not debug software that a group has installed or changed on its own machines: if such a machine is broken or has drifted from its standard, the remedy is to re-create it to standard, and the group then installs its software again. Gateways, standard consoles and IOC hosts wired to hardware stay under close Controls management and are re-created only as planned actions. The reasons and the full picture are in the presentation <a href="../presentations/Controls_RHEL9_Platform.pptx" download>RHEL9 and the move to a Controls platform (PowerPoint download)</a> (June 2026).
## IOC deployment chain
An IOC is deployed by you, with the `ioc` command from the package `cas-iocutils`. Nothing happens automatically when you push to Git: a deployment starts when you run `ioc install`.
![IOC deployment chain: the IOC project in Gitea is checked out and, if it has C code, built; ioc install copies it to /ioc on the NFS share and registers it for its IOC host; ioc restart or ioc start makes shellbox on the IOC host run it; ioc status, ioc shell and gfa-monitoring show whether it runs](images/03_ioc_deploy_chain.svg)
| Step | What you do | Where | What happens |
| --- | --- | --- | --- |
| 1. Project | Keep the IOC configuration in a project repository | Gitea, organisation `epics_iocboot_<facility>` (for example `epics_iocboot_sls`, `epics_iocboot_sf`, `epics_iocboot_hipa`) | A project holds one or more IOCs, each with a parameters file that names its IOC host, EPICS version and operating system |
| 2. Check out and build | `git clone` the project; if it has C or sequencer code in `src/`, compile it yourself | your account on a Controls host | `ioc install` does not build anything; the build output in `src/O.<version>_<os>-<cpu>` must exist before you install |
| 3. Install | `ioc install --facility <facility> --ioc <IOC>` in the project folder | a host where `/ioc` is writable: `<facility>-lc.psi.ch` or a host inside the machine network | The IOC is copied to `/ioc/<IOC>` (an NFS share), its startup scripts are generated, and for RHEL and Python IOCs it is entered in `/ioc/hosts/<IOC host>/shellbox.conf`. One line per run is written to `/ioc/ioc_install.log` |
| 4. Start | `ioc restart <IOC>`; for a new IOC `ioc start <IOC>` in the project folder | from the same host; the command reaches the IOC host itself | shellbox on the IOC host runs the IOC from `/ioc/<IOC>`. `ioc install` alone does not restart a running IOC |
| 5. Check | `ioc status <IOC>`, `ioc shell <IOC>`, `ioc boots -i <IOC>` | anywhere with the `ioc` command | You see whether the IOC runs, its IOC shell, and its boot history |
The commands and all their options are on the [IOC Utils](../Tools/01_ioc_utils.md) page. How runtime files reach standard machines through the autodeploy folders is described on the [Autodeploy](11_autodeploy.md) page.
### When something fails
| Symptom | Where to look, what to do |
| --- | --- |
| `ioc install` stops with an error | Run it again with `-V` (every copy and permission change is printed). The last lines of `/ioc/ioc_install.log` show `OK` or `ERROR` per run, with the user and the command line. |
| `Do you want to overwrite? [y/N]` | Someone changed or removed installed files by hand. The list shows which ones; answer `y` only if those changes may be lost. |
| An earlier install failed half-way | The IOC directory can be left in an undefined state. Install again with `--clean`. |
| `IOC is not configured on this ioc host` | The IOC is not in `shellbox.conf` of the host named in its parameters file: check `ioc_host` and the operating system in the parameters file and install again. |
| The IOC does not come up after the restart | `ioc shell <IOC>` shows its console. In [gfa-monitoring](#monitoring) the IOC page shows whether it answers, its boot information and the reason for its state. |
### What is planned
The platform strategy (June 2026) plans two changes to this chain. Runtime content of IOCs (startup, displays, configuration) is to come from Git-backed autodeploy folders that Ansible keeps in step with Git, mounted read-only on standard machines. Soft IOCs that suit it are to run as rootless Podman containers supervised by systemd, while IOC hosts wired to hardware stay bare metal under Controls management. Neither is available to users yet.
## Logging
Every service and every IOC on a Controls host writes its messages to the systemd journal (journald). Nothing logs to private files that you have to hunt for. Puppet configures the journal the same way on every host, and on the RHEL9 Controls hosts the journal is shipped as a whole to the central Elastic logging system of PSI. Logging is part of the Controls layer: Controls runs the collecting agents and the Elastic interface, you read and search your own data.
So there are two places to look:
| Where | Tool | Use it for |
|---|---|---|
| On the host | `journalctl` | the last hours and days of one host, live following, after a reboot |
| Centrally | Kibana at [https://kibana.psi.ch](https://kibana.psi.ch) | searching across hosts, comparing hosts, logs of a host that is down |
![Services and IOCs on a Controls host write to the systemd journal; Filebeat ships the journal to the Elasticsearch space data-controls; Kibana shows it; on the host you read the same journal with journalctl](images/03_logging_pipeline.svg)
### Which hosts ship their logs
| Hosts | Shipped to Elastic | Where you read the logs |
|---|---|---|
| RHEL9 Controls hosts (Puppet environment `controls`) | yes, the whole journal, into the space `data-controls` | in Kibana, or on the host with `journalctl` |
| Hosts of the other Puppet environments (for example the Controls Core Systems with the Channel Access gateways, and the facility environments) | not yet | on the host with `journalctl` |
### What your software must do
Only the journal is shipped. A file that your program writes somewhere else stays on the host and is not searchable centrally. So:
- Run your service as a systemd unit and write its messages to stdout and stderr; systemd puts both into the journal.
- Give the unit a stable name in the journal with `SyslogIdentifier=<name>` in the unit file, so you can filter on it.
- Do not write your own log files instead of the journal. Log through the standard agent, not through a collector of your own: the strategy keeps collection in the Controls layer.
A complete example from a Controls service unit:
[Service]
StandardOutput=journal
StandardError=journal
SyslogIdentifier=cas-server
### On the host: journalctl
Log in to the host and use `journalctl`. A systemd service is selected by its unit name; a Channel Access gateway instance, for example, runs as the unit `ca-gateway-<instance>`.
Follow one service live:
journalctl -u ca-gateway-<instance> -f
Everything one service wrote in the last two hours:
journalctl -u <unit> --since "2 hours ago"
Only errors and worse since the last boot of the host:
journalctl -b -p err
Messages of one program by its journal name:
journalctl -t <SyslogIdentifier> --since today
How far back the journal on the host reaches depends on how much is logged: Puppet keeps the journal on disk, so it survives reboots, and limits it to half of the `/var/log` partition, always leaving a quarter of that partition free.
### Centrally: Elastic and Kibana
Controls hosts send their journal to the Elastic space `data-controls`. Filebeat on each host reads the journal and sends every entry over HTTPS to the central Elasticsearch cluster of PSI.
To find the logs of your host, service or IOC in Kibana:
1. Open [https://kibana.psi.ch](https://kibana.psi.ch) and switch to the Controls space.
2. Open **Discover** and select the data view of the Controls logs.
3. Set the time range in the top right corner.
4. Filter on the host name. The existing gateway log view uses the field `agent.hostname`, for example `agent.hostname : *cagw*.psi.ch`.
5. Narrow down to a service with a filter on the systemd unit, or search for the IOC name in the message text.
How long logs are kept in Elastic is set by the central Elastic service.
### Getting access
You need a PSI account with access to the Controls space in Kibana.
### What is planned
The platform strategy (June 2026) makes logging and monitoring a service of the Controls layer, with these parts still to come:
| Planned | What it means for you |
|---|---|
| Standard agents on every standard machine, for logs and metrics | You do not install or run any part of the collection yourself. |
| Self-service dashboards in Elastic | Your group builds its own dashboards and queries, on the data of its own machines only. |
| Drift and failure detection | Central monitoring compares each machine with the standard declared for it in the inventory. A machine that has left its standard is re-created rather than debugged in place. |
## Monitoring
gfa-monitoring is the aggregator for monitoring and debugging the Controls infrastructure. It brings together, per facility, the state of the IOCs, the hosts, the process variables (PVs) and the Channel Access gateways in one web application: [http://gfa-monitoring.psi.ch](http://gfa-monitoring.psi.ch).
gfa-monitoring is planned to become the web-based hub for the Controls IT services. Today it is a proof of concept: it runs and you can use it, but its functions and screens may still change. Once Controls IT has settled its functionality and user interface, it will be implemented professionally for long-term maintenance, support and security. Machines are also requested there, see [Controls IT Infrastructure](02_computingandboot.md#how-to-request-a-machine-or-a-change).
![gfa-monitoring, a proof of concept, collects host reports from sysreport, IOC and gateway state over Channel Access, IOC boot records and the archiver and IOC repositories in Gitea, and shows them as facility overview, hosts, IOCs, PVs and gateways](images/03_monitoring_sources.svg)
### Where the data comes from
| Data | Source | How often |
|---|---|---|
| Hosts: last report, last Puppet run, OS release | sysreport | each host reports once per day; imported every hour |
| IOCs: online, resources, restarts, versions | Channel Access, through the gateway of the facility | every 2 minutes |
| Which IOC booted on which host | IOC boot records | imported every hour |
| Gateways: live state and statistics | Channel Access statistics PVs of the gateways | every minute |
| Archived PVs, IOC repositories | archiver configuration and IOC repositories in Gitea | every hour and every 30 minutes |
IOC states are collected for the facilities SwissFEL, SLS (including the SLS beamline gateways), HIPA, PROSCAN and CRYO. IOCs of other facilities (for example the SwissFEL experimental stations, TWLHA, ESI and the office network) show the status "unknown" with the reason "not polled by any status sweep".
### What it shows
- **Facilities overview**: one card per facility with the number of IOCs that are ok, warn or in error, and the latest problem IOCs. **Wall dashboard** is the same picture for a large screen.
- **Host list** and **Host details**: the state of each host, the IOCs running on it, their CPU and memory use, and links to the host's metrics in Grafana and its Puppet runs on Puppetboard.
- **IOC list** and **IOC details**: the state of each IOC with the reason for it, its boot information, modules, resources (CPU, memory, file descriptors) and its PVs, with a one-time read of their current values and a link to their archived history.
- **PV list** and **PV monitoring**: find a PV by name, IOC, host or facility, see which IOC and host serve it, watch sets of PVs live and compare snapshots.
- **Gateways**: the live state of every Channel Access gateway, per facility.
### How to read a status
Every check ends in one of four grades. The summary of a host or IOC is its worst check.
| Grade | Meaning |
|---|---|
| ok | the check passed |
| unknown | no data to judge; never shown as healthy and never as an error |
| warn | something needs a look, for example an old OS release or a recent restart |
| error | the check failed, for example the IOC does not answer |
- A **host** is checked for the age of its last report (ok under 25 hours, warn up to 7 days, error after that), the age of its last Puppet run at the time of that report (same limits) and its OS release (el8 and el9 ok, el7 warn).
- An **IOC** is checked for being online (answers on Channel Access), compliance (naming, supported EPICS version, clock within 10 seconds), module versions, resources (suspended tasks, file descriptors over 80 %, memory over 90 %) and restarts (booted in the last 15 minutes, or a crash loop).
- An IOC that does not answer is first **error** while it is retried; after 3 failed probes in a row it becomes **OFFLINE**, counts as error and is rechecked once per hour. It returns as soon as it answers again or boots again.
- A status that no sweep has refreshed for an hour turns **unknown**, with the reason.
The IOC and host pages show the reason next to each check, so you can see why something is not ok.
### Other monitoring
- Host metrics are collected by Telegraf on Controls hosts and shown in Grafana at [https://metrics.psi.ch](https://metrics.psi.ch), dashboard "Linux GFA". gfa-monitoring links to it from each host page.
## Python software
Controls delivers Python tools that work with the control system, for example the IOC utilities (the `ioc` command, package `cas-iocutils`). This section gives the agreed policy for Python software on the Controls platform, the supported ways to install it with the requirements of each, what Controls delivers today and what is planned, who builds and publishes what, what your own project must provide, and what is no longer supported. The policy comes from the platform strategy; the presentation <a href="../presentations/Controls_RHEL9_Platform.pptx" download>RHEL9 and the move to a Controls platform (PowerPoint download)</a> summarises it.
### The policy in short
| Rule | Why |
| --- | --- |
| Software that is installed on a Controls host comes as an RPM package from a Controls-hosted repository. | A machine's software is then exactly the set of packages declared for it. It can be rebuilt from scratch, re-created to standard, and audited. |
| Outside the RPM, the main way to install a Python tool is `pip` in a virtual environment (venv). | It stays in your home directory, does not change the host, and works on any machine that has Python. |
| **pixi** is an optional alternative for a project that wants its Python and packages declared in a manifest and a lock file that pins every version. | The environment rebuilds identically on every machine and after a re-create. AIT supports pixi for the beamlines, so Controls uses the same tool instead of a parallel one. |
| Installing into your user's Python (`pip install --user`) is possible for one user without root and without a venv. | It also stays in your home directory and does not change the host. |
| Every Controls Python tool states its requirements for each way of installing it. | The requirements differ: system packages for the RPM, PyPI for pip, package channels for pixi. |
| No `sudo pip install` into the system Python, no hand-installed packages on a standard host, no conda. | A host changed by hand has left its standard. It is no longer supported, and the remedy is a re-create to standard. |
The one exception to "no conda": `ioc install` still builds the environment of a Python IOC with conda. This is legacy and still works, see [Python IOCs](#python-iocs).
### Ways to install
![Supported ways to install a Controls Python tool, what each needs and its state today: RPM, pixi, pip in a venv, host Python; conda only for the legacy Python IOC environment](images/02_python_install_paths.svg)
| Way | Use it for | Requirements | State today |
| --- | --- | --- | --- |
| RPM on a Controls host | Tools used on Controls-managed RHEL9 hosts | The host's system `python3` (Python 3.9 on RHEL9). Dependencies are distribution `python3-*` RPMs, which the RPM declares and does not bundle. Installing needs root; on Controls hosts Puppet installs the packages listed for the host type. | In place |
| pip in a venv (main route outside the RPM) | Development, your own machine, or a host without the RPM | `python3` with the `venv` module, a current pip (upgrade it first), network access to PyPI for the dependencies, read access to the source repository | In place |
| pixi (optional) | A project's own Python and packages, per project or machine, independent of the host Python | `pixi` on the host. The project's `pixi.toml` (manifest) and `pixi.lock` (lock file) are committed to its repository. Python is a project dependency, so the project chooses its Python version. Network access to the package channels. | pixi is installed on Controls consoles and on SLS beamline consoles and workstations. Controls-curated standard environments are planned. |
| Host Python | One user, no root, no venv | `pip install --user`, `~/.local/bin` on your `PATH`, dependencies from PyPI as for the venv. Never `sudo pip install` into the system Python. | In place |
Python versions on RHEL9 hosts: the system `python3` is Python 3.9, and that is the version every RPM-delivered tool runs with. The Controls hosts define no further Python versions; some SLS beamline host types additionally install packages for Python 3.11 and 3.12. With pixi you pick the version per project. A tool declares the versions it supports in its packaging metadata (`requires-python`); `cas-iocutils` declares none and needs at least Python 3.6.
RPM on a Controls host: check that the package is there and use it.
rpm -q cas-iocutils
ioc --help
If a package is missing on a Controls host, it is added to the package list of the host type in the Puppet configuration; installing packages through the self-service catalogue is planned. On a host that you manage yourself, `sudo dnf install <package>` installs it from the repositories configured there.
pixi, in your project directory (commands as documented by pixi; replace the placeholders):
pixi init myproject
cd myproject
pixi add "python=<version>"
pixi add <package>
pixi add --pypi <package-only-on-pypi>
pixi run python
Commit `pixi.toml` and `pixi.lock`. On another machine, `pixi install` in a checkout of the project recreates exactly the locked environment.
pip in a venv (access to the Gitea repository is needed):
git clone https://gitea.psi.ch/ctrl_packages/cas-iocutils.git
cd cas-iocutils
python3 -m venv ~/venvs/iocutils
source ~/venvs/iocutils/bin/activate
pip install --upgrade pip
pip install .
ioc --help
Upgrade pip first: with the pip that ships in an older venv (21.2 and 22.0 were tested), `pip install .` of `cas-iocutils` fails with "Permission denied" on `/etc/bash_completion.d`.
Host Python, from the source directory of the tool:
python3 -m pip install --user --upgrade pip
python3 -m pip install --user .
### What Controls delivers
| What | State | Details |
| --- | --- | --- |
| RPM repository for Controls software | in place | On the RHEL9 Controls hosts Puppet configures the repository "CAS Software Packages" (`rhel9/latest/gfa/` on the PSI Linux repository server). SLS beamline consoles and workstations use the repository "Beamline Packages", which also carries packages of the controls stack. |
| Python packages on Controls consoles | in place | Puppet installs `pixi`, `python3-ipython`, `python3-requests`, `python3-pyepics`, `python3-CaChannel`, the IOC utilities, and the build tools `gcc`, `gcc-c++`, `make` and `rpm-build`. |
| Controls tools as RPMs | in place | For example `cas-iocutils` (noarch, uses the system `python3`, replaces `gfa-iocutils`). Which host types get which Controls packages is listed in [Host Types and Packages](../../3._Knowledge_Center/06_references/04_host_types.md). |
| Signed RPMs and staged channels | planned | Packages are signed; hosts follow a `test` or a `production` channel, and a package is promoted from test to production without being rebuilt. Today the repositories are not signed and have no channels. |
| Installation through the self-service catalogue | planned | Packages are installed and updated through Controls playbooks driven from the inventory, not by `dnf` sessions by hand. Today Puppet installs them from the package lists of each host type. |
| Controls-curated pixi environments | planned | Standard environments with the common controls stack, which your group extends with its own dependencies. Planned for November and December 2026; it may move to January 2027. A first package, `controls-python-env`, which pulls in the client packages `bsread-python`, `cam_server`, `datahub` and `ioc_tools`, is in Gitea but not released and cannot be installed yet. |
| Publishing your group's RPMs | planned | Your group builds its own RPMs and publishes them into the Controls-hosted repository, first to `test`, then promoted to `production`. |
![How software reaches a Controls host: Controls builds its own RPMs, your group builds its own; both go into the Controls-hosted repository; today Puppet installs from it; planned are signing, test and production channels and installation through playbooks](images/02_python_rpm_paths.svg)
### Who does what
| Task | Controls | Your group | AIT |
| --- | --- | --- | --- |
| RPM repository, signing, packaging standards | owns | uses | |
| RPMs of Controls tools: build, versions, support | owns | uses | |
| RPMs of your own software: `.spec` file, build, content | provides the repository and the standards | owns | |
| pixi itself | | | provides and supports |
| Standard pixi environments with the common controls stack | owns (planned) | extends | |
| Your project's own Python dependencies | | owns, including debugging problems they cause | |
| Shared client libraries | keeps them as a stable, versioned interface | builds against them | |
A problem inside your group's package is your group's problem; the repository and the installation mechanism that deliver it are Controls'. When it is unclear whether a fault lies in a Controls library or in your software, the two groups look at it together.
### Python IOCs
A Python IOC is a directory in an IOC project with `main.py` and a `parameters.yaml` that sets `interpreter: python` and `ioc_host`. `ioc install` copies the directory to `/ioc/<IOC>` and registers it in the host's `shellbox.conf`, which starts it with `iocpy main.py` (or the command given in `cmd`). If the directory contains an `environment.yaml`, `ioc install` deletes `/ioc/<IOC>/env` and recreates it from that file with `conda env create`, using the runtime in `/ioc/python/runtimes/latest`. `ioc install --no-update-env` skips this step and keeps the existing `env`. This conda-based step is legacy: it still works, and it is the one place where conda is still used. No replacement date is set. The details are in the README of the `cas-iocutils` repository (access needed); the everyday commands are on the [IOC Utils](../Tools/01_ioc_utils.md) page.
### What is no longer supported
- conda and the PSI conda channel `paulscherrerinstitute` on anaconda.org, including `conda install -c paulscherrerinstitute ...` instructions in older READMEs. The conda recipe in `cas-iocutils` is not maintained either.
- The central conda Pythons under `/opt/gfa/python-<version>` (activated with `source /opt/gfa/python <version>`). Environment files exist for Python 2.7, 3.5, 3.6, 3.7, 3.8 and 3.10; the default was 3.5, the recommended version 3.8.
- The central IOC conda runtimes for SLS and SwissFEL in `/ioc/python/runtimes` (Python 3.10, `pyepics` 3.5.0, `pcaspy` 0.7.3), except for the IOC environment step described above.
- Installing by hand on a standard host: `sudo pip install` into the system Python, or packages copied or built in place.
Use one of the four ways in [Ways to install](#ways-to-install) instead.
The dates of the transition, as planned in June 2026: the remaining Controls hosts move to RHEL9 on the platform during the fourth quarter of 2026. In the first quarter of 2027 the last RHEL7 and RHEL8 hosts are switched off and the old practices (hand-built machines, editing files live on shared folders) end; after that, Controls gives per-host support only to the critical infrastructure. No separate date is set for the conda environments.
### Delivering your own Python software
![From a Python project in Gitea to a tool users can run](images/02_python_delivery_flow.svg)
What your project needs:
- Source in a Git repository, documented in a `README.md`. Nothing that matters may live only on a machine: source and build results belong in Git and in the repositories, so a machine can be re-created at any time.
- Standard packaging metadata in `pyproject.toml` or `setup.py`: name, version, dependencies, and the commands as console-script entry points. `cas-iocutils/setup.py` is a working example.
- The requirements for each install method, stated in the README: supported Python versions (`requires-python`), dependencies, and where they come from.
- `pip install .` must work in a fresh venv as a normal user. Do not install files to absolute system paths (for example via `data_files` to `/etc`).
- For pixi: a `pixi.toml` and a `pixi.lock` in the repository.
- For RPM delivery: a `.spec` file, written by the application developer. Every dependency must exist as a RHEL9 `python3-*` RPM, because the RPM declares them with `Requires:` and does not bundle them. Pure-Python tools are built as `noarch`. Build the RPM on a RHEL9 machine with `rpm-build` (`rpmbuild -bb <name>.spec`); give each release a new version number in both the packaging metadata and the spec, in the same commit, and tag that commit.
- Configuration through command-line options or configuration files, not through environment variables.
### Support and contact
See the [Controls Services contacts](../../4._Contacts_Support/Service.md). Bugs in a Controls tool are reported in the issue tracker of its Gitea repository, for `cas-iocutils` at [gitea.psi.ch/ctrl_packages/cas-iocutils/issues](https://gitea.psi.ch/ctrl_packages/cas-iocutils/issues).
Further reading:
- [IOC Utils](../Tools/01_ioc_utils.md)
- [How-To: Manage Virtual Python Environments](../../3._Knowledge_Center/03_how_to/08_python_venv.md)
- [How-To: Build and Deploy RPMs](../../3._Knowledge_Center/03_how_to/07_build_deploy_rpms.md)
- Source repositories on Gitea (access needed): `ctrl_packages/cas-iocutils`, `controls_it/controls-python-env`
## Support status & contact
Shipping the journal to Elastic is switched on for all hosts of the Controls Puppet environment (the RHEL9 Controls hosts). Hosts managed in the other Puppet environments, for example the Controls Core Systems with the Channel Access gateways and the facility environments, do not ship their journal to Elastic yet; on those hosts use `journalctl`. gfa-monitoring runs and can be used today, as a proof of concept.
## Further reading
- [Monitoring Tools](../Tools/08_monitoring_tools.md)
- [Controls IT Infrastructure](02_computingandboot.md), including the Channel Access gateways
- [Autodeploy](11_autodeploy.md)
- [IOC Utils](../Tools/01_ioc_utils.md)
- [IT Infrastructure reference: logging pipeline](../../3._Knowledge_Center/06_references/01_it_infrastructure.md) for Controls staff
- [Troubleshooting IOCs](../../3._Knowledge_Center/04_troubleshooting/05_iocs.md)
- gfa-monitoring source and documentation: [gitea.psi.ch/controls_it/gfa_monitoring](https://gitea.psi.ch/controls_it/gfa_monitoring) (access to the repository is needed)
### Presentations
- <a href="../presentations/Controls_RHEL9_Platform.pptx" download>RHEL9 and the move to a Controls platform (PowerPoint download)</a> (June 2026, 10 slides): why the platform, who owns which layer, what Controls supports, self-service, the key technical decisions and the rollout to Q1 2027.
@@ -6,8 +6,45 @@ tags:
- SwissFEL
- HIPA
---
<!--
Sources:
https://intranet.psi.ch/en/controls/about-us
Jira Issue:
https://psich.atlassian.net/browse/SECCTRL-267
-->
# Control System Device Integration and Support
We provide end-to-end integration and support for hardware and software components within our control system.
# Control System Device Integration
Our services cover the complete device lifecycle, including:
https://psich.atlassian.net/browse/SECCTRL-267
- Installation and commissioning
- Hardware and software integration
- Testing and validation
- Maintenance and troubleshooting
- Integration of motorized axes, instrumentation devices, detectors, and other equipment
- Coordination with scientists and system-responsible groups
Our goal is to provide reliable, maintainable control-system integration, from the initial design phase through operation.
# Support to Photon Science
We support SLS beamlines and SwissFEL beamlines and end stations by integrating experimental equipment into the control system.
We work closely with scientists to integrate the hardware and software required to operate experiments in a coordinated way, including:
- Motorized axes
- Instrumentation devices
- Detectors
- Experiment-specific hardware and software
- Support includes installation, commissioning, integration, testing, and maintenance. We also provide control-system consulting during the early design phase of experiments, helping scientists choose suitable integration approaches before implementation begins.
# Support to Large Research Facilities
We provide system integration services to expert groups within the PSI Center for Accelerator Science and Engineering (CAS).
Our focus is the integration of subsystems required for the operation of the research facilities into the control system. We work in close cooperation with the groups responsible for the individual systems.
Our services include:
- Installation and commissioning
- Hardware and software integration
- Testing and validation
- Maintenance and operational support
- Coordination with system-responsible expert groups
The objective is to ensure that subsystems are integrated consistently and can be operated reliably as part of the overall facility control system.
@@ -0,0 +1,41 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 300" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>Change request flow for a CA gateway: request as a pull request, review, merge, deploy to the gateway</title>
<defs>
<marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
<path d="M0,0 L10,5 L0,10 z" fill="#57606A"/>
</marker>
</defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="24" y="38" font-size="17" font-weight="600" fill="#1F2328">How a gateway change gets deployed</text>
<rect x="24" y="64" width="178" height="168" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="42" y="92" font-size="15" font-weight="600" fill="#1F2328">1 Request</text>
<text x="42" y="118" font-size="13" fill="#1F2328">Edit the PV list in</text>
<text x="42" y="138" font-size="13" fill="#1F2328">Gitea: fork, change,</text>
<text x="42" y="158" font-size="13" fill="#1F2328">open a pull request.</text>
<rect x="242" y="64" width="178" height="168" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="260" y="92" font-size="15" font-weight="600" fill="#1F2328">2 Review</text>
<text x="260" y="118" font-size="13" fill="#1F2328">Gateway admins</text>
<text x="260" y="138" font-size="13" fill="#1F2328">review the request;</text>
<text x="260" y="158" font-size="13" fill="#1F2328">affected people are</text>
<text x="260" y="178" font-size="13" fill="#1F2328">informed.</text>
<rect x="460" y="64" width="178" height="168" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="478" y="92" font-size="15" font-weight="600" fill="#1F2328">3 Merge</text>
<text x="478" y="118" font-size="13" fill="#1F2328">The pull request is</text>
<text x="478" y="138" font-size="13" fill="#1F2328">merged into the</text>
<text x="478" y="158" font-size="13" fill="#1F2328">gateway repository.</text>
<rect x="678" y="64" width="178" height="168" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="696" y="92" font-size="15" font-weight="600" fill="#1F2328">4 Deploy</text>
<text x="696" y="118" font-size="13" fill="#1F2328">Admins copy the new</text>
<text x="696" y="138" font-size="13" fill="#1F2328">rules to the gateway</text>
<text x="696" y="158" font-size="13" fill="#1F2328">and restart it.</text>
<line x1="202" y1="148" x2="240" y2="148" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="420" y1="148" x2="458" y2="148" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="638" y1="148" x2="676" y2="148" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<text x="24" y="268" font-size="13" fill="#57606A">A merge alone changes nothing on the gateway: the new rules apply only after step 4.</text>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

@@ -0,0 +1,48 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 440" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>A client in the office, beamline or endstation network reaches PVs on IOCs in a protected network through a CA gateway, which passes only allowed PVs and allowed writes</title>
<defs>
<marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
<path d="M0,0 L10,5 L0,10 z" fill="#57606A"/>
</marker>
</defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="24" y="38" font-size="17" font-weight="600" fill="#1F2328">How your client reaches PVs through a CA gateway</text>
<rect x="24" y="66" width="220" height="170" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="44" y="96" font-size="15" font-weight="600" fill="#1F2328">Your network</text>
<text x="44" y="120" font-size="13" fill="#57606A">office, beamline or</text>
<text x="44" y="138" font-size="13" fill="#57606A">endstation network</text>
<text x="44" y="172" font-size="15" fill="#1F2328">Your client:</text>
<text x="44" y="194" font-size="15" fill="#1F2328">caget, panels,</text>
<text x="44" y="216" font-size="15" fill="#1F2328">scripts</text>
<rect x="314" y="66" width="252" height="170" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="334" y="96" font-size="15" font-weight="600" fill="#1F2328">CA gateway</text>
<text x="334" y="120" font-size="13" fill="#57606A">&lt;name&gt;-cagw.psi.ch</text>
<text x="334" y="154" font-size="15" fill="#1F2328">PV list: which PV</text>
<text x="334" y="176" font-size="15" fill="#1F2328">names pass</text>
<text x="334" y="204" font-size="15" fill="#1F2328">Access rules: who</text>
<text x="334" y="226" font-size="15" fill="#1F2328">may write</text>
<rect x="636" y="66" width="220" height="170" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="656" y="96" font-size="15" font-weight="600" fill="#1F2328">Protected network</text>
<text x="656" y="120" font-size="13" fill="#57606A">machine or endstation</text>
<text x="656" y="172" font-size="15" fill="#1F2328">IOCs that serve</text>
<text x="656" y="194" font-size="15" fill="#1F2328">the PVs</text>
<line x1="244" y1="151" x2="312" y2="151" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="566" y1="151" x2="634" y2="151" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<rect x="24" y="268" width="404" height="148" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="44" y="298" font-size="15" font-weight="600" fill="#1F2328">Passes</text>
<text x="44" y="324" font-size="15" fill="#1F2328">• Channel Access to PVs the PV list allows</text>
<text x="44" y="350" font-size="15" fill="#1F2328">• Reading those PVs</text>
<text x="44" y="376" font-size="15" fill="#1F2328">• Writing, where the access rules allow it</text>
<rect x="452" y="268" width="404" height="148" rx="8" fill="#FFEBE9" stroke="#CF222E" stroke-width="1.5"/>
<text x="472" y="298" font-size="15" font-weight="600" fill="#1F2328">Does not pass</text>
<text x="472" y="324" font-size="15" fill="#1F2328">• PVs the PV list does not allow</text>
<text x="472" y="350" font-size="15" fill="#1F2328">• Writes the rules do not allow, and all</text>
<text x="486" y="372" font-size="15" fill="#1F2328">writes on a read-only gateway</text>
<text x="472" y="398" font-size="15" fill="#1F2328">• Other protocols (SSH, web)</text>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

@@ -0,0 +1,43 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 340" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>Access path of on-call staff from the PSI office network through the facility SSH gateway into the protected facility network</title>
<defs>
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
<path d="M0,0 L10,5 L0,10 z" fill="#57606A"/>
</marker>
</defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="24" y="38" font-size="17" font-weight="600" fill="#1F2328">How on-call staff reach Controls IT hosts</text>
<!-- On-call staff -->
<rect x="24" y="96" width="190" height="96" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="44" y="136" font-size="15" font-weight="600" fill="#1F2328">On-call staff</text>
<text x="44" y="160" font-size="13" fill="#57606A">PSI office network</text>
<!-- Arrow to gateway -->
<line x1="214" y1="144" x2="262" y2="144" stroke="#57606A" stroke-width="1.5" marker-end="url(#arrow)"/>
<text x="222" y="134" font-size="13" fill="#57606A">SSH</text>
<!-- SSH gateway -->
<rect x="264" y="80" width="232" height="128" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="284" y="114" font-size="15" font-weight="600" fill="#1F2328">Facility SSH gateway</text>
<text x="284" y="142" font-size="13" fill="#57606A">Access list kept in DUO,</text>
<text x="284" y="162" font-size="13" fill="#57606A">maintained by Operations</text>
<text x="284" y="182" font-size="13" fill="#57606A">or beamline responsibles</text>
<!-- Arrow to protected network -->
<line x1="496" y1="144" x2="542" y2="144" stroke="#57606A" stroke-width="1.5" marker-end="url(#arrow)"/>
<!-- Protected network -->
<rect x="544" y="64" width="312" height="188" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="564" y="92" font-size="15" font-weight="600" fill="#1F2328">Protected facility network</text>
<rect x="564" y="140" width="272" height="100" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="582" y="172" font-size="15" fill="#1F2328">Puppet-managed Linux hosts</text>
<text x="582" y="198" font-size="13" fill="#57606A">On-call: may restart the host;</text>
<text x="582" y="218" font-size="13" fill="#57606A">configuration stays with Puppet</text>
<!-- Operation note -->
<rect x="24" y="268" width="832" height="56" rx="8" fill="#FFEBE9" stroke="#CF222E" stroke-width="1.5"/>
<text x="44" y="292" font-size="13" fill="#1F2328">SLS and SwissFEL machine gateways are blocked during machine operation.</text>
<text x="44" y="312" font-size="13" fill="#1F2328">Access must then be requested from the control room.</text>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

@@ -0,0 +1,29 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 470" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>Three layers, one owner each: base operating system (AWI), Controls System Layer (Controls IT), software and configuration (your group)</title>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="24" y="38" font-size="17" font-weight="600" fill="#1F2328">Three layers, one owner each</text>
<text x="24" y="60" font-size="13" fill="#57606A">No layer reaches around another</text>
<rect x="24" y="80" width="832" height="96" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="44" y="108" font-size="15" font-weight="600" fill="#1F2328">3 Software and configuration</text>
<text x="44" y="134" font-size="13" fill="#1F2328">IOCs and applications · scripts · operator displays · configuration</text>
<text x="44" y="156" font-size="13" fill="#57606A">deployed through the platform, operated and debugged by its owner</text>
<rect x="704" y="104" width="132" height="48" rx="8" fill="#FFFFFF" stroke="#0969DA" stroke-width="1.5"/>
<text x="770" y="133" font-size="15" font-weight="600" text-anchor="middle" fill="#1F2328">Your group</text>
<rect x="24" y="196" width="832" height="140" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="44" y="224" font-size="15" font-weight="600" fill="#1F2328">2 Controls System Layer</text>
<text x="44" y="252" font-size="13" fill="#1F2328">RPM repositories and controls software</text>
<text x="44" y="274" font-size="13" fill="#1F2328">EPICS toolchain · Python environments</text>
<text x="44" y="296" font-size="13" fill="#1F2328">controls tools and client libraries</text>
<text x="44" y="318" font-size="13" fill="#57606A">delivered by Ansible, Rundeck, web portal and CLI</text>
<text x="380" y="252" font-size="13" fill="#1F2328">autodeploy folders</text>
<text x="380" y="274" font-size="13" fill="#1F2328">standard machine types</text>
<text x="380" y="296" font-size="13" fill="#1F2328">gateways · logging and monitoring</text>
<rect x="704" y="242" width="132" height="48" rx="8" fill="#FFFFFF" stroke="#1A7F37" stroke-width="1.5"/>
<text x="770" y="271" font-size="15" font-weight="600" text-anchor="middle" fill="#1F2328">Controls IT</text>
<rect x="24" y="356" width="832" height="92" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="44" y="384" font-size="15" font-weight="600" fill="#1F2328">1 Base operating system</text>
<text x="44" y="410" font-size="13" fill="#1F2328">standard PSI RHEL9 · updates · networking · identity · provisioning</text>
<text x="44" y="430" font-size="13" fill="#57606A">the foundation Controls IT builds on and does not duplicate</text>
<rect x="704" y="378" width="132" height="48" rx="8" fill="#FFFFFF" stroke="#57606A" stroke-width="1.5"/>
<text x="770" y="407" font-size="15" font-weight="600" text-anchor="middle" fill="#1F2328">AWI</text>
</svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

@@ -0,0 +1,43 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 420" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>Machine lifecycle: defined as code, provisioned, kept standard, re-created rather than repaired</title>
<defs>
<marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
<path d="M0,0 L10,5 L0,10 z" fill="#57606A"/>
</marker>
</defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="24" y="38" font-size="17" font-weight="600" fill="#1F2328">Lifecycle of a standard machine</text>
<rect x="24" y="64" width="184" height="184" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="40" y="92" font-size="15" font-weight="600" fill="#1F2328">1 Defined as code</text>
<text x="40" y="120" font-size="13" fill="#1F2328">one file per machine</text>
<text x="40" y="140" font-size="13" fill="#1F2328">in Git; every new</text>
<text x="40" y="160" font-size="13" fill="#1F2328">machine and change is</text>
<text x="40" y="180" font-size="13" fill="#1F2328">reviewed by Controls IT</text>
<line x1="208" y1="156" x2="238" y2="156" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="240" y="64" width="184" height="184" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="256" y="92" font-size="15" font-weight="600" fill="#1F2328">2 Provisioned</text>
<text x="256" y="120" font-size="13" fill="#1F2328">VM on the AIT cluster</text>
<text x="256" y="140" font-size="13" fill="#1F2328">(physical: network</text>
<text x="256" y="160" font-size="13" fill="#1F2328">install), registered</text>
<text x="256" y="180" font-size="13" fill="#1F2328">with name and role</text>
<line x1="424" y1="156" x2="454" y2="156" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="456" y="64" width="184" height="184" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="472" y="92" font-size="15" font-weight="600" fill="#1F2328">3 Kept standard</text>
<text x="472" y="120" font-size="13" fill="#1F2328">Puppet applies the</text>
<text x="472" y="140" font-size="13" fill="#1F2328">configuration; no</text>
<text x="472" y="160" font-size="13" fill="#1F2328">manual changes; daily</text>
<text x="472" y="180" font-size="13" fill="#1F2328">automatic updates</text>
<line x1="640" y1="156" x2="670" y2="156" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="672" y="64" width="184" height="184" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="688" y="92" font-size="15" font-weight="600" fill="#1F2328">4 Re-created</text>
<text x="688" y="120" font-size="13" fill="#1F2328">rebuilt from its</text>
<text x="688" y="140" font-size="13" fill="#1F2328">definition instead</text>
<text x="688" y="160" font-size="13" fill="#1F2328">of repaired by hand</text>
<rect x="688" y="208" width="152" height="24" rx="12" fill="#FFEBE9" stroke="#CF222E" stroke-width="1"/>
<text x="764" y="225" font-size="13" text-anchor="middle" fill="#CF222E">one command: planned</text>
<path d="M772,248 L772,282 L332,282 L332,250" fill="none" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<text x="552" y="302" font-size="13" text-anchor="middle" fill="#57606A">rebuild from the same definition</text>
<rect x="24" y="324" width="832" height="72" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="40" y="350" font-size="15" font-weight="600" fill="#1F2328">Managed tier: gateways, standard consoles, hardware-bound IOC hosts</text>
<text x="40" y="374" font-size="13" fill="#57606A">owned by Controls IT; re-created only as planned actions, hardware IOC hosts in access windows</text>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

@@ -0,0 +1,61 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 540" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>The four RHEL9 machine types and the Small, Medium, Large and Custom sizes</title>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="24" y="38" font-size="17" font-weight="600" fill="#1F2328">Machine types on RHEL9 (virtual machines)</text>
<rect x="24" y="60" width="190" height="196" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="40" y="88" font-size="15" font-weight="600" fill="#1F2328">Soft IOC host</text>
<text x="40" y="116" font-size="13" fill="#1F2328">Runs EPICS soft IOCs</text>
<text x="40" y="136" font-size="13" fill="#1F2328">for an accelerator,</text>
<text x="40" y="156" font-size="13" fill="#1F2328">beamline or endstation</text>
<line x1="40" y1="188" x2="198" y2="188" stroke="#1A7F37" stroke-width="1" opacity="0.4"/>
<text x="40" y="212" font-size="13" fill="#57606A">By network or beamline</text>
<text x="40" y="236" font-size="13" fill="#57606A">&lt;facility&gt;-vserv-NN</text>
<rect x="238" y="60" width="190" height="196" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="254" y="88" font-size="15" font-weight="600" fill="#1F2328">Console</text>
<text x="254" y="116" font-size="13" fill="#1F2328">Desktop to log in to</text>
<text x="254" y="136" font-size="13" fill="#1F2328">and operate from, with</text>
<text x="254" y="156" font-size="13" fill="#1F2328">the controls tools</text>
<line x1="254" y1="188" x2="412" y2="188" stroke="#1A7F37" stroke-width="1" opacity="0.4"/>
<text x="254" y="212" font-size="13" fill="#57606A">By owning group</text>
<text x="254" y="236" font-size="13" fill="#57606A">&lt;facility&gt;-vcons-NN</text>
<rect x="452" y="60" width="190" height="196" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="468" y="88" font-size="15" font-weight="600" fill="#1F2328">Server</text>
<text x="468" y="116" font-size="13" fill="#1F2328">Runs a background</text>
<text x="468" y="136" font-size="13" fill="#1F2328">service: archiver,</text>
<text x="468" y="156" font-size="13" fill="#1F2328">gateway, containers</text>
<line x1="468" y1="188" x2="626" y2="188" stroke="#1A7F37" stroke-width="1" opacity="0.4"/>
<text x="468" y="212" font-size="13" fill="#57606A">By service</text>
<text x="468" y="236" font-size="13" fill="#57606A">name per service</text>
<rect x="666" y="60" width="190" height="196" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="682" y="88" font-size="15" font-weight="600" fill="#1F2328">Workstation</text>
<text x="682" y="116" font-size="13" fill="#1F2328">Shared Linux machine</text>
<text x="682" y="136" font-size="13" fill="#1F2328">for interactive work,</text>
<text x="682" y="156" font-size="13" fill="#1F2328">e.g. login cluster</text>
<line x1="682" y1="188" x2="840" y2="188" stroke="#1A7F37" stroke-width="1" opacity="0.4"/>
<text x="682" y="212" font-size="13" fill="#57606A">By owning group</text>
<text x="682" y="236" font-size="13" fill="#57606A">name per group</text>
<text x="24" y="292" font-size="15" font-weight="600" fill="#1F2328">Sizes, the same for every type</text>
<rect x="24" y="308" width="190" height="112" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="40" y="334" font-size="15" font-weight="600" fill="#1F2328">Small (default)</text>
<text x="40" y="358" font-size="13" fill="#1F2328">2 CPU · 4 GB memory</text>
<text x="40" y="378" font-size="13" fill="#1F2328">32 GB disk</text>
<text x="40" y="402" font-size="13" fill="#57606A">the usual choice</text>
<rect x="238" y="308" width="190" height="112" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="254" y="334" font-size="15" font-weight="600" fill="#1F2328">Medium</text>
<text x="254" y="358" font-size="13" fill="#1F2328">4 CPU · 8 GB memory</text>
<text x="254" y="378" font-size="13" fill="#1F2328">64 GB disk</text>
<text x="254" y="402" font-size="13" fill="#57606A">more work at once</text>
<rect x="452" y="308" width="190" height="112" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="468" y="334" font-size="15" font-weight="600" fill="#1F2328">Large</text>
<text x="468" y="358" font-size="13" fill="#1F2328">8 CPU · 16 GB memory</text>
<text x="468" y="378" font-size="13" fill="#1F2328">128 GB disk</text>
<text x="468" y="402" font-size="13" fill="#57606A">heavy processing, data</text>
<rect x="666" y="308" width="190" height="112" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="682" y="334" font-size="15" font-weight="600" fill="#1F2328">Custom</text>
<text x="682" y="358" font-size="13" fill="#1F2328">1–8 CPU · 2–32 GB</text>
<text x="682" y="378" font-size="13" fill="#1F2328">32–256 GB disk</text>
<text x="682" y="402" font-size="13" fill="#57606A">by individual agreement</text>
<rect x="24" y="444" width="832" height="72" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="40" y="470" font-size="15" font-weight="600" fill="#1F2328">Larger or physical machines</text>
<text x="40" y="494" font-size="13" fill="#57606A">anything above 8 CPU, 32 GB memory or 256 GB disk: contact Controls IT</text>
</svg>

After

Width:  |  Height:  |  Size: 5.3 KiB

@@ -0,0 +1,92 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 660" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>What Controls IT operates in a facility: office network, machine network, beamline networks, the gateways between them and the central PSI services it uses</title>
<defs>
<marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
<path d="M0,0 L10,5 L0,10 z" fill="#57606A"/>
</marker>
</defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="24" y="38" font-size="17" font-weight="600" fill="#1F2328">What Controls IT operates in each facility</text>
<rect x="524" y="24" width="16" height="16" rx="4" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="548" y="37" font-size="13" fill="#57606A">operated by Controls IT</text>
<rect x="724" y="24" width="16" height="16" rx="4" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="748" y="37" font-size="13" fill="#57606A">operated by others</text>
<!-- Office network -->
<rect x="24" y="60" width="250" height="372" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="40" y="86" font-size="15" font-weight="600" fill="#1F2328">Office network</text>
<rect x="40" y="100" width="218" height="46" rx="8" fill="#FFFFFF" stroke="#0969DA" stroke-width="1.5"/>
<text x="56" y="120" font-size="15" fill="#1F2328">You</text>
<text x="56" y="138" font-size="13" fill="#57606A">office PC or laptop</text>
<g font-size="15" fill="#1F2328">
<rect x="40" y="154" width="218" height="46" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="56" y="174">Consoles</text>
<text x="56" y="192" font-size="13" fill="#57606A">&lt;facility&gt;-cons-NN, -vcons-NN</text>
<rect x="40" y="208" width="218" height="46" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="56" y="228">Servers</text>
<text x="56" y="246" font-size="13" fill="#57606A">services and containers</text>
<rect x="40" y="262" width="218" height="46" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="56" y="282">Login cluster</text>
<text x="56" y="300" font-size="13" fill="#57606A">&lt;facility&gt;-lc</text>
<rect x="40" y="316" width="218" height="46" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="56" y="336">Test soft IOC hosts</text>
<text x="56" y="354" font-size="13" fill="#57606A">&lt;facility&gt;129-softioc-…</text>
<rect x="40" y="370" width="218" height="46" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="56" y="390">Boot servers</text>
<text x="56" y="408" font-size="13" fill="#57606A">&lt;facility&gt;129-boot-NN</text>
</g>
<!-- Gateways -->
<rect x="314" y="92" width="232" height="84" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="330" y="118" font-size="15" font-weight="600" fill="#1F2328">SSH gateway</text>
<text x="330" y="138" font-size="13" fill="#57606A">&lt;facility&gt;-gw</text>
<text x="330" y="158" font-size="13" fill="#57606A">operated by AWI</text>
<rect x="314" y="300" width="232" height="84" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="330" y="326" font-size="15" font-weight="600" fill="#1F2328">CA gateways</text>
<text x="330" y="346" font-size="13" fill="#57606A">&lt;facility&gt;-cagw</text>
<text x="330" y="366" font-size="13" fill="#57606A">EPICS channels between nets</text>
<!-- Machine network -->
<rect x="586" y="60" width="270" height="372" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="602" y="86" font-size="15" font-weight="600" fill="#1F2328">Machine network</text>
<g font-size="15" fill="#1F2328">
<rect x="602" y="100" width="238" height="46" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="618" y="120">Soft IOC hosts</text>
<text x="618" y="138" font-size="13" fill="#57606A">&lt;facility&gt;-vserv-NN, -softioc-…</text>
<rect x="602" y="154" width="238" height="46" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="618" y="174">Consoles</text>
<text x="618" y="192" font-size="13" fill="#57606A">&lt;facility&gt;-cons-NN, -vcons-NN</text>
<rect x="602" y="208" width="238" height="46" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="618" y="228">Servers</text>
<text x="618" y="246" font-size="13" fill="#57606A">services and containers</text>
<rect x="602" y="262" width="238" height="46" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="618" y="282">Login cluster</text>
<text x="618" y="300" font-size="13" fill="#57606A">&lt;facility&gt;-lca</text>
<rect x="602" y="316" width="238" height="46" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="618" y="336">Boot servers</text>
<text x="618" y="354" font-size="13" fill="#57606A">&lt;facility&gt;-boot-NN</text>
<rect x="602" y="370" width="238" height="46" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="618" y="390">Port server hosts</text>
<text x="618" y="408" font-size="13" fill="#57606A">serial consoles: ioc connect</text>
</g>
<!-- Beamline networks -->
<rect x="586" y="448" width="270" height="102" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="602" y="474" font-size="15" font-weight="600" fill="#1F2328">Beamline networks</text>
<rect x="602" y="488" width="238" height="46" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="618" y="508" font-size="15" fill="#1F2328">Soft IOC hosts</text>
<text x="618" y="526" font-size="13" fill="#57606A">for the beamline's IOCs</text>
<!-- Arrows -->
<path d="M258,123 L290,123 L290,134 L312,134" fill="none" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<text x="282" y="112" font-size="13" fill="#57606A">SSH</text>
<line x1="546" y1="134" x2="584" y2="134" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<line x1="276" y1="342" x2="312" y2="342" stroke="#57606A" stroke-width="1.5" marker-start="url(#ah)" marker-end="url(#ah)"/>
<line x1="548" y1="342" x2="584" y2="342" stroke="#57606A" stroke-width="1.5" marker-start="url(#ah)" marker-end="url(#ah)"/>
<path d="M430,386 L430,499 L584,499" fill="none" stroke="#57606A" stroke-width="1.5" marker-start="url(#ah)" marker-end="url(#ah)"/>
<!-- Central services -->
<rect x="24" y="568" width="832" height="68" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="40" y="594" font-size="15" font-weight="600" fill="#1F2328">Central PSI services, used and not duplicated</text>
<text x="40" y="618" font-size="13" fill="#57606A">AIT VM cluster (virtual machines) · central storage · Active Directory (users, groups) · central logging</text>
</svg>

After

Width:  |  Height:  |  Size: 6.8 KiB

@@ -0,0 +1,57 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 500" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>Two ways to request a machine or a change: the gfa-monitoring proof of concept and the cas CLI, both ending in a change Controls IT reviews</title>
<defs>
<marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
<path d="M0,0 L10,5 L0,10 z" fill="#57606A"/>
</marker>
</defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="24" y="38" font-size="17" font-weight="600" fill="#1F2328">Requesting a machine or a change</text>
<rect x="24" y="126" width="150" height="64" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="99" y="155" font-size="15" font-weight="600" text-anchor="middle" fill="#1F2328">You</text>
<text x="99" y="177" font-size="13" text-anchor="middle" fill="#57606A">inside PSI</text>
<rect x="224" y="60" width="290" height="108" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="240" y="86" font-size="15" font-weight="600" fill="#1F2328">gfa-monitoring (web)</text>
<text x="240" y="110" font-size="13" fill="#1F2328">Request a machine · Request</text>
<text x="240" y="130" font-size="13" fill="#1F2328">migration to RHEL9 · packages,</text>
<text x="240" y="150" font-size="13" fill="#1F2328">mounts, power users of a machine</text>
<rect x="404" y="70" width="100" height="22" rx="11" fill="#FFF8C5" stroke="#9A6700" stroke-width="1"/>
<text x="454" y="86" font-size="13" text-anchor="middle" fill="#9A6700">proof of concept</text>
<rect x="224" y="196" width="290" height="108" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="240" y="222" font-size="15" font-weight="600" fill="#1F2328">cas (command line)</text>
<text x="240" y="246" font-size="13" fill="#1F2328">machine add · machine deploy</text>
<text x="240" y="266" font-size="13" fill="#1F2328">plan first, --check dry run,</text>
<text x="240" y="286" font-size="13" fill="#1F2328">job log; runs with your access</text>
<rect x="384" y="206" width="120" height="22" rx="11" fill="#FFF8C5" stroke="#9A6700" stroke-width="1"/>
<text x="444" y="222" font-size="13" text-anchor="middle" fill="#9A6700">Controls IT today</text>
<path d="M174,150 L198,150 L198,114 L222,114" fill="none" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<path d="M174,166 L198,166 L198,250 L222,250" fill="none" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="564" y="60" width="292" height="108" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="580" y="86" font-size="15" font-weight="600" fill="#1F2328">Pull request in Git</text>
<text x="580" y="110" font-size="13" fill="#1F2328">the machine's configuration file:</text>
<text x="580" y="130" font-size="13" fill="#1F2328">a new machine, or a change to</text>
<text x="580" y="150" font-size="13" fill="#1F2328">an existing one</text>
<rect x="564" y="196" width="292" height="108" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="580" y="222" font-size="15" font-weight="600" fill="#1F2328">Catalogue action</text>
<text x="580" y="246" font-size="13" fill="#1F2328">a reviewed playbook, run on</text>
<text x="580" y="266" font-size="13" fill="#1F2328">inventoried machines only,</text>
<text x="580" y="286" font-size="13" fill="#1F2328">recorded with who and what</text>
<line x1="514" y1="114" x2="562" y2="114" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<line x1="514" y1="236" x2="562" y2="140" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<line x1="514" y1="264" x2="562" y2="264" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="564" y="336" width="292" height="64" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="710" y="363" font-size="15" font-weight="600" text-anchor="middle" fill="#1F2328">Controls IT reviews, merges</text>
<text x="710" y="385" font-size="13" text-anchor="middle" fill="#57606A">the merge is the approval</text>
<path d="M856,114 L868,114 L868,368 L858,368" fill="none" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="294" y="336" width="220" height="64" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="404" y="363" font-size="15" font-weight="600" text-anchor="middle" fill="#1F2328">Machine created</text>
<text x="404" y="385" font-size="13" text-anchor="middle" fill="#57606A">by Controls IT (new machine)</text>
<line x1="564" y1="368" x2="516" y2="368" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="24" y="336" width="220" height="64" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="134" y="363" font-size="15" font-weight="600" text-anchor="middle" fill="#1F2328">Puppet applies it</text>
<text x="134" y="385" font-size="13" text-anchor="middle" fill="#57606A">keeps the machine standard</text>
<line x1="294" y1="368" x2="246" y2="368" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="24" y="424" width="832" height="56" rx="8" fill="#FFEBE9" stroke="#CF222E" stroke-width="1.5"/>
<text x="44" y="448" font-size="13" font-weight="600" fill="#1F2328">Planned</text>
<text x="44" y="468" font-size="13" fill="#1F2328">sign-in with your PSI account and rights per group · creating a machine from the portal after the merge · create or re-create by type</text>
</svg>

After

Width:  |  Height:  |  Size: 5.5 KiB

@@ -0,0 +1,39 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 500" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>Support contract: Controls IT supports the standard layer, your group owns its software; a broken machine is re-created to standard; managed tier exceptions</title>
<defs>
<marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
<path d="M0,0 L10,5 L0,10 z" fill="#57606A"/>
</marker>
</defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="24" y="38" font-size="17" font-weight="600" fill="#1F2328">The support contract</text>
<rect x="24" y="60" width="392" height="320" rx="8" fill="#FFFFFF" stroke="#57606A" stroke-width="1.5"/>
<text x="44" y="88" font-size="15" font-weight="600" fill="#1F2328">A standard machine</text>
<rect x="44" y="104" width="352" height="116" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="60" y="130" font-size="15" font-weight="600" fill="#1F2328">Standard layer: Controls IT supports</text>
<text x="60" y="156" font-size="13" fill="#1F2328">standard image and operating system layer</text>
<text x="60" y="178" font-size="13" fill="#1F2328">packages, EPICS, Python environments, tools</text>
<text x="60" y="200" font-size="13" fill="#1F2328">monitoring agents, autodeploy folders</text>
<rect x="44" y="236" width="352" height="128" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="60" y="262" font-size="15" font-weight="600" fill="#1F2328">Your software: your group owns it</text>
<text x="60" y="288" font-size="13" fill="#1F2328">your software and IOCs</text>
<text x="60" y="310" font-size="13" fill="#1F2328">your scripts, displays, configuration</text>
<text x="60" y="332" font-size="13" fill="#1F2328">your dependencies</text>
<text x="60" y="354" font-size="13" fill="#CF222E">Controls IT does not debug this</text>
<text x="464" y="88" font-size="15" font-weight="600" fill="#1F2328">When a machine is broken or drifted</text>
<rect x="464" y="104" width="392" height="64" rx="8" fill="#FFEBE9" stroke="#CF222E" stroke-width="1.5"/>
<text x="660" y="131" font-size="15" text-anchor="middle" fill="#1F2328">Broken, drifted or unknown state</text>
<text x="660" y="153" font-size="13" text-anchor="middle" fill="#57606A">nobody investigates why</text>
<line x1="660" y1="168" x2="660" y2="200" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="464" y="202" width="392" height="64" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="660" y="229" font-size="15" font-weight="600" text-anchor="middle" fill="#1F2328">Re-created to standard</text>
<text x="660" y="251" font-size="13" text-anchor="middle" fill="#57606A">by Controls IT today; one command planned</text>
<line x1="660" y1="266" x2="660" y2="298" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="464" y="300" width="392" height="80" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="660" y="327" font-size="15" text-anchor="middle" fill="#1F2328">Your group deploys its software again</text>
<text x="660" y="349" font-size="13" text-anchor="middle" fill="#57606A">possible because software and runtime files</text>
<text x="660" y="367" font-size="13" text-anchor="middle" fill="#57606A">are kept off the machine</text>
<rect x="24" y="400" width="832" height="76" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="44" y="428" font-size="15" font-weight="600" fill="#1F2328">Managed tier: gateways, standard consoles, hardware-bound IOC hosts</text>
<text x="44" y="454" font-size="13" fill="#57606A">owned and supported closely by Controls IT; re-created only as planned actions, hardware IOC hosts in access windows</text>
</svg>

After

Width:  |  Height:  |  Size: 3.8 KiB

@@ -0,0 +1,26 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 380" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>Transition plan of June 2026: foundation and standard machine types, self-service tools and pilot in Q3 2026, general migration in Q4 2026, legacy sunset in Q1 2027</title>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="24" y="38" font-size="17" font-weight="600" fill="#1F2328">The move to RHEL9 (plan of June 2026)</text>
<rect x="24" y="60" width="272" height="36" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="160" y="83" font-size="15" font-weight="600" text-anchor="middle" fill="#1F2328">Q3 2026</text>
<rect x="304" y="60" width="272" height="36" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="440" y="83" font-size="15" font-weight="600" text-anchor="middle" fill="#1F2328">Q4 2026</text>
<rect x="584" y="60" width="272" height="36" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="720" y="83" font-size="15" font-weight="600" text-anchor="middle" fill="#1F2328">Q1 2027</text>
<line x1="440" y1="104" x2="440" y2="290" stroke="#9A6700" stroke-width="1.5" stroke-dasharray="5 4"/>
<rect x="24" y="112" width="272" height="44" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="40" y="139" font-size="13" fill="#1F2328">0 Foundation · 1 Standard machine types</text>
<rect x="24" y="168" width="272" height="44" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="40" y="195" font-size="13" fill="#1F2328">2 Self-service tools and monitoring</text>
<rect x="24" y="224" width="272" height="44" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="40" y="251" font-size="13" fill="#1F2328">3 Pilot with volunteer groups</text>
<rect x="304" y="224" width="272" height="44" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="320" y="251" font-size="13" fill="#1F2328">4 General migration, all groups</text>
<rect x="584" y="224" width="272" height="44" rx="8" fill="#FFEBE9" stroke="#CF222E" stroke-width="1.5"/>
<text x="600" y="251" font-size="13" fill="#1F2328">5 Legacy sunset: RHEL 7 and 8 off</text>
<rect x="380" y="282" width="120" height="24" rx="12" fill="#FFF8C5" stroke="#9A6700" stroke-width="1"/>
<text x="440" y="299" font-size="13" text-anchor="middle" fill="#9A6700">November 2026</text>
<text x="24" y="336" font-size="13" fill="#57606A">Green: Controls IT builds the platform. Blue: groups move onto it. Red: unsupported machines are switched off.</text>
<text x="24" y="358" font-size="13" fill="#57606A">Gateways and other shared infrastructure stay with Controls IT and are migrated by Controls IT throughout.</text>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

@@ -0,0 +1,42 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 516" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>From a Python project in Gitea to a tool users can run</title>
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="#57606A"/></marker></defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="40" y="44" font-size="17" font-weight="600" fill="#1F2328" text-anchor="start">Delivering a Python tool</text>
<rect x="24" y="96" width="240" height="260" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="44" y="160" font-size="15" font-weight="600" fill="#1F2328" text-anchor="start">Python project in Gitea</text>
<text x="44" y="192" font-size="13" fill="#1F2328" text-anchor="start">pyproject.toml or setup.py</text>
<text x="44" y="216" font-size="13" fill="#1F2328" text-anchor="start">name, version, dependencies</text>
<text x="44" y="240" font-size="13" fill="#1F2328" text-anchor="start">console-script entry points</text>
<text x="44" y="264" font-size="13" fill="#1F2328" text-anchor="start">README with requirements</text>
<text x="44" y="288" font-size="13" fill="#1F2328" text-anchor="start">per install method</text>
<rect x="304" y="96" width="260" height="110" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="324" y="130" font-size="15" font-weight="600" fill="#1F2328" text-anchor="start">pip-installable package</text>
<text x="324" y="158" font-size="13" fill="#1F2328" text-anchor="start">pip install . works in a</text>
<text x="324" y="180" font-size="13" fill="#1F2328" text-anchor="start">fresh venv as a normal user</text>
<rect x="304" y="246" width="260" height="110" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="324" y="280" font-size="15" font-weight="600" fill="#1F2328" text-anchor="start">RPM package (noarch)</text>
<text x="324" y="308" font-size="13" fill="#1F2328" text-anchor="start">rpmbuild from a .spec file</text>
<text x="324" y="330" font-size="13" fill="#1F2328" text-anchor="start">Requires: python3-* RPMs</text>
<rect x="604" y="96" width="252" height="110" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="624" y="130" font-size="15" font-weight="600" fill="#1F2328" text-anchor="start">Any machine</text>
<text x="624" y="158" font-size="13" fill="#1F2328" text-anchor="start">venv, pixi or host Python</text>
<text x="624" y="180" font-size="13" fill="#1F2328" text-anchor="start">Dependencies from PyPI</text>
<rect x="604" y="246" width="252" height="110" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="624" y="280" font-size="15" font-weight="600" fill="#1F2328" text-anchor="start">Controls RHEL9 host</text>
<text x="624" y="308" font-size="13" fill="#1F2328" text-anchor="start">System python3</text>
<text x="624" y="330" font-size="13" fill="#1F2328" text-anchor="start">Dependencies installed as RPMs</text>
<line x1="264" y1="200" x2="302" y2="151" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<line x1="264" y1="252" x2="302" y2="301" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<line x1="564" y1="151" x2="602" y2="151" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<line x1="564" y1="301" x2="602" y2="301" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="24" y="396" width="240" height="96" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="44" y="430" font-size="15" font-weight="600" fill="#1F2328" text-anchor="start">Python IOC directory</text>
<text x="44" y="458" font-size="13" fill="#1F2328" text-anchor="start">parameters.yaml with</text>
<text x="44" y="480" font-size="13" fill="#1F2328" text-anchor="start">interpreter: python</text>
<rect x="344" y="396" width="512" height="96" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="364" y="430" font-size="15" font-weight="600" fill="#1F2328" text-anchor="start">/ioc/&lt;IOC&gt; on the IOC host</text>
<text x="364" y="458" font-size="13" fill="#1F2328" text-anchor="start">Started by shellbox: iocpy main.py</text>
<line x1="264" y1="444" x2="342" y2="444" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<text x="304" y="434" font-size="13" fill="#57606A" text-anchor="middle">ioc install</text>
</svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

@@ -0,0 +1,56 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 730" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>Supported ways to install a Controls Python tool, what each needs, and its state today</title>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="40" y="44" font-size="17" font-weight="600" fill="#1F2328" text-anchor="start">Ways to install a Controls Python tool</text>
<text x="48" y="82" font-size="13" fill="#57606A" text-anchor="start">Way</text>
<text x="288" y="82" font-size="13" fill="#57606A" text-anchor="start">Use it for</text>
<text x="580" y="82" font-size="13" fill="#57606A" text-anchor="start">Needs</text>
<rect x="24" y="96" width="832" height="104" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="48" y="128" font-size="15" font-weight="600" fill="#1F2328" text-anchor="start">RPM on a Controls host</text>
<text x="48" y="150" font-size="13" fill="#57606A" text-anchor="start">Standard for software</text>
<text x="48" y="170" font-size="13" fill="#57606A" text-anchor="start">on a host. In place</text>
<text x="288" y="128" font-size="15" fill="#1F2328" text-anchor="start">Tools on Controls-managed</text>
<text x="288" y="150" font-size="15" fill="#1F2328" text-anchor="start">RHEL9 hosts</text>
<text x="580" y="126" font-size="13" fill="#1F2328" text-anchor="start">System python3 (3.9 on RHEL9)</text>
<text x="580" y="146" font-size="13" fill="#1F2328" text-anchor="start">Dependencies: python3-* RPMs</text>
<text x="580" y="166" font-size="13" fill="#1F2328" text-anchor="start">Root; Puppet installs them</text>
<text x="580" y="186" font-size="13" fill="#1F2328" text-anchor="start">per host type</text>
<rect x="24" y="226" width="832" height="104" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="48" y="258" font-size="15" font-weight="600" fill="#1F2328" text-anchor="start">pixi</text>
<text x="48" y="280" font-size="13" fill="#57606A" text-anchor="start">Optional, for project</text>
<text x="48" y="300" font-size="13" fill="#57606A" text-anchor="start">environments</text>
<text x="288" y="258" font-size="15" fill="#1F2328" text-anchor="start">Python and packages per</text>
<text x="288" y="280" font-size="15" fill="#1F2328" text-anchor="start">project, independent of host</text>
<text x="580" y="256" font-size="13" fill="#1F2328" text-anchor="start">pixi on the host</text>
<text x="580" y="276" font-size="13" fill="#1F2328" text-anchor="start">pixi.toml + pixi.lock in Git</text>
<text x="580" y="296" font-size="13" fill="#1F2328" text-anchor="start">Network access to channels</text>
<text x="580" y="316" font-size="13" fill="#57606A" text-anchor="start">Curated environments: planned</text>
<rect x="24" y="356" width="832" height="104" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="48" y="388" font-size="15" font-weight="600" fill="#1F2328" text-anchor="start">pip in a venv</text>
<text x="48" y="410" font-size="13" fill="#57606A" text-anchor="start">You manage it</text>
<text x="288" y="388" font-size="15" fill="#1F2328" text-anchor="start">Development, own machine,</text>
<text x="288" y="410" font-size="15" fill="#1F2328" text-anchor="start">or a host without the RPM</text>
<text x="580" y="386" font-size="13" fill="#1F2328" text-anchor="start">python3 with the venv module</text>
<text x="580" y="406" font-size="13" fill="#1F2328" text-anchor="start">Upgrade pip first</text>
<text x="580" y="426" font-size="13" fill="#1F2328" text-anchor="start">Network access to PyPI</text>
<rect x="24" y="486" width="832" height="104" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="48" y="518" font-size="15" font-weight="600" fill="#1F2328" text-anchor="start">Host Python</text>
<text x="48" y="540" font-size="13" fill="#57606A" text-anchor="start">pip install --user</text>
<text x="288" y="518" font-size="15" fill="#1F2328" text-anchor="start">One user, no root, no venv</text>
<text x="580" y="516" font-size="13" fill="#1F2328" text-anchor="start">~/.local/bin on PATH</text>
<text x="580" y="536" font-size="13" fill="#1F2328" text-anchor="start">Dependencies from PyPI</text>
<text x="580" y="556" font-size="13" fill="#1F2328" text-anchor="start">Never sudo pip install</text>
<rect x="24" y="616" width="832" height="90" rx="8" fill="#FFEBE9" stroke="#CF222E" stroke-width="1.5"/>
<text x="48" y="648" font-size="15" font-weight="600" fill="#1F2328" text-anchor="start">conda</text>
<text x="48" y="670" font-size="13" fill="#57606A" text-anchor="start">Not supported</text>
<text x="288" y="648" font-size="15" fill="#1F2328" text-anchor="start">Includes /opt/gfa/python-* and</text>
<text x="288" y="670" font-size="15" fill="#1F2328" text-anchor="start">the paulscherrerinstitute channel</text>
<text x="580" y="646" font-size="13" fill="#1F2328" text-anchor="start">Only exception: the Python IOC</text>
<text x="580" y="666" font-size="13" fill="#1F2328" text-anchor="start">environment built by ioc install</text>
<text x="580" y="686" font-size="13" fill="#1F2328" text-anchor="start">(legacy, still works)</text>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

@@ -0,0 +1,40 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 500" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>How software reaches a Controls host as an RPM, today and as planned</title>
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="#57606A"/></marker></defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="40" y="44" font-size="17" font-weight="600" fill="#1F2328">Two build paths, one Controls-hosted repository</text>
<rect x="40" y="80" width="230" height="96" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="58" y="110" font-size="15" font-weight="600" fill="#1F2328">Controls builds</text>
<text x="58" y="136" font-size="13" fill="#1F2328">its own tools and the</text>
<text x="58" y="156" font-size="13" fill="#1F2328">controls stack</text>
<rect x="40" y="204" width="230" height="96" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="58" y="234" font-size="15" font-weight="600" fill="#1F2328">Your group builds</text>
<text x="58" y="260" font-size="13" fill="#1F2328">your own software:</text>
<text x="58" y="280" font-size="13" fill="#1F2328">.spec file, rpmbuild</text>
<rect x="320" y="132" width="230" height="116" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="338" y="164" font-size="15" font-weight="600" fill="#1F2328">Controls-hosted</text>
<text x="338" y="186" font-size="15" font-weight="600" fill="#1F2328">RPM repository</text>
<text x="338" y="212" font-size="13" fill="#1F2328">Controls owns repository</text>
<text x="338" y="232" font-size="13" fill="#1F2328">and packaging standards</text>
<rect x="600" y="132" width="240" height="116" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="618" y="164" font-size="15" font-weight="600" fill="#1F2328">Controls RHEL9 host</text>
<text x="618" y="190" font-size="13" fill="#1F2328">Today: Puppet installs the</text>
<text x="618" y="210" font-size="13" fill="#1F2328">package list of the host</text>
<text x="618" y="230" font-size="13" fill="#1F2328">type</text>
<line x1="270" y1="128" x2="318" y2="170" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<line x1="270" y1="252" x2="318" y2="212" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<line x1="550" y1="190" x2="598" y2="190" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="40" y="336" width="800" height="132" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5" stroke-dasharray="6 4"/>
<text x="58" y="366" font-size="15" font-weight="600" fill="#1F2328">Planned</text>
<text x="58" y="394" font-size="13" fill="#1F2328">Signed packages; hosts follow a test or a production channel.</text>
<text x="58" y="416" font-size="13" fill="#1F2328">A package is promoted from test to production, not rebuilt.</text>
<text x="458" y="394" font-size="13" fill="#1F2328">Your group publishes its own RPMs itself.</text>
<text x="458" y="416" font-size="13" fill="#1F2328">Installs and updates run through Controls</text>
<text x="458" y="438" font-size="13" fill="#1F2328">playbooks, not by hand with dnf.</text>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

@@ -0,0 +1,56 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 480" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>IOC deployment chain: from the project in Gitea to a running IOC</title>
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="#57606A"/></marker></defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="40" y="44" font-size="17" font-weight="600" fill="#1F2328">IOC deployment chain: every step is started by you</text>
<rect x="40" y="76" width="240" height="132" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="58" y="106" font-size="13" fill="#57606A">1 Project</text>
<text x="58" y="130" font-size="15" font-weight="600" fill="#1F2328">IOC project in Gitea</text>
<text x="58" y="156" font-size="13" fill="#1F2328">epics_iocboot_&lt;facility&gt;</text>
<text x="58" y="178" font-size="13" fill="#1F2328">parameters file per IOC:</text>
<text x="58" y="198" font-size="13" fill="#1F2328">IOC host, EPICS version, OS</text>
<rect x="320" y="76" width="240" height="132" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="338" y="106" font-size="13" fill="#57606A">2 Check out and build</text>
<text x="338" y="130" font-size="15" font-weight="600" fill="#1F2328">Your checkout</text>
<text x="338" y="156" font-size="13" fill="#1F2328">git clone the project</text>
<text x="338" y="178" font-size="13" fill="#1F2328">compile src/ yourself if</text>
<text x="338" y="198" font-size="13" fill="#1F2328">the IOC has C or SNL code</text>
<rect x="600" y="76" width="240" height="132" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="618" y="106" font-size="13" fill="#57606A">3 Install</text>
<text x="618" y="130" font-size="15" font-weight="600" fill="#1F2328">ioc install</text>
<text x="618" y="156" font-size="13" fill="#1F2328">on &lt;facility&gt;-lc or a host</text>
<text x="618" y="178" font-size="13" fill="#1F2328">in the machine network</text>
<text x="618" y="198" font-size="13" fill="#1F2328">(/ioc must be writable)</text>
<rect x="600" y="272" width="240" height="132" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="618" y="302" font-size="13" fill="#57606A">NFS share /ioc</text>
<text x="618" y="326" font-size="15" font-weight="600" fill="#1F2328">/ioc/&lt;IOC&gt;</text>
<text x="618" y="352" font-size="13" fill="#1F2328">startup scripts generated</text>
<text x="618" y="374" font-size="13" fill="#1F2328">entry in shellbox.conf</text>
<text x="618" y="394" font-size="13" fill="#1F2328">line in ioc_install.log</text>
<rect x="320" y="272" width="240" height="132" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="338" y="302" font-size="13" fill="#57606A">4 Start</text>
<text x="338" y="326" font-size="15" font-weight="600" fill="#1F2328">IOC host</text>
<text x="338" y="352" font-size="13" fill="#1F2328">ioc restart (new IOC: ioc start)</text>
<text x="338" y="374" font-size="13" fill="#1F2328">shellbox runs the IOC</text>
<text x="338" y="394" font-size="13" fill="#1F2328">from /ioc/&lt;IOC&gt;</text>
<rect x="40" y="272" width="240" height="132" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="58" y="302" font-size="13" fill="#57606A">5 Check</text>
<text x="58" y="326" font-size="15" font-weight="600" fill="#1F2328">Is it running?</text>
<text x="58" y="352" font-size="13" fill="#1F2328">ioc status, ioc shell</text>
<text x="58" y="374" font-size="13" fill="#1F2328">ioc boots -i &lt;IOC&gt;</text>
<text x="58" y="394" font-size="13" fill="#1F2328">gfa-monitoring IOC page</text>
<line x1="280" y1="142" x2="318" y2="142" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<line x1="560" y1="142" x2="598" y2="142" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<line x1="720" y1="208" x2="720" y2="270" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<line x1="600" y1="338" x2="562" y2="338" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<line x1="320" y1="338" x2="282" y2="338" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<text x="40" y="446" font-size="13" fill="#57606A">Nothing starts on a Git push. ioc install does not build and does not restart the IOC.</text>
</svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

@@ -0,0 +1,47 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 380" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>Logging on a Controls host: services and IOCs write to the systemd journal, Filebeat ships the journal to Elastic, Kibana shows it</title>
<defs>
<marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
<path d="M0,0 L10,5 L0,10 z" fill="#57606A"/>
</marker>
</defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="24" y="36" font-size="17" font-weight="600" fill="#1F2328">Two places to look: on the host, and centrally in Elastic</text>
<!-- host container -->
<rect x="20" y="60" width="530" height="290" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="36" y="84" font-size="15" font-weight="600" fill="#1F2328">Controls host (RHEL9, Puppet-managed)</text>
<rect x="40" y="104" width="230" height="76" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="56" y="134" font-size="15" fill="#1F2328">Services and IOCs</text>
<text x="56" y="158" font-size="13" fill="#57606A">write to stdout and stderr</text>
<rect x="40" y="250" width="230" height="76" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="56" y="280" font-size="15" fill="#1F2328">systemd journal</text>
<text x="56" y="304" font-size="13" fill="#57606A">journald, /var/log/journal</text>
<rect x="310" y="250" width="220" height="76" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="326" y="280" font-size="15" fill="#1F2328">Filebeat 7.17.5</text>
<text x="326" y="304" font-size="13" fill="#57606A">reads the whole journal</text>
<rect x="310" y="104" width="220" height="76" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="326" y="134" font-size="15" fill="#1F2328">You, on the host</text>
<text x="326" y="158" font-size="13" fill="#57606A">journalctl</text>
<!-- central -->
<rect x="600" y="250" width="260" height="76" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="616" y="280" font-size="15" fill="#1F2328">Elasticsearch (central PSI)</text>
<text x="616" y="304" font-size="13" fill="#57606A">space data-controls</text>
<rect x="600" y="104" width="260" height="76" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="616" y="134" font-size="15" fill="#1F2328">Kibana</text>
<text x="616" y="158" font-size="13" fill="#57606A">kibana.psi.ch, Discover</text>
<!-- arrows -->
<line x1="155" y1="180" x2="155" y2="246" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="270" y1="288" x2="306" y2="288" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="270" y1="262" x2="340" y2="184" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="530" y1="288" x2="596" y2="288" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<text x="546" y="276" font-size="13" fill="#57606A">HTTPS</text>
<line x1="730" y1="250" x2="730" y2="184" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

@@ -0,0 +1,49 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 440" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>Where gfa-monitoring gets its data from and what it shows</title>
<defs>
<marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
<path d="M0,0 L10,5 L0,10 z" fill="#57606A"/>
</marker>
</defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="24" y="36" font-size="17" font-weight="600" fill="#1F2328">gfa-monitoring: one place for the state of each facility</text>
<rect x="20" y="60" width="290" height="64" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="36" y="86" font-size="15" fill="#1F2328">sysreport</text>
<text x="36" y="108" font-size="13" fill="#57606A">host reports, once a day</text>
<rect x="20" y="152" width="290" height="64" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="36" y="178" font-size="15" fill="#1F2328">IOCs and gateway statistics</text>
<text x="36" y="200" font-size="13" fill="#57606A">read over Channel Access</text>
<rect x="20" y="244" width="290" height="64" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="36" y="270" font-size="15" fill="#1F2328">IOC boot records</text>
<text x="36" y="292" font-size="13" fill="#57606A">which IOC booted where, when</text>
<rect x="20" y="336" width="290" height="64" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="36" y="362" font-size="15" fill="#1F2328">Gitea repositories</text>
<text x="36" y="384" font-size="13" fill="#57606A">archiver channel lists, IOC repos</text>
<rect x="360" y="170" width="200" height="120" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="376" y="210" font-size="15" font-weight="600" fill="#1F2328">gfa-monitoring</text>
<text x="376" y="236" font-size="13" fill="#57606A">gfa-monitoring.psi.ch</text>
<text x="376" y="258" font-size="13" fill="#57606A">status per facility</text>
<rect x="384" y="302" width="152" height="26" rx="13" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="460" y="320" font-size="13" fill="#1F2328" text-anchor="middle">proof of concept</text>
<rect x="610" y="60" width="250" height="340" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="626" y="88" font-size="15" font-weight="600" fill="#1F2328">What you see</text>
<text x="626" y="128" font-size="15" fill="#1F2328">Facilities overview</text>
<text x="626" y="168" font-size="15" fill="#1F2328">Wall dashboard</text>
<text x="626" y="208" font-size="15" fill="#1F2328">Host list and details</text>
<text x="626" y="248" font-size="15" fill="#1F2328">IOC list and details</text>
<text x="626" y="288" font-size="15" fill="#1F2328">PV list and monitoring</text>
<text x="626" y="328" font-size="15" fill="#1F2328">Gateways, live state</text>
<text x="626" y="368" font-size="13" fill="#57606A">ok, unknown, warn, error</text>
<line x1="310" y1="92" x2="356" y2="196" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="310" y1="184" x2="356" y2="216" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="310" y1="276" x2="356" y2="248" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="310" y1="368" x2="356" y2="270" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="560" y1="230" x2="606" y2="230" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

@@ -8,3 +8,137 @@ tags:
---
# IOC Utils
All the information the `ioc` command gives you (IOCs and the hosts they run on, their state, records, libraries and boot history) is also available visually in [gfa-monitoring](http://gfa-monitoring.psi.ch), the web interface of Controls IT. See [Monitoring](../Services/03_devops.md#monitoring) for what it shows.
## What it is
IOC Utils provides the `ioc` command line tool for working with EPICS IOCs at PSI.
With it you install (deploy) an IOC from its project folder, restart it, open its shell or
serial console, and look up IOCs and records.
![What the ioc command does: ioc install and ioc restart to deploy your IOC, ioc shell and ioc connect to look at the running IOC, ioc search and ioc records to find information](images/01_iocutils_overview.svg)
## Get it
The `ioc` command is available on all Controls hosts: it is already installed there.
Check it:
ioc --help
Every subcommand has its own help, for example `ioc install --help`.
To add it to your own machine, install the package `cas-iocutils`:
sudo dnf install cas-iocutils
This works on a machine that has the Controls package repository configured. Without root, or
without that repository, install it with pip in a virtual environment as described under
[Python software](../Services/03_devops.md#ways-to-install). Which packages each host type gets
is listed in [Host Types and Packages](../../3._Knowledge_Center/06_references/04_host_types.md).
## Deploy your IOC
Replace `MY-IOC` in the examples with the name of your IOC.
### 1. Install it from the project folder
An IOC project folder contains your IOC configuration and a parameters file,
`parameters.yaml` (or `MY-IOC_parameters.yaml`). The parameters file says which host the IOC runs
on and which EPICS version and operating system it uses. Every IOC project is expected to have
one. For a new IOC, `ioc config create` asks a few questions and writes `parameters.yaml` for you.
Deprecated: if the folder has no parameters file, `ioc install` still reads the values from
Inventory, writes `MY-IOC_parameters.yaml`, and asks you to check and commit that file to your
project. Do not rely on this; add a parameters file to your project.
cd my-ioc-project
ioc install --facility sls --ioc MY-IOC
`--facility` is the facility your IOC belongs to; if the environment variable `PSI_GFA_FACILITY`
is set, you can leave it out. Without `--ioc`, all IOCs found in the folder are installed.
The IOC is installed to `/ioc/MY-IOC`. Run the command on a host where `/ioc` is writable:
`<facility>-lc.psi.ch` or a host inside the machine network.
### 2. Restart the IOC
`ioc install` does not restart the IOC. Restart it so that it loads the new installation:
ioc restart MY-IOC
![Deploy flow: step 1, ioc install in the IOC project folder (configuration and parameters file, or, deprecated, values from Inventory if there is none) installs the IOC to /ioc/MY-IOC without restarting it; step 2, ioc restart makes the running IOC load the new installation](images/01_iocutils_deploy_flow.svg)
`ioc restart -f MY-IOC` forces the restart by stopping and starting the IOC on its host
(RHEL IOC hosts only). `ioc status`, `ioc start` and `ioc stop` check, start or stop the IOC.
They need the IOC's parameters file even when you give the IOC name, so run them in the project
folder or pass the file with `-p`. `start`, `stop`, `status` and `restart -f` log in to the IOC host with SSH,
so your account must be able to log in there.
### 3. Look at the running IOC
Open the IOC shell, the interactive EPICS prompt of the running IOC:
ioc shell MY-IOC
Open the serial console of an IOC that is cabled to a port server (a terminal server on the
network), and save the session to a file:
ioc connect -o console.log MY-IOC
`ioc connect -l` lists the IOCs that have a console port. Operator accounts such as `slsop` or
`sfop` cannot open a console; the tool then asks for your personal user name.
`ioc shell` and `ioc restart` connect to the IOC's shell port directly when they can. Otherwise
they log in to the IOC host with SSH, through the facility's gateway host (for example `sf-gw`).
`ioc connect`, `start`, `stop` and `status` always use SSH and also go through the gateway host
when the target is not directly reachable. You do not need to choose the gateway yourself.
![How the ioc command reaches your IOC: the IOC host for shell, restart, start, stop and status; the port server for the serial console; the IOC info service for read-only lookups; a gateway host when the target is not directly reachable](images/01_iocutils_access_paths.svg)
## Find information
These commands only read from the IOC info service and change nothing:
| Command | What it shows |
| ------- | ------------- |
| `ioc search` | IOCs whose name matches a pattern, for example `ioc search -l asyn` for IOCs that load the `asyn` library |
| `ioc records` | Records matching a pattern, for example `ioc records -i MY-IOC` for all records of one IOC |
| `ioc libraries` | Libraries and versions an IOC loads, for example `ioc libraries MY-IOC` |
| `ioc boots` | Boot history of IOCs, for example `ioc boots -i MY-IOC` |
| `ioc duplicates` | Record names defined on more than one IOC |
Patterns are regular expressions. The package also installs the standalone commands `bootinfo`,
`findrecord`, `libversionShow`, `cabling` and `rmc`.
## Support status & contact
IOC Utils is an in-house Controls tool. Controls packages it, keeps its versions and supports it,
as it does for all Controls tools on the RHEL9 platform. The source code is maintained in the
Gitea repository `ctrl_packages/cas-iocutils`.
Report bugs and ask for features in the repository's issue tracker:
[gitea.psi.ch/ctrl_packages/cas-iocutils/issues](https://gitea.psi.ch/ctrl_packages/cas-iocutils/issues)
(access to the repository is needed). Problems in your own IOC configuration, records or startup
script are yours to solve; Controls supports the tool and the platform it runs on.
The steps from your IOC project to a running IOC, and where to look when one fails, are described
in [IOC deployment chain](../Services/03_devops.md#ioc-deployment-chain).
## Further reading
- [cas-iocutils repository and README](https://gitea.psi.ch/ctrl_packages/cas-iocutils): full
command reference with all options, the IOC project folder layout, the `parameters.yaml`
reference and other ways to install the tool. The repository is private; you need access to it.
- [Autodeploy](../Services/11_autodeploy.md)
- [How-To: Build and Deploy EPICS IOCs](../../3._Knowledge_Center/03_how_to/10_build_deploy_iocs.md)
- [EPICS IOC Troubleshooting](../../3._Knowledge_Center/04_troubleshooting/05_iocs.md)
- [Controls IT Services](../Services/03_devops.md): IOC deployment chain, logging, monitoring and
Python software
### Presentations
- <a href="../../Services/presentations/Controls_RHEL9_Platform.pptx" download>RHEL9 and the move to a Controls platform (PowerPoint download)</a>
(June 2026, 10 slides): what Controls supports and what your group owns, including your IOCs.
(June 2026, 8 slides): the technical decisions, among them EPICS as RPMs and soft IOCs as
containers.
@@ -0,0 +1,62 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 630" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>How the ioc command reaches your IOC: IOC shell on the IOC host, serial console through the port server, read-only lookups in the IOC info service, through a gateway host when the target is not directly reachable</title>
<defs>
<marker id="arr2" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
<path d="M0,0 L10,5 L0,10 z" fill="#57606A"/>
</marker>
</defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="40" y="40" font-size="17" font-weight="600" fill="#1F2328">How the ioc command reaches your IOC</text>
<!-- Workstation -->
<rect x="40" y="70" width="220" height="500" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="56" y="100" font-size="15" font-weight="600" fill="#1F2328">Your workstation</text>
<text x="56" y="126" font-size="13" fill="#57606A">runs the ioc command</text>
<!-- IOC host -->
<rect x="600" y="70" width="240" height="100" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="616" y="100" font-size="15" font-weight="600" fill="#1F2328">IOC host</text>
<text x="616" y="126" font-size="13" fill="#1F2328">shell of the running IOC</text>
<text x="616" y="148" font-size="13" fill="#57606A">SSH login for start, stop, status</text>
<!-- Gateway -->
<rect x="330" y="200" width="200" height="100" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="346" y="230" font-size="15" font-weight="600" fill="#1F2328">Gateway host</text>
<text x="346" y="254" font-size="13" fill="#1F2328">&lt;prefix&gt;-gw, e.g. sf-gw</text>
<text x="346" y="276" font-size="13" fill="#57606A">only if not reachable</text>
<text x="346" y="294" font-size="13" fill="#57606A">directly</text>
<!-- Port server -->
<rect x="600" y="330" width="240" height="100" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="616" y="360" font-size="15" font-weight="600" fill="#1F2328">Port server</text>
<text x="616" y="386" font-size="13" fill="#1F2328">terminal server with the</text>
<text x="616" y="408" font-size="13" fill="#1F2328">IOC's serial console</text>
<!-- IOC info service -->
<rect x="600" y="470" width="240" height="100" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="616" y="500" font-size="15" font-weight="600" fill="#1F2328">IOC info service</text>
<text x="616" y="526" font-size="13" fill="#1F2328">IOCs, records, libraries,</text>
<text x="616" y="548" font-size="13" fill="#1F2328">boot history</text>
<!-- Direct paths -->
<line x1="260" y1="110" x2="598" y2="110" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr2)"/>
<text x="290" y="100" font-size="13" fill="#1F2328">ioc shell, restart, start/stop/status</text>
<line x1="260" y1="400" x2="598" y2="400" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr2)"/>
<text x="330" y="390" font-size="13" fill="#1F2328">ioc connect (SSH)</text>
<line x1="260" y1="520" x2="598" y2="520" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr2)"/>
<text x="290" y="510" font-size="13" fill="#1F2328">ioc search, records, libraries,</text>
<text x="290" y="544" font-size="13" fill="#1F2328">boots, duplicates (read only)</text>
<!-- Via gateway -->
<line x1="260" y1="250" x2="328" y2="250" stroke="#57606A" stroke-width="1.5" stroke-dasharray="6 4" marker-end="url(#arr2)"/>
<line x1="530" y1="225" x2="598" y2="160" stroke="#57606A" stroke-width="1.5" stroke-dasharray="6 4" marker-end="url(#arr2)"/>
<line x1="530" y1="275" x2="598" y2="340" stroke="#57606A" stroke-width="1.5" stroke-dasharray="6 4" marker-end="url(#arr2)"/>
<!-- Legend -->
<line x1="40" y1="600" x2="80" y2="600" stroke="#57606A" stroke-width="1.5"/>
<text x="90" y="605" font-size="13" fill="#57606A">direct connection</text>
<line x1="250" y1="600" x2="290" y2="600" stroke="#57606A" stroke-width="1.5" stroke-dasharray="6 4"/>
<text x="300" y="605" font-size="13" fill="#57606A">SSH through the gateway host, chosen automatically</text>
</svg>

After

Width:  |  Height:  |  Size: 4.1 KiB

@@ -0,0 +1,99 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 452" role="img" aria-labelledby="t d">
<title id="t">Deploying an IOC with ioc install and ioc restart</title>
<desc id="d">Step 1: in the IOC project folder, which holds your IOC configuration and MY-IOC_parameters.yaml or parameters.yaml, run ioc install. If the folder has no parameters file, ioc install reads the values from Inventory; this way is deprecated. The IOC is installed to /ioc/MY-IOC, on a host where /ioc is writable: facility-lc.psi.ch or a host inside the machine network. ioc install does not restart the IOC. Step 2: ioc restart MY-IOC makes the running IOC on its host load the new installation.</desc>
<style>
text { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; fill: #212121; }
.mono { font-family: "JetBrains Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.h { font-size: 18px; font-weight: 600; }
.t { font-size: 15px; }
.cap { font-size: 15px; fill: #5f6368; }
.code { font-size: 15px; fill: #303fa1; }
.card { fill: #f7f8fc; stroke: #e1e4f2; stroke-width: 1.5; }
.tile { fill: #e8eaf6; }
.ic { fill: none; stroke: #4051b5; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icm { fill: none; stroke: #757575; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wire { fill: none; stroke: #9fa8da; stroke-width: 2; }
.track { fill: none; stroke: #4051b5; stroke-width: 2.5; }
</style>
<defs>
<symbol id="i-folder" viewBox="0 0 24 24"><path d="M3 7.5V18a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9.5a2 2 0 0 0-2-2h-7l-2-2.5H5a2 2 0 0 0-2 2z"/></symbol>
<symbol id="i-disk" viewBox="0 0 24 24"><rect x="3" y="5" width="18" height="14" rx="2"/><path d="M3 13h18"/><circle cx="7" cy="16" r=".6"/><circle cx="10" cy="16" r=".6"/></symbol>
<symbol id="i-server" viewBox="0 0 24 24"><rect x="3" y="3" width="18" height="7.5" rx="2"/><rect x="3" y="13.5" width="18" height="7.5" rx="2"/><path d="M7 6.8h.01M7 17.2h.01"/></symbol>
<symbol id="i-file" viewBox="0 0 24 24"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"/><path d="M14 3v5h5"/></symbol>
<symbol id="i-db" viewBox="0 0 24 24"><ellipse cx="12" cy="5.5" rx="8" ry="3"/><path d="M4 5.5v13c0 1.7 3.6 3 8 3s8-1.3 8-3v-13M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3"/></symbol>
<marker id="ah" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="7" markerHeight="7" orient="auto"><path d="M1 1l8 4-8 4z" fill="#4051b5"/></marker>
<marker id="ahl" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="7" markerHeight="7" orient="auto"><path d="M1 1l8 4-8 4z" fill="#9fa8da"/></marker>
</defs>
<rect x="1" y="1" width="958" height="450" rx="10" fill="#ffffff" stroke="#e0e0e0" stroke-width="1.5"/>
<!-- card 1: project folder -->
<g transform="translate(24 24)">
<rect class="card" width="280" height="282" rx="8"/>
<rect class="tile" x="20" y="20" width="44" height="44" rx="8"/><use href="#i-folder" class="ic" x="30" y="30" width="24" height="24"/>
<text x="78" y="48" class="h">IOC project folder</text>
<use href="#i-file" class="icm" x="20" y="86" width="18" height="18"/><text x="46" y="100" class="t">your IOC configuration</text>
<use href="#i-file" class="icm" x="20" y="116" width="18" height="18"/><text x="46" y="130" class="mono code">MY-IOC_parameters.yaml</text>
<text x="46" y="152" class="cap">or <tspan class="mono code">parameters.yaml</tspan></text>
<text x="46" y="174" class="cap">host, EPICS version and</text>
<text x="46" y="194" class="cap">operating system</text>
<path d="M20 214h240" stroke="#e1e4f2" stroke-width="1.5"/>
<use href="#i-db" class="icm" x="20" y="230" width="20" height="20"/>
<text x="48" y="245" class="t" font-weight="600">Inventory (deprecated)</text>
<text x="48" y="266" class="cap">if there is no parameters file</text>
</g>
<!-- card 2: /ioc/MY-IOC -->
<g transform="translate(340 24)">
<rect class="card" width="280" height="282" rx="8"/>
<rect class="tile" x="20" y="20" width="44" height="44" rx="8"/><use href="#i-disk" class="ic" x="30" y="30" width="24" height="24"/>
<text x="78" y="48" class="h mono" style="fill:#212121">/ioc/MY-IOC</text>
<text x="20" y="100" class="t">The IOC is installed here.</text>
<text x="20" y="132" class="cap">Run ioc install on a host</text>
<text x="20" y="152" class="cap">where /ioc is writable:</text>
<text x="20" y="180" class="mono code">&lt;facility&gt;-lc.psi.ch</text>
<text x="20" y="206" class="cap">or a host inside the</text>
<text x="20" y="226" class="cap">machine network</text>
</g>
<!-- card 3: running IOC -->
<g transform="translate(656 24)">
<rect width="280" height="282" rx="8" fill="#f7f8fc" stroke="#4051b5" stroke-width="2"/>
<rect class="tile" x="20" y="20" width="44" height="44" rx="8"/><use href="#i-server" class="ic" x="30" y="30" width="24" height="24"/>
<text x="78" y="48" class="h">Running IOC</text>
<rect x="20" y="82" width="98" height="28" rx="14" fill="#e6f4ec"/>
<circle cx="36" cy="96" r="5" fill="#1c7d4d"/>
<text x="48" y="101" class="t" style="fill:#1c7d4d" font-weight="600">running</text>
<text x="20" y="140" class="t">on its IOC host, with</text>
<text x="20" y="160" class="t">the new installation</text>
<text x="20" y="200" class="cap">check, start or stop it:</text>
<text x="20" y="224" class="mono code">ioc status · start · stop</text>
</g>
<!-- gap arrows -->
<path class="wire" d="M308 165h26" marker-end="url(#ahl)"/><path class="wire" d="M624 165h26" marker-end="url(#ahl)"/>
<!-- timeline -->
<path class="wire" d="M164 306v42M480 306v42M796 306v42" stroke-dasharray="3 4"/>
<path class="track" d="M170 360h300" marker-end="url(#ah)"/>
<path class="track" d="M486 360h300" marker-end="url(#ah)"/>
<circle cx="164" cy="360" r="7" fill="#fff" stroke="#4051b5" stroke-width="2.5"/>
<circle cx="480" cy="360" r="7" fill="#fff" stroke="#4051b5" stroke-width="2.5"/>
<circle cx="796" cy="360" r="7" fill="#4051b5"/>
<!-- step pills -->
<g transform="translate(238 342)">
<rect width="168" height="36" rx="18" fill="#4051b5"/>
<circle cx="18" cy="18" r="11" fill="#fff"/><text x="18" y="23.5" text-anchor="middle" font-size="15" font-weight="700" style="fill:#4051b5">1</text>
<text x="38" y="23.5" class="mono" font-size="15" style="fill:#fff">ioc install</text>
</g>
<text x="322" y="404" text-anchor="middle" class="cap">in the project folder</text>
<text x="322" y="426" text-anchor="middle" class="cap">does not restart the IOC</text>
<g transform="translate(554 342)">
<rect width="168" height="36" rx="18" fill="#4051b5"/>
<circle cx="18" cy="18" r="11" fill="#fff"/><text x="18" y="23.5" text-anchor="middle" font-size="15" font-weight="700" style="fill:#4051b5">2</text>
<text x="38" y="23.5" class="mono" font-size="15" style="fill:#fff">ioc restart</text>
</g>
<text x="638" y="404" text-anchor="middle" class="cap">loads the new installation</text>
</svg>

After

Width:  |  Height:  |  Size: 7.0 KiB

@@ -0,0 +1,72 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 372" role="img" aria-labelledby="t d">
<title id="t">What the ioc command does</title>
<desc id="d">One command, ioc, for three tasks. Deploy your IOC: ioc install installs it from its project folder, ioc restart makes it load the new installation. Look at the running IOC: ioc shell opens the interactive EPICS prompt, ioc connect opens the serial console. Find information: ioc search finds IOCs and ioc records finds records matching a pattern.</desc>
<style>
text { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; fill: #212121; }
.mono { font-family: "JetBrains Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.h { font-size: 17px; font-weight: 600; }
.cmd { font-size: 16px; font-weight: 600; fill: #303fa1; }
.cap { font-size: 15px; fill: #5f6368; }
.card { fill: #f7f8fc; stroke: #e1e4f2; stroke-width: 1.5; }
.tile { fill: #e8eaf6; }
.ic { fill: none; stroke: #4051b5; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wire { fill: none; stroke: #9fa8da; stroke-width: 2; }
</style>
<defs>
<symbol id="i-folder" viewBox="0 0 24 24"><path d="M3 7.5V18a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9.5a2 2 0 0 0-2-2h-7l-2-2.5H5a2 2 0 0 0-2 2z"/><path d="M12 17v-6m-2.5 2.5L12 11l2.5 2.5"/></symbol>
<symbol id="i-restart" viewBox="0 0 24 24"><path d="M20 12a8 8 0 1 1-2.4-5.7"/><path d="M20 4v4.5h-4.5"/></symbol>
<symbol id="i-term" viewBox="0 0 24 24"><rect x="2.5" y="4" width="19" height="16" rx="2"/><path d="m7 10 3 2.5L7 15m5 0h5"/></symbol>
<symbol id="i-plug" viewBox="0 0 24 24"><rect x="3" y="9" width="18" height="10" rx="2"/><path d="M7 13h1m3 0h1m3 0h1M12 9V4"/><circle cx="12" cy="3.5" r=".5"/></symbol>
<symbol id="i-search" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7"/><path d="m20.5 20.5-4.5-4.5"/></symbol>
<symbol id="i-list" viewBox="0 0 24 24"><path d="M9 6h11M9 12h11M9 18h11"/><circle cx="4.5" cy="6" r="1"/><circle cx="4.5" cy="12" r="1"/><circle cx="4.5" cy="18" r="1"/></symbol>
</defs>
<!-- background -->
<rect x="1" y="1" width="958" height="370" rx="10" fill="#ffffff" stroke="#e0e0e0" stroke-width="1.5"/>
<!-- terminal -->
<g>
<rect x="345" y="24" width="270" height="64" rx="8" fill="#263238"/>
<circle cx="363" cy="40" r="4" fill="#546e7a"/><circle cx="377" cy="40" r="4" fill="#546e7a"/><circle cx="391" cy="40" r="4" fill="#546e7a"/>
<text x="364" y="73" class="mono" font-size="20" style="fill:#eceff1"><tspan style="fill:#9fa8da">$</tspan> ioc … MY-IOC</text>
</g>
<!-- branches -->
<path class="wire" d="M480 88v22M168 132v-10a12 12 0 0 1 12-12h600a12 12 0 0 1 12 12v10M480 110v22"/>
<!-- column 1: deploy -->
<g transform="translate(24 132)">
<rect class="card" width="288" height="216" rx="8"/>
<text x="20" y="34" class="h">Deploy your IOC</text>
<rect class="tile" x="20" y="56" width="44" height="44" rx="8"/><use href="#i-folder" class="ic" x="30" y="66" width="24" height="24"/>
<text x="78" y="74" class="mono cmd">ioc install</text>
<text x="78" y="96" class="cap">from its project folder</text>
<rect class="tile" x="20" y="132" width="44" height="44" rx="8"/><use href="#i-restart" class="ic" x="30" y="142" width="24" height="24"/>
<text x="78" y="150" class="mono cmd">ioc restart</text>
<text x="78" y="172" class="cap">loads the new installation</text>
</g>
<!-- column 2: look -->
<g transform="translate(336 132)">
<rect class="card" width="288" height="216" rx="8"/>
<text x="20" y="34" class="h">Look at the running IOC</text>
<rect class="tile" x="20" y="56" width="44" height="44" rx="8"/><use href="#i-term" class="ic" x="30" y="66" width="24" height="24"/>
<text x="78" y="74" class="mono cmd">ioc shell</text>
<text x="78" y="96" class="cap">interactive EPICS prompt</text>
<rect class="tile" x="20" y="132" width="44" height="44" rx="8"/><use href="#i-plug" class="ic" x="30" y="142" width="24" height="24"/>
<text x="78" y="150" class="mono cmd">ioc connect</text>
<text x="78" y="172" class="cap">serial console</text>
</g>
<!-- column 3: find -->
<g transform="translate(648 132)">
<rect class="card" width="288" height="216" rx="8"/>
<text x="20" y="34" class="h">Find information</text>
<rect class="tile" x="20" y="56" width="44" height="44" rx="8"/><use href="#i-search" class="ic" x="30" y="66" width="24" height="24"/>
<text x="78" y="74" class="mono cmd">ioc search</text>
<text x="78" y="96" class="cap">IOCs matching a pattern</text>
<rect class="tile" x="20" y="132" width="44" height="44" rx="8"/><use href="#i-list" class="ic" x="30" y="142" width="24" height="24"/>
<text x="78" y="150" class="mono cmd">ioc records</text>
<text x="78" y="172" class="cap">records matching a pattern</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

@@ -0,0 +1,180 @@
---
title: Rundeck
tags:
- SLS
- PROSCAN
- SwissFEL
- HIPA
---
# Rundeck: Running Tasks on Hosts
Controls IT runs operations on hosts as Rundeck jobs on one server, cas-ansible-00. These operations include Puppet runs, reboots, access checks, IOC installations and CA gateway deployments. Each job is an Ansible playbook from the `cas_infrastructure` repository, started through the `cas` command line tool. Rundeck decides which caller may run which job and keeps a record of every run.
In the platform strategy, Rundeck is the automation spine of the Controls layer: Ansible playbooks define every standard action, Rundeck executes them, and the front ends present them as one catalogue.
## What it is and why
- **The instance.** Rundeck 5.20, installed from the RPM on cas-ansible-00. It has one project, `cas`. The playbook `rundeck/configure_rundeck.yml` in `cas_infrastructure` sets up the instance; nothing is configured by hand in the web interface except the stored credentials.
- **Web interface and API:** `http://cas-ansible-00.psi.ch:4440`. This is plain HTTP; TLS and the placement behind the AIT application firewall are still open (FW-18).
- **Jobs.** Each action in the catalogue (`catalog.yaml`) has one Rundeck job. The jobs are generated from the catalogue, never written by hand, and live in job group `cas` with the uuid `cas-<action>`. Each action is visible on its own in Rundeck and can be permitted separately in the ACLs.
- **Why Rundeck.** It provides what a shared execution service needs: authentication (API tokens), per-role authorisation (ACLs), an audit trail (execution history) and a service identity on the hosts. Every run is in one history, whoever started it.
- **Why a catalogue.** The strategy makes the playbook catalogue the only sanctioned way to change a standard machine. Controls decides *what* can be done (the reviewed playbooks); the user decides *when* and *where*. Every change is then a named playbook, run for an identified user against an inventoried host, and logged.
- **It replaced AWX.** Rundeck replaced an earlier AWX attempt in September 2026. AWX needed a mocked podman inside its containers to run anything and never had a job catalogue.
- **Only immediate operations.** Rundeck runs only operations that act on a host now. A host's configuration (packages, mounts, power users) is hiera data: you change it with a pull request, and Puppet applies it after review.
Some things deliberately stay as they were:
- **The inventory.** `cas` resolves its targets against `inventory.py` and hands Rundeck a concrete host list. Rundeck runs one `ansible-playbook` on its own server rather than dispatching per node. Its node model is unused, so there is no second inventory to drift. The inventory is the source of truth: a host that is not in it cannot be targeted.
- **The `cas` commands.** Commands, job ids, logs and `--follow` work the same as with local execution; only the place where the playbook runs changes. Exit codes become coarser, see "Using it".
## Who uses it
The `cas` CLI is built for Controls first and for the Expert groups later. The rollout is gated on security, not on features.
![Rollout of the cas CLI: now Controls only; next one pilot group; gate: Kerberos login, LDAP and Unix-group scope, per-user SSH certificates; then all Expert groups](images/04_rundeck_rollout.svg)
| Stage | Who | State |
|---|---|---|
| Now | Controls staff. `cas` runs serverless with your own credentials, or through Rundeck with the CLI's token | in place |
| Next | One pilot Expert group, with a development machine it is willing to have re-created; the actions it needs become catalogue entries | planned |
| Gate | Kerberos login with the existing `kinit` session, LDAP and Unix-group scope decided on the server, per-user SSH certificates instead of the shared key, refusal of destructive actions on managed-tier hosts | planned (FW-02, FW-03, FW-27, FW-28) |
| Then | All Expert groups, from the CLI and from a web front end with the same catalogue | planned |
Today, running `cas` through Rundeck needs the CLI's token, which only root can read on cas-ansible-00. In practice that means the people allowed to run `sudo cas` there; the users guide grants that path to the `cas-operators` group. Membership of that group is equivalent to root on every inventoried host, so it is kept small and separate from `wheel` (USERS_GUIDE AD-20).
What the Expert groups are meant to run once the gate is passed, per the strategy and the CLI design:
| Class of action | Examples | Limits |
|---|---|---|
| Provision or re-create a machine to standard | a development machine of a standard type | refused for managed-tier hosts: gateways, standard consoles, IOC hosts wired to hardware |
| Install or update packages, deploy software | RPMs from the Controls repository, autodeploy content, containers, soft IOCs | only on the group's own hosts |
| Run a named catalogue playbook | any catalogue action by name | only catalogue playbooks, never ad-hoc Ansible |
The design principle for Expert groups is "root by default, supported by standard": a group keeps root on its own machines, but anything it changes outside the catalogue has left the standard and is no longer supported; the remedy is a re-create to standard. The June design called the CLI `ctl`; the implementation is `cas`.
## How a task runs
![Flow: the cas CLI resolves the targets and starts a catalogue job in Rundeck on cas-ansible-00, which runs the playbook against the target hosts](images/04_rundeck_flow.svg)
1. You choose an action and its targets. `cas` resolves `--on` against the inventory into a host list.
2. `cas` finds the action's job and starts it through the REST API with its token. The job options are `limit` (the hosts), `check` and the action's parameters.
3. Rundeck checks the token's role and validates each option against the pattern from the catalogue. It then runs the single job step on cas-ansible-00 as the user `rundeck`: `ansible-playbook` in the copy of the repository under `/opt/cas_infrastructure`. Option values reach Ansible as a JSON file, never as shell words.
4. The playbook logs in to each host as `cas-ansible` with the management key and uses sudo. A host without the Puppet class `cas_access` rejects the login. The job then fails and changes nothing.
5. `cas` streams the execution output into its own job log until the execution ends, then records the outcome.
Some actions also do work on cas-ansible-00 itself. `ioc.install` and `ioc.migrate` clone the IOC repository there and run `ioc install`. `gateway.config` and `gateway.version` clone the gateway repository there and reach each gateway through the jump host of its network.
## What can be run
Only the catalogued actions can be run. No `cas` code path accepts a playbook path or an ad-hoc command, and Rundeck denies ad-hoc execution. To add an action, you add a playbook and a catalogue entry, both reviewed in `cas_infrastructure`.
| Action | What it does | Destructive | Check mode |
|---|---|---|---|
| `machine.deploy` | Create VMs in vCenter, register them in Bob, power them on | no | yes |
| `machine.register` | Register or refresh hosts in Bob/SysDB | no | yes |
| `machine.puppet` | Run `puppet agent -t` on the hosts | no | yes |
| `machine.restart` | Reboot the hosts and wait for them to come back | yes | no |
| `access.verify` | Log in, escalate to root, report; changes nothing | no | no |
| `epics.status` | Report whether an EPICS base package is installed; changes nothing | no | no |
| `ioc.install` | Clone an IOC repository on the control node and run `ioc install` for one host | no | yes |
| `ioc.migrate` | Install an IOC for the target host, then retire it on the source host | no | yes |
| `gateway.config` | Deploy the rule files of one CA gateway from the merged gateway repository; restart only what changed | no | yes |
| `gateway.version` | Report versions, unit states and rule-file sync of CA gateways; changes nothing | no | no |
| `state.generate` | Render the infrastructure state report; takes no target | no | no |
A destructive action needs an explicit confirmation in `cas`: `--yes` or an interactive prompt. Its Rundeck job description starts with `DESTRUCTIVE`.
`cas features` lists what is implemented, what returns sample data (marked `MOCK DATA`) and what is planned. The CLI already has commands for packages, autodeploy, containers, pixi environments, monitoring and gateway listings; they show sample data or refuse with exit code 7 and the FW id until their playbooks exist.
## Who may run what
- **Tokens and roles.** Every API call carries a token, and the token carries a role. An ACL policy per role decides what that role may do. The `cas` CLI's role, `cas_runner`, may read the project, run, follow and kill the catalogue jobs, and read their output. Ad-hoc commands are denied, so a leaked token cannot get around the catalogue. The configuration playbook and other clients have their own tokens with separately limited roles.
- **The CLI's token.** It is kept in a file on cas-ansible-00 that only root can read. `cas config` never prints it, and it is never written to a job record.
- **Service credentials.** They stay on cas-ansible-00. The vCenter account for `machine.deploy` is in Rundeck key storage, and the Kerberos ticket for Bob comes from a service keytab. Both are stored there by hand, never in Git. The strategy's rule: secrets are handled centrally and never appear in content that Expert groups see.
- **One identity on the hosts.** Every job logs in as `cas-ansible`. The Puppet class `cas_access` creates that account, its sudo rule and the authorised key, and accepts the key only from the listed control nodes.
- **Attribution.** Under local execution a playbook runs as you, with your Kerberos ticket. Through Rundeck it runs as `rundeck` with the shared key, so your name survives only in the `cas` job record and in Rundeck's execution history.
## Using it
To run `cas` through Rundeck, set `CAS_RUNNER=rundeck`, `CAS_RUNDECK_URL` and `CAS_RUNDECK_TOKEN_FILE`. The runbook puts these in a profile script on the machine you run `cas` from. Then:
cas status # runner: rundeck, status: ok (reachable and authenticated)
cas catalog # what may I run?
cas features # what is real yet?
cas access verify --on <host> --follow # read-only; start here
cas machine puppet --on <host> --check # dry run (Ansible check mode)
cas machine puppet --on <host> # the real run
cas run gateway.version --on <gateway> # any catalogue action by name
cas job list -n 5 # the runner column says rundeck
cas job show <id> # the job record, including the Rundeck execution
The job log starts with the Rundeck execution number and a permalink to open in the web interface:
# runner: rundeck
# rundeck: http://cas-ansible-00.psi.ch:4440
# project: cas
# job: cas/access.verify (<job uuid>)
# execution: 412
# permalink: http://cas-ansible-00.psi.ch:4440/project/cas/execution/show/412
PLAY [Verify access to the targeted hosts] ***
ok: [<host>]
...
# rundeck execution 412: succeeded
Ctrl-C or `cas job cancel` aborts the Rundeck execution. Rundeck does not pass on Ansible's own exit code, so the codes are coarse:
| Exit code | Meaning |
|---|---|
| `0` | succeeded |
| `1` | failed, for any reason; "unreachable" cannot be told apart from a failed task, so read the log |
| `130` | aborted |
| `124` | timed out |
`--check` is only as good as the playbook. Ansible check mode is unreliable for `command`/`shell` tasks, and `machine.puppet` in check mode does not predict a Puppet run.
## Keeping it current
`rundeck/configure_rundeck.yml` sets up and updates everything. After a merged change to the catalogue or to a playbook, run it from an up-to-date checkout of `cas_infrastructure`. It does the following, in this order:
1. Copies the working tree to `/opt/cas_infrastructure`.
2. Regenerates the jobs and imports them. Existing jobs are updated in place by uuid.
3. Deletes jobs the catalogue no longer has.
The playbook is idempotent and prints nothing secret. Today whoever merges a change has to run it; a merge pipeline that does this automatically is the planned next step. Rollback: unset `CAS_RUNNER` and `cas` runs playbooks locally again, with no migration and no loss of job history.
![What lives where: catalogue, playbooks, inventory and Rundeck configuration in Git; jobs, tokens, ACLs, key storage and execution history in Rundeck; job records in the cas CLI and cas_access in the hiera data](images/04_rundeck_where.svg)
## Status and limits
| Item | State |
|---|---|
| Rundeck on cas-ansible-00, configured by `configure_rundeck.yml`, with the catalogue actions above | in place |
| `cas` CLI with `CAS_RUNNER=rundeck` | implemented; FW-01 is "partial"|
| Ansible's own exit code through Rundeck | open (FW-01) |
| Jobs updated automatically after a merge | planned; manual today |
| TLS, WAF placement and the final URL | open (FW-18) |
| Kerberos login, LDAP and Unix-group scope, per-user SSH certificates | planned (FW-02, FW-03, FW-27) |
| Refusal of destructive actions on managed-tier hosts | planned (FW-28); today only `cas_access` limits which hosts a job can reach |
| `cas` as a signed RPM on standard machines, catalogue delivered by autodeploy | planned (FW-23, FW-29) |
| Retire step of `ioc.migrate` | the command is not known yet; the run ends with a manual step |
| Hosts reachable by jobs | only hosts with `cas_access` |
| Whether serverless `cas` should also run through Rundeck, for one audit trail | open question (FW-01, FW-26) |
| Shared job state for `cas` server mode | planned (FW-22) |
## Further reading
All of these are in [cas_infrastructure](https://gitea.psi.ch/controls_it/cas_infrastructure), a private repository that needs access:
- [`rundeck/README.md`](https://gitea.psi.ch/controls_it/cas_infrastructure/src/branch/main/rundeck/README.md): what `configure_rundeck.yml` sets up, tokens, key storage, the IOC and gateway actions, troubleshooting.
- [`docs/RUNDECK_SETUP.md`](https://gitea.psi.ch/controls_it/cas_infrastructure/src/branch/main/docs/RUNDECK_SETUP.md): the runbook, stage by stage, with its checks.
- [`docs/USERS_GUIDE.md`](https://gitea.psi.ch/controls_it/cas_infrastructure/src/branch/main/docs/USERS_GUIDE.md): the `cas` CLI and its architectural decisions (AD-2 catalogue, AD-3 inventory, AD-6 runner interface, AD-20 privileged access).
- [`docs/FUTURE_WORK.md`](https://gitea.psi.ch/controls_it/cas_infrastructure/src/branch/main/docs/FUTURE_WORK.md): every gap, listed by FW id.
- `access/README.md`: how a job becomes root on a host.
For the user-facing overview, see [Controls IT Infrastructure](../../2._Services_Portfolio/Services/02_computingandboot.md).
### Presentations
- <a href="../../../2._Services_Portfolio/Services/presentations/Controls_RHEL9_Platform.pptx" download>RHEL9 and the move to a Controls platform (PowerPoint download)</a> (June 2026, 10 slides): why the platform, and how self-service works.
@@ -0,0 +1,51 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 600" role="img" aria-labelledby="t1">
<title id="t1">How a task runs: the cas CLI resolves the targets and starts a catalogue job in Rundeck on cas-ansible-00, which runs the playbook against the target hosts</title>
<defs>
<marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
<path d="M0,0 L10,5 L0,10 z" fill="#57606A"/>
</marker>
</defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<g font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif" fill="#1F2328">
<text x="40" y="36" font-size="17" font-weight="600">How a task runs</text>
<!-- client: cas CLI -->
<rect x="40" y="56" width="560" height="128" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="58" y="84" font-size="17" font-weight="600">Operator with the cas CLI</text>
<text x="58" y="110" font-size="15">cas machine puppet --on &lt;target&gt;</text>
<text x="58" y="134" font-size="15">resolves --on against inventory.py: a concrete host list</text>
<text x="58" y="158" font-size="15">streams the execution output into its own job log</text>
<!-- inventory side note -->
<rect x="640" y="56" width="200" height="128" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="658" y="84" font-size="15" font-weight="600">Git: catalog.yaml</text>
<text x="658" y="110" font-size="15">what may be run</text>
<text x="658" y="140" font-size="15" font-weight="600">inventory.py</text>
<text x="658" y="164" font-size="15">what may be targeted</text>
<line x1="636" y1="120" x2="604" y2="120" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<!-- arrow CLI -> Rundeck -->
<line x1="320" y1="184" x2="320" y2="252" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<text x="332" y="214" font-size="13" fill="#57606A">REST API with a token: run the action's job,</text>
<text x="332" y="231" font-size="13" fill="#57606A">options limit = the hosts, check, parameters</text>
<!-- Rundeck -->
<rect x="40" y="256" width="800" height="168" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="58" y="284" font-size="17" font-weight="600">Rundeck 5.20 on cas-ansible-00, project cas</text>
<text x="58" y="310" font-size="15">one job per catalogue action, generated from catalog.yaml (group cas, uuid cas-&lt;action&gt;)</text>
<text x="58" y="334" font-size="15">the token's role decides which jobs it may run; ad-hoc commands are denied</text>
<text x="58" y="358" font-size="15">the single job step runs on this server, as the user rundeck:</text>
<text x="78" y="380" font-size="13" fill="#57606A">cd /opt/cas_infrastructure; ansible-playbook &lt;playbook&gt; -e @vars.json --limit &lt;hosts&gt; [--check]</text>
<text x="58" y="406" font-size="15">keeps the execution history and the log of every run</text>
<!-- Rundeck -> targets -->
<line x1="440" y1="424" x2="440" y2="486" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr)"/>
<text x="452" y="460" font-size="13" fill="#57606A">SSH as cas-ansible with the management key, then sudo</text>
<!-- targets -->
<rect x="40" y="490" width="800" height="86" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="58" y="518" font-size="17" font-weight="600">Target hosts</text>
<text x="58" y="544" font-size="15">accept the login only where the Puppet class cas_access is applied;</text>
<text x="58" y="566" font-size="15">elsewhere the job fails at the SSH login and changes nothing</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

@@ -0,0 +1,43 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 300" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>Rollout of the cas CLI from Controls to all Expert groups, gated on security</title>
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="#57606A"/></marker></defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="40" y="44" font-size="17" font-weight="600" fill="#1F2328">Who uses cas: the gate is security, not features</text>
<rect x="24" y="80" width="182" height="160" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="40" y="108" font-size="13" fill="#57606A">NOW, in place</text>
<text x="40" y="134" font-size="15" font-weight="600" fill="#1F2328">Controls only</text>
<text x="40" y="160" font-size="13" fill="#1F2328">catalogue actions</text>
<text x="40" y="180" font-size="13" fill="#1F2328">from the control node,</text>
<text x="40" y="200" font-size="13" fill="#1F2328">locally or through</text>
<text x="40" y="220" font-size="13" fill="#1F2328">Rundeck</text>
<rect x="242" y="80" width="182" height="160" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="258" y="108" font-size="13" fill="#57606A">NEXT, planned</text>
<text x="258" y="134" font-size="15" font-weight="600" fill="#1F2328">One pilot group</text>
<text x="258" y="160" font-size="13" fill="#1F2328">brings a machine it is</text>
<text x="258" y="180" font-size="13" fill="#1F2328">willing to re-create;</text>
<text x="258" y="200" font-size="13" fill="#1F2328">its needs become</text>
<text x="258" y="220" font-size="13" fill="#1F2328">catalogue actions</text>
<rect x="460" y="80" width="182" height="160" rx="8" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="476" y="108" font-size="13" fill="#57606A">GATE, planned</text>
<text x="476" y="134" font-size="15" font-weight="600" fill="#1F2328">Group security</text>
<text x="476" y="160" font-size="13" fill="#1F2328">Kerberos login</text>
<text x="476" y="180" font-size="13" fill="#1F2328">LDAP / Unix-group scope</text>
<text x="476" y="200" font-size="13" fill="#1F2328">per-user SSH certificates</text>
<text x="476" y="220" font-size="13" fill="#1F2328">managed tier refused</text>
<rect x="678" y="80" width="178" height="160" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="694" y="108" font-size="13" fill="#57606A">THEN, planned</text>
<text x="694" y="134" font-size="15" font-weight="600" fill="#1F2328">All Expert groups</text>
<text x="694" y="160" font-size="13" fill="#1F2328">CLI and web front</text>
<text x="694" y="180" font-size="13" fill="#1F2328">end, same catalogue,</text>
<text x="694" y="200" font-size="13" fill="#1F2328">own machines only</text>
<line x1="206" y1="160" x2="240" y2="160" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<line x1="424" y1="160" x2="458" y2="160" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<line x1="642" y1="160" x2="676" y2="160" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<text x="24" y="276" font-size="13" fill="#57606A">Source: cas CLI presentation, August 2026; platform strategy, June 2026.</text>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

@@ -0,0 +1,56 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 560" role="img" aria-labelledby="t2">
<title id="t2">What lives where: the catalogue, playbooks, inventory and Rundeck configuration are in the cas_infrastructure Git repository; Rundeck holds the generated jobs, tokens, ACLs, key storage and execution history; the cas CLI and the hiera data keep the rest</title>
<defs>
<marker id="arr2" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
<path d="M0,0 L10,5 L0,10 z" fill="#57606A"/>
</marker>
</defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<g font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif" fill="#1F2328">
<text x="40" y="36" font-size="17" font-weight="600">What lives where</text>
<!-- Git repository -->
<rect x="40" y="56" width="320" height="272" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="58" y="84" font-size="17" font-weight="600">Git: cas_infrastructure</text>
<text x="58" y="104" font-size="13" fill="#57606A">reviewed changes, the source of truth</text>
<text x="58" y="136" font-size="15">catalog.yaml: the actions</text>
<text x="58" y="166" font-size="15">the playbooks they run</text>
<text x="58" y="196" font-size="15">inventory.py, definitions/: hosts</text>
<text x="58" y="226" font-size="15">ACL policies</text>
<text x="58" y="256" font-size="15">configure_rundeck.yml</text>
<text x="58" y="286" font-size="15">generator: cas catalog export</text>
<!-- arrow repo -> Rundeck -->
<line x1="364" y1="192" x2="512" y2="192" stroke="#57606A" stroke-width="1.5" marker-end="url(#arr2)"/>
<text x="440" y="150" font-size="13" fill="#57606A" text-anchor="middle">configure_rundeck.yml</text>
<text x="440" y="167" font-size="13" fill="#57606A" text-anchor="middle">mirrors and generates</text>
<text x="440" y="218" font-size="13" fill="#57606A" text-anchor="middle">run by hand</text>
<text x="440" y="235" font-size="13" fill="#57606A" text-anchor="middle">after a merge</text>
<!-- Rundeck -->
<rect x="520" y="56" width="320" height="272" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="538" y="84" font-size="17" font-weight="600">Rundeck on cas-ansible-00</text>
<text x="538" y="104" font-size="13" fill="#57606A">configured from the repository</text>
<text x="538" y="136" font-size="15">mirror of the repository tree</text>
<text x="538" y="166" font-size="15">jobs: one per catalogue action</text>
<text x="538" y="196" font-size="15">API tokens</text>
<text x="538" y="226" font-size="15">loaded ACL policies</text>
<text x="538" y="256" font-size="15">key storage: service credentials</text>
<text x="538" y="286" font-size="15">execution history and logs</text>
<text x="538" y="310" font-size="13" fill="#57606A">credentials are stored there by hand</text>
<!-- bottom row -->
<text x="40" y="374" font-size="17" font-weight="600">Kept outside both</text>
<rect x="40" y="392" width="380" height="132" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="58" y="420" font-size="15" font-weight="600">cas CLI</text>
<text x="58" y="446" font-size="15">its own job record and log, per user</text>
<text x="58" y="470" font-size="15">with the Rundeck execution id</text>
<text x="58" y="494" font-size="13" fill="#57606A">cas job list, cas job show</text>
<rect x="460" y="392" width="380" height="132" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="478" y="420" font-size="15" font-weight="600">Hiera data (Puppet)</text>
<text x="478" y="446" font-size="15">cas_access per host:</text>
<text x="478" y="470" font-size="15">which hosts accept the jobs' login</text>
<text x="478" y="494" font-size="13" fill="#57606A">changed by pull request</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.9 KiB

@@ -155,3 +155,8 @@ To check a device from QIP, the deck gives this procedure:
8. Translate searches correctly: PacketFence uses contains matching, while QIP uses regex.
9. Use QIP’s Ping action to test reachability, but interpret failed pings cautiously.
<<<<<<< HEAD
=======
>>>>>>> parent of fc8cc9a (revert de97f24da594e5ef0a8a2e5c4947a4d81c271b7a)
Whitespace-only changes.
@@ -8,3 +8,83 @@ tags:
---
# IT Infrastructure
## Rundeck
How Controls IT runs tasks on hosts through Rundeck is explained in [Rundeck: Running Tasks on Hosts](../02_explanations/04_rundeck.md).
## Logging pipeline
Current path on the RHEL9 Controls hosts (Puppet environment `controls`, data repository `puppet/data-controls`): every service writes to the systemd journal, Puppet configures journald (`profile::log_client`), and Filebeat (`profile::elastic`) ships the whole journal to the central Elasticsearch cluster. Only the hosts of the `controls` environment ship their journal to Elastic today; the other environments do not yet. The user-level description is on [Controls IT Services](../../2._Services_Portfolio/Services/03_devops.md#logging).
### Direction
The platform strategy (June 2026, building block "Logging and Monitoring") makes observability a service of the Controls layer:
| Part | Owner | State |
|---|---|---|
| Standard agents and exporters for logs and metrics on every standard machine, installed by the layer | Controls | logs: in place on the `controls` environment (Filebeat); other environments and the metrics side: planned |
| Central platform and Elastic as the user interface for logs and search | Controls | in place for `data-controls` |
| Self-service dashboards and queries, each Expert group on its own data | Expert group | planned |
| Drift and failure detection: compare each host with the standard the inventory declares for it; a drifted host is re-created, not debugged | Controls | planned (Phase 2 of the transition, together with the self-service portal) |
Expert groups do not run any part of the collection stack themselves. The rule for software stays: log to the journal, see [How a service must log](#how-a-service-must-log).
### Hiera switches
| Key | Default | Effect |
|---|---|---|
| `base::enable_elastic` | `false` | includes `profile::elastic` (Filebeat); `true` in `data-controls/controls.yaml` |
| `elastic::space` | none, required | space name; also names the index alias and ILM policy |
| `elastic::space_api_key` | none, required | API key of the space, eyaml-encrypted in hiera; never copy it |
| `elastic::version` | `7.17.5` | Filebeat package version, pinned to match the server |
| `elastic::systemd_units` | `[]` | empty: the whole journal; a list: one journald input per unit, matched on `_SYSTEMD_UNIT` |
| `log_client::persistent_journal` | `true` | creates `/var/log/journal`, so the journal survives reboots |
| `log_client::journal_system_max_use` | `50%` | `SystemMaxUse`, percent of the `/var/log` partition |
| `log_client::journal_system_keep_free` | `25%` | `SystemKeepFree`, percent of the `/var/log` partition |
| `log_client::journal_system_max_file_size` | `32M` | `SystemMaxFileSize` |
| `log_client::journal_rate_limit_burst`, `log_client::journal_rate_limit_interval` | unset | `RateLimitBurst`, `RateLimitIntervalSec`; unset keeps the systemd defaults |
| `log_client::legacy_logs` | unset | `true` installs and runs rsyslog, `false` stops it, unset leaves it alone |
| `journal::upload::enable` | `false` | `systemd-journal-upload`; with `false` Puppet stops it and removes its configuration |
Without a separate `/var/log` partition the two percent values must be set as absolute sizes, otherwise the Puppet run fails. Puppet writes no `Storage=` and no `ForwardTo*=` lines into `/etc/systemd/journald.conf`; those stay at the systemd defaults.
### Per environment
| Puppet environment (data repository) | Shipping to Elastic | Space | Index alias / ILM policy |
|---|---|---|---|
| `controls` (`data-controls`) | yes, all hosts | `data-controls` | `filebeat-data-controls_7.17.5` / `filebeat-data-controls` |
| `cocos`, `gfa`, `sls`, `sls_beamlines`, `swissfel`, `hipa`, `proscan`, `cryo`, `twlha` | no (`base::enable_elastic` not set) | - | - |
| exception: one host in `data-sls` (`office/sls129-vcons-01`), marked as a test | yes | `gfa` | `filebeat-gfa_7.17.5` / `filebeat-gfa` |
### Filebeat on the host
- Package `filebeat` from the RPM repository `elastic` (`rhel9/latest/elastic`, defined in `data-controls`); service `filebeat`, enabled.
- Configuration `/etc/filebeat/filebeat.yml` (template `profile/elastic/filebeat.yml.erb`): input `journald`; output `elasticsearch` over HTTPS to the four central nodes `esprdw01`, `esprdw03`, `esprde02`, `esprde04`, authenticated with the space API key, CA `/etc/pki/CA/certs/psi-elk-ca-cert.pem`.
- Index handling: `setup.ilm.rollover_alias: filebeat-<space>_<version>`, `setup.ilm.policy_name: filebeat-<space>`, index template setup off, dashboards off.
- Filebeat's own log: level `warning`, files in `/var/log/debugfilebeat/`, 7 kept. X-Pack monitoring of the shipper is on.
### Check on a host that shipping works
systemctl status filebeat
journalctl -u filebeat --since "1 hour ago"
ls -l /var/log/debugfilebeat/
filebeat test output -c /etc/filebeat/filebeat.yml
journalctl --disk-usage
### How a service must log
Run it as a systemd unit and write to stdout and stderr; both go to the journal by default. Set `SyslogIdentifier=` to give its lines a stable name, as `cas-server.service` does with `StandardOutput=journal`, `StandardError=journal`, `SyslogIdentifier=cas-server`. Files written elsewhere are not shipped: Puppet configures only the `journald` input. The CA gateway units (`ca-gateway-<instance>.service`) set no output options and log to the journal.
### Legacy path
- **rsyslog** (`log_client::legacy_logs: true`): on EL7/EL8 Puppet writes `/etc/rsyslog.conf` and forwards `*.*` to each `log_client::forward_to` server over UDP; on EL9 only the max-open-files setting is managed. In the hiera data only `gfa-smtp-relay` (`data-cocos`) sets it. `role::log_server` (rsyslog plus `systemd-journal-remote`) is used by `xbl-log` in `data-cocos`.
- **Logstash and Beats** (repository `controls_it/gfa_ansible_elastic`, Ansible, last change 2021): Logstash 7.9.2 on `gfa-logstash` receives syslog, RF logs, CA put logs and PCO logs and writes indices `logstash-gfa_<type>-<date>`; the CA put log is searched in Kibana with the index pattern `logstash-gfa_caputlog*`. Journalbeat 7.9.1 on the CA gateways ships selected units to the space `gfa` (alias `journalbeat-gfa_7.9.1`); the gateway logs are in the saved Kibana view on `https://kibana.psi.ch/s/gfa/`, filtered on `agent.hostname`.
## Host types and packages
The host types from the Puppet hiera data, with the package groups and packages Puppet installs on each: [Host Types and Packages](04_host_types.md).
## Presentations
- <a href="../../../2._Services_Portfolio/Services/presentations/Controls_RHEL9_Platform.pptx" download>RHEL9 and the move to a Controls platform (PowerPoint download)</a> (June 2026, 10 slides): the platform model, the support contract, self-service and the rollout to Q1 2027.
@@ -0,0 +1,646 @@
---
title: Host Types and Packages
tags:
- SLS
- PROSCAN
- SwissFEL
- HIPA
---
# Host Types and Packages
Reference of the host types defined in the Controls-related Puppet hiera repositories and of the software packages Puppet installs on each type. The tables show what the hiera data declares, not what is installed on a running host. They were generated from the snapshot listed below; regenerate them before relying on a detail (see [Look up or regenerate the data](#look-up-or-regenerate-the-data)).
## Snapshot
| Repository | Content | Commit | Date |
|---|---|---|---|
| puppet | Central PSI Puppet code and `data/common.yaml` | `d96327c309d0` | 2026-11-24 |
| data-controls | Controls IT systems | `f7eb718a8303` | 2026-11-23 |
| data-cocos | Controls Core Systems | `f8f76ae22ca4` | 2026-11-24 |
| data-gfa | GFA | `42c96ad89bed` | 2026-09-25 |
| data-sls | SLS | `49bf7f16324c` | 2026-11-23 |
| data-sls_beamlines | SLS 2.0 beamlines | `37525ab2f840` | 2026-11-24 |
| data-swissfel | SwissFEL | `53a38113a9d9` | 2026-11-24 |
| data-hipa | HIPA | `2db564ecf4b9` | 2026-11-11 |
| data-proscan | PROSCAN | `c8899768f9f9` | 2026-11-11 |
| data-cryo | Cryo | `d9f8a81889a0` | 2026-09-29 |
| data-twlha | TWLHA | `f1b448a5a961` | 2026-11-23 |
## How a host type is defined
Every Puppet-managed host belongs to one sysdb environment and, inside it, to a group and optionally a subgroup; sysdb (the Puppet ENC) assigns environment, group, subgroup and Puppet role, while hiera only holds the data. Each environment has its own hiera repository `data-<environment>` with an environment-wide file `<environment>.yaml`, one file per group `<group>.yaml`, one per subgroup `<group>/<subgroup>.yaml` and one node file per host, normally `<group>/<subgroup>/<host>.psi.ch.yaml`. Puppet searches a key from the node file upwards to the environment file and then into the central Puppet data; for normal keys the first hit wins, for the package keys all levels are merged. On this page a host type is one group/subgroup pair of one environment, and "hosts" counts the node files in that directory.
![Hiera lookup order for a host in data-controls, group console, subgroup sf-machine, with what each level contributes to the package keys](images/04_hosttypes_hiera_lookup.svg)
How the package keys are evaluated (from `puppet/code/site/role/manifests/base.pp` and `profile/manifests/package_list.pp`):
- `base::package_groups` is read with `hiera_array`: the lists of all levels are joined. `puppet/data/common.yaml` contributes `system_tools`, so every host gets that group.
- `base::pkg_group::<name>` is read with merge `unique` and no default: a group defined on several levels is the union of all of them; a group that is listed but defined nowhere stops the Puppet run with a lookup error.
- `base::package_exclude` is merged the same way. Listed packages are ensured absent and also excluded from the dnf repositories. `common.yaml` excludes `redhat-access-gui`, `rhn-check`, `rhn-client-tools`, `rhn-setup`, `rhn-setup-gnome`, `rhnlib`, `rhnsd`, `subscription-manager-gui`, `subscription-manager-initial-setup-addon`, `yum-rhn-plugin`.
- Tags after a package name: `:os=redhat9` installs only on that release, `:os!redhat7` everywhere except that release, `:absent` removes the package, `:latest` keeps it at the newest version, `:stream=20` selects a dnf module stream, `:pip` / `:pip3.12` installs with pip, `:flatpak` installs a Flatpak, `:if_available` installs only if a repository offers it. A name starting with `@` is a dnf package group.
- The roles add one group each on top of `base::package_groups`: `role::console` installs `base::pkg_group::console`, `role::softioc` `softioc`, `role::login_server` `login_server`, `role::bootpc` `bootpc`, `role::daq_buffer` `daq_buffer`. The role is assigned in sysdb, not in hiera, so the tables mark these groups as "role default".
- `base::enable_epics: true` (set in data-cryo, data-gfa, data-hipa, data-proscan and data-sls) adds `cas-global-profile` (`gfa-global-profile` on RHEL7) through `profile::epics`.
- Not covered here: packages that Puppet profiles install on their own (monitoring agents, Kerberos, desktop and similar), Python interpreters from `python::install_versions`, and switches such as `matlab::enable` or `nvidia::driver::enable`.
`system_tools`, installed on every host (from `puppet/data/common.yaml`): `bash-completion`, `bindfs`, `dos2unix`, `dstat`, `gem:os=redhat7`, `git:os=redhat7`, `htop`, `iftop`, `iotop`, `iperf3`, `jq`, `lshw`, `lsof`, `mailx:os!redhat9`, `s-nail:os=redhat9`, `mokutil`, `mtr`, `nmap-ncat`, `pciutils`, `psmisc`, `rsync`, `strace`, `sysstat`, `tcpdump`, `tcsh`, `tree`, `usbutils`, `vim`. That is 25 packages on RHEL9 and on RHEL10 (`s-nail` on RHEL9, `mailx` on RHEL10).
## Environments
| Environment | Groups | Subgroups | Node files | OS releases in the data | Environment-wide package groups |
|---|---|---|---|---|---|
| data-controls | 6, plus 1 node file outside any group | 51 | 181 | RHEL9, RHEL10 | none (set per group) |
| data-cocos | 12 | 0 | 175 | RHEL7, RHEL8, RHEL9, RHEL10 | `cocos-common`, `noafs` |
| data-gfa | 3 | 0 | 6 | not stated; repository URL is el7 | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `noafs` |
| data-sls | 32 | 1 | 129 | RHEL8, RHEL9 | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` |
| data-sls_beamlines | 3 | 32 | 99 | RHEL9 | none (set per group) |
| data-swissfel | 15 | 1 | 150 | RHEL8, RHEL9 | `controls_devl`, `controls_xtra`, `epics` |
| data-hipa | 6 | 0 | 48 | RHEL7, RHEL8, RHEL9 | `controls_devl`, `controls_xtra`, `epics`, `no_afs` |
| data-proscan | 2 | 2 | 20 | RHEL7, RHEL8, RHEL9 | `controls_devl`, `controls_xtra`, `epics`, `no_afs` |
| data-cryo | 4 | 0 | 8 | RHEL8, RHEL9, RHEL10 | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `noafs` |
| data-twlha | 4 | 0 | 10 | RHEL8, RHEL9, RHEL10 | `controls_xtra`, `gfa_common`, `controls_devl`, `epics` |
Totals: 10 environments, 87 groups, 87 subgroups, 169 host types (group/subgroup combinations, not counting group levels that only hold subgroups), 826 node files for 730 distinct host names, 58 package group names (116 environment and group-name pairs) and 504 distinct package names.
- Hiera rarely states which release a host runs. "OS releases in the data" lists the releases for which the environment defines RPM repositories (`rpm_repos::repo::*` with `osversion`) or repository snapshot tags (`rpm_repos::tag`). Single node files pin other tags, for example `rhel-9.5` on four data-sls_beamlines servers.
- 96 host names have node files in two places, mostly hosts that moved from data-cocos, data-swissfel or data-sls into data-controls or data-sls_beamlines. Only the environment assigned in sysdb is effective, so node-file counts are higher than the number of running hosts (see [Known inconsistencies](#known-inconsistencies-in-the-data)).
## Summary of host types
Purposes are taken from repository descriptions, READMEs, comments in the hiera files, role and group names; "-" means the data does not state a purpose. Package groups exclude `system_tools`, which every host gets.
| Environment | Type | Purpose (source) | Hosts | OS in the data | Package groups |
|---|---|---|---|---|---|
| data-controls | console/hipa-mcr, sf-machine, sls-machine, sls-office, sls-rf | Operator consoles (group name; host names `sf-cons-NN`, `sf-vcons-NN`, `sls-cons-NN`, `hipawNN`) | 21 | RHEL9, RHEL10 | `cas-common-tools`, `cas-common-python`, `cas-epics`, `cas-console` |
| data-controls | sioc/* (40 subgroups) | Soft IOC hosts (group name; host names `*-softioc-*`, `*-vserv-*`, `*-pserv-*`) | 70 | RHEL9, RHEL10 | none for 34 subgroups; 6 subgroups list `BEC`, `mx`, `x02da`, `x02sa` or node-level `epics`, `controls_xtra` |
| data-controls | server/boot | IOC boot servers (data-cocos description; `boot-server` group with `tftp-server`, `ioczip`) | 21 | RHEL9, RHEL10 | none; 4 hosts add `boot-server` |
| data-controls | server/cagw | EPICS Channel Access gateways (data-cocos description; host names `*-cagw-NN`) | 42 | RHEL9, RHEL10 | none |
| data-controls | server/novnc | - (host names `*-novnc-srv-NN`, `*-novnc-vac-NN`) | 7 | RHEL9, RHEL10 | `custom` (podman) |
| data-controls | server/sls-rf | - | 0 | RHEL9, RHEL10 | none |
| data-controls | server (no subgroup) | - (single servers) | 5 | RHEL9, RHEL10 | none |
| data-controls | pod_host/web_apps | Container hosts for web applications (`podman`; certbot and nginx comment in `web_apps.yaml`) | 12 | RHEL9, RHEL10 | `pod_host-tools`, `extra` |
| data-controls | proscan/mcr | PROSCAN main control room consoles (comment in `proscan/mcr.yaml`) | 0 | RHEL9, RHEL10 | none; `console` role default extended |
| data-controls | default | - (host names end in `-preflight`) | 2 | RHEL9, RHEL10 | none |
| data-controls | node file outside any group | - | 1 | RHEL9, RHEL10 | none |
| data-cocos | boot | Boot servers (repository description) | 17 | RHEL7 to RHEL10 | `boot-server`, `cocos-common`, `noafs` |
| data-cocos | cagw | CA gateways (repository description) | 5 | RHEL7 to RHEL10 | `cocos-common`, `noafs` |
| data-cocos | mcr_bigscr | - (host names `*-bigscr-srv-NN`) | 4 | RHEL7 to RHEL10 | `mcr-bigscr`, `cocos-common`, `noafs` |
| data-cocos | elog | - (`elog` group; one host adds `elog-server`) | 8 | RHEL7 to RHEL10 | `elog`, `cocos-common`, `noafs` |
| data-cocos | rpm_build | - (group name; host names `cas-rpmbuild-rhN`) | 3 | RHEL7 to RHEL10 | `rpm_build`, `cocos-common`, `noafs` |
| data-cocos | warewulf | - | 4 | RHEL7 to RHEL10 | `boot-server`, `cocos-common`, `noafs` |
| data-cocos | daqsync | - | 18 | RHEL7 to RHEL10 | `addons`, `cocos-common`, `noafs` |
| data-cocos | daqbuf, default, docker_host, rsyslog, scylla | - | 4, 73, 37, 1, 1 | RHEL7 to RHEL10 | `cocos-common`, `noafs` |
| data-gfa | archiver, bootpc, default | - | 0, 0, 6 | el7 repository | environment-wide groups |
| data-sls | machine, machine-cr, machine-rf, machine-vac, machine-sioc, office, bd, cf, default, 23 beamline groups `x01da` to `x12sa` | - | 129 | RHEL8, RHEL9 | environment-wide groups; `bd`, `extra_rpms`, `rf-tools`, `BEC`, `mx`, `x02da`, `x02sa` per group |
| data-sls_beamlines | console/* (25 subgroups) | Fully managed graphical consoles to operate beamlines and endstations (README) | 89 | RHEL9 | `base`, `ctrl`, `beamline` per beamline, `mx_packages` |
| data-sls_beamlines | workstation (group level and 5 subgroups) | Like consoles, beamline staff may have admin rights; for tests (README) | 6 | RHEL9 | `base`, `ctrl`, `beamline`, `jfjoch_packages` |
| data-sls_beamlines | server/x01da, server/x10da | Headless systems for beamline and endstation software (README) | 4 | RHEL9 | `base`, `specific` |
| data-swissfel | alvra, cristallina, diavolezza, furka, maloja | - (each defines an `endstation` package group) | 11, 8, 0, 7, 10 | RHEL8, RHEL9 | environment-wide groups, `endstation` |
| data-swissfel | bernina | - | 11 | RHEL8, RHEL9 | environment-wide groups, `bernina` |
| data-swissfel | machine-cr | SwissFEL control room consoles (comment in `machine-cr.yaml`) | 7 | RHEL8, RHEL9 | environment-wide groups, `mcr` |
| data-swissfel | machine, machine/dbam, machine-laser, machine-rf, machine-vac, office, keysight, exp-laser, cpci-s | - | 52, 0, 2, 2, 1, 37, 2, 0, 0 | RHEL8, RHEL9 | environment-wide groups; `rf-tools` on machine-rf |
| data-hipa | machine-cr | Standard configuration for the control room consoles (comment) | 4 | RHEL7, RHEL8, RHEL9 | environment-wide groups |
| data-hipa | knobbox | Standard configuration for the knobbox consoles (comment) | 1 | RHEL7, RHEL8, RHEL9 | environment-wide groups |
| data-hipa | beamline | HIPA beamline servers (comment) | 8 | RHEL7, RHEL8, RHEL9 | environment-wide groups |
| data-hipa | machine, machine-rf, office | - | 19, 2, 14 | RHEL7, RHEL8, RHEL9 | environment-wide groups; `rf-tools` on machine-rf |
| data-proscan | machine | Machine consoles outside the main control room (comment) | 9 | RHEL7, RHEL8, RHEL9 | environment-wide groups |
| data-proscan | machine/mcr | Consoles for the main control room (comment) | 0 | RHEL7, RHEL8, RHEL9 | environment-wide groups, `machine-cr` |
| data-proscan | machine/therapy, office | - | 5, 6 | RHEL7, RHEL8, RHEL9 | environment-wide groups |
| data-cryo | machine, machine-cons, machine-sioc, office | - | 3, 0, 0, 5 | RHEL8, RHEL9, RHEL10 | environment-wide groups |
| data-twlha | machine, machine-laser, machine-rf, office | - | 6, 0, 0, 4 | RHEL8, RHEL9, RHEL10 | environment-wide groups; `rf-tools` on machine-rf |
## data-controls in detail
![Matrix of data-controls host types against the package groups they install, with host counts](images/04_hosttypes_controls_matrix.svg)
Resolved package lists in data-controls (union of all groups, excludes applied):
- console/* (all 5 subgroups): 71 entries on RHEL9 and on RHEL10: `system_tools` plus `cas-common-tools`, `cas-common-python`, `cas-epics` and `cas-console`, minus duplicates. One of the 71 is the malformed entry in `cas-epics` (see [Known inconsistencies](#known-inconsistencies-in-the-data)).
- pod_host/web_apps: 27 entries: `system_tools` plus `podman` and `certbot`.
- server/novnc: 27 entries: `system_tools` plus `podman` and `podman-compose`; `docker-compose-plugin` is ensured absent.
- server/boot: `system_tools`; the 4 hosts with the `boot-server` group add `ioczip`, `bzip2`, `tftp-server`, `tftp`.
- sioc/x02da, sioc/x02sa: `system_tools` plus `libtiff-devel`, `libpng-devel` (no node files).
- All other data-controls types, including all soft IOC hosts and the CA gateways: `system_tools` only (25 packages).
- No data-controls type sets `base::enable_epics`, and none defines `base::pkg_group::softioc`, so `role::softioc` adds nothing. `role::console` adds the `console` group only where a subgroup defines it (`proscan/mcr`, `sioc/x05la`, `sioc/x06sa`, `sioc/x08sa`, `sioc/x10sa`).
- The groups `cas-epics-ioc` (`cas-shellbox`) and `cas-epics-gui` (`caqtdm-qt5`, `snapshot`) are defined in `controls.yaml` but not listed by any type.
## Package groups and host types per environment
Each environment has two tables. "Host types" lists the types with their package groups (without `system_tools`); types with identical settings in the same group share a row. Name patterns replace the digits of the last name part with `N`; names that do not generalise are only counted. "Node-level additions" are groups or excludes set in node files, with the number of hosts. "Package groups" lists every definition with the file that holds it (relative to the repository, without `.yaml`) and the types that list it; a group defined on several levels appears once per level and the levels are merged.
### data-controls
Controls IT systems (consoles, soft IOC hosts, servers, container hosts).
Host types:
| Type | Hosts | Name patterns | Package groups | Node-level additions |
|---|---|---|---|---|
| console/hipa-mcr, console/sf-machine, console/sls-machine, console/sls-office, console/sls-rf | 21 | `sf-cons-NN` (11), `sf-vcons-NN` (2), `sls-cons-NN` (2), `hipawNN`, 5 more patterns | `cas-common-tools`, `cas-common-python`, `cas-epics`, `cas-console` | - |
| default | 2 | 2 other names | - | - |
| pod_host/web_apps | 12 | `cas-app-NN`, `databoard-NN`, `hipa-ilk-NN`, `hipa-ilk-dev-NN`, 8 more patterns | `extra`, `pod_host-tools` | - |
| proscan/mcr | 0 | - | - | - |
| server | 5 | `cas-ops-tools-NN`, `cas-smtp-relay-NN`, `cas-vserv-op-NN`, `dispatcher-api-NN`, 1 more pattern | - | exclude `vim` (1) |
| server/boot | 21 | `gfa-boot-NN` (4), `cryo-boot-NN`, `cryo129-boot-NN`, `esi-boot-NN`, 14 more patterns | - | +`boot-server` (4) |
| server/cagw, server/sls-rf | 42 | `sf-test-cagw-NN` (2), `cryo-cagw-NN`, `hipa-cagw-NN`, `proscan-cagw-NN`, 37 more patterns | - | - |
| server/novnc | 7 | `cas-novnc-srv-NN`, `hipa-novnc-srv-NN`, `proscan-novnc-srv-NN`, `sf-novnc-srv-NN`, 3 more patterns | `custom` | - |
| (root) | 1 | `sf-dispatcher-api-NN` | - | - |
| sioc/cryo-machine, sioc/esi-machine, sioc/hipa-machine, sioc/proscan-machine, sioc/proscan-office, sioc/saresa, sioc/saresb, sioc/saresc, sioc/satesd, sioc/satese, sioc/satesf, sioc/sf-machine, sioc/sls-machine, sioc/sls-office, sioc/twlha-machine, sioc/twlha-office, sioc/x03da, sioc/x03ma, sioc/x04db, sioc/x04sa, sioc/x05da, sioc/x05la, sioc/x06da, sioc/x06sa, sioc/x07da, sioc/x07db, sioc/x07mb, sioc/x08da, sioc/x08sa, sioc/x09la, sioc/x09lb, sioc/x10da, sioc/x11ma, sioc/x12sa | 61 | `sls-softioc-di-NN` (3), `esi-softioc-NN` (2), `hipa-softioc-sps-rf-NN` (2), `hipa-softioc-sps-va-NN` (2), 49 more patterns | - | - |
| sioc/hipa-beamline | 8 | `hipa-pie1-NN` (2), `hipa-mue1-NN`, `hipa-mue4-NN`, `hipa-pie3-NN`, 3 more patterns | - | +`controls_xtra` (7), +`epics` (7) |
| sioc/x01da, sioc/x07ma | 0 | - | `BEC` | - |
| sioc/x02da | 0 | - | `x02da` | - |
| sioc/x02sa | 0 | - | `x02sa` | - |
| sioc/x10sa | 1 | `x10sa-pserv-NN` | `mx` | - |
Package groups defined or listed in data-controls:
| Package group | Defined in | Packages | Listed by |
|---|---|---|---|
| `BEC` | not defined | - | sioc/x01da, sioc/x07ma |
| `boot-server` | 4 node files in server/boot/ | `ioczip`, `bzip2`, `tftp-server`, `tftp` | only the hosts with this node file |
| `cas-common-python` | controls | `gcc`, `gcc-c++`, `make`, `binutils`, `rpm-build`, `pixi`, `python3-ipython`, `python3-requests` | console/* (5 subgroups) |
| `cas-common-tools` | controls | `ansible-core`, `bat`, `cas-hostinfo`, `cockpit`, `dstat`, `fzf`, `git`, `git-lfs`, `glow`, `htop`, `jq`, `nano`, `man-pages`, `open-vm-tools`, `tmux-powerline`, `tree`, `unzip`, `vim-enhanced`, `wget`, `yq` | console/* (5 subgroups) |
| `cas-console` | console | `caqtdm-qt5`, `git-credential-oauth`, `epics-ext-alh`, `epics_launcher`, `archiverviewer:latest`, `correlation:latest`, `csm:latest`, `dataviewer:latest`, `jstriptool:latest`, `plotter:latest`, `pshell-workbench:latest`, `screenpanel-sls:latest`, `stripchart:latest`, `remmina` | console/* (5 subgroups) |
| `cas-epics` | controls | `python3-pyepics`, `python3-CaChannel`, `gfa-iocutils`, `-epics-ext-caTools-links'`, `caSniffer`, `gfa-procServ`, `epics-base-7.0.10`, `epics-base-7.0.11` | console/* (5 subgroups) |
| `cas-epics-gui` | controls | `caqtdm-qt5`, `snapshot` | not listed |
| `cas-epics-ioc` | controls | `cas-shellbox` | not listed |
| `console` | proscan/mcr | `qt5-qtwebengine`, `ePic` | role::console default |
| `console` | sioc/x05la | `synergy` | role::console default |
| `console` | sioc/x06sa | `vlc` | role::console default |
| `console` | sioc/x08sa | `synergy` | role::console default |
| `console` | sioc/x10sa | `vlc` | role::console default |
| `controls_xtra` | not defined | - | sioc/hipa-beamline (node level) |
| `custom` | server/novnc | `podman`, `podman-compose`, `docker-compose-plugin:absent` | server/novnc |
| `epics` | not defined | - | sioc/hipa-beamline (node level) |
| `extra` | pod_host/web_apps | `certbot` | pod_host/* (1 subgroup) |
| `mx` | not defined | - | sioc/x10sa |
| `pod_host-tools` | controls | `podman` | pod_host/* (1 subgroup) |
| `x02da` | sioc/x02da | `libtiff-devel`, `libpng-devel` | sioc/x02da |
| `x02sa` | sioc/x02sa | `libtiff-devel`, `libpng-devel` | sioc/x02sa |
### data-cocos
Controls Core Systems (boot servers, CA gateways and other core services).
Host types:
| Type | Hosts | Name patterns | Package groups | Node-level additions |
|---|---|---|---|---|
| boot | 17 | `cryo-boot-NN`, `cryo129-boot-NN`, `esi-boot-NN`, `esi129-boot-NN`, 13 more patterns | `boot-server`, `cocos-common`, `noafs` | - |
| cagw | 5 | `cryo-cagw-NN`, `hipa-cagw-NN`, `proscan-cagw-NN`, `sf-cagw-NN`, 1 more pattern | `cocos-common`, `noafs` | - |
| daqbuf | 4 | `cryo-daqbuf-NN` (2), `sf-daq-mgmt-NN`, 1 other name | `cocos-common`, `noafs` | +`elog_client` (2) |
| daqsync | 18 | `sf-daqsync-NN` (14), `sls-daqsync-NN` (3), `gfa-sioc-cs-deN` | `addons`, `cocos-common`, `noafs` | +`epics` (2), exclude `podman` (1) |
| default | 73 | `sf-phmon-NN` (2), `sf-test-cagw-NN` (2), `cas-ansible-NN`, `cas-dmz-NN`, 62 more patterns, 5 other names | `cocos-common`, `noafs` | +`cocos-ansible` (1), +`custom` (1), +`epics-boot` (1), +`epics-fs` (1), +`epics` (2), +`extra` (2), +`gfa-admin` (1) |
| docker_host | 37 | `gfa-app-NN` (6), `gfa-ilk-dev-NN` (2), `sf-data-api-NN` (2), `cas-autodeploy-NN`, 14 more patterns, 12 other names | `cocos-common`, `noafs` | +`cocos-devel` (1), +`epics_jenkins` (1) |
| elog | 8 | `gfa-elog-NN` (2), `elog-sls-pearl-NN`, `pif-elog-NN`, 4 other names | `elog`, `cocos-common`, `noafs` | `elog` extended (1) |
| mcr_bigscr | 4 | `hipa-bigscr-srv-NN`, `proscan-bigscr-srv-NN`, `sf-bigscr-srv-NN`, `sls-bigscr-srv-NN` | `mcr-bigscr`, `cocos-common`, `noafs` | - |
| rpm_build | 3 | `cas-rpmbuild-rhN` (2), `cas-rpm-ui-NN` | `rpm_build`, `cocos-common`, `noafs` | - |
| rsyslog | 1 | `gfa-syslog-NN` | `cocos-common`, `noafs` | - |
| scylla | 1 | 1 other name | `cocos-common`, `noafs` | - |
| warewulf | 4 | `gfa-boot-NN` (4) | `boot-server`, `cocos-common`, `noafs` | - |
Package groups defined or listed in data-cocos:
| Package group | Defined in | Packages | Listed by |
|---|---|---|---|
| `addons` | daqsync | `net-tools`, `bind-utils`, `vim`, `htop`, `atop`, `psmisc`, `wget`, `curl`, `telnet`, `screen`, `unzip`, `bzip2`, `pbzip2`, `xauth`, `dstat`, `sysstat`, `lsof`, `iotop`, `iperf`, `iperf3`, `parallel`, `cmake`, `make`, `kernel-headers`, `gcc-c++`, `kernel-devel`, `boost` | daqsync |
| `boot-server` | cocos | `ioczip`, `bzip2`, `tftp-server`, `tftp` | boot, warewulf |
| `cocos-ansible` | 1 node file in default/ | `ansible-core`, `cockpit`, `podman`, `ansible-navigator:pip:latest` | only the host with this node file |
| `cocos-common` | cocos | `ansible:os=redhat7`, `docker:os=redhat7`, `ansible-core:os!redhat7`, `gfa-snmpd-local-conf:os=redhat7`, `nc:os=redhat7`, `podman:os!redhat7`, `gfa-bailout:absent`, `gfa-puppet-workaround:absent`, `dstat`, `gfa-hostinfo:os!redhat10`, `cas-hostinfo:os=redhat10`, `htop`, `jq`, `nano`, `nfs-utils`, `net-snmp`, `open-vm-tools`, `unzip`, `vim-enhanced`, `wget` | boot, cagw, daqbuf, daqsync, default, docker_host, elog, mcr_bigscr, rpm_build, rsyslog, scylla, warewulf |
| `cocos-devel` | cocos | `docker:os=redhat7`, `podman:os!redhat7`, `gcc-c++`, `gitk`, `xauth`, `glibc-devel.i686`, `readline-devel.i686` | docker_host (node level) |
| `custom` | 1 node file in default/ | `zstd`, `python3.12`, `python3.12-pip`, `open-webui:pip3.12`, `pysqlite3-binary:pip3.12` | only the host with this node file |
| `elog` | elog | `gcc`, `openssl-devel`, `ImageMagick`, `tcl`, `tclx`, `openldap-clients` | elog |
| `elog` | 1 node file in elog/ | `elog-server` | only the host with this node file |
| `elog_client` | cocos | `elog-client` | daqbuf (node level) |
| `epics` | not defined | - | daqsync (node level), default (node level) |
| `epics-boot` | cocos | `epics-base-3.13.10-boot:os=redhat7`, `epics-base-3.14.12-boot:os=redhat7`, `epics-base-7.0.5-boot:os=redhat7`, `epics-base-7.0.6-boot:os=redhat7`, `epics-base-7.0.10-boot` | default (node level) |
| `epics-fs` | 1 node file in default/ | `xterm` | only the host with this node file |
| `epics_jenkins` | not defined | - | docker_host (node level) |
| `extra` | 1 node file in default/ | `ansible` | only the host with this node file |
| `extra` | 1 node file in default/ | `nodejs:stream=20` | only the host with this node file |
| `gfa-admin` | not defined | - | default (node level) |
| `gmgt` | cocos | `java-latest-openjdk` | not listed |
| `mcr-bigscr` | mcr_bigscr | `xorg-x11-xauth`, `wmctrl`, `epics-base-7.0.9`, `caqtdm-qt5` | mcr_bigscr |
| `noafs` | cocos | `yfs-client:absent`, `yfs-pam:absent`, `kmod-yfs:absent`, `yfs:absent` | boot, cagw, daqbuf, daqsync, default, docker_host, elog, mcr_bigscr, rpm_build, rsyslog, scylla, warewulf |
| `rpm_build` | cocos | `rpm-build`, `systemd-rpm-macros` | rpm_build |
### data-gfa
Legacy GFA environment; the only repository URL points to the el7 GFA repository.
Host types:
| Type | Hosts | Name patterns | Package groups | Node-level additions |
|---|---|---|---|---|
| archiver | 0 | - | `controls_xtra`, `epics`, `gfa_common`, `controls_devl`, `noafs` | - |
| bootpc | 0 | - | `controls_xtra`, `epics`, `gfa_common`, `controls_devl`, `noafs` | - |
| default | 6 | `pcNNNNN` (3), `cas-lcN`, `gfa-adm-rhelN`, `gfa-lcN` | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `noafs` | `controls_xtra` extended (2) |
Package groups defined or listed in data-gfa:
| Package group | Defined in | Packages | Listed by |
|---|---|---|---|
| `console` | gfa | `aravis-0.8-viewer`, `aravis-0.8`, `gedit`, `google-chrome-stable`, `gnome-shell-extension-no-topleft-hot-corner`, `gtk-recordmydesktop`, `gimp`, `gv`, `hunspell-de`, `icewm`, `ntfs-3g`, `ntfsprogs`, `recordmydesktop`, `remmina`, `tigervnc-server`, `qt5-qtbase`, `qt5-qtbase-gui`, `qt5-qtscript`, `qt5-qtwebsockets`, `xorg-x11-apps`, `xorg-x11-fonts-misc`, `xorg-x11-fonts-ISO8859-1-100dpi`, `xorg-x11-fonts-ISO8859-2-100dpi`, `xorg-x11-fonts-ISO8859-15-100dpi`, `code` | role::console default |
| `controls_devl` | gfa | `clang`, `compat-glibc`, `devtoolset-6`, `compat-gcc-44`, `compat-gcc-44-c++`, `kernel-devel`, `libpng12`, `man-pages`, `PyQt4-devel`, `python-devel`, `qt-devel`, `readline-devel`, `rpm-build`, `qwt-devel`, `zeromq-devel` | archiver, bootpc, default |
| `controls_xtra` | gfa | `PythonMCA`, `PyMca5`, `ansible`, `caview`, `a2ps`, `ascii`, `blt`, `bzip2`, `dos2unix`, `dstat`, `elog-client`, `emacs`, `evince`, `expect`, `firefox`, `freerdp`, `ftp`, `gcc-c++`, `gengetopt`, `gfa-cifsmount`, `gfa-cross-compiler-links`, `gfa-cleanup-gfa-controls`, `gfa-iocutils`, `gfa-gitutils`, `gfa-ldaputils`, `gfa-archutils`, `gfa-sls-jstriptool:absent`, `jstriptool`, `gfa-hostinfo`, `gfa-launcher`, `gfa-lxutils`, `gfa-sssd-conf`, `gfa-portserver`, `gfa-tcl-utils`, `git-gui`, `git-lfs`, `gitk`, `glibc.i686`, `gnuplot`, `htop`, `jq`, `mc`, `meld`, `multitail`, `nc`, `nedit`, `net-tools`, `openldap-clients`, `perl-DBD-Oracle`, `perl-Env`, `python-cffi`, `python-enum34`, `python2-fisx`, `python-sphinx`, `ipython`, `scipy`, `screen`, `sssd-client.i686`, `swig`, `synergy`, `telnet`, `tcsh`, `tclx`, `tftp`, `tkcvs`, `vim-enhanced`, `wmctrl`, `yum-utils`, `xterm`, `gfa-xbl-settings`, `zeromq`, `lrzsz` | archiver, bootpc, default |
| `controls_xtra` | 2 node files in default/ | `cockpit`, `podman` | only the hosts with this node file |
| `epics` | gfa | `caqtdm-qt4`, `caRepeater`, `epics-base-3.14.12`, `epics-base-7.0.4.1-devel:absent`, `epics-base-7.0.4.1-devel-static:absent`, `epics-base-7.0.4.1-boot:absent`, `epics-base-7.0.5`, `epics-base-7.0.6`, `epics-base-meta-generic`, `epics-ext-caTools-links`, `epics-ext-StripTool`, `gfa-global-profile`, `epics-ext-iocsh`, `epics-ext-alh`, `net-snmp-libs`, `python-CaChannel`, `python-pcaspy` | archiver, bootpc, default |
| `gfa_common` | gfa | `net-snmp`, `gfa-snmpd-local-conf`, `tree` | archiver, bootpc, default |
| `lc_devel` | gfa | `botan-devel`, `cmake`, `cmake3`, `desktop-file-utils`, `glibc-devel.i686`, `gstreamer1-plugins-bad-free`, `gstreamer1-plugins-good`, `hidapi-devel`, `libappstream-glib`, `mesa-dri-drivers`, `php-cli`, `qt5-qtbase-devel`, `qt5-qtdeclarative-devel`, `qt5-qtmultimedia`, `qt5-qtquickcontrols`, `qt5-qtscript-devel`, `qt5-qtstyleplugins`, `qt5-qtsvg-devel`, `qt5-qttools-devel`, `qt5-qttools-static`, `tclx`, `wine` | not listed |
| `login_server` | gfa | `aravis-0.8-devel`, `compat-libstdc++-296.i686`, `gedit`, `gv`, `devtoolset-7`, `ncurses-libs.i686`, `net-snmp-devel`, `readline.i686`, `readline-devel.i686`, `nautilus`, `qt5-qtbase`, `qt5-qtbase-gui`, `qt5-qtscript`, `qt5-qtwebsockets`, `xpdf`, `code` | role::login_server default |
| `noafs` | gfa | `yfs-client:absent`, `yfs-pam:absent`, `kmod-yfs:absent`, `yfs:absent` | archiver, bootpc, default |
| `softioc` | gfa | `gfa-shellbox` | role::softioc default |
### data-sls
SLS machine, office and pre-SLS 2.0 beamline hosts.
Host types:
| Type | Hosts | Name patterns | Package groups | Node-level additions |
|---|---|---|---|---|
| bd | 1 | `sls-bd-NN` | `bd`, `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | `controls_xtra` extended (1) |
| cf | 2 | `cf-cons-N`, `cf-cons-NN` | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| default | 4 | `sls-vserv-bd-hlaNN`, `sls-vserv-op-hlaNN`, 2 other names | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| machine | 20 | `sls-softioc-di-NN` (3), `sls-digiport-NN` (2), `sls-lcNa` (2), `sls-xtra-NN` (2), 8 more patterns, 3 other names | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| machine-cr | 4 | `slswNN` (2), `sls-bigscr-srv-NN`, `sls-display-NN` | `extra_rpms`, `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | +`mcr_dev` (1) |
| machine-rf | 8 | `sls-vcons-rf-NN` (3), `pcNNNNN`, `sls-rf-NNN`, `sls-rf-liNN`, 2 more patterns | `rf-tools`, `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| machine-sioc | 0 | - | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| machine-vac | 1 | `sls-vac-NN` | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| office | 48 | `pcNNNNN` (23), `pcNNNN` (6), `sls-cons-NN` (2), `sls-lcN` (2), 11 more patterns, 3 other names | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | +`lc_devel` (2) |
| x01da | 1 | `x01da-cons-NN` | `BEC`, `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x02da | 0 | - | `x02da`, `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x02sa | 0 | - | `x02sa`, `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x03da | 1 | `x03da-cons-NN` | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x03ma | 3 | `x03ma-cons-NN` (3) | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | +`gfa_alarmloop` (2) |
| x04db | 1 | `x04db-cons-NN` | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x04sa | 6 | `x04sa-cons-NN` (3), `x04sa-pserv-NN`, `x04sa-vserv-NN`, 1 other name | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x05da | 2 | `x05da-cons-NN` (2) | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x05la | 9 | `x05la-cons-NN` (8), 1 other name | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x06da | 2 | `x06da-cons-NNN`, `x06da-pserv-NN` | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x06sa | 3 | `x06sa-cons-NN`, `x06sa-pserv-NN`, 1 other name | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x07da | 2 | `x07da-cons-NN`, `x07da-omnyvcons-NN` | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x07db | 0 | - | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x07ma | 0 | - | `BEC`, `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x07mb | 0 | - | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x08da | 0 | - | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x08sa | 1 | `x08sa-vserv-NN` | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x09la | 0 | - | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x09lb | 1 | `x09lb-cons-NN` | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | +`gfa_alarmloop` (1) |
| x10da | 3 | `x10da-cons-NN` (2), `x10da-vserv-NN` | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x10sa | 1 | `x10sa-pserv-NN` | `mx`, `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x11ma | 4 | `x11ma-cons-NN`, `x11ma-pserv-NN`, `x11ma-vserv-NN`, 1 other name | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | +`gfa_alarmloop` (1) |
| x11ma/cnf | 0 | - | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
| x12sa | 1 | `x12sa-pserv-NN` | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `no_afs` | - |
Package groups defined or listed in data-sls:
| Package group | Defined in | Packages | Listed by |
|---|---|---|---|
| `bd` | bd | `blas`, `filezilla`, `gnome-calculator`, `lapack`, `octave`, `qpdfview-qt5`, `remmina`, `sane-backends-libs`, `xfig` | bd |
| `BEC` | sls | `python3.11-cffi`, `python3.11-numpy`, `python3.11-scipy` | x01da, x07ma |
| `bootpc` | sls | `tftp-server` | role::bootpc default |
| `console` | machine-cr | `qt5-qtwebengine`, `ePic` | role::console default |
| `console` | sls | `QtAD`, `aravis-0.8`, `aravis-0.8-viewer`, `code`, `exfatprogs`, `fuse-exfat:os=redhat8`, `gedit`, `gimp`, `gnome-shell-extension-no-topleft-hot-corner:os=redhat8`, `google-chrome-stable`, `gv`, `hunspell-de`, `icewm`, `kmag`, `ntfs-3g`, `ntfsprogs`, `qt5-qtbase`, `qt5-qtbase-gui`, `qt5-qtscript`, `qt5-qtwebsockets`, `remmina`, `tigervnc-server`, `xorg-x11-apps:os=redhat8`, `xorg-x11-fonts-ISO8859-1-100dpi`, `xorg-x11-fonts-ISO8859-15-100dpi`, `xorg-x11-fonts-ISO8859-2-100dpi`, `xorg-x11-fonts-misc` | role::console default |
| `console` | x05la | `synergy` | role::console default |
| `console` | x06sa | `vlc` | role::console default |
| `console` | x08sa | `synergy` | role::console default |
| `console` | x10sa | `vlc` | role::console default |
| `console` | 1 node file in machine-rf/ | `java-latest-openjdk` | only the host with this node file |
| `controls_devl` | sls | `automake`, `clang`, `kernel-devel`, `libcurl-devel`, `libpng12`, `libtool`, `man-pages`, `python3-devel`, `python39-devel:os=redhat8`, `python3.12-devel`, `python3-qt5-devel`, `qt5-devel`, `qwt-qt5-devel`, `readline-devel`, `rpm-build`, `zeromq-devel` | bd, cf, default, machine, machine-cr, machine-rf, machine-sioc, machine-vac, office, x01da, x02da, x02sa, x03da, x03ma, x04db, x04sa, x05da, x05la, x06da, x06sa, x07da, x07db, x07ma, x07mb, x08da, x08sa, x09la, x09lb, x10da, x10sa, x11ma/* (1 subgroup), x12sa |
| `controls_xtra` | sls | `ansible-core:os!redhat7`, `ascii`, `bzip2`, `cockpit`, `dos2unix`, `elog-client`, `emacs`, `evince`, `expect`, `firefox`, `freerdp`, `ftp`, `gcc-c++`, `gengetopt`, `git-gui`, `git-lfs`, `gitk`, `glibc`, `gnome-terminal`, `gnuplot`, `htop`, `python3-ipython`, `python3-lxml`, `jq`, `jstriptool`, `lrzsz`, `man-pages`, `mc`, `meld`, `multitail`, `nano`, `nedit`, `net-tools`, `openldap-clients`, `perl-Env`, `python3-fisx`, `python3-pyqtgraph`, `python3-scipy`, `python3-sphinx`, `PyMca5`, `PythonMCA`, `python3-ipython`, `python3-paramiko`, `python3-pyepics`, `python3-scipy`, `python3-matplotlib`, `screen`, `sssd-client`, `swig`, `synergy:os!redhat9`, `tcsh`, `telnet`, `tftp`, `tmux-powerline`, `kdiff3`, `vim-enhanced`, `wmctrl`, `xterm`, `yum-utils`, `zeromq` | bd, cf, default, machine, machine-cr, machine-rf, machine-sioc, machine-vac, office, x01da, x02da, x02sa, x03da, x03ma, x04db, x04sa, x05da, x05la, x06da, x06sa, x07da, x07db, x07ma, x07mb, x08da, x08sa, x09la, x09lb, x10da, x10sa, x11ma/* (1 subgroup), x12sa |
| `controls_xtra` | 1 node file in bd/ | `cockpit`, `podman` | only the host with this node file |
| `epics` | sls | `caqtdm-qt5:os!redhat7`, `caSniffer`, `epics-base-7.0.10:os!redhat7`, `epics-base-7.0.11:os!redhat7`, `epics-ext-caTools-links`, `gfa-global-profile:os=redhat7`, `cas-global-profile:os!redhat7`, `epics-ext-iocsh`, `epics-ext-alh`, `net-snmp-libs`, `python3-CaChannel:os!redhat7`, `python3-pcaspy:os!redhat7`, `epics-base-7.0.5:absent:os!redhat7`, `epics-base-7.0.6:absent:os!redhat7`, `epics-base-7.0.6-compat:absent:os!redhat7`, `epics-base-7.0.6-host-devel:absent:os!redhat7`, `epics-base-7.0.6-wine:absent:os!redhat7`, `epics-base-7.0.6-devel:absent:os!redhat7`, `epics-base-7.0.6-src:absent:os!redhat7` | bd, cf, default, machine, machine-cr, machine-rf, machine-sioc, machine-vac, office, x01da, x02da, x02sa, x03da, x03ma, x04db, x04sa, x05da, x05la, x06da, x06sa, x07da, x07db, x07ma, x07mb, x08da, x08sa, x09la, x09lb, x10da, x10sa, x11ma/* (1 subgroup), x12sa |
| `extra_rpms` | machine-cr | `caSniffer` | machine-cr |
| `gfa_alarmloop` | sls | `gfa-alarmloop:os!redhat7` | x03ma (node level), x09lb (node level), x11ma (node level) |
| `gfa_common` | sls | `gfa-cross-compiler-links`, `python3-gitlab`, `gfa-hostinfo`, `gfa-iocutils`, `cas-launcher`, `gfa-ldaputils:os=redhat7`, `gfa-lxutils`, `gfa-portserver:os!redhat7`, `gfa-puppet-workaround`, `gfa-sssd-conf:absent`, `gfa-vdct`, `gfa-xbl-settings`, `net-snmp`, `tree` | bd, cf, default, machine, machine-cr, machine-rf, machine-sioc, machine-vac, office, x01da, x02da, x02sa, x03da, x03ma, x04db, x04sa, x05da, x05la, x06da, x06sa, x07da, x07db, x07ma, x07mb, x08da, x08sa, x09la, x09lb, x10da, x10sa, x11ma/* (1 subgroup), x12sa |
| `lc_devel` | sls | `cmake`, `cmake3`, `desktop-file-utils`, `epics-base-7.0.9-wine`, `epics-base-7.0.10-wine`, `glibc-devel`, `gstreamer1-plugins-bad-free`, `gstreamer1-plugins-good`, `hidapi-devel`, `libappstream-glib`, `mesa-dri-drivers`, `php-cli`, `qt5-qtbase-devel`, `qt5-qtdeclarative-devel`, `qt5-qtmultimedia`, `qt5-qtquickcontrols`, `qt5-qtscript-devel`, `qt5-qtstyleplugins`, `qt5-qtsvg-devel`, `qt5-qttools-devel`, `qt5-qttools-static`, `wine:os!redhat9`, `gfa-wine:os=redhat9` | office (node level) |
| `login_server` | sls | `ImageMagick-c++-devel`, `aravis-0.8-devel`, `autoconf`, `code`, `ddd`, `epics-base-7.0.7-devel`, `epics-base-7.0.7-src`, `epics-base-7.0.8-devel`, `epics-base-7.0.8-src`, `epics-base-7.0.9-devel`, `epics-base-7.0.9-src`, `epics-base-7.0.10-devel`, `epics-base-7.0.10-src`, `epics-base-7.0.11-devel`, `epics-base-7.0.11-src`, `fftw-devel`, `gedit`, `gimp`, `google-chrome-stable`, `gv`, `libevent-devel`, `libjpeg-devel`, `libreoffice-calc`, `libreoffice-draw`, `libreoffice-graphicfilter`, `libreoffice-impress`, `libreoffice-math`, `libreoffice-writer`, `libtiff-devel`, `libtirpc-devel`, `libxml2-devel`, `nautilus`, `ncurses-libs`, `nodejs:stream=20`, `net-snmp-devel`, `net-snmp-utils`, `qt5-qtbase`, `qt5-qtbase-gui`, `qt5-qtscript`, `qt5-qtwebsockets`, `python3-devel`, `re2c`, `readline-devel`, `remmina`, `libusbx-devel`, `boost-devel` | role::login_server default |
| `mcr_dev` | 1 node file in machine-cr/ | `epics-base-7.0.10-devel`, `epics-base-7.0.10-src` | only the host with this node file |
| `mx` | sls | `terminator`, `tmux`, `xfce4-clipman-plugin`, `xfce4-datetime-plugin`, `xfce4-eyes-plugin:os!redhat9`, `xfce4-mount-plugin`, `xfce4-netload-plugin`, `xfce4-notes-plugin`, `xfce4-pulseaudio-plugin`, `xfce4-screenshooter-plugin`, `xfce4-xkb-plugin` | x10sa |
| `no_afs` | sls | `yfs-client:absent`, `yfs-pam:absent`, `kmod-yfs:absent`, `yfs:absent` | bd, cf, default, machine, machine-cr, machine-rf, machine-sioc, machine-vac, office, x01da, x02da, x02sa, x03da, x03ma, x04db, x04sa, x05da, x05la, x06da, x06sa, x07da, x07db, x07ma, x07mb, x08da, x08sa, x09la, x09lb, x10da, x10sa, x11ma/* (1 subgroup), x12sa |
| `rf-tools` | machine-rf | `nomachine-enterprise-client` | machine-rf |
| `softioc` | sls | `ImageMagick`, `ImageMagick-c++`, `aravis-0.8`, `cockpit`, `fftw`, `gfa-shellbox`, `tmux` | role::softioc default |
| `x02da` | x02da | `libtiff-devel`, `libpng-devel` | x02da |
| `x02sa` | x02sa | `libtiff-devel`, `libpng-devel` | x02sa |
### data-sls_beamlines
SLS 2.0 beamline consoles, workstations and servers (from the repository README).
Host types:
| Type | Hosts | Name patterns | Package groups | Node-level additions |
|---|---|---|---|---|
| console/cf, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x11ma | 49 | `x02da-cons-NN` (8), `x02sa-cons-NN` (5), `x04sa-cons-NN` (4), `x07mb-cons-NN` (4), 21 more patterns | `beamline`, `base`, `ctrl` | - |
| console/test, console/x03da, console/x03ma, console/x05la, console/x07da, console/x07db, console/x08sa, console/x09la | 12 | `x07da-cons-NN` (3), `x03da-cons-NN`, `x03da-vcons-test-NN`, `x03ma-vcons-test-NN`, 6 more patterns | `base`, `ctrl` | - |
| console/x01da | 4 | `x01da-cons-NN` (3), `x01da-vcons-test-NN` | `beamline`, `base`, `ctrl` | +`nx_client` (2) |
| console/x06da, console/x06sa, console/x10sa | 18 | `x06da-cons-NN` (4), `x06sa-cons-NN` (4), `x10sa-cons-NN` (4), `x06da-vcons-NN`, 5 more patterns | `beamline`, `mx_packages`, `base`, `ctrl` | - |
| console/x12sa | 6 | `x12sa-cons-NN` (4), `x12sa-vcons-NN`, `x12sa-vcons-test-NN` | `beamline`, `base`, `ctrl` | +`jfjoch_packages` (3) |
| server/x01da | 3 | `x01da-nidaq-NN` (3) | `base` | +`specific` (3) |
| server/x10da | 1 | `x10da-nidaq-NN` | `base` | +`specific` (1) |
| workstation | 2 | `xomny-ws-NN` (2) | `base`, `ctrl` | +`xomny` (2) |
| workstation/x02da, workstation/x05da, workstation/x12sa | 2 | `x02da-ws-NN`, `x05da-ws-NN` | `beamline`, `base`, `ctrl` | - |
| workstation/x10sa | 1 | `x10sa-ws-NN` | `beamline`, `jfjoch_packages`, `base`, `ctrl` | - |
| workstation/x11ma | 1 | `x11ma-ws-NN` | `base`, `ctrl` | - |
Package groups defined or listed in data-sls_beamlines:
| Package group | Defined in | Packages | Listed by |
|---|---|---|---|
| `base` | console | `screen`, `tmux`, `multitail`, `vim`, `nano`, `zip`, `unzip`, `wget`, `git`, `git-lfs`, `git-credential-oauth`, `code`, `xfreerdp`, `remmina`, `xcb-util-wm`, `xcb-util-keysyms`, `xcb-util-cursor`, `libatomic`, `libglvnd-opengl`, `telnet`, `scicat-cli:latest`, `python3-numpy`, `python3-scipy`, `python3-pyqtgraph`, `python3-pillow`, `pixi`, `micromamba`, `silx[full]:pip3.11`, `podman`, `environment-modules:absent` | console/* (25 subgroups), server/* (2 subgroups), workstation/* (5 subgroups) |
| `base` | server | `screen`, `tmux`, `zip`, `unzip`, `wget`, `git` | console/* (25 subgroups), server/* (2 subgroups), workstation/* (5 subgroups) |
| `base` | workstation | `screen`, `tmux`, `multitail`, `vim`, `nano`, `zip`, `unzip`, `wget`, `git`, `git-lfs`, `git-credential-oauth`, `code`, `xfreerdp`, `remmina`, `xcb-util-wm`, `xcb-util-keysyms`, `xcb-util-cursor`, `libatomic`, `libglvnd-opengl`, `telnet`, `scicat-cli:latest`, `python3-numpy`, `python3-scipy`, `python3-pyqtgraph`, `python3-pillow`, `pixi`, `micromamba` | console/* (25 subgroups), server/* (2 subgroups), workstation/* (5 subgroups) |
| `beamline` | console/cf | `google-chrome-stable`, `make` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x01da | `chkconfig`, `google-chrome-stable`, `python3-CaChannel`, `PythonMCA` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x01dc | `ids-ueye` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x02da | `google-chrome-stable`, `vlc`, `meld`, `ripgrep`, `terminator`, `hdfview`, `podman`, `ntfsprogs`, `ntfs-3g`, `openldap-clients`, `java-17-openjdk`, `emacs`, `io.github.seadve.Kooha:flatpak`, `obs-studio` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x02sa | `google-chrome-stable`, `vlc`, `meld`, `ripgrep`, `terminator`, `hdfview`, `podman`, `ntfsprogs`, `ntfs-3g`, `openldap-clients`, `java-17-openjdk`, `emacs`, `io.github.seadve.Kooha:flatpak`, `obs-studio` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x04db | `tigervnc` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x04sa | `gcc`, `gcc-gfortran`, `gcc-c++`, `libglvnd-opengl`, `readline-devel`, `hdf5-devel`, `gnuplot`, `QtAD`, `PythonMCA`, `aravis-0.8-viewer`, `gedit`, `gvim` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x05da | `emacs`, `ImageMagick`, `okular`, `python3-ipython`, `python3-numpy`, `python3-matplotlib`, `perl-diagnostics`, `perl-Net-HTTP`, `perl-Tk`, `xdotool`, `gv`, `pass`, `thunderbird`, `ffmpeg`, `aravis-0.8-viewer` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x06da | `QtAD`, `emacs`, `nano`, `uv:pip3.12`, `black:pip3.12`, `libreoffice`, `mesa-libGLU`, `ImageMagick`, `nedit`, `eigen3-devel`, `gsl`, `meson` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x06sa | `QtAD`, `emacs`, `nano`, `uv:pip3.12`, `black:pip3.12`, `libreoffice`, `mesa-libGLU`, `ImageMagick`, `nedit`, `eigen3-devel`, `gsl`, `meson` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x07ma | `QtAD` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x07mb | `QtAD`, `PythonMCA`, `emacs`, `nedit`, `pyenv`, `gcc-c++` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x09lb | `QtAD` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x10da | `google-chrome-stable`, `python3-CaChannel`, `PythonMCA` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x10sa | `QtAD`, `emacs`, `nano`, `uv:pip3.12`, `black:pip3.12`, `libreoffice`, `mesa-libGLU`, `ImageMagick`, `nedit`, `eigen3-devel`, `gsl`, `meson` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x11ma | `jupyter:pip3.12:latest`, `python3-CaChannel`, `python3-pyqtgraph`, `@Development Tools`, `libffi-devel`, `bzip2-devel`, `readline-devel`, `sqlite-devel`, `ncurses-devel`, `xz-devel`, `libuuid-devel`, `QtAD` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | console/x12sa | `gcc`, `hdf5`, `ids-ueye`, `neovim`, `libreoffice`, `python3-pyqtgraph`, `com.freerdp.FreeRDP:flatpak`, `app.devsuite.Ptyxis:flatpak` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | workstation/x02da | `google-chrome-stable`, `vlc`, `meld`, `ripgrep`, `terminator`, `hdfview`, `podman` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | workstation/x05da | `emacs`, `ImageMagick`, `okular`, `python3-ipython`, `python3-numpy`, `python3-matplotlib`, `perl-diagnostics`, `perl-Net-HTTP`, `perl-Tk`, `xdotool`, `gv`, `pass`, `thunderbird`, `ffmpeg`, `aravis-0.8-viewer` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | workstation/x10sa | `QtAD`, `emacs`, `nano`, `uv:pip3.12`, `black:pip3.12`, `libreoffice`, `mesa-libGLU`, `ImageMagick`, `nedit`, `eigen3-devel`, `gsl`, `meson` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `beamline` | workstation/x12sa | `gcc`, `hdf5`, `ids-ueye`, `neovim`, `libreoffice`, `python3-pyqtgraph`, `com.freerdp.FreeRDP:flatpak`, `app.devsuite.Ptyxis:flatpak` | console/cf, console/x01da, console/x01dc, console/x02da, console/x02sa, console/x04db, console/x04sa, console/x05da, console/x06da, console/x06sa, console/x07ma, console/x07mb, console/x09lb, console/x10da, console/x10sa, console/x11ma, console/x12sa, workstation/x02da, workstation/x05da, workstation/x10sa, workstation/x12sa |
| `ctrl` | console | `caqtdm-qt5`, `epics-base-7.0.6:absent`, `epics-base-7.0.7:absent`, `epics-base-7.0.8:absent`, `epics-base-7.0.9`, `epics-ext-caTools-links`, `cas-iocutils:latest`, `xterm`, `epics_launcher:latest`, `snapshot:latest`, `archiverviewer:latest`, `correlation:latest`, `csm:latest`, `dataviewer:latest`, `jstriptool:latest`, `plotter:latest`, `pshell-workbench:latest`, `screenpanel-sls:latest`, `stripchart:latest`, `python3-CaChannel` | console/* (25 subgroups), workstation/* (5 subgroups) |
| `ctrl` | workstation | `caqtdm-qt5`, `epics-base-7.0.6:absent`, `epics-base-7.0.7:absent`, `epics-base-7.0.8:absent`, `epics-base-7.0.9`, `epics-ext-caTools-links`, `cas-iocutils:latest`, `xterm`, `epics_launcher:latest`, `snapshot:latest`, `archiverviewer:latest`, `correlation:latest`, `csm:latest`, `dataviewer:latest`, `jstriptool:latest`, `plotter:latest`, `pshell-workbench:latest`, `screenpanel-sls:latest`, `stripchart:latest`, `python3-CaChannel` | console/* (25 subgroups), workstation/* (5 subgroups) |
| `jfjoch_packages` | workstation/x10sa | `jfjoch-viewer:latest` | console/x12sa (node level), workstation/x10sa |
| `jfjoch_packages` | 3 node files in console/x12sa/ | `jfjoch-viewer:latest` | only the hosts with this node file |
| `mx_packages` | console/x06da | `jfjoch-viewer:absent`, `aare_launcher:latest` | console/x06da, console/x06sa, console/x10sa |
| `mx_packages` | console/x06sa | `jfjoch-viewer:absent`, `aare_launcher:latest` | console/x06da, console/x06sa, console/x10sa |
| `mx_packages` | console/x10sa | `jfjoch-viewer:absent`, `aare_launcher:latest` | console/x06da, console/x06sa, console/x10sa |
| `nx_client` | console | `nomachine-enterprise-client` | console/x01da (node level) |
| `nx_client` | workstation | `nomachine-enterprise-client` | console/x01da (node level) |
| `specific` | 3 node files in server/x01da/ | `screen`, `git` | only the hosts with this node file |
| `specific` | 1 node file in server/x10da/ | `screen`, `git` | only the host with this node file |
| `xomny` | 2 node files in workstation/ | `app.devsuite.Ptyxis:flatpak` | only the hosts with this node file |
### data-swissfel
SwissFEL machine, office and endstation hosts.
Host types:
| Type | Hosts | Name patterns | Package groups | Node-level additions |
|---|---|---|---|---|
| alvra | 11 | `saresa-cons-NN` (9), `saresa-vcons-NN` (2) | `endstation`, `controls_devl`, `controls_xtra`, `epics` | - |
| bernina | 11 | `saresb-cons-NN` (7), `saresb-vcons-NN` (3), `saresb-robot-NN` | `controls_devl`, `controls_xtra`, `epics`, `bernina` | - |
| cpci-s | 0 | - | `controls_devl`, `controls_xtra`, `epics` | - |
| cristallina | 8 | `saresc-cons-NN` (5), `saresc-vcons-NN` (2), `saresc-media-NN` | `endstation`, `controls_devl`, `controls_xtra`, `epics` | - |
| diavolezza | 0 | - | `endstation`, `controls_devl`, `controls_xtra`, `epics` | - |
| exp-laser | 0 | - | `controls_devl`, `controls_xtra`, `epics` | - |
| furka | 7 | `satesf-cons-NN` (5), `satesf-vcons-NN` (2) | `endstation`, `controls_devl`, `controls_xtra`, `epics` | - |
| keysight | 2 | `sares12-cpcl-gesN`, `sates21-cpcl-gesN` | `controls_devl`, `controls_xtra`, `epics` | - |
| machine | 52 | `sf-cons-NN` (15), `sf-fb-NN` (3), `sf-lcNa` (2), `sf-vcons-NN` (2), 28 more patterns | `controls_devl`, `controls_xtra`, `epics` | +`custom` (4) |
| machine/dbam | 0 | - | `controls_devl`, `controls_xtra`, `epics` | - |
| machine-cr | 7 | `sfwNN` (5), `sf-bigscr-srv-NN`, `sf-display-NN` | `mcr`, `controls_devl`, `controls_xtra`, `epics` | `epics` extended (1), exclude `caqtdm-qt4` (2), exclude `kmod-nvidia-open-dkms` (1) |
| machine-laser | 2 | `sf-cons-NN`, `sf-lmx-laser1030-NN` | `controls_devl`, `controls_xtra`, `epics` | - |
| machine-rf | 2 | `sf-rf-in-egNN`, `sf-rf-l3-cbNN` | `rf-tools`, `controls_devl`, `controls_xtra`, `epics` | - |
| machine-vac | 1 | `sf-vac-NN` | `controls_devl`, `controls_xtra`, `epics` | - |
| maloja | 10 | `satese-cons-NN` (8), `satese-vcons-NN` (2) | `endstation`, `controls_devl`, `controls_xtra`, `epics` | - |
| office | 37 | `pcNNNNN` (17), `pcNNNN` (3), `sf-lcN` (2), `sf-rf-wmha-NN` (2), 9 more patterns, 4 other names | `controls_devl`, `controls_xtra`, `epics` | +`custom` (2), +`extra` (1) |
Package groups defined or listed in data-swissfel:
| Package group | Defined in | Packages | Listed by |
|---|---|---|---|
| `archapp` | swissfel | `httpd`, `java-latest-openjdk`, `java-latest-openjdk-devel`, `mariadb-server`, `php`, `python-requests`, `zenity` | not listed |
| `bernina` | bernina | `vlc`, `zoom`, `code`, `conda`, `openssh-askpass`, `teams-for-linux` | bernina |
| `console` | swissfel | `aravis-0.8:os!redhat7`, `aravis-0.8-viewer:os!redhat7`, `chromium`, `code`, `gedit`, `gedit-plugins`, `gthumb`, `gimp`, `google-chrome-stable`, `gv`, `gwenview`, `hunspell-de`, `icewm`, `ntfs-3g`, `perl-Getopt-Long`, `perl-Net-HTTP`, `perl-Tk`, `qt5-qtbase:os!redhat9`, `qt6-qtbase:os=redhat9`, `qt5-qtbase-gui:os!redhat9`, `qt6-qtbase-gui:os=redhat9`, `qt5-qtscript:os!redhat9`, `qt5-qtwebsockets:os!redhat9`, `qt6-qtwebsockets:os=redhat9`, `qwt-qt5:os!redhat9`, `remmina`, `Thunar`, `xdotool`, `xorg-x11-fonts-ISO8859-15-100dpi`, `xorg-x11-fonts-ISO8859-2-100dpi`, `code` | role::console default |
| `controls_devl` | swissfel | `autoconf`, `automake`, `bison`, `boost-devel`, `byacc`, `cscope`, `ctags`, `diffstat`, `doxygen`, `flex`, `gcc`, `gcc-c++`, `gcc-gfortran`, `hdf-devel`, `hdf5-devel`, `indent`, `intltool`, `kernel-devel`, `libcurl-devel`, `libtool`, `openldap-devel`, `patchutils`, `python36-devel:os=redhat8`, `python39-devel:os=redhat8`, `python3.12-devel:os!redhat7`, `python3-devel:os=redhat9`, `qt5-devel:os=redhat8`, `qwt-qt5-devel:os=redhat8`, `rcs`, `readline-devel`, `rpm-build`, `rpm-sign`, `subversion`, `systemtap`, `zeromq-devel` | alvra, bernina, cpci-s, cristallina, diavolezza, exp-laser, furka, keysight, machine/* (1 subgroup), machine-cr, machine-laser, machine-rf, machine-vac, maloja, office |
| `controls_xtra` | swissfel | `ansible`, `blt`, `bzip2`, `elegant`, `elog-client`, `emacs`, `evince`, `expect`, `firefox`, `freerdp`, `ftp`, `gcc-c++`, `gd`, `gengetopt`, `gfa-cifsmount:absent`, `gfa-cross-compiler-links`, `python3-gitlab:os!redhat7`, `gfa-hostinfo`, `gfa-iocutils`, `cas-launcher:os!redhat7`, `gfa-lxutils`, `gfa-portserver:os!redhat9`, `git-gui`, `git-lfs`, `gitk`, `glibc`, `gnome-terminal`, `gnuplot`, `gsl`, `hdf5`, `htop`, `itcl`, `java-21-openjdk:os!redhat7`, `jq`, `jstriptool`, `kdiff3`, `lrzsz`, `man-pages`, `mc`, `meld`, `motif:os!redhat9`, `nano`, `nedit`, `net-snmp-utils`, `net-tools`, `open-vm-tools`, `openldap-clients`, `openssh`, `oracle-instantclient19.18-basic:os=redhat8`, `oracle-instantclient19.19-basic:os=redhat9`, `perl-DBD-Oracle:os!redhat9`, `perl-Env`, `python3-cffi:os!redhat7`, `python3-pyqtgraph`, `python3-sphinx`, `python3-lxml`, `python3-ipython:os!redhat7`, `python3-paramiko:os!redhat7`, `python3-pyepics:os!redhat7`, `python3-scipy:os!redhat7`, `python3-matplotlib:os!redhat7`, `screen`, `sssd-client`, `swig`, `tclx`, `tcsh:os!redhat9`, `telnet`, `texlive-adjustbox`, `tftp`, `tkcvs:os=redhat7`, `tmux:os=redhat7`, `tmux-powerline:os!redhat7`, `tree`, `vim-enhanced`, `wget`, `wmctrl`, `xterm`, `yum-utils`, `zeromq` | alvra, bernina, cpci-s, cristallina, diavolezza, exp-laser, furka, keysight, machine/* (1 subgroup), machine-cr, machine-laser, machine-rf, machine-vac, maloja, office |
| `custom` | 1 node file in machine/ | `gfa-portserver` | only the host with this node file |
| `custom` | 2 node files in machine/ | `snapshot` | only the hosts with this node file |
| `custom` | 1 node file in machine/ | `caqtdm-qt5` | only the host with this node file |
| `custom` | 2 node files in office/ | `snapshot` | only the hosts with this node file |
| `endstation` | alvra | `dev.zed.Zed:flatpak` | alvra, cristallina, diavolezza, furka, maloja |
| `endstation` | cristallina | `dev.zed.Zed:flatpak` | alvra, cristallina, diavolezza, furka, maloja |
| `endstation` | diavolezza | `dev.zed.Zed:flatpak` | alvra, cristallina, diavolezza, furka, maloja |
| `endstation` | furka | `dev.zed.Zed:flatpak` | alvra, cristallina, diavolezza, furka, maloja |
| `endstation` | maloja | `dev.zed.Zed:flatpak`, `root`, `root-*`, `qt5-devel`, `qt5-qtwebengine-devel` | alvra, cristallina, diavolezza, furka, maloja |
| `epics` | swissfel | `caqtdm-qt5:os!redhat7`, `caSniffer`, `epics-base-7.0.7:os!redhat7`, `epics-base-7.0.8:os!redhat7`, `epics-base-7.0.9:os!redhat7`, `epics-base-7.0.10:os!redhat7`, `epics-ext-alh`, `epics-ext-caTools-links`, `gfa-global-profile:os=redhat7`, `cas-global-profile:os!redhat7`, `epics-ext-iocsh`, `python3-CaChannel`, `net-snmp-libs` | alvra, bernina, cpci-s, cristallina, diavolezza, exp-laser, furka, keysight, machine/* (1 subgroup), machine-cr, machine-laser, machine-rf, machine-vac, maloja, office |
| `epics` | 1 node file in machine-cr/ | `caqtdm-qt5` | only the host with this node file |
| `extra` | 1 node file in office/ | `cockpit` | only the host with this node file |
| `keysight` | swissfel | `gfa-shellbox`, `gfa-shellbox-insecure` | not listed |
| `login_server` | swissfel | `aravis-0.8-devel:os!redhat7`, `autoconf`, `chromium`, `ddd`, `gfa-cifsmount-lc:absent`, `gedit`, `gedit-plugins`, `gnome-screenshot`, `epics-base-7.0.8-devel`, `epics-base-7.0.8-src`, `epics-base-7.0.9-devel`, `epics-base-7.0.9-src`, `epics-base-7.0.10-devel`, `epics-base-7.0.10-src`, `fftw-devel`, `libtirpc-devel`, `gimp`, `gv`, `gthumb`, `gwenview`, `ImageMagick-c++-devel`, `libffi-devel`, `libjpeg-devel`, `libtiff-devel`, `libxml2-devel`, `@office-suite`, `nautilus`, `net-snmp-devel`, `nodejs:stream=24:os=redhat8`, `nodejs:stream=24:os=redhat9`, `re2c`, `remmina`, `rpcgen`, `qt5-qtbase`, `qt5-qtbase-gui`, `qt5-qtscript`, `qt5-qtwebsockets`, `qwt-qt5`, `python3-devel`, `sqlite-devel`, `Thunar`, `texlive-latex-bin`, `xdotool`, `code`, `wine:os!redhat9` | role::login_server default |
| `mcr` | machine-cr | `ePic`, `qt5-qtwebengine`, `snapshot` | machine-cr |
| `rf-tools` | machine-rf | `nomachine-enterprise-client` | machine-rf |
| `softioc` | swissfel | `aravis-0.8:os!redhat7`, `fftw`, `gfa-shellbox`, `vim-enhanced`, `tmux` | role::softioc default |
### data-hipa
HIPA specific Linux configuration (from the repository README).
Host types:
| Type | Hosts | Name patterns | Package groups | Node-level additions |
|---|---|---|---|---|
| beamline | 8 | `hipa-mueN` (2), `hipa-pie1-NN` (2), `hipa-pieN` (2), `hipa-pimN` (2) | `epics`, `controls_xtra`, `controls_devl`, `no_afs` | - |
| knobbox | 1 | `psrsNN` | `epics`, `controls_xtra`, `controls_devl`, `no_afs` | - |
| machine | 19 | `hipa-agp-NN` (3), `hipawNN` (3), `hipa-lcNa` (2), `transmutexNN` (2), 7 more patterns, 2 other names | `epics`, `controls_xtra`, `controls_devl`, `no_afs` | +`custom` (1), +`transmutex` (1) |
| machine-cr | 4 | `hipawNN` (2), `hipa-bigscr-srv-NN`, `hipa-display-NN` | `epics`, `controls_xtra`, `controls_devl`, `no_afs` | - |
| machine-rf | 2 | `hipa-rfconsNN`, `hipa-rfvcons-NN` | `rf-tools`, `controls_devl`, `controls_xtra`, `epics`, `no_afs` | - |
| office | 14 | `hipa-pcNNNNN` (3), `pcNNNNN` (3), `hipa-lcN` (2), `hipa129-infoN` (2), 4 more patterns | `epics`, `controls_xtra`, `controls_devl`, `no_afs` | +`custom` (1), +`mcr_devl` (1) |
Package groups defined or listed in data-hipa:
| Package group | Defined in | Packages | Listed by |
|---|---|---|---|
| `console` | hipa | `@Xfce`, `chromium`, `code`, `epics-ext-alh:os=redhat8`, `gedit`, `gnome-shell-extension-no-topleft-hot-corner:os!redhat9`, `gv`, `ntfs-3g`, `qt5-qtbase`, `qt5-qtbase-gui`, `qt5-qtscript`, `qt5-qtwebsockets`, `remmina`, `xorg-x11-apps:os=redhat7`, `xorg-x11-fonts-ISO8859-15-100dpi`, `xorg-x11-fonts-ISO8859-2-100dpi` | role::console default |
| `console` | machine-cr | `qt5-qtwebengine`, `ePic` | role::console default |
| `controls_devl` | hipa | `automake`, `boost-devel`, `socat`, `clang`, `ddd`, `epics-base-7.0.9-devel`, `epics-base-7.0.9-src`, `epics-base-7.0.10-devel`, `epics-base-7.0.10-src`, `fftw-devel`, `gsl-devel`, `kernel-devel`, `ImageMagick-c++-devel`, `libcurl-devel`, `libjpeg-devel`, `libpng12`, `libtiff-devel`, `libtirpc-devel`, `libxml2-devel`, `libtool`, `man-pages`, `net-snmp-devel`, `python3-qt5-devel`, `python3-devel`, `python39-devel:os=redhat8`, `python3.12-devel`, `python3-tkinter`, `python39-tkinter:os=redhat8`, `python3.12-tkinter`, `qt5-devel`, `readline-devel`, `rpm-build`, `qwt-qt5-devel`, `zeromq-devel` | beamline, knobbox, machine, machine-cr, machine-rf, office |
| `controls_xtra` | hipa | `ansible-core`, `autofs`, `bzip2`, `dos2unix`, `emacs`, `eog`, `evince`, `expect`, `firefox`, `freerdp`, `ftp`, `gcc-c++`, `gengetopt`, `gfa-cifsmount:absent`, `gfa-cross-compiler-links`, `gfa-iocutils`, `python3-gitlab`, `gfa-archutils:os!redhat9`, `gfa-vdct`, `cas-launcher`, `gfa-hostinfo`, `gfa-lxutils`, `gfa-puppet-workaround`, `gfa-sssd-conf:absent`, `gfa-portserver:os!redhat9`, `git-gui`, `gitk`, `glibc.i686`, `gnome-terminal`, `gsl`, `java-21-openjdk`, `jq`, `jstriptool`, `kdiff3`, `libXpm`, `libpng12`, `mc`, `meld`, `mesa-libGLU`, `mesa-libGL-devel`, `motif`, `motif.i686`, `nano`, `nc:os=redhat7`, `nedit`, `net-tools`, `nmap`, `meld`, `openldap-clients`, `perl-Env`, `python3-pyqtgraph`, `python3-sphinx`, `plotutils.x86_64`, `readline.i686`, `screen:absent`, `python3-scipy`, `python3-lxml`, `sssd-client`, `swig`, `tcsh`, `telnet`, `gnuplot`, `tftp`, `tmux-powerline`, `vim-enhanced`, `wmctrl`, `yum-utils`, `xterm`, `xfontsel`, `xorg-x11-fonts-75dpi`, `xorg-x11-fonts-100dpi`, `xorg-x11-fonts-misc`, `zeromq`, `lrzsz` | beamline, knobbox, machine, machine-cr, machine-rf, office |
| `custom` | 1 node file in machine/ | `cockpit` | only the host with this node file |
| `custom` | 1 node file in office/ | `yfs-client:absent` | only the host with this node file |
| `epics` | hipa | `caqtdm-qt5`, `caSniffer`, `epics-base-7.0.8`, `epics-base-7.0.9`, `epics-base-7.0.10:os!redhat7`, `epics-ext-caTools-links`, `gfa-global-profile:os=redhat7`, `cas-global-profile:os!redhat7`, `epics-ext-iocsh`, `net-snmp-libs`, `python3-CaChannel`, `python3-pcaspy` | beamline, knobbox, machine, machine-cr, machine-rf, office |
| `login_server` | hipa | `autoconf`, `gedit`, `gfa-cifsmount-lc:absent`, `gv`, `eog`, `nodejs:stream=20`, `@Office Suite and Productivity:os!redhat9`, `php-cli`, `qt5-qtbase`, `qt5-qtbase-gui`, `qt5-qtscript`, `qt5-qtwebsockets`, `qwt-qt5`, `re2c`, `remmina`, `rpcgen`, `Thunar`, `texlive-latex-bin`, `xdotool`, `code`, `wine:os!redhat9`, `wget` | role::login_server default |
| `mcr_devl` | 1 node file in office/ | `libharu-devel`, `protobuf-devel` | only the host with this node file |
| `no_afs` | hipa | `yfs-client:absent`, `yfs-pam:absent`, `kmod-yfs:absent`, `yfs:absent` | beamline, knobbox, machine, machine-cr, machine-rf, office |
| `rf-tools` | machine-rf | `nomachine-enterprise-client` | machine-rf |
| `softioc` | hipa | `fftw`, `gfa-shellbox` | role::softioc default |
| `transmutex` | 1 node file in machine/ | `podman` | only the host with this node file |
### data-proscan
PROSCAN machine and office hosts.
Host types:
| Type | Hosts | Name patterns | Package groups | Node-level additions |
|---|---|---|---|---|
| machine | 9 | `prowNN` (3), `proscan-lcNa` (2), `proscan-vserv-NN` (2), `pif-vcons-NN`, 1 more pattern | `epics`, `controls_xtra`, `controls_devl`, `no_afs` | +`machine-cr` (1) |
| machine/mcr | 0 | - | `machine-cr`, `epics`, `controls_xtra`, `controls_devl`, `no_afs` | - |
| machine/therapy | 5 | `prowNN` (5) | `epics`, `controls_xtra`, `controls_devl`, `no_afs` | - |
| office | 6 | `proscan-lcN` (2), `proscan129-agp-NN` (2), `pif129-vcons-NN`, `proscan129-vserv-NN` | `epics`, `controls_xtra`, `controls_devl`, `no_afs` | +`controls_lc` (2) |
Package groups defined or listed in data-proscan:
| Package group | Defined in | Packages | Listed by |
|---|---|---|---|
| `console` | proscan | `@Xfce`, `chromium`, `epics-ext-alh:os=redhat8`, `gnome-shell-extension-no-topleft-hot-corner:os!redhat9`, `gtk-recordmydesktop:os=redhat7`, `gv`, `ImageMagick`, `ntfs-3g`, `qt5-qtbase`, `qt5-qtbase-gui`, `qt5-qtscript`, `qt5-qtwebsockets`, `qwt-qt5:os=!redhat7`, `recordmydesktop:os=redhat7`, `remmina`, `tclx`, `xorg-x11-apps:os!redhat9`, `xorg-x11-fonts-ISO8859-15-100dpi`, `xorg-x11-fonts-ISO8859-2-100dpi`, `zoom:absent` | role::console default |
| `console` | machine/mcr | `qt5-qtwebengine`, `ePic` | role::console default |
| `controls_devl` | proscan | `automake`, `clang`, `compat-glibc:os=redhat7`, `ddd.x86_64`, `devtoolset-6:os=redhat7`, `gsl-devel.x86_64`, `compat-gcc-44:os=redhat7`, `compat-gcc-44-c++:os=redhat7`, `kernel-devel`, `libcurl-devel`, `libpng12`, `libtool`, `man-pages`, `PyQt4-devel:os=redhat7`, `python3-qt5-devel:os=!redhat7`, `python-devel:os=redhat7`, `python3-devel:os!redhat7`, `python39-devel:os=redhat8`, `python39-tkinter:os=redhat8`, `qt-devel:os=redhat7`, `qt5-devel:os=!redhat7`, `readline-devel`, `rpm-build`, `qwt-devel:os=redhat7`, `qwt-qt5-devel:os=!redhat7`, `zeromq-devel` | machine/* (2 subgroups), office |
| `controls_lc` | proscan | `php-cli`, `wkhtmltopdf:os=redhat7`, `meld`, `gtk-recordmydesktop:os=redhat7`, `recordmydesktop:os=redhat7`, `zoom:absent` | office (node level) |
| `controls_xtra` | proscan | `ansible`, `autofs`, `blt`, `bzip2`, `caview:os=redhat7`, `dos2unix`, `elog-client`, `emacs`, `evince`, `expect`, `firefox`, `freerdp`, `ftp`, `gcc-c++`, `gengetopt`, `gfa-cifsmount:absent`, `gfa-cross-compiler-links`, `gfa-cleanup-gfa-controls:os=redhat7`, `gfa-iocutils`, `gfa-gitutils:os=redhat7`, `python3-gitlab:os!redhat7`, `gfa-ldaputils:os=redhat7`, `gfa-archutils:os=!redhat9`, `gfa-vdct:os=redhat7`, `cas-launcher`, `gfa-lxutils`, `gfa-hostinfo`, `gfa-portserver`, `gfa-puppet-workaround:os=redhat7`, `gfa-sssd-conf:absent`, `git-gui`, `gitk`, `glibc`, `gnome-terminal`, `gsl`, `htop`, `java-1.8.0-openjdk:os=redhat7`, `java-21-openjdk:os!redhat7`, `jq`, `libXpm`, `libpng12`, `man-pages`, `mc`, `meld`, `motif`, `nano`, `nc:os=redhat7`, `nedit`, `net-tools`, `nmap`, `openldap-clients`, `perl-Env`, `psi-gfa-qt5-sqlplugin-oci-5.9.2-2.el7:os=redhat7`, `psi-gfa-qt4-sqlplugin-oci-4.8.5-2.el7:os=redhat7`, `python-cffi:os=redhat7`, `python-enum34:os=redhat7`, `python3-pyqtgraph:os=redhat8`, `python-sphinx:os=redhat7`, `python3-sphinx:os=!redhat7`, `python3-lxml:os!redhat7`, `plotutils`, `readline`, `scipy:os=redhat7`, `gfa-snmpd-local-conf:os=redhat7`, `gnuplot`, `sssd-client`, `swig`, `tcsh`, `telnet`, `tmux:os=redhat7`, `tmux-powerline:os!redhat7`, `gfa-cvs-tools:os=redhat7`, `tftp`, `tkcvs:os=redhat7`, `vim-enhanced`, `wmctrl`, `yum-utils`, `xterm`, `xfontsel`, `xorg-x11-fonts-75dpi`, `xorg-x11-fonts-100dpi`, `xorg-x11-fonts-misc`, `zeromq`, `lrzsz`, `rh-git227:os=redhat7` | machine/* (2 subgroups), office |
| `epics` | proscan | `caRepeater:os=redhat7`, `caqtdm-qt4:os=redhat7`, `caqtdm-qt5:os!redhat7`, `caSniffer`, `epics-base-7.0.9`, `epics-base-7.0.10:os!redhat7`, `epics-ext-caTools-links`, `epics-ext-alh:os=redhat8`, `gfa-global-profile:os=redhat7`, `cas-global-profile:os!redhat7`, `epics-ext-iocsh`, `net-snmp-libs`, `python-CaChannel:os=redhat7`, `python3-CaChannel:os=redhat8`, `python-pcaspy:os=redhat7`, `python3-pcaspy:os=redhat8` | machine/* (2 subgroups), office |
| `login_server` | proscan | `autoconf`, `chromium`, `devtoolset-7:os=redhat7`, `devtoolset-12-gcc-c++:os=redhat7`, `dolphin`, `Thunar`, `eog`, `epics-base-7.0.8-devel`, `epics-base-7.0.8-src`, `epics-base-7.0.9-devel`, `epics-base-7.0.9-src`, `epics-base-7.0.10-devel`, `epics-base-7.0.10-src`, `fftw-devel`, `gfa-cifsmount-lc:absent`, `gv`, `ImageMagick-c++-devel`, `libjpeg-devel`, `libtiff-devel`, `libtirpc-devel`, `libxml2-devel`, `net-snmp-devel`, `nodejs:stream=20:os=redhat8`, `nodejs:stream=22:os=redhat9`, `libreoffice:os=redhat7`, `@Office Suite and Productivity:os=redhat8`, `qt5-qtbase`, `qt5-qtbase-gui`, `qt5-qtscript`, `qt5-qtwebsockets`, `qwt-qt5`, `python3-devel`, `re2c`, `remmina`, `rpcgen:os!redhat7`, `texlive-latex-bin`, `xdotool`, `xpdf:os=redhat7`, `code`, `wine:os!redhat9` | role::login_server default |
| `machine-cr` | proscan | `rpstest` | machine/mcr, machine (node level) |
| `no_afs` | proscan | `yfs-client:absent`, `yfs-pam:absent`, `kmod-yfs:absent`, `yfs:absent` | machine/* (2 subgroups), office |
| `softioc` | proscan | `fftw`, `gfa-shellbox` | role::softioc default |
### data-cryo
Cryo machine and office hosts.
Host types:
| Type | Hosts | Name patterns | Package groups | Node-level additions |
|---|---|---|---|---|
| machine | 3 | `cryo-lcNa` (2), `cryo-vserv-NN` | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `noafs` | - |
| machine-cons | 0 | - | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `noafs` | - |
| machine-sioc | 0 | - | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `noafs` | - |
| office | 5 | `cryo-pcNNNNN` (3), `cryo-lcN` (2) | `controls_xtra`, `gfa_common`, `controls_devl`, `epics`, `noafs` | - |
Package groups defined or listed in data-cryo:
| Package group | Defined in | Packages | Listed by |
|---|---|---|---|
| `archapp` | cryo | `httpd`, `java-latest-openjdk`, `java-latest-openjdk-devel`, `mariadb-server`, `php`, `python-requests`, `zenity` | not listed |
| `console` | cryo | `gedit`, `gv`, `hunspell-de`, `ntfs-3g`, `qt5-qtbase`, `qt5-qtbase-gui`, `qt5-qtscript`, `qt5-qtwebsockets`, `qwt-qt5`, `remmina` | role::console default |
| `controls_devl` | cryo | `clang`, `compat-glibc`, `devtoolset-6`, `kernel-devel`, `libpng12`, `man-pages`, `PyQt4-devel`, `python3-devel`, `qt5-devel`, `readline-devel`, `rpm-build`, `qwt5-devel`, `zeromq-devel` | machine, machine-cons, machine-sioc, office |
| `controls_xtra` | cryo | `PythonMCA`, `PyMca5`, `ansible-core`, `a2ps`, `ascii`, `blt`, `bzip2`, `caview`, `dos2unix`, `dstat`, `emacs`, `evince`, `expect`, `freerdp`, `gcc-c++`, `gengetopt`, `gfa-archutils`, `gfa-cross-compiler-links`, `cas-iocutils`, `cas-hostinfo`, `cas-launcher`, `gfa-portserver`, `gnuplot`, `htop`, `jq`, `jstriptool`, `man-pages`, `mc`, `meld`, `multitail`, `nc`, `nedit`, `net-tools`, `openldap-clients`, `python3-cffi`, `python-enum34`, `python3-sphinx`, `python3-scipy`, `screen`, `swig`, `synergy`, `telnet`, `tftp`, `tkcvs`, `wmctrl`, `xterm`, `zeromq`, `lrzsz` | machine, machine-cons, machine-sioc, office |
| `epics` | cryo | `caqtdm-qt4`, `caRepeater`, `epics-base-3.14.12`, `epics-base-7.0.4.1:absent`, `epics-base-7.0.4.1-devel:absent`, `epics-base-7.0.4.1-devel-static:absent`, `epics-base-7.0.4.1-boot:absent`, `epics-base-7.0.5-1-3:absent`, `epics-base-7.0.5-devel-1-3:absent`, `epics-base-7.0.5-devel-static-1-3:absent`, `epics-base-7.0.5-boot-1-3:absent`, `epics-base-7.0.10`, `epics-base-meta-generic`, `cas-global-profile`, `epics-ext-iocsh`, `epics-ext-alh`, `python3-CaChannel`, `python3-pcaspy` | machine, machine-cons, machine-sioc, office |
| `gfa_common` | cryo | `tree` | machine, machine-cons, machine-sioc, office |
| `login_server` | cryo | `gv`, `epics-base-3.14.12-devel`, `epics-base-7.0.5-1-3:absent`, `epics-base-7.0.5-devel-1-3:absent`, `epics-base-7.0.5-devel-static-1-3:absent`, `epics-base-7.0.5-boot-1-3:absent`, `epics-base-7.0.6-devel`, `epics-base-7.0.6-src`, `qt5-qtbase`, `qt5-qtbase-gui`, `qt5-qtscript`, `qt5-qtwebsockets`, `qwt-qt5`, `remmina` | role::login_server default |
| `noafs` | cryo | `yfs-client:absent`, `yfs-pam:absent`, `kmod-yfs:absent`, `yfs:absent` | machine, machine-cons, machine-sioc, office |
| `softioc` | cryo | `cas-shellbox` | role::softioc default |
### data-twlha
TWLHA specific Linux configuration (from the repository README).
Host types:
| Type | Hosts | Name patterns | Package groups | Node-level additions |
|---|---|---|---|---|
| machine | 6 | `twlha-fb-NN` (2), `twhlha-fb-NN`, `twlha-lcNa`, `twlha-vserv-rf-NN`, 1 other name | `controls_xtra`, `gfa_common`, `controls_devl`, `epics` | - |
| machine-laser | 0 | - | `controls_xtra`, `gfa_common`, `controls_devl`, `epics` | - |
| machine-rf | 0 | - | `rf-tools`, `controls_xtra`, `gfa_common`, `controls_devl`, `epics` | - |
| office | 4 | `twlha-magvw-NN` (2), `twlha-lcN`, `twlha129-softioc-NN` | `controls_xtra`, `gfa_common`, `controls_devl`, `epics` | +`softioc` (2) |
Package groups defined or listed in data-twlha:
| Package group | Defined in | Packages | Listed by |
|---|---|---|---|
| `archapp` | twlha | `httpd`, `java-latest-openjdk`, `java-latest-openjdk-devel`, `mariadb-server`, `php`, `python-requests`, `zenity` | not listed |
| `console` | twlha | `gedit`, `gv`, `ntfs-3g`, `qt5-qtbase`, `qt5-qtbase-gui`, `qt5-qtscript`, `qt5-qtwebsockets`, `qwt-qt5`, `remmina` | role::console default |
| `controls_devl` | twlha | `automake`, `boost-devel`, `clang`, `kernel-devel`, `libcurl-devel`, `libpng12`, `libtool`, `man-pages`, `python3-qt5-devel`, `python3-devel`, `qt5-devel`, `readline-devel`, `rpm-build`, `qwt-qt5-devel`, `zeromq-devel` | machine, machine-laser, machine-rf, office |
| `controls_xtra` | twlha | `PythonMCA`, `PyMca5`, `ansible-core:os!redhat7`, `ascii`, `bzip2`, `dos2unix`, `elog-client`, `emacs`, `evince`, `expect`, `firefox`, `freerdp`, `ftp`, `gcc-c++`, `gengetopt`, `gfa-cifsmount:absent`, `gfa-cross-compiler-links`, `cas-iocutils`, `gfa-hostinfo`, `cas-launcher`, `gfa-lxutils`, `gfa-portserver`, `gfa-puppet-workaround`, `gfa-sssd-conf:absent`, `jq`, `man-pages`, `mc`, `meld`, `multitail`, `nedit`, `net-tools`, `python3-sphinx`, `python3-scipy`, `screen`, `sssd-client.i686`, `swig`, `synergy:os!redhat9`, `telnet`, `gfa-telwho`, `tcsh`, `tftp`, `wmctrl`, `xterm`, `zeromq`, `lrzsz` | machine, machine-laser, machine-rf, office |
| `epics` | twlha | `caqtdm-qt4:os=redhat7`, `caqtdm-qt5:os!redhat7`, `epics-base-7.0.10:os!redhat7`, `epics-base-7.0.11:os!redhat7`, `epics-ext-caTools-links`, `jstriptool`, `epics-ext-medm:absent`, `gfa-global-profile:os=redhat7`, `cas-global-profile:os!redhat7`, `epics-ext-iocsh`, `net-snmp-libs`, `python3-CaChannel:os!redhat7`, `python3-pcaspy:os!redhat7` | machine, machine-laser, machine-rf, office |
| `gfa_common` | twlha | `net-snmp`, `tree` | machine, machine-laser, machine-rf, office |
| `login_server` | twlha | `autoconf`, `gedit`, `gv`, `epics-base-7.0.9-devel`, `epics-base-7.0.9-src`, `epics-base-7.0.10-devel`, `epics-base-7.0.10-src`, `epics-base-7.0.11-devel`, `epics-base-7.0.11-src`, `ImageMagick-c++-devel`, `libjpeg-devel`, `libtiff-devel`, `fftw-devel`, `libtirpc-devel`, `nautilus`, `net-snmp-devel`, `qt5-qtbase`, `qt5-qtbase-gui`, `qt5-qtscript`, `qt5-qtwebsockets`, `qwt-qt5`, `python3-devel`, `re2c`, `remmina`, `code` | role::login_server default |
| `rf-tools` | machine-rf | `nomachine-enterprise-client:os!redhat7` | machine-rf |
| `softioc` | twlha | `fftw`, `gfa-shellbox` | office (node level), role::softioc default |
## Machine sizes
- CPU and RAM: only data-controls node files carry `variable::cpu` and `variable::ram` (164 of 181 node files), and all 164 values are `UNKNOWN`. The generated `data-controls/.tools/infrastructure_overview.csv` has the same 164 rows with CPU and RAM `UNKNOWN` in every row. Coverage of CPU and RAM is therefore 0 %; no other repository has CPU or RAM keys.
- Disk: `vgroot::path` sets logical volume sizes in the root volume group `vg_root` (`profile::vgroot`, hash merge over the levels). It applies to 224 of 826 node files (27 %): data-sls_beamlines 96 of 99, data-proscan 14 of 20, data-swissfel 62 of 150, data-sls 21 of 129, data-controls 19 of 181, data-hipa 6 of 48, data-cocos 6 of 175, none in data-gfa, data-cryo, data-twlha.
| Environment | Group | Node files | Declared logical volumes in vg_root |
|---|---|---|---|
| controls | pod_host | 12 | `lv_root` 24G, `lv_var` 16G, `lv_var_log` 8G |
| controls | server | 7 | `lv_root` 12G, `lv_home` 16G |
| cocos | default | 1 | `lv_home` 10GB |
| cocos | docker_host | 2 | `lv_var` 16GB |
| cocos | docker_host | 1 | `lv_var` 16GB, `lv_var_log` 6GB |
| cocos | docker_host | 1 | `lv_var` 20GB |
| cocos | docker_host | 1 | `lv_var` 24GB |
| sls | bd | 1 | `lv_root` 128GB, `lv_var` 16GB, `lv_var_log` 8GB, `lv_tmp` 16GB, `lv_home` 256GB |
| sls | machine-cr | 4 | `lv_root` 24GB, `lv_var` 16G |
| sls | machine-rf | 8 | `lv_root` 24GB, `lv_var` 16G |
| sls | machine-vac | 1 | `lv_root` 24GB, `lv_var` 16G |
| sls | office | 1 | `lv_root` 100GB, `lv_var` 20GB |
| sls | office | 1 | `lv_root` 25GB |
| sls | office | 1 | `lv_root` 24G, `lv_var` 16G, `lv_home` 100G |
| sls | x01da | 1 | `lv_root` 32GB, `lv_home` 12GB |
| sls | x04sa | 3 | `lv_root` 40GB |
| sls_beamlines | console | 38 | `lv_root` 100GB, `lv_var` 100GB, `lv_home` 20GB |
| sls_beamlines | console | 27 | `lv_root` 20GB, `lv_var` 20GB, `lv_home` 10GB |
| sls_beamlines | console | 13 | `lv_root` 100GB, `lv_var` 100GB, `lv_home` 100GB |
| sls_beamlines | console | 4 | `lv_home` 10GB |
| sls_beamlines | console | 3 | `lv_root` 100GB, `lv_var` 100GB, `lv_home` 80GB |
| sls_beamlines | console | 2 | `lv_root` 20GB, `lv_var` 20GB, `lv_home` 20GB |
| sls_beamlines | console | 1 | `lv_root` 24GB, `lv_var` 24GB, `lv_home` 26GB |
| sls_beamlines | console | 1 | `lv_root` 60GB, `lv_var` 20GB, `lv_home` 10GB |
| sls_beamlines | server | 4 | `lv_root` 100GB, `lv_home` 50GB |
| sls_beamlines | workstation | 3 | `lv_root` 100GB, `lv_var` 100GB, `lv_home` 20GB |
| swissfel | alvra | 9 | `lv_root` 100GB, `lv_var` 20GB, `lv_home` 100GB |
| swissfel | alvra | 2 | `lv_root` 40GB, `lv_var` 20GB |
| swissfel | bernina | 6 | `lv_root` 64GB |
| swissfel | bernina | 3 | `lv_root` 32GB |
| swissfel | bernina | 2 | `lv_root` 64GB, `lv_var` 16GB |
| swissfel | cristallina | 1 | `lv_var` 60GB |
| swissfel | cristallina | 1 | `lv_root` 20GB |
| swissfel | furka | 5 | `lv_root` 100GB, `lv_var` 16G, `lv_home` 100GB |
| swissfel | furka | 1 | `lv_root` 24GB, `lv_var` 16G |
| swissfel | furka | 1 | `lv_root` 40GB, `lv_var` 16G |
| swissfel | machine | 5 | `lv_root` 20GB |
| swissfel | machine | 1 | `lv_root` 16GB |
| swissfel | machine-cr | 7 | `lv_root` 24GB, `lv_var` 16G |
| swissfel | machine-laser | 1 | `lv_root` 20GB |
| swissfel | machine-laser | 1 | `lv_root` 15GB |
| swissfel | machine-rf | 2 | `lv_root` 20GB |
| swissfel | maloja | 8 | `lv_root` 100GB, `lv_var` 20GB, `lv_home` 100GB |
| swissfel | maloja | 2 | `lv_root` 40GB, `lv_var` 20GB |
| swissfel | office | 3 | `lv_root` 20GB |
| swissfel | office | 1 | `lv_root` 24GB, `lv_home` 32GB |
| hipa | machine | 1 | `lv_root` 16GB |
| hipa | machine-cr | 4 | `lv_root` 24GB, `lv_var` 16G |
| hipa | office | 1 | `lv_root` 20GB |
| proscan | machine | 14 | `lv_root` 24GB, `lv_var` 16G |
## Known inconsistencies in the data
State of the snapshot above; each item is visible in the tables.
- Listed but not defined in the hierarchy of that environment, so the Puppet run of such a host stops at the lookup: data-controls `BEC` (sioc/x01da, sioc/x07ma, no node files), `mx` (sioc/x10sa, 1 host), `epics` and `controls_xtra` (7 node files in sioc/hipa-beamline); data-cocos `epics` (4 node files in daqsync and default), `epics_jenkins` (1 node file in docker_host), `gfa-admin` (1 node file in default). These groups exist in other environments (data-sls, data-hipa, data-gfa), from where the node files were probably copied.
- data-controls `controls.yaml`, group `cas-epics`: the entry `-epics-ext-caTools-links'` has a leading dash and a stray quote; Puppet would try to install a package of that name. The intended name is probably `epics-ext-caTools-links`.
- data-proscan `proscan.yaml`: six entries use `:os=!redhat7` or `:os=!redhat9` instead of `:os!redhat7` / `:os!redhat9`; such a tag matches no release, so these packages are never installed (`python3-qt5-devel`, `qt5-devel`, `qwt-qt5-devel`, `gfa-archutils`, `python3-sphinx`, `qwt-qt5`).
- Keys Puppet does not read: `base::package_groups::login_server` in data-sls `sls.yaml`; `yum_client::pkg_group::*` and `yum_client::package_groups` in data-gfa, data-cryo and one data-cocos node file.
- Defined but listed nowhere: `cas-epics-ioc`, `cas-epics-gui` (data-controls), `gmgt` (data-cocos), `lc_devel` (data-gfa), `archapp` (data-cryo, data-swissfel, data-twlha), `keysight` (data-swissfel).
- Node files whose name does not end in `.psi.ch.yaml` never match a host: one in data-controls `sioc/x11ma/`, one in data-sls_beamlines `console/x10da/`.
- Node files for the same host in two places (96 host names): data-cocos default and data-controls server/cagw (36), data-cocos boot and data-controls server/boot (17), data-controls console/sf-machine and data-swissfel machine (12), data-controls console/sls-office and data-sls office (5), data-cocos cagw and data-controls server/cagw (5), data-cocos warewulf and data-controls server/boot (4), data-sls beamline or cf groups and data-sls_beamlines consoles (10), and 7 single cases.
- Types without node files: 43 of 169, among them 21 in data-controls (18 sioc subgroups, console/sls-rf, server/sls-rf, proscan/mcr), data-gfa archiver and bootpc, and data-swissfel diavolezza, exp-laser and cpci-s.
- data-controls `variable::cpu` and `variable::ram` are `UNKNOWN` everywhere (see [Machine sizes](#machine-sizes)).
- data-controls `.tools/inventory.html` contains an empty inventory (`INVENTORY_DATA = []`), see below.
## Look up or regenerate the data
The existing inventory in data-controls (`.tools/`, run by the Gitea workflow `.gitea/workflows/generate_inventory.yaml` on every push to master):
- `generate_inventory.py` with the `sdk/` package walks the groups `console`, `server`, `sioc` and `cagw`, builds a tree group, subgroup, node with the raw YAML of every level, and writes `inventory.html` (a Vue page). It merges levels with a plain dictionary update, so package groups are overridden instead of merged, and it does not include `common.yaml`. It is started with `.tools` as repository root and therefore finds no groups: the committed `inventory.html` has an empty inventory.
- `generate_overview.py` writes `infrastructure_overview.csv` (Hostname, Type, Subtype, Network, Assignee, CPU, RAM) from `variable::*` keys of the node files in `console`, `server` and `sioc`; it does not read packages.
The tables on this page come from `hiera_packages.py`, a stand-alone script (Python 3, PyYAML) kept with the Documentathon reference tools, not in this repository. It reads all ten data repositories and `puppet/data/common.yaml`, applies the lookup order and merge rules above, and resolves the package list per type and RHEL release:
# all sections as Markdown (snapshot, types, groups, resolved packages, sizes, data quality)
python3 hiera_packages.py --hiera <dir with puppet/ and data-*/>
# the host-name-free tables used on this page
python3 hiera_packages.py --section public
# machine-readable output: types.csv, packages.csv, package_groups.csv, nodes.csv, hiera_packages.json
python3 hiera_packages.py --csv --json --out <output dir>
`nodes.csv` and the JSON file contain host names and are for local lookups only. To check a single host, look up its node file in the data repository and walk the levels shown in the picture above; the commit of each repository is printed at the top of the Markdown output.
@@ -0,0 +1,233 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 792" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>data-controls host types and the package groups they install</title>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="24" y="40" font-size="17" font-weight="600" fill="#1F2328">data-controls: host types and package groups</text>
<text x="24" y="64" font-size="13" fill="#57606A">Hosts = node files in the hiera snapshot. Package groups after merging all hierarchy levels.</text>
<text x="24" y="198" font-size="13" font-weight="600" fill="#57606A">Type</text>
<text x="362" y="198" font-size="13" font-weight="600" fill="#57606A" text-anchor="end">Hosts</text>
<text x="390.0" y="198" font-size="13" fill="#1F2328" transform="rotate(-55 390.0 198)">system_tools</text>
<text x="422.0" y="198" font-size="13" fill="#1F2328" transform="rotate(-55 422.0 198)">cas-common-tools</text>
<text x="454.0" y="198" font-size="13" fill="#1F2328" transform="rotate(-55 454.0 198)">cas-common-python</text>
<text x="486.0" y="198" font-size="13" fill="#1F2328" transform="rotate(-55 486.0 198)">cas-epics</text>
<text x="518.0" y="198" font-size="13" fill="#1F2328" transform="rotate(-55 518.0 198)">cas-console</text>
<text x="550.0" y="198" font-size="13" fill="#1F2328" transform="rotate(-55 550.0 198)">pod_host-tools</text>
<text x="582.0" y="198" font-size="13" fill="#1F2328" transform="rotate(-55 582.0 198)">extra</text>
<text x="614.0" y="198" font-size="13" fill="#1F2328" transform="rotate(-55 614.0 198)">custom</text>
<text x="646.0" y="198" font-size="13" fill="#1F2328" transform="rotate(-55 646.0 198)">boot-server</text>
<text x="678.0" y="198" font-size="13" fill="#1F2328" transform="rotate(-55 678.0 198)">x02da / x02sa</text>
<text x="710.0" y="198" font-size="13" fill="#1F2328" transform="rotate(-55 710.0 198)">BEC</text>
<text x="742.0" y="198" font-size="13" fill="#1F2328" transform="rotate(-55 742.0 198)">mx</text>
<text x="774.0" y="198" font-size="13" fill="#1F2328" transform="rotate(-55 774.0 198)">epics</text>
<text x="806.0" y="198" font-size="13" fill="#1F2328" transform="rotate(-55 806.0 198)">controls_xtra</text>
<rect x="16" y="210" width="848" height="36" fill="#F6F8FA"/>
<text x="24" y="233" font-size="13" fill="#1F2328">console/* (5 subgroups)</text>
<text x="362" y="233" font-size="13" fill="#1F2328" text-anchor="end">21</text>
<rect x="375" y="216" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="407" y="216" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="439" y="216" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="471" y="216" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="503" y="216" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="544.0" y="225.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="576.0" y="225.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="608.0" y="225.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="640.0" y="225.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="672.0" y="225.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="704.0" y="225.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="736.0" y="225.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="768.0" y="225.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="800.0" y="225.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<text x="24" y="269" font-size="13" fill="#1F2328">pod_host/web_apps</text>
<text x="362" y="269" font-size="13" fill="#1F2328" text-anchor="end">12</text>
<rect x="375" y="252" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="416.0" y="261.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="448.0" y="261.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="480.0" y="261.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="512.0" y="261.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="535" y="252" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="567" y="252" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="608.0" y="261.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="640.0" y="261.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="672.0" y="261.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="704.0" y="261.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="736.0" y="261.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="768.0" y="261.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="800.0" y="261.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="16" y="282" width="848" height="36" fill="#F6F8FA"/>
<text x="24" y="305" font-size="13" fill="#1F2328">server/novnc</text>
<text x="362" y="305" font-size="13" fill="#1F2328" text-anchor="end">7</text>
<rect x="375" y="288" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="416.0" y="297.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="448.0" y="297.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="480.0" y="297.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="512.0" y="297.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="544.0" y="297.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="576.0" y="297.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="599" y="288" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="640.0" y="297.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="672.0" y="297.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="704.0" y="297.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="736.0" y="297.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="768.0" y="297.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="800.0" y="297.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<text x="24" y="341" font-size="13" fill="#1F2328">server/boot</text>
<text x="362" y="341" font-size="13" fill="#1F2328" text-anchor="end">21</text>
<rect x="375" y="324" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="416.0" y="333.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="448.0" y="333.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="480.0" y="333.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="512.0" y="333.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="544.0" y="333.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="576.0" y="333.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="608.0" y="333.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="631" y="324" width="22" height="22" rx="5" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="642.0" y="340.0" font-size="13" font-weight="600" fill="#9A6700" text-anchor="middle">4</text>
<rect x="672.0" y="333.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="704.0" y="333.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="736.0" y="333.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="768.0" y="333.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="800.0" y="333.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="16" y="354" width="848" height="36" fill="#F6F8FA"/>
<text x="24" y="377" font-size="13" fill="#1F2328">server/cagw</text>
<text x="362" y="377" font-size="13" fill="#1F2328" text-anchor="end">42</text>
<rect x="375" y="360" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="416.0" y="369.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="448.0" y="369.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="480.0" y="369.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="512.0" y="369.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="544.0" y="369.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="576.0" y="369.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="608.0" y="369.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="640.0" y="369.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="672.0" y="369.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="704.0" y="369.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="736.0" y="369.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="768.0" y="369.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="800.0" y="369.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<text x="24" y="413" font-size="13" fill="#1F2328">server (no subgroup)</text>
<text x="362" y="413" font-size="13" fill="#1F2328" text-anchor="end">5</text>
<rect x="375" y="396" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="416.0" y="405.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="448.0" y="405.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="480.0" y="405.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="512.0" y="405.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="544.0" y="405.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="576.0" y="405.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="608.0" y="405.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="640.0" y="405.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="672.0" y="405.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="704.0" y="405.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="736.0" y="405.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="768.0" y="405.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="800.0" y="405.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="16" y="426" width="848" height="36" fill="#F6F8FA"/>
<text x="24" y="449" font-size="13" fill="#1F2328">sioc/* (34 subgroups)</text>
<text x="362" y="449" font-size="13" fill="#1F2328" text-anchor="end">61</text>
<rect x="375" y="432" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="416.0" y="441.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="448.0" y="441.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="480.0" y="441.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="512.0" y="441.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="544.0" y="441.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="576.0" y="441.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="608.0" y="441.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="640.0" y="441.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="672.0" y="441.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="704.0" y="441.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="736.0" y="441.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="768.0" y="441.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="800.0" y="441.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<text x="24" y="485" font-size="13" fill="#1F2328">sioc/hipa-beamline</text>
<text x="362" y="485" font-size="13" fill="#1F2328" text-anchor="end">8</text>
<rect x="375" y="468" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="416.0" y="477.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="448.0" y="477.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="480.0" y="477.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="512.0" y="477.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="544.0" y="477.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="576.0" y="477.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="608.0" y="477.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="640.0" y="477.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="672.0" y="477.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="704.0" y="477.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="736.0" y="477.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="759" y="468" width="22" height="22" rx="5" fill="#FFEBE9" stroke="#CF222E" stroke-width="1.5"/>
<text x="770.0" y="484.0" font-size="13" font-weight="600" fill="#CF222E" text-anchor="middle">7</text>
<rect x="791" y="468" width="22" height="22" rx="5" fill="#FFEBE9" stroke="#CF222E" stroke-width="1.5"/>
<text x="802.0" y="484.0" font-size="13" font-weight="600" fill="#CF222E" text-anchor="middle">7</text>
<rect x="16" y="498" width="848" height="36" fill="#F6F8FA"/>
<text x="24" y="521" font-size="13" fill="#1F2328">sioc/x01da, sioc/x07ma</text>
<text x="362" y="521" font-size="13" fill="#1F2328" text-anchor="end">0</text>
<rect x="375" y="504" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="416.0" y="513.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="448.0" y="513.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="480.0" y="513.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="512.0" y="513.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="544.0" y="513.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="576.0" y="513.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="608.0" y="513.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="640.0" y="513.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="672.0" y="513.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="695" y="504" width="22" height="22" rx="5" fill="#FFEBE9" stroke="#CF222E" stroke-width="1.5"/>
<text x="706.0" y="520.0" font-size="13" font-weight="600" fill="#CF222E" text-anchor="middle">!</text>
<rect x="736.0" y="513.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="768.0" y="513.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="800.0" y="513.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<text x="24" y="557" font-size="13" fill="#1F2328">sioc/x02da, sioc/x02sa</text>
<text x="362" y="557" font-size="13" fill="#1F2328" text-anchor="end">0</text>
<rect x="375" y="540" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="416.0" y="549.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="448.0" y="549.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="480.0" y="549.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="512.0" y="549.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="544.0" y="549.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="576.0" y="549.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="608.0" y="549.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="640.0" y="549.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="663" y="540" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="704.0" y="549.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="736.0" y="549.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="768.0" y="549.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="800.0" y="549.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="16" y="570" width="848" height="36" fill="#F6F8FA"/>
<text x="24" y="593" font-size="13" fill="#1F2328">sioc/x10sa</text>
<text x="362" y="593" font-size="13" fill="#1F2328" text-anchor="end">1</text>
<rect x="375" y="576" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="416.0" y="585.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="448.0" y="585.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="480.0" y="585.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="512.0" y="585.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="544.0" y="585.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="576.0" y="585.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="608.0" y="585.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="640.0" y="585.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="672.0" y="585.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="704.0" y="585.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="727" y="576" width="22" height="22" rx="5" fill="#FFEBE9" stroke="#CF222E" stroke-width="1.5"/>
<text x="738.0" y="592.0" font-size="13" font-weight="600" fill="#CF222E" text-anchor="middle">!</text>
<rect x="768.0" y="585.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="800.0" y="585.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<text x="24" y="629" font-size="13" fill="#1F2328">default, root level, proscan/mcr, server/sls-rf</text>
<text x="362" y="629" font-size="13" fill="#1F2328" text-anchor="end">3</text>
<rect x="375" y="612" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<rect x="416.0" y="621.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="448.0" y="621.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="480.0" y="621.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="512.0" y="621.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="544.0" y="621.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="576.0" y="621.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="608.0" y="621.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="640.0" y="621.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="672.0" y="621.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="704.0" y="621.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="736.0" y="621.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="768.0" y="621.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="800.0" y="621.0" width="4" height="4" rx="2" fill="#D0D7DE"/>
<rect x="24" y="678" width="22" height="22" rx="5" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="60" y="694" font-size="13" fill="#1F2328">listed for the whole type</text>
<rect x="24" y="708" width="22" height="22" rx="5" fill="#FFF8C5" stroke="#9A6700" stroke-width="1.5"/>
<text x="35" y="724" font-size="13" font-weight="600" fill="#9A6700" text-anchor="middle">4</text>
<text x="60" y="724" font-size="13" fill="#1F2328">listed in node files only (number of hosts)</text>
<rect x="24" y="738" width="22" height="22" rx="5" fill="#FFEBE9" stroke="#CF222E" stroke-width="1.5"/>
<text x="35" y="754" font-size="13" font-weight="600" fill="#CF222E" text-anchor="middle">!</text>
<text x="60" y="754" font-size="13" fill="#1F2328">listed but defined nowhere in the hierarchy: catalog lookup fails (number = hosts)</text>
</svg>

After

Width:  |  Height:  |  Size: 18 KiB

@@ -0,0 +1,56 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 1054" role="img" font-family="Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif">
<title>Hiera lookup order for a Controls console host and how package keys merge</title>
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="#57606A"/></marker></defs>
<rect width="100%" height="100%" rx="12" fill="#FFFFFF" stroke="#D0D7DE"/>
<text x="24" y="40" font-size="17" font-weight="600" fill="#1F2328">Hiera lookup for a host in data-controls, group console, subgroup sf-machine</text>
<text x="24" y="66" font-size="13" fill="#57606A">Order from puppet/hiera.yaml, top is searched first. Right column: what each level contributes to the package keys.</text>
<rect x="24" y="96" width="832" height="72" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="40" y="124" font-size="15" font-weight="600" fill="#1F2328">1 Per node</text>
<text x="40" y="148" font-size="13" fill="#57606A">data-controls/console/sf-machine/sf-cons-NN.psi.ch.yaml</text>
<text x="476" y="138" font-size="13" fill="#1F2328">No package keys in the sf-machine node files</text>
<line x1="224" y1="172" x2="224" y2="204" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<text x="238" y="193" font-size="13" fill="#57606A">key not found: next level</text>
<rect x="24" y="208" width="832" height="72" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="40" y="236" font-size="15" font-weight="600" fill="#1F2328">2 Subgroup</text>
<text x="40" y="260" font-size="13" fill="#57606A">data-controls/console/sf-machine.yaml</text>
<text x="476" y="250" font-size="13" fill="#1F2328">No package keys</text>
<line x1="224" y1="284" x2="224" y2="316" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="24" y="320" width="832" height="72" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="40" y="348" font-size="15" font-weight="600" fill="#1F2328">3 Group</text>
<text x="40" y="372" font-size="13" fill="#57606A">data-controls/console.yaml</text>
<text x="476" y="350" font-size="13" fill="#1F2328">package_groups: cas-common-tools, cas-common-python,</text>
<text x="476" y="370" font-size="13" fill="#1F2328">cas-epics, cas-console; defines cas-console</text>
<line x1="224" y1="396" x2="224" y2="428" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="24" y="432" width="832" height="72" rx="8" fill="#DAFBE1" stroke="#1A7F37" stroke-width="1.5"/>
<text x="40" y="460" font-size="15" font-weight="600" fill="#1F2328">4 Environment</text>
<text x="40" y="484" font-size="13" fill="#57606A">data-controls/controls.yaml</text>
<text x="476" y="462" font-size="13" fill="#1F2328">Defines cas-common-tools, cas-common-python,</text>
<text x="476" y="482" font-size="13" fill="#1F2328">cas-epics (plus cas-epics-ioc, cas-epics-gui, pod_host-tools)</text>
<line x1="224" y1="508" x2="224" y2="540" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="24" y="544" width="832" height="72" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="40" y="572" font-size="15" font-weight="600" fill="#1F2328">5 Per Puppet server</text>
<text x="40" y="596" font-size="13" fill="#57606A">puppet/data/server_&lt;puppetserver&gt;.yaml</text>
<text x="476" y="586" font-size="13" fill="#1F2328">No package keys</text>
<line x1="224" y1="620" x2="224" y2="652" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="24" y="656" width="832" height="72" rx="8" fill="#FFEBE9" stroke="#CF222E" stroke-width="1.5" stroke-dasharray="6 4"/>
<text x="40" y="684" font-size="15" font-weight="600" fill="#1F2328">6 Fast-change global</text>
<text x="40" y="708" font-size="13" fill="#57606A">/srv/puppet/data/global/global.yaml</text>
<text x="476" y="698" font-size="13" fill="#1F2328">Not in the clones: not evaluated here</text>
<line x1="224" y1="732" x2="224" y2="764" stroke="#57606A" stroke-width="1.5" marker-end="url(#ah)"/>
<rect x="24" y="768" width="832" height="72" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="40" y="796" font-size="15" font-weight="600" fill="#1F2328">7 Puppet code defaults</text>
<text x="40" y="820" font-size="13" fill="#57606A">puppet/data/common.yaml</text>
<text x="476" y="798" font-size="13" fill="#1F2328">package_groups: system_tools; defines system_tools;</text>
<text x="476" y="818" font-size="13" fill="#1F2328">package_exclude: 10 RHN / subscription-manager packages</text>
<rect x="24" y="880" width="396" height="150" rx="8" fill="#F6F8FA" stroke="#57606A" stroke-width="1.5"/>
<text x="40" y="910" font-size="15" font-weight="600" fill="#1F2328">Normal keys</text>
<text x="40" y="932" font-size="13" fill="#1F2328">First level that defines the key wins</text>
<text x="40" y="954" font-size="13" fill="#1F2328">(e.g. variable::cpu, python::default_version).</text>
<text x="40" y="976" font-size="13" fill="#1F2328">Hashes such as rpm_repos::tag are deep-merged.</text>
<rect x="460" y="880" width="396" height="150" rx="8" fill="#DDF4FF" stroke="#0969DA" stroke-width="1.5"/>
<text x="476" y="910" font-size="15" font-weight="600" fill="#1F2328">Package keys</text>
<text x="476" y="932" font-size="13" fill="#1F2328">base::package_groups, base::pkg_group::&lt;name&gt;,</text>
<text x="476" y="954" font-size="13" fill="#1F2328">base::package_exclude: union of ALL levels.</text>
<text x="476" y="976" font-size="13" fill="#1F2328">Result for console/sf-machine: 5 groups,</text>
<text x="476" y="998" font-size="13" fill="#1F2328">71 package entries on RHEL9 and on RHEL10.</text>
</svg>

After

Width:  |  Height:  |  Size: 5.6 KiB

+3
View File
@@ -450,6 +450,7 @@ logo = "cas_03_sp"
"3._Knowledge_Center/02_explanations/01_ioc_dev.md",
"3._Knowledge_Center/02_explanations/02_naming_convention.md",
"3._Knowledge_Center/02_explanations/03_facility_maps.md",
"3._Knowledge_Center/02_explanations/04_rundeck.md",
]},
{ "How-To Guides" = [
"3._Knowledge_Center/03_how_to/index.md",
@@ -468,6 +469,7 @@ logo = "cas_03_sp"
"3._Knowledge_Center/03_how_to/13_packetfence.md",
"3._Knowledge_Center/03_how_to/14_caqtdm_panels.md",
"3._Knowledge_Center/03_how_to/15_ioc_platforms.md",
"3._Knowledge_Center/03_how_to/16_configure_MOXA.md",
]},
{ "Troubleshooting" = [
"3._Knowledge_Center/04_troubleshooting/index.md",
@@ -488,6 +490,7 @@ logo = "cas_03_sp"
"3._Knowledge_Center/06_references/01_it_infrastructure.md",
"3._Knowledge_Center/06_references/02_stream_device.md",
"3._Knowledge_Center/06_references/03_opcua.md",
"3._Knowledge_Center/06_references/04_host_types.md",
]},
]