diff --git a/_toc.yml b/_toc.yml index 4ce0aa17..9003612e 100644 --- a/_toc.yml +++ b/_toc.yml @@ -102,6 +102,7 @@ chapters: - file: infrastructure-guide/lxsup00 - file: infrastructure-guide/infrastructure_administration - file: infrastructure-guide/troubleshooting + - file: initial_setup - file: rhel8/index sections: diff --git a/infrastructure-guide/initial_setup.md b/infrastructure-guide/initial_setup.md new file mode 100644 index 00000000..2a809131 --- /dev/null +++ b/infrastructure-guide/initial_setup.md @@ -0,0 +1,43 @@ +# Initial Infrastructure Setup + +This document describes the steps needed for the initial infrastructure setup (in case everything needs to be bootstrapped from scratch) + +This would be the sequence the systems need to be set up: +- lx-boot-xx (boot.psi.ch, boot-dmz.psi.ch) +- lx-repos-xx (repos.psi.ch, repos-dmz.psi.ch) +- lx-sysdb-xx (sysdb.psi.ch) +- lx-puppet-xx (puppet.psi.ch) + +The steps involved to bootstrap the boot server and the repository server are the following: + +1. Create the VM in vcenter (Make sure secure boot is disabled!) +1. Get the latest RedHat RHEL iso from somewhere (i.e. ETH Redhat Satellite) + - There are two ISOs, one ~900MB and one ~11GB (RHEL8). The smaller one is able to boot and start the installation of the system, however it requires a network based repository for the installation (i.e. the content of the unpacked ISO need to be available via http(s)) + With the bigger one the system can be completely installed. + +1. Generate a kickstart file for the system in the https://git.psi.ch/linux-infra/bootstrap repository + - For the DMZ server the ip of the DNS server needs to be different in DMZ `--nameserver=192.168.70.5` + +1. Create a new iso including the generated kickstart file via + ``` + mkksiso lx-boot-dmz-01.psi.ch.ks rhel-8.7-x86_64-boot.iso lx-boot-dmz-01-rhel-8.7-x86_64-boot.iso + ``` + +1. Remote Login (via RDP) to vmsmgt.psi.ch and mount the ISO to the VM + + 1. Make the generated iso accessible to the machine vmsmgt.psi.ch + + 1. Open vcenter.psi.ch in the browser, search the virtual machine you want to mount the ISO to. Click on __Launch Remote Console__ + ![](launch_remote_console.png) + + 1. This will open the VMWare Remote Console program. To mount the ISO do the following: + ![](mount_iso_menu.png) + ![](mount_iso.png) + + 1. Start the VM to trigger the install + +## References +- https://weldr.io/lorax/mkksiso.html +- https://access.redhat.com/solutions/60959 + + diff --git a/infrastructure-guide/launch_remote_console.png b/infrastructure-guide/launch_remote_console.png new file mode 100644 index 00000000..e01dddc4 Binary files /dev/null and b/infrastructure-guide/launch_remote_console.png differ diff --git a/infrastructure-guide/mount_iso.png b/infrastructure-guide/mount_iso.png new file mode 100644 index 00000000..1fc65d8b Binary files /dev/null and b/infrastructure-guide/mount_iso.png differ diff --git a/infrastructure-guide/mount_iso_menu.png b/infrastructure-guide/mount_iso_menu.png new file mode 100644 index 00000000..3c9a69e6 Binary files /dev/null and b/infrastructure-guide/mount_iso_menu.png differ