add info for the very initial bootstrap of the boot and repo machines
This commit is contained in:
1
_toc.yml
1
_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:
|
||||
|
||||
43
infrastructure-guide/initial_setup.md
Normal file
43
infrastructure-guide/initial_setup.md
Normal file
@@ -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__
|
||||

|
||||
|
||||
1. This will open the VMWare Remote Console program. To mount the ISO do the following:
|
||||

|
||||

|
||||
|
||||
1. Start the VM to trigger the install
|
||||
|
||||
## References
|
||||
- https://weldr.io/lorax/mkksiso.html
|
||||
- https://access.redhat.com/solutions/60959
|
||||
|
||||
|
||||
BIN
infrastructure-guide/launch_remote_console.png
Normal file
BIN
infrastructure-guide/launch_remote_console.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 113 KiB |
BIN
infrastructure-guide/mount_iso.png
Normal file
BIN
infrastructure-guide/mount_iso.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 349 KiB |
BIN
infrastructure-guide/mount_iso_menu.png
Normal file
BIN
infrastructure-guide/mount_iso_menu.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 213 KiB |
Reference in New Issue
Block a user