From 5f04ee715c9b7cd372035c8cb73c9e007856254f Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Thu, 4 Jan 2024 17:03:11 +0100 Subject: [PATCH] document test systems and their intent --- _toc.yml | 1 + admin-guide/troubleshooting/boot.md | 2 ++ infrastructure-guide/test_systems.md | 54 ++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 infrastructure-guide/test_systems.md diff --git a/_toc.yml b/_toc.yml index 1f7c1621..f2841c7d 100644 --- a/_toc.yml +++ b/_toc.yml @@ -135,6 +135,7 @@ chapters: - file: infrastructure-guide/infrastructure_administration - file: infrastructure-guide/troubleshooting - file: infrastructure-guide/initial_setup + - file: infrastructure-guide/test-systems - file: rhel8/index sections: diff --git a/admin-guide/troubleshooting/boot.md b/admin-guide/troubleshooting/boot.md index 903e1d84..48d8da06 100644 --- a/admin-guide/troubleshooting/boot.md +++ b/admin-guide/troubleshooting/boot.md @@ -22,6 +22,8 @@ To change the serial port settings the VM needs to be shut down. Then edit the V The serial port should then be connected to a file on the datastore `serial_console`: ![Serial Port Settings](boot/serial_port_settings.png) +At the moment we have this setup for `lxdev06`, `lxdev07` and `lxdev08` already prepared. + These files then can be accessed over `lxsup.psi.ch:/data/serial_console`. ## Send Grub Output to Serial Port diff --git a/infrastructure-guide/test_systems.md b/infrastructure-guide/test_systems.md new file mode 100644 index 00000000..e5f2eec9 --- /dev/null +++ b/infrastructure-guide/test_systems.md @@ -0,0 +1,54 @@ +# Test Systems +List of test nodes and the idea behind. + +## Core Linux Infrastructure Systems + +- sysdb-test.psi.ch aka lx-sysdb-test-01.psi.ch as test Sysdb server +- puppet00-test.psi.ch as test Puppet server + +On these systems there is currently only the [`lxdev` sysdb environment](https://git.psi.ch/linux-infra/hiera/data-lxdev) available/configured. + +To get a node to boot into the test setup, you need a special network boot configuration for grub in the [`network-boot` repo](https://git.psi.ch/linux-infra/network-boot). +Best do in `grub.d` a symlink from the full qualified hostname to `use-sysdb-test`. +Then in the root directory you need another symlink from `grub.cfg-01-$MAC` (use dashes instead of colons to separte the MAC address bytes) to the symlink with your hostname in `grub.d`. This last file is looked up by grub during network boot. The symlink cascade is to know what MAC address belongs to what host and what is the intend of the special configuration. + +## Icinga2 Test Server + +Here we mostly deal with the master: + +- Primary [vmonma02a.psi.ch](vmonma02a.psi.ch) (with Director) +- Secondary [vmonma02b.psi.ch](vmonma02b.psi.ch) + +The schema with all nodes of the test setup you find in the [Monitoring Environment Slides](https://monitoring.psi.ch/icingaweb2/psi-help/pdfs/MonitoringIcinga2.pdf) page 3. + +## Test RHEL Nodes + +This system are in the [`lxdev` sysdb environment](https://git.psi.ch/linux-infra/hiera/data-lxdev). + +Here we have minimal configuration (`noconfig`) to test the default setup and a more extensive configuration (`muchconfig`) to have a test bed with more complex settings. + +### `noconfig` Servers +- `lxdev00.psi.ch` running RHEL7 +- `lxdev01.psi.ch` running RHEL8 with managed network configuration and static IP automatically read from DNS +- `lxdev02.psi.ch` running RHEL9 with managed network configuration and static IP automatically read from DNS + +### `noconfig` Workstations +- `lxdev03` running RHEL7 +- `lxdev04` running RHEL8 +- `lxdev05` running RHEL9 + +### `muchconfig` Workstations +- `lxdev6` running RHEL7 +- `lxdev7` running RHEL8 +- `lxdev8` running RHEL9 + +All of these have a serial port added to the virtual hardware and the output of it is sent to a file which is accessible on `lxsup.psi.ch` on `/data/serial_console/` + +Then each of these hosts can monitor the network traffic of the two other hosts. The interface `ens224` will get a copy of the network traffic from the lower of the other two hosts, whereas the interface `ens256` gets the traffic of the node with the bigger number. + +## Test DMZ Nodes + +This system are in the normal production [`lx` sysdb environment](https://git.psi.ch/linux-infra/hiera/data-lx) in the `dmz` puppet group: +- `lx-test-dmz-01.psi.ch` +- `lx-test-dmz-02.psi.ch` +