From bd588901ec41b5aa6bdc253cb40d776404ee79f7 Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Thu, 11 May 2023 08:29:26 +0200 Subject: [PATCH] reorganize new RHEL version --- infrastructure-guide/newver.md | 21 --------------------- infrastructure-guide/repo_server.md | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 21 deletions(-) delete mode 100644 infrastructure-guide/newver.md diff --git a/infrastructure-guide/newver.md b/infrastructure-guide/newver.md deleted file mode 100644 index 39ba8067..00000000 --- a/infrastructure-guide/newver.md +++ /dev/null @@ -1,21 +0,0 @@ -**Adding a new RHEL version to the RHEL7 install mechanism** - -Download the iso image on repos.psi.ch from https://id-sat-prd-02.ethz.ch/pub/isos/ and add it to the /packages/rhel[7/8]/iso directory - -The service restart mounts the iso as a loop device into a directory of the same name. - -Then the ipxe and grub templates of the sysdb have to be edited, to add the new version: - -https://git.psi.ch/linux-infra/sysdb/blob/prod/sysdb/ipxe_template.py - -https://git.psi.ch/linux-infra/sysdb/blob/prod/sysdb/grub_template.py - -Once the change is committed, the changes have to be pulled on sysdb.psi.ch: - -``` -[root@sysdb ~]# cd /var/www/sysdb/app/ -[root@sysdb ~]# git pull -[root@sysdb ~]# systemctl restart httpd -``` - -The changes only come live after a restart of the httpd. diff --git a/infrastructure-guide/repo_server.md b/infrastructure-guide/repo_server.md index 21cc5895..0c729452 100644 --- a/infrastructure-guide/repo_server.md +++ b/infrastructure-guide/repo_server.md @@ -1 +1,26 @@ # Repository Server + +The repository server is [lx-repos-01.psi.ch](https://lx-repos-01.psi.ch), usually accessed with the alias [repos.psi.ch](https://repos.psi.ch). + +## Prepare a new RHEL Version for Installation + +Download the iso image on repos.psi.ch from https://id-sat-prd-02.ethz.ch/pub/isos/ and add it to the /packages/rhel\[7/8]/iso directory + +The service restart mounts the iso as a loop device into a directory of the same name. + +Then the ipxe and grub templates of the sysdb have to be edited, to add the new version: + +https://git.psi.ch/linux-infra/sysdb/blob/prod/sysdb/ipxe_template.py + +https://git.psi.ch/linux-infra/sysdb/blob/prod/sysdb/grub_template.py + +Once the change is committed, the changes have to be pulled on sysdb.psi.ch: + +``` +[root@sysdb ~]# cd /var/www/sysdb/app/ +[root@sysdb ~]# git pull +[root@sysdb ~]# systemctl restart httpd +``` + +The changes only come live after a restart of the httpd. +