3. Setup Operator Node [OCNE1.7]

Puneeth Prakash
2 min readSep 29, 2023

--

The operator node is used to perform an installation of Oracle Cloud Native Environment and a Kubernetes cluster.

  1. Install the oracle-olcne-release-el8 release package: (on all nodes)
sudo dnf -y install oracle-olcne-release-el8

2. Check the kernel version used in Oracle Linux : (on all nodes)

Check your OS release :
cat/etc/os-release
Get the Default Kernel set:
sudo grubby --default-kernel
Check the Kernel used by OS:
uname -r

[opc@operator ~]$ cat /etc/os-release
NAME=”Oracle Linux Server”
VERSION=”8.6"
ID=”ol”
ID_LIKE=”fedora”
VARIANT=”Server”
VARIANT_ID=”server”
VERSION_ID=”8.6"
PLATFORM_ID=”platform:el8"
PRETTY_NAME=”Oracle Linux Server 8.6"
ANSI_COLOR=”0;31"
CPE_NAME=”cpe:/o:oracle:linux:8:6: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.6
ORACLE_SUPPORT_PRODUCT=”Oracle Linux”
ORACLE_SUPPORT_PRODUCT_VERSION=8.6

[opc@operator ~]$ sudo grubby — default-kernel
/boot/vmlinuz-4.18.0–372.13.1.0.1.el8_6.x86_64

[opc@operator ~]$ uname -r
4.18.0–372.13.1.0.1.el8_6.x86_64

Have a look at the following blog which has information on the OS version, default, and supported Kernel versions :
https://blogs.oracle.com/scoter/post/oracle-linux-and-unbreakable-enterprise-kernel-uek-releases

Screenshot from https://blogs.oracle.com/scoter/post/oracle-linux-and-unbreakable-enterprise-kernel-uek-releases

Example of a UEK Kernel:
uname -r
5.4.17–2012.201.3.el8uek.x86_64

Example of RHCK Kernel:
4.18.0–372.13.1.0.1.el8_6.x86_64

3. Enable YUM repo based on the Kernel used in your host: (on all nodes)

Enable YUM repository for hosts running on UEK R7:

sudo dnf config-manager --enable ol8_olcne17 ol8_addons ol8_baseos_latest ol8_appstream ol8_kvm_appstream ol8_UEKR7

Enable YUM repository for hosts running on UEK R6:

sudo dnf config-manager --enable ol8_olcne17 ol8_addons ol8_baseos_latest ol8_appstream ol8_kvm_appstream ol8_UEKR6

Enable YUM repository for hosts running on RHCK:

sudo dnf config-manager --enable ol8_olcne17 ol8_addons ol8_baseos_latest ol8_appstream ol8_kvm_appstream

4. Disable the yum repositories for previous Oracle Cloud Native Environment releases. (on all nodes)

sudo dnf config-manager --disable ol8_olcne16 ol8_olcne15 ol8_olcne14 ol8_olcne13 ol8_olcne12

5. Check if any developer yum repositories are enabled : (on all nodes)

sudo dnf repolist --enabled | grep developer

Disable any developer repositories returned in the previous command : (on all nodes)

sudo dnf config-manager --disable ol8_developer

6. Install olcnectl package : (on Operator Node)

sudo dnf install olcnectl

--

--

Puneeth Prakash
Puneeth Prakash

Written by Puneeth Prakash

I work as a Subject Matter Expert in FMW at Oracle. This blogging space is to share my learning experiences. Views expressed here are solely my own.

No responses yet