User Tools

Site Tools


tasks:installing_new_arm_machines

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tasks:installing_new_arm_machines [2021/01/21 13:42]
akraitman created
tasks:installing_new_arm_machines [2021/01/21 19:46] (current)
akraitman [Step 1: Add those setting to the relevant group_vars machines file (for example ceph-sepia-secrets/ansible/inventory/group_vars/confusa.yml)]
Line 1: Line 1:
 ===== Installing New ARM Machines ===== ===== Installing New ARM Machines =====
 This procedure should be followed when installing ARM type machines with cobbler. This procedure should be followed when installing ARM type machines with cobbler.
-The reason for doing so is since cobbler doesn'​t support installing using efi, we will need to create a menuentry in grub.conf with the required settings  ​+The reason for doing so is since cobbler doesn'​t support installing using uefi, we will need to create a menuentry in grub.conf with the required settings  ​ 
 + 
 +==== Step 1: Add those setting to the relevant group_vars machines file (for example ceph-sepia-secrets/​ansible/​inventory/​group_vars/​confusa.yml) ==== 
 + 
 +   ​dhcp_next_server:​ 172.21.0.11 
 +   ​dhcp_filename:​ "/​pxelinux.0"​ 
 + 
 +And run the dhcp ansible role  
 + 
 + 
 +==== Step 2: Update grub.conf and create the menuentry ==== 
 + 
 +Add Menuentry to /​var/​lib/​tftpboot/​aarch64/​grub.conf with the relevant OS type/​version settings that you want to install your machines with 
 + 
 +For example: 
 +        menuentry '​Install CentOS 8.3 on confusa'​ --class red --class gnu-linux --class gnu --class os { 
 +        linux /​aarch64/​centos8.3/​vmlinuz inst.stage2=http://​mirror.linux.duke.edu/​centos/​8.3.2011/​BaseOS/​aarch64/​os/​ inst.ks=http://​172.21.0.11/​cblr/​svc/​op/​ks/​profile/​Centos-7.9-arm text console=tty0  
 +        initrd /​aarch64/​centos8.3/​initrd.img 
 + 
 +*   ​Sometimes we will need to first install one machine without a kickstart file and then create a new kickstart to fit the installation we want to do for the rest of the machines 
 + 
 +*   We can add our new kickstart file to /​var/​lib/​cobbler/​kickstarts and the set one of the cobbler profile to use it so that we will be able to use it in our installation as we see in the example above 
 + 
 +==== Step 3: Downloading the boot files (Can be found in the installation image) ==== 
 + 
 +Add the vmlinuz & initrd.img(RHEL Distro'​s) / linux & initrd.gz(Debian Distro'​s) to /​var/​lib/​tftpboot/​aarch64/​os-folder/​ 
 + 
 + 
 +==== Step 4: Boot your machine to PXE boot And finish the installation ==== 
 + 
 +Boot to PXE boot, choose the relevant entry you created in Step 2 and finish the installation 
 + 
 + 
  
-==== Step 1: Ansible Inventory ==== 
tasks/installing_new_arm_machines.1611236547.txt.gz · Last modified: 2021/01/21 13:42 by akraitman