Re: Installing 21c and 19c RPM packages on the same host

From: Mladen Gogala <gogala.mladen_at_gmail.com>
Date: Tue, 17 Jan 2023 07:28:37 -0500
Message-ID: <654fe9a6-c6a9-a645-1bb2-fce4ef9d3547_at_gmail.com>



On 1/17/23 05:49, Nenad Noveljic wrote:
> Has anyone successfully install 19c and 21c RPM packages on the same
> host?
>
> yum -y localinstall oracle-database-ee-21c-1.0-1.ol8.x86_64.rpm
>
> Updating Subscription Management repositories.
>
> Unable to read consumer identity
>
>
> This system is not registered with an entitlement server. You can use
> subscription-manager to register.
>
>
> Repository ol8_baseos_latest is listed more than once in the configuration
>
> Last metadata expiration check: 3:04:33 ago on Tue 17 Jan 2023
> 07:41:42 AM UTC.
>
> Error:
>
> Problem: package oracle-database-ee-19c-1.0-1.x86_64 conflicts with
> libclntsh.so provided by oracle-database-ee-21c-1.0-1.x86_64
>
> - conflicting requests
>
> - problem with installed package oracle-database-ee-19c-1.0-1.x86_64
>
> (try to add '--allowerasing' to command line to replace conflicting
> packages or '--skip-broken' to skip uninstallable packages or
> '--nobest' to use not only best candidate packages)
>
>
> Best regards,
>
>
> Nenad
>
You could say that. I used Docker containers to do that. You need to mount the data directories as an external bind and then you can run two versions on the same host. Another trick is something like this:

All of the databases are, technically speaking, on the same host. If you need the hosts to see each other, you will need a DNS server. I recommend dnsmasq, it's easy to setup and works flawlessly.

-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jan 17 2023 - 13:28:37 CET

Original text of this message