2.4 Installing OL8.8 and KVM

Perform the following procedure to install Oracle Linux 8.8 OS with HTTP or USB media:

Note:

  • If you’re using a hardware in a remote lab, install Linux remotely on a Windows computer. Ensure that remote Windows machine has the OL 8.8 ISO locally located.
  • The installation process is specific to Oracle Linux OS installations.
  • The Oracle Linux 8.8 release is utilized and validated for the Oracle Linux OS.
  • The snapshot used for this procedure has been taken from ORACLE SERVER X9-2 RMS.
  • This procedure can be executed on any flavor of RMS that require install on OL8.8 and KVM.

Each respective infrastructure must be operational.

Check in every step after completion.

Note:

For any assistance, see My Oracle Support (MOS).
  1. Log in to iLOM as admusr using the following URL: https://<Ipv6 ILOM IP address>.

    Figure 2-14 Log in to iLOM


    Log in to iLOM

  2. To launch the remote console, do the following:
    1. Go to Navigation and select Summary.

      Figure 2-15 Summary


      Navigation to summary

    2. Click Launch that is next to the remote console and click Continue on the JAVA security warning pop-up.

      Figure 2-16 Launch


      Navigation to launch

  3. To install OL 8.8 image through Local USB media

    Note:

    To install OL8.8, if requires HTTP server to start the media. Please skip this step and proceed with Step 4
    1. On the ILOM Console, from the KVMS menu, select the Storage option.
      A window entitled Storage Device will open.

      Figure 2-17 Storage


      Navigation to storage device

    2. Click Add and navigate to the location of the ISO on the local workstation.

      Figure 2-18 Storage device


      Navigation to ISO

    3. Select the ISO and click Select.

      Figure 2-19 Select ISO


      Selection of ISO

    4. The ISO file will now be included in the list of available storage devices. Select it in the Storage Devices window and then click Connect.

      Figure 2-20 Connect


      Navigation to connect

    5. Click OK to confirm and close the window.

      Figure 2-21 Click OK


      Click OK

  4. Install OL 8.8 image through HTTP server.

    Note:

    To install OL8.8, if requires local USB to start the media as mentioned in step 3. Please skip this step and proceed with Step 5
    1. Navigate to Remote Control/Host Storage Device to place the OL 8.8 iso image on the existing HTTP web server and connect it through Server URI in Host Storage Device of iLOM GUI.

      Figure 2-22 Host storage device


      Host storage device

  5. Shut down the server
    1. On the System Summary page click the Turn Off in the Actions Pane.

      Figure 2-23 Turn off


      Turn off

      Note:

      • This will shut down the operating system prior to powering off the host server. Wait for the indicator to signify that the server is powered down before proceeding to the next step.
      • If at any point the internet connection on the local workstation is lost, or the browser being used is closed, and the OSA has not yet been updated, the Oracle System Assistant Updater ISO must be remounted using the previous steps.
  6. Set CDROM as the next boot device.
    1. Under the Host Management tab select the Host Control option. From the drop-down menu for Next Boot Device, select the CDROM option and then click Save

      Figure 2-24 CDROM


      CDROM

  7. Power ON the server
    1. On the System Summary page click the Power State Turn On in the Actions Pane to restart into the Oracle System Assistant Updater ISO.

      Figure 2-25 Power on


      Power on

    2. Click OK when prompted.
  8. Perform the following procedure to install Oracle Linux OS
    1. Navigate to the window that contains the Remote Console. If the window was closed, re-launch the Console in the Actions Pane. The system will restart for installation.
    2. Select install Oracle Linux 8.8 and click Enter.

      Figure 2-26 Install linux


      Install linux

    3. Select Language and Continue.

      Figure 2-27 Language


      Selection of Language

    4. Select Date and Time and then select Done.

      Figure 2-28 Date and time


      Date and time

    5. Select Region as ETC and City as UTC
    6. Select Software selection with the following options:
      1. Basic Environment: Server with GUI
      2. Select the following add-ons on Additional software for Selected Environment:
        • Virtualization Client
        • Virtualization Hypervisor
        • Virtualization Tools
        • Legacy UNIX Compatibility Libraries

        Virtualization Client

    7. Confirm and click Done.
    8. Select Installation Destination
    9. Select 2 hard drives to be installed.
    10. From Other Storage Options, ensure Custom configure partitioning is selected.
    11. Click Done.

      Figure 2-29 Click done


      Click done

      Note:

      Skip to Step 6 if space is available for partitioning.
    12. If there is not enough disk space, check if you can make additional space, on the Other Storage Options.

      Note:

      You may need to check the box with Automatically configure partition, later select Custom Configure.
    13. When you click Done, the following screen will allow you to Delete all, then Reclaim space

      Figure 2-30 Reclaim space


      Reclaim space

    14. Click Done to continue.
    15. Again, select the Installation Destination.
    16. From Other Storage Options, select Custom configure partitioning.
    17. Remove any unknown volume by clicking on Delete .

      Note:

      Skip this step if no unknown volume is present.

      Figure 2-31 Unknown volume


      Unknown volume

      Figure 2-32 Delete


      Delete

    18. Ensure the Available Space = Total Space.
    19. Click on Click here to create them automatically.

      Figure 2-33 Available space


      Available space

      Table 2-3 Manual partitioning

      Partition Size Device Type RAID Level Format (Syatem Default)
      / 70 GiB RAID RAID1 ext4 or xfs
      /boot 1024 MiB RAID RAID1 ext4 or xfs
      /boot/efi 600 MiB RAID RAID1 efi
      /home 3.4 (Remaining all) TiB RAID RAID1 ext4 or xfs
      /swap 8 GiB RAID RAID1 swap

      Figure 2-34 Manual partitioning boot


      Manual partitioning boot

      Figure 2-35 Manual partitioning boot efi


      Manual partitioning boot

      Figure 2-36 Manual partitioning boot


      Manual partitioning

      Figure 2-37 Manual partitioning root


      Manual partitioning root

      Figure 2-38 Manual partitioning swap


      Manual partitioning swap

      Figure 2-39 Destroy device


      Destroy device

    20. Select and enter information for root password.

      Figure 2-40 Root password


      Root password

    21. Select and enter information for User Creation.

      Figure 2-41 User creation


      User creation

      Figure 2-42 User example


      User example

  9. Click Begin Installation

    Figure 2-43 Begin installation


    Begin installation

    Figure 2-44 Starting package installation progress


    Starting package installation progress

  10. Reboot after installation
    1. When OL8.x installation is complete, you are prompted to reboot server and start OL8.x.

      Figure 2-45 Installation progress


      Installation progress

  11. Select License
    1. Check in the box I accept the license agreement to accept the license.

      Figure 2-46 License


      License

    2. License will change to Accepted.

      Figure 2-47 Licence acceptance


      Licence acceptance

    3. Select FINISH CONFIGURATION to complete.

      Figure 2-48 License Configuration


      License Configuration

  12. Verify kernel version and KVM version:
    1. Open terminal console window and verify the following commands in the code:
      1. $ uname -a
      2. $ virsh version
      
      cat /etc/os-release
      NAME="Oracle Linux Server"
      VERSION="8.8"
      ID="ol"
      ID_LIKE="fedora"
      VARIANT="Server"
      VARIANT_ID="server"
      VERSION_ID="8.8"
      PLATFORM_ID="platform:el8"
      PRETTY_NAME="Oracle Linux Server 8.8"
      ANSI_COLOR="0;31"
      CPE_NAME="cpe:/o:oracle:linux:8:8:server"
      HOME_URL="https://linux.oracle.com/"
      BUG_REPORT_URL="https://bugzilla.oracle.com/"
      ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
      ORACLE_BUGZILLA_PRODUCT_VERSION=8.8
      ORACLE_SUPPORT_PRODUCT="Oracle Linux"
      ORACLE_SUPPORT_PRODUCT_VERSION=8.8
      [2:49 PM] Linux sentinel6-6 5.15.0-101.103.2.1.el8uek.x86_64 #2 SMP Mon May 1 20:11:30 PDT 2023 x86_64 x86_64 x86_64 GNU/Linux
      Using library: libvirt 8.0.0
      Using API: QEMU 8.0.0
      Running hypervisor: QEMU 6.2.0
      Linux sentinel6-6 5.15.0-101.103.2.1.el8uek.x86_64
  13. Disconnect the ISO from storage if Step 3 is followed, if not skip the following step From ILOM Console, Go to KVMS/Storage, select the ISO and then select disconnect.