Fixing 19c runcluvfy.sh – PRCZ-2004 : File “/usr/local/bin/sudo” was not found
Running runcluvfy using -method sudo -user oracle failed and not sure why path for sudo is hard coded. [oracle@ol7-121-rac1 ~]$ /u01/app/19.3.0.0/grid/runcluvfy.sh stage -pre crsinst -upgrade -rolling...
View ArticleData Guard Fast-Start Failover Test – Shutdown Primary Host
Note: Primary Database: cdb1_stby is because failover was previously performed. This also demonstrate why it may not be a good idea to suffix stby for standby database. Review Data Guard using sqlplus:...
View ArticleDisable fast_start failover
Data Guard Fast-Start Failover Test If you recalled, observer was started from ol7-121-dg1 which was standby at the time and is now primary after failover. [oracle@ol7-121-dg1 sql]$ sqlplus / as sysdba...
View ArticleData Guard Fast-Start Failover Test – Shutdown Standby Host
Data Guard Fast-Start Failover Test – Shutdown Primary Host Review primary host and start observer: [oracle@ol7-121-dg1 sql]$ sqlplus / as sysdba SQL*Plus: Release 12.1.0.2.0 Production on Fri Jan 17...
View ArticleUse srvctl stop home When Stopping Many Database Instances
============================================================================= ### Stops all Oracle clusterware resources that run from the Oracle home....
View ArticleModify VAGRANT_HOME For Windows
I know what you are thinking, “Why make it so complicated!” Unfortunately, C: drive is only 500G while other attached drives are 1TB. Download vagrant box from outside of VAGRANT_HOME resetlogs@ghost...
View ArticleNote to self for how to easily add user to sudoers file
Unable to sudo su -: [grid@ol7-fpp-fpps ~]$ sudo su - We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the...
View ArticleSimplify RMAN Restore With Meaningful Tag
Here is a simple demo for how to restore RMAN backup in case of failed migration using RMAN tag. List backup from File System: [oracle@db-fs-1 ~]$ ls -alrt /u01/backup/*MIGRATION* -rw-r----- 1 oracle...
View ArticleCreate Windows Symlinks to Vagrant Software Folder
Most Vagrant implementations have some derivative of software folder with file – put_software_here.txt It does not make sense to have to copy software to the folder and then to delete afterwards...
View ArticleTry, Try, And Try Again
I hope you don’t judge a post by its title. Working with vagrant build and experiencing periodic timed out. default: ******************************************************************************...
View ArticleIs Peace Of Mind Better Than Best Practice
There’s a discussion on twitter about nasty bug with GI upgrade to 19.6. It’s unclear if gridSetup.sh -applyRU is being used with leads to BUG. So for anyone upgrading GI from 12.2 to 19.6 cc...
View ArticleCreate 19c Gold Image
What the hell. My blog posts can be so terrible that I don’t even understand at times what I post. Anyhow, here is a reminder for creating 19c Gold Image. From my notes, log and .patch_storage...
View ArticleUpgrade Grid 12.2 to 19.6 Using Gold Image
Quick and dirty OPatch Update for All nodes: [oracle@ol7-122-rac1 JAN2019]$ echo $ORACLE_HOME /u01/app/12.2.0.1/grid [oracle@ol7-122-rac1 JAN2019]$ $ORACLE_HOME/OPatch/opatch version OPatch Version:...
View ArticlegridSetup.sh -creategoldimage Failed With Missing LINUX.X64_193000_grid_home.zip
Start with Grid 12.2, upgrade to Grid 19.3, patch Grid to 19.6, and create Grid 19.6 Gold Image. 1. Copy LINUX.X64_193000_grid_home.zip to GRID_HOME, extract zip, upgrade from Grid 12.2 to 19.3 2....
View ArticleMining gridSetupActions Log
After completing GI upgrade, what’s the most efficient way to mine results? Upgrade GI to 19.6: typical information provided from terminal [oracle@ol7-122-rac1 ~]$ /u01/app/19.6.0.0/grid/gridSetup.sh...
View ArticleFollow Release Numbers Major.0.0.0.0 To Avoid Unexpected Issues
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...
View ArticleORA-14758: Last partition in the range section cannot be dropped
Quick and dirty post. Works for 12.2.0.1 and failed with ORA-14758 below 12.2.0.1 00:51:45 DINH @ HAWK:HAWK:>@p.sql TABLE_OWNER TABLE_NAME PARTITION_NAME INT HIGH_VALUE ------------ ------------...
View ArticleQuery Required RPM Using Text File
There’s request to install 11.2.0.4 database software for RHEL7. Requirements for Installing Oracle 11.2.0.4 RDBMS on OL7 or RHEL7 64-bit (x86-64) (Doc ID 1962100.1) binutils-2.23.52.0.1-12.el7.x86_64...
View ArticleSilent Install 11.2.0.4 DB Software With GI 18c On OEL 7.7
Just some note: One good thing about GUI install is that it allows one to fix any issues and retry and not so much with silent install...
View ArticleDATAGUARD Using DBCA Silent Mode Is Not Setting DB_UNIQUE_NAME
Unfortunately, db_name=db_unique_name which is not ideal for Data Guard environment. Even without Data Guard, my preference is to have db_name different from db_unique_name. Typically, I like to append...
View Article