Thinking Out Loud

March 8, 2020

Follow Release Numbers Major.0.0.0.0 To Avoid Unexpected Issues

Filed under: 19c — mdinh @ 12:35 am

Here is an example where I was trying to move GI home from 19.0.0 to 19.6.0

Obviously the directory /u01/app/19.6.0.0  does not exists.

[oracle@ol7-19-rac2 ~]$ rhpctl move gihome -sourcehome /u01/app/19.0.0/grid -desthome /u01/app/19.6.0/grid -eval
ol7-19-rac2.localdomain: Audit ID: 6
ol7-19-rac2.localdomain: Evaluation in progress for "move gihome" ...
ol7-19-rac2.localdomain: PRGO-1774 : The evaluation revealed potential failure for command "move gihome".
PRCT-1402 : Attempt to retrieve version of SRVCTL from Oracle Home /u01/app/19.6.0/grid/bin failed.
PRCT-1011 : Failed to run "srvctl". Detailed error: PRCZ-3002 : failed to locate Oracle base

*** /u01/app/19.6.0/grid/bin/srvctl: line 259: /u01/app/19.6.0.0/grid/srvm/admin/getcrshome: No such file or directory ***
[oracle@ol7-19-rac2 ~]$

Rename directory 19.6.0 to 19.6.0.0 and retry.

[root@ol7-19-rac2 app]# ls -l
total 0
drwxrwxr-x. 3 root   oinstall 18 Mar  6 22:33 19.0.0
drwxrwxr-x. 3 oracle oinstall 18 Mar  7 04:33 19.6.0
drwxrwxr-x. 8 oracle oinstall 91 Mar  6 23:17 oracle
drwxrwxr-x. 5 oracle oinstall 92 Mar  7 12:28 oraInventory
[root@ol7-19-rac2 app]# mv 19.6.0 19.6.0.0
[root@ol7-19-rac2 app]# ls -l
total 0
drwxrwxr-x. 3 root   oinstall 18 Mar  6 22:33 19.0.0
drwxrwxr-x. 3 oracle oinstall 18 Mar  7 04:33 19.6.0.0
drwxrwxr-x. 8 oracle oinstall 91 Mar  6 23:17 oracle
drwxrwxr-x. 5 oracle oinstall 92 Mar  7 12:28 oraInventory
[root@ol7-19-rac2 app]#

Previous error is resolved but faced new errors.

[oracle@ol7-19-rac2 ~]$ rhpctl move gihome -sourcehome /u01/app/19.0.0/grid -desthome /u01/app/19.6.0.0/grid -eval
ol7-19-rac2.localdomain: Audit ID: 10
ol7-19-rac2.localdomain: Evaluation in progress for "move gihome" ...
ol7-19-rac2.localdomain: PRGO-1774 : The evaluation revealed potential failure for command "move gihome".
PRGP-1033 : The specified destination home '/u01/app/19.6.0.0/grid' is not a software only home.
[oracle@ol7-19-rac2 

There’s a first time for everything and honestly, this is the first time.

My conclusion, follow release format and avoid FPP local.

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a free website or blog at WordPress.com.

%d bloggers like this: