From efe9024e6d564a752208fa2888409b4ab0d8fa6a Mon Sep 17 00:00:00 2001 From: ebner Date: Thu, 8 Aug 2024 13:07:25 +0200 Subject: [PATCH] reshuffling --- _toc.yml | 8 ++-- admin-guide/deployment/basic_installation.md | 12 +++++- .../{consoles.md => console_installation.md} | 2 +- .../{dmz.md => dmz_installation.md} | 2 +- admin-guide/deployment/partitioning.md | 38 ------------------- .../{reinstall.md => re_installation.md} | 2 +- rhel8/index.md | 13 +++++++ 7 files changed, 31 insertions(+), 46 deletions(-) rename admin-guide/deployment/{consoles.md => console_installation.md} (98%) rename admin-guide/deployment/{dmz.md => dmz_installation.md} (99%) delete mode 100644 admin-guide/deployment/partitioning.md rename admin-guide/deployment/{reinstall.md => re_installation.md} (98%) diff --git a/_toc.yml b/_toc.yml index 335355aa..0c44c02b 100644 --- a/_toc.yml +++ b/_toc.yml @@ -30,10 +30,10 @@ chapters: - file: admin-guide/deployment sections: - file: admin-guide/deployment/basic_installation - - file: admin-guide/deployment/reinstall - - file: admin-guide/deployment/partitioning - - file: admin-guide/deployment/consoles - - file: admin-guide/deployment/dmz + - file: admin-guide/deployment/re_installation + - file: admin-guide/deployment/console_installation + - file: admin-guide/deployment/dmz_installation + - file: admin-guide/configuration sections: - file: admin-guide/configuration/icinga2 diff --git a/admin-guide/deployment/basic_installation.md b/admin-guide/deployment/basic_installation.md index 0b9d2f00..e92c3026 100644 --- a/admin-guide/deployment/basic_installation.md +++ b/admin-guide/deployment/basic_installation.md @@ -79,4 +79,14 @@ bob node set-attr lx-test-02.psi.ch kernel_cmdline=inst.dd=https://linuxsoft.cer #### Custom Partitioning -Please check out the [Partitioning page](partitioning). +Partitions system are configured with a standard schema using LVM, so that they can be possibly changed afterwards. + +By default the whole space available on the first block device is used and any existing partition is removed. + +Alternatively you might set the sysdb attribute `system_disk` with the device name of the disk which should be used instead:: + +```bash +bob node set-attr $FQDN system_disk=md126 +``` + +It is also possible to customize the partitioning by using the `partitions` attribute on sysdb. See https://git.psi.ch/linux-infra/bob for more details. diff --git a/admin-guide/deployment/consoles.md b/admin-guide/deployment/console_installation.md similarity index 98% rename from admin-guide/deployment/consoles.md rename to admin-guide/deployment/console_installation.md index 0f8a9d9c..10fe3137 100644 --- a/admin-guide/deployment/consoles.md +++ b/admin-guide/deployment/console_installation.md @@ -1,4 +1,4 @@ -# Console Deployment +# Console Installation ## Overview A console is a multi user system (ideally running on standard hardware) with a graphical desktop. The individual users do not have admin rights on the system and all configuration and packages must be deployed by puppet (ensuring reproducibility and fast re-installation in case of hardware failures, etc.) diff --git a/admin-guide/deployment/dmz.md b/admin-guide/deployment/dmz_installation.md similarity index 99% rename from admin-guide/deployment/dmz.md rename to admin-guide/deployment/dmz_installation.md index 76f5f187..c4b2ae96 100644 --- a/admin-guide/deployment/dmz.md +++ b/admin-guide/deployment/dmz_installation.md @@ -1,4 +1,4 @@ -# DMZ Deployment +# DMZ Installation The deployment in the DMZ ist the basically the same as [internaly](basic_installation), but there are a few points to consider: diff --git a/admin-guide/deployment/partitioning.md b/admin-guide/deployment/partitioning.md deleted file mode 100644 index 8fa14766..00000000 --- a/admin-guide/deployment/partitioning.md +++ /dev/null @@ -1,38 +0,0 @@ -# Partitioning - -Partitions system are configured with a standard schema using LVM, so that they can be possibly changed afterwards. - -By default the whole space available on the first block device is used and any existing partition is removed. - -Alternatively you might set the sysdb attribute `system_disk` with the device name of the disk which should be used instead:: - -```bash -bob node set-attr $FQDN system_disk=md126 -``` - -It is also possible to customize the partitioning by using the `partitions` attribute on sysdb. See https://git.psi.ch/linux-infra/bob for more details. - - -## RHEL7 -The default partition schema for RHEL7 is: - -- create one primary ``/boot`` partition of 1Gb; -- create the ``vg_root`` Volume Group that uses the rest of the disk; -- on ``vg_root`` create the following logical volumes: - - ``lv_root`` of 12 Gb size for ``/root``; - - ``lv_var`` of 8 Gb size for ``/var``; - - ``lv_var_log`` of 2 Gb size for ``/var/log``; - - ``lv_tmp`` of 2 Gb size for ``/tmp``. - -## RHEL8 -The default partition schema for RHEL8 is: - -- create one primary ``/boot`` partition of 1Gb; -- create the ``vg_root`` Volume Group that uses the rest of the disk; -- on ``vg_root`` create the following logical volumes: - - ``lv_root`` of 14 Gb size for ``/root``; - - ``lv_home`` of 2 Gb size for ``/home``; - - ``lv_var`` of 8 Gb size for ``/var``; - - ``lv_var_log`` of 3 Gb size for ``/var/log``; - - ``lv_var_tmp`` of 2 Gb size for ``/var/log``; - - ``lv_tmp`` of 2 Gb size for ``/tmp``. diff --git a/admin-guide/deployment/reinstall.md b/admin-guide/deployment/re_installation.md similarity index 98% rename from admin-guide/deployment/reinstall.md rename to admin-guide/deployment/re_installation.md index 4b439769..f6fcd830 100644 --- a/admin-guide/deployment/reinstall.md +++ b/admin-guide/deployment/re_installation.md @@ -1,4 +1,4 @@ -# Reinstallation +# Re-Installation diff --git a/rhel8/index.md b/rhel8/index.md index 886d2ccf..ab57deab 100644 --- a/rhel8/index.md +++ b/rhel8/index.md @@ -22,6 +22,19 @@ Bugs and issues can be reported in the [Linux project in JIRA](https://jira.psi. * [Hardware Compatibility](hardware_compatibility) * [Vendor Documentation](vendor_documentation) +## Disk Layout +The default partition schema for RHEL8 is: + +- create one primary ``/boot`` partition of 1Gb; +- create the ``vg_root`` Volume Group that uses the rest of the disk; +- on ``vg_root`` create the following logical volumes: + - ``lv_root`` of 14 Gb size for ``/root``; + - ``lv_home`` of 2 Gb size for ``/home``; + - ``lv_var`` of 8 Gb size for ``/var``; + - ``lv_var_log`` of 3 Gb size for ``/var/log``; + - ``lv_var_tmp`` of 2 Gb size for ``/var/log``; + - ``lv_tmp`` of 2 Gb size for ``/tmp``. + ## Caveats ### Missing or Replaced Packages