Update documentation to reflect current infrastructure

This commit is contained in:
2023-04-26 16:35:47 +02:00
parent 200a58bf56
commit 284b636c55
22 changed files with 55 additions and 1003 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ use the internal one.
Source Destination (internal) Destination (external) Ports Purpose
------- ----------------------- ---------------------- ------------- --------------------
any puppet01 puppet01 8080, 8140 Puppet
any repo00 repo00 80, 443 Software Packages
any repos.psi.ch repos.psi.ch 80, 443 Software Packages
======= ======================= ====================== ============= ====================
@@ -5,7 +5,7 @@ participant "BIOS Node\n(legacy boot)" as bootnode
participant "QIP DHCP" as dhcp
participant "boot.psi.ch" as pxeserver
participant "sysdb.psi.ch" as sysdb
participant "repo00.psi.ch" as reposerver
participant "repos.psi.ch" as reposerver
admin -> bootnode : boots up
@@ -5,7 +5,7 @@ participant "UEFI Node" as bootnode
participant "QIP DHCP" as dhcp
participant "boot.psi.ch" as pxeserver
participant "sysdb.psi.ch" as sysdb
participant "repo01.psi.ch" as reposerver
participant "repos.psi.ch" as reposerver
admin -> bootnode : boots up
+3 -2
View File
@@ -17,11 +17,12 @@ other for production, with the following hostnames:
+--------------------+----------------+-----------------+
| Role | testing host | production host |
+====================+================+=================+
| boot server | - | boot.psi.ch |
| sysdb server | - | sysdb.psi.ch |
+--------------------+----------------+-----------------+
| puppet server | puppet00-test | puppet01 |
+--------------------+----------------+-----------------+
| repository server | repo00-test | repo00 |
| repository server | - | repos.psi.ch |
+--------------------+----------------+-----------------+
The Sysdb Server
@@ -49,7 +50,7 @@ The service that provides clones of different repositories (RHEL,
Puppetlabs, Google Chrome) plus some internally developed ones for
specific products (eg. GPFS).
You can reach the production one at: `<http://repo00.psi.ch/el7/>`_.
You can reach the production one at: `<https://repos.psi.ch/rhel7/>`_.
Deployment of an infrastructure server
======================================
+8 -8
View File
@@ -12,16 +12,16 @@ https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/in
```
[root@repo01 tmp]# cd /tmp
[root@repo01 tmp]# curl -OL http://repos.psi.ch/rhel9/iso/rhel-baseos-9.1-x86_64-dvd/BaseOS/Packages/shim-x64-15.6-1.el9.x86_64.rpm
[root@ tmp]# cd /tmp
[root@ tmp]# curl -OL http://repos.psi.ch/rhel9/iso/rhel-baseos-9.1-x86_64-dvd/BaseOS/Packages/shim-x64-15.6-1.el9.x86_64.rpm
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 471k 100 471k 0 0 92.0M 0 --:--:-- --:--:-- --:--:-- 92.0M
[root@repo01 tmp]# curl -LO http://repos.psi.ch/rhel9/iso/rhel-baseos-9.1-x86_64-dvd/BaseOS/Packages/grub2-efi-x64-2.06-46.el9.x86_64.rpm
[root@lx-repos-01 tmp]# curl -LO http://repos.psi.ch/rhel9/iso/rhel-baseos-9.1-x86_64-dvd/BaseOS/Packages/grub2-efi-x64-2.06-46.el9.x86_64.rpm
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1333k 100 1333k 0 0 8550k 0 --:--:-- --:--:-- --:--:-- 8550k
[root@repo01 tmp]# rpm2cpio shim-x64-15.6-1.el9.x86_64.rpm | cpio -dimv
[root@ tmp]# rpm2cpio shim-x64-15.6-1.el9.x86_64.rpm | cpio -dimv
./boot/efi/EFI/BOOT/BOOTX64.EFI
./boot/efi/EFI/BOOT/fbx64.efi
./boot/efi/EFI/redhat/BOOTX64.CSV
@@ -30,7 +30,7 @@ https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/in
./boot/efi/EFI/redhat/shimx64-redhat.efi
./boot/efi/EFI/redhat/shimx64.efi
9232 blocks
[root@repo01 tmp]# rpm2cpio grub2-efi-x64-2.06-46.el9.x86_64.rpm | cpio -dimv
[root@ tmp]# rpm2cpio grub2-efi-x64-2.06-46.el9.x86_64.rpm | cpio -dimv
./boot/efi/EFI/redhat/grubx64.efi
./boot/grub2/fonts
./boot/grub2/fonts/unicode.pf2
@@ -40,9 +40,9 @@ https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/in
./etc/grub2-efi.cfg
./etc/grub2.cfg
9612 blocks
[root@repo01 tmp]# ls boot/efi/EFI/redhat/
[root@ tmp]# ls boot/efi/EFI/redhat/
BOOTX64.CSV grubx64.efi mmx64.efi shim.efi shimx64.efi shimx64-redhat.efi
[root@repo01 tmp]# ls -la boot/efi/EFI/redhat/
[root@ tmp]# ls -la boot/efi/EFI/redhat/
total 6088
drwxr-xr-x. 2 root root 122 Mar 1 16:16 .
drwxr-xr-x. 4 root root 32 Mar 1 16:16 ..
@@ -52,7 +52,7 @@ drwxr-xr-x. 4 root root 32 Mar 1 16:16 ..
-rwx------. 1 root root 946736 Jun 7 2022 shim.efi
-rwx------. 1 root root 946736 Jun 7 2022 shimx64.efi
-rwx------. 1 root root 938808 Jun 7 2022 shimx64-redhat.efi
[root@repo01 tmp]#
[root@ tmp]#
```
+1 -1
View File
@@ -23,7 +23,7 @@ Setting up bob
The `bob` tool is already set up on `lxsup00.psi.ch`.
You might connect with `ssh` and use it from there.
Altenatively you many have on your workstation a local copy of `bob`. This can be done by installing the RPM from the pli-misc repository - https://repo00.psi.ch/el7/manual/pli-misc/
Altenatively you many have on your workstation a local copy of `bob`. This can be done by installing the RPM from the pli-misc repository - https://repos.psi.ch/rhel7/latest/pli-misc/
You might need to set a `PSI_BOB_USER` environment variable (`export PSI_BOB_USER=<you-name-it>`) or use the option `--user` if your local user is different from
the one on sysdb.
+2 -2
View File
@@ -38,7 +38,7 @@ Description of the package repository.
URL where the repository is available from, e.g.::
https://repo01.psi.ch/el8/tags/$pli_repo_tag/epel/
https://repos.psi.ch/rhel8/tags/$pli_repo_tag/epel/
``gpgkey``
@@ -46,7 +46,7 @@ URL where the repository is available from, e.g.::
URL or file path where the signing GPG key is available from, e.g.::
https://repo01.psi.ch/el8/keys/RPM-GPG-KEY-EPEL-8
https://repos.psi.ch/rhel8/keys/RPM-GPG-KEY-EPEL-8
``gpgcheck``
@@ -35,8 +35,8 @@ Example::
rpm_repos::repo::epel_rhel8:
name: 'epel'
descr: "Extra Packages for Enterprise Linux 8"
baseurl: 'https://repo01.psi.ch/el8/tags/$pli_repo_tag/epel/'
gpgkey: 'https://repo01.psi.ch/el8/keys/RPM-GPG-KEY-EPEL-8'
baseurl: 'https://repos.psi.ch/rhel8/tags/$pli_repo_tag/epel/'
gpgkey: 'https://repos.psi.ch/rhel8/keys/epel.gpg'
disable: false
gpgcheck: true
osversion: 8
@@ -46,7 +46,7 @@ Example::
rpm_repos::repo::epel_rhel7:
name: 'epel'
descr: "Extra Packages for Enterprise Linux 7"
baseurl: 'https://repo00.psi.ch/el7/tags/$pli_repo_tag/epel/'
baseurl: 'https://repos.psi.ch/rhel7/tags/$pli_repo_tag/epel/'
disable: false
gpgcheck: false
osversion: 7
+1 -2
View File
@@ -58,8 +58,7 @@ We maintain an internal mirror for every repository that we use, or at least a
local repository containing the specific packages. We never point ``yum.conf``
(or any other package manager) to an external repository directly.
The repository server is ``repo00.psi.ch``, and there is a corresponding test
system, ``repo00-test.psi.ch``.
The repository server is ``repos.psi.ch``.
Currently we maintain the following repositories: