Sponsored Content
Operating Systems Linux Red Hat How to switch back from Oracle Kernel to RedHat? Post 303022844 by prvnrk on Saturday 8th of September 2018 11:19:39 AM
Old 09-08-2018
Thanks Neo for your reply.

It's a production machine and what we did was a fresh install of Oracle 12 (not upgrade). I do have backup but restoring backup is going to need me to install/configure Oracle again.

There's no problem with server except for it is running Oracle Kernel instead of Redhat's which resulted the server to become UNsupported (by Redhat). As per our company policy, all machines must be supported by Redhat only.

There're lot of prerequisites to fulfill for Oracle installation on RHEL but Oracle offers an RPM (mentioned above) does it by itself everything but also it also does few extra things like changing RHEL kernel to Oracle, pointing server to Oracle Repositories for future updates etc. Now that its running oracle kernel it is NOT supported by Redhat and I would like to know how can I switch from Oracle kernel to RHEL kernel without breaking anything.


Code:
[root@lnxoraprod02 ~]#   cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/mapper/SystemVG-rootLV
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
password --encrypted $1$d.7ueHQC$Ws5Ng6pSgmuTpWpNMorHT0
title Oracle Linux Server 7.5, with Linux 3.10.0-862.11.6.el7.x86_64
        root (hd0,0)
        kernel /vmlinuz-3.10.0-862.11.6.el7.x86_64 root=/dev/mapper/SystemVG-rootLV ro rd.lvm.lv=SystemVG/swapLV rd.luks=0 KEYBOARDTYPE=pc vconsole.keymap=uk rd.locale.LANG=en_GB.UTF-8 rd.md=0 rd.lvm.lv=SystemVG/rootLV vconsole.font=latarcyrheb-sun16 crashkernel=auto rd.dm=0 rhgb quiet rhgb quiet LANG=en_GB.UTF-8
        initrd /initramfs-3.10.0-862.11.6.el7.x86_64.img
title Oracle Linux Server 7.5, with Unbreakable Enterprise Kernel 4.14.35-1818.0.9.el7uek.x86_64
        root (hd0,0)
        kernel /vmlinuz-4.14.35-1818.0.9.el7uek.x86_64 root=/dev/mapper/SystemVG-rootLV ro rd.lvm.lv=SystemVG/swapLV rd.luks=0 KEYBOARDTYPE=pc vconsole.keymap=uk rd.locale.LANG=en_GB.UTF-8 rd.md=0 rd.lvm.lv=SystemVG/rootLV vconsole.font=latarcyrheb-sun16 crashkernel=auto rd.dm=0 rhgb quiet rhgb quiet LANG=en_GB.UTF-8
        initrd /initramfs-4.14.35-1818.0.9.el7uek.x86_64.img
title Red Hat Enterprise Linux Server (3.10.0-862.9.1.el7.x86_64) 7.5 (Maipo)
        root (hd0,0)
        kernel /vmlinuz-3.10.0-862.9.1.el7.x86_64 root=/dev/mapper/SystemVG-rootLV ro rd.lvm.lv=SystemVG/swapLV rd.luks=0 KEYBOARDTYPE=pc vconsole.keymap=uk rd.locale.LANG=en_GB.UTF-8 rd.md=0 rd.lvm.lv=SystemVG/rootLV vconsole.font=latarcyrheb-sun16 crashkernel=auto rd.dm=0 rhgb quiet rhgb quiet LANG=en_GB.UTF-8
        initrd /initramfs-3.10.0-862.9.1.el7.x86_64.img
title Red Hat Enterprise Linux Server 7.5 Rescue d2d830879078ddddf4d061d50000001f (3.10.0-862.el7.x86_64)
        root (hd0,0)
        kernel /vmlinuz-0-rescue-d2d830879078ddddf4d061d50000001f root=/dev/mapper/SystemVG-rootLV ro rd.lvm.lv=SystemVG/swapLV rd.luks=0 KEYBOARDTYPE=pc vconsole.keymap=uk rd.locale.LANG=en_GB.UTF-8 rd.md=0 rd.lvm.lv=SystemVG/rootLV vconsole.font=latarcyrheb-sun16 crashkernel=auto rd.dm=0 rhgb quiet rhgb quiet LANG=en_GB.UTF-8
        initrd /initramfs-0-rescue-d2d830879078ddddf4d061d50000001f.img
title Red Hat Enterprise Linux Server (3.10.0-862.el7.x86_64) 7.5 (Maipo)
        root (hd0,0)
        kernel /vmlinuz-3.10.0-862.el7.x86_64 root=/dev/mapper/SystemVG-rootLV ro rd.lvm.lv=SystemVG/swapLV rd.luks=0 KEYBOARDTYPE=pc vconsole.keymap=uk rd.locale.LANG=en_GB.UTF-8 rd.md=0 rd.lvm.lv=SystemVG/rootLV vconsole.font=latarcyrheb-sun16 crashkernel=auto rd.dm=0 rhgb quiet rhgb quiet LANG=en_GB.UTF-8
        initrd /initramfs-3.10.0-862.el7.x86_64.img
[root@lnxoraprod02 ~]#  uname -a
Linux lnxoraprod02 4.14.35-1818.0.9.el7uek.x86_64 #2 SMP Mon Jun 18 20:32:24 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@lnxoraprod02 ~]#  rpm -qa |grep -i ora
python-decorator-3.4.0-3.el7.noarch
oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64
TDP-Oracle.Utility-7.1.0-0.x86_64
oraclelinux-release-7.5-1.0.5.el7.x86_64
TDP-Oracle-7.1.0-0.x86_64
perl-Storable-2.45-3.el7.x86_64
oracle-logos-70.0.3-4.0.7.el7.noarch
[root@lnxoraprod02 ~]#   rpm -qa |grep -i uek
kernel-uek-4.14.35-1818.0.9.el7uek.x86_64
[root@lnxoraprod02 ~]#

 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Load Oracle tables and switch public synonym

I need some help from Oracle and UNIX expertise point of view. I have two tables, METADATA_A and METADATA_B. I need to switch loading these tables. If we load METADATA_A today, the following week we would have to load METADATA_B. There is a public synonym "METADATA" that sits on top of... (2 Replies)
Discussion started by: madhunk
2 Replies

2. UNIX for Dummies Questions & Answers

how to compile linux kernel on redhat

Hello, Please let me know how to compile a linux kernel on redhat. I am relatively new in this area so please be a little patient with me. Here is the file I was consulting with the following details: Compiling the Linux Kernel on Redhat 7.1 This page describes how to install... (2 Replies)
Discussion started by: bhattbonny
2 Replies

3. Solaris

Switch to 64-bit kernel on Solaris x86

I know this is probably a dumb question, but all of my Google and forum searches have been coming up empty. I mostly work with SPARC. How do you switch Solaris on x86 from 32-bit to 64-bit? When I do a uname -a on a newly installed machine I get "SunOS XXXXXXX 5.10 Generic_144489-17 i86pc i386... (8 Replies)
Discussion started by: christr
8 Replies

4. Solaris

Unable to switch back to root from user

Hi, I am new to Solaris and when i am trying to Switch to root login from user, system throws message saying permissions denied... Steps I Followed: Created a user and logged into that user by SU username tried to come back to root but system throws message "permissions denied" ... (7 Replies)
Discussion started by: VijaySolaris
7 Replies

5. Red Hat

kernel panic - Failed back to HPET

Hello, I have a problem in my server: HP ProLiant DL580 G5 My OS is REDHAT 4.6 I have an error when I start the server: Badness in do_unblank_screen at drivers/char/vt.c:2878 ... Your time source seems to be instable or some driver is hogging interupts rip __smp_call_function +... (1 Reply)
Discussion started by: markke
1 Replies

6. Red Hat

Redhat Cluster updating kernel setting

hello, I was going through clustering documentation for Redhat, it says "Enable IP Aliasing support in the kernel by setting the CONFIG_IP_ALIAS kernel option to y. When specifying kernel options, under Networking Options, select IP aliasing support", I knew I should update /etc/sysctl.conf with... (1 Reply)
Discussion started by: bobby320
1 Replies

7. Red Hat

redhat rebuild kernel

Hi expert, I goes to # pwd /usr/src/kernels/2.6.32-279.el6.x86_64 then I make bzImage I meet error # make CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 make: *** No rule to make target `missing-syscalls'. Stop. make:... (1 Reply)
Discussion started by: yanglei_fage
1 Replies

8. Red Hat

Bring tape paths back up in Redhat 5.4

Hi Folks, Looking for some assistance here on a Dell server connected to a Dell tape robot with Redhat 5.4 and Netbackup 6.5. Netbackup thinks the tapes are all present and working, but they are not - we lost the internal encryption keys earlier but think that they are reinstated as the... (0 Replies)
Discussion started by: gull04
0 Replies
All times are GMT -4. The time now is 09:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy