My Oracle Support Banner

ODA Administrations: How to Manually Remove an Old Grid Home After Upgrading/Patching to a Higher Grid Home on ODA (Doc ID 2537389.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database Appliance Software - Version 12.1.2.0.0 and later
Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Goal

ODA Grid Home updates do not remove older GI Homes. 

This note is applicable to all versions. This note provides an example of how to remove a 12.1 GI home after an upgrade

 
Why isn't the old GI home removed automatically after an upgrade?

Reason:  Users can install agents or other products beyond the vanilla ODA installation which are added to the Grid Home.
Upgrades may not be able to identify changes introduced beyond the expected default ODA configuration.
As a result, ODA best practices requires manual inspection of the older Grid Home after an upgrade to confirm if any product dependencies may still exist.

The vast majority of ODA installations will have no need for the older GI Home and can be removed as agents and similar dependencies are usually migrated to the new GI Home.
However, it is the responsibility of the user  to determine if the older Grid Home can be removed without impact due to any introduced and existing dependencies.

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1) Change ownership/permission of the 12.1 GI home on both nodes as root OS user
 2) Execute deinstall checkonly on node0 as grid OS user and verify whether it would remove the 12.1 Grid home
 3) Deinstall the 12.1 Grid home as grid OS user
 4) Remove /u01/app/12.1.0.2 on both the nodes as root OS user
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.