Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Upgrade 8i to 9i --- multiple oracle_base !!!!!!
Sanity Check needed
System: Oracle 8.1.7.1.0 on AIX 5.1
This is my last holdout on 8.1, to be upgraded to 9.2, and I have a rather unusual challenge. Asking for a sanity check if my approach will work, if there is a better approach, and what I might be overlooking.
On this particular box, we have two databases, spd01 for dev work and spq01 for QA. Not only did the original DBA choose to give each its own $ORACLE_HOME, he chose to give each its own $ORACLE_BASE, and it's own system owning account. Sign on to AIX with oraspd if you want to work with spd01, with oraspq if you want to work with spq01.
I know there has been some recent debate here over giving each db its own $ORACLE_HOME, but separate ORACLE_BASE is a whole new ballgame. Also, my recent misadventure patching another box has sensitized me to issues dealing with $ORACLE_BASE and the inventory location. This particular setup is screaming to be cleaned up. Even though each orasp* user account gets its own $ORACLE_BASE, there is still only one /etc/oraInst.loc, pointing to only one inventory location. My guess is this simply won't work.
(Just to make it even more interesting, he gave each its own installation of BMC's SQL-Backtrack for the backups! And those installations are unnecessarily intertwined into the ORACLE_BASE structures.)
So, what we have is this:
For database SPD01, account oraspd gets the environment:
$ORACLE_BASE = /02fs01/vendors/oracle1
$ORACLE_HOME = /02fs01/vendors/oracle1/product/spd01/8.1.7
For database SPQ01, account oraspq gets the environment:
$ORACLE_BASE = /02fs01/vendors/oracle2
$ORACLE_HOME = /02fs01/vendors/oracle2/product/spq01/8.1.7
and the single /etc/oraInst.loc has:
inventory_loc=/02fs01/vendors/oracle1/oraInventory
inst_group=dba
What I have in mind for the upgrade, and to clean up this mess is this:
It also occurs to me that after removing the existing installation, and
before installing 9.2, I might want to install 8.1.7 in the new single
$ORACLE_BASE, to make sure I can bring up the db, before introducing
9.2 into the mix. At that point, I would have a clean, single-home,
single-base installation to work with.
Thoughts, comments, criticisms welcome. Received on Wed Oct 19 2005 - 12:37:16 CDT