Port Forwarding Using SSH Config File
Here is a good reference SSH config file for OpenSSH client From a secured server, I am able to connect to 2 different environments which seems counter intuitive but I digress. Since there are 2...
View ArticleUse Different Listener For Standby Duplication?
I know what you are thinking! Why make this more complicate than it needs to be and is an ounce of prevention worth a pound of cure? Oracle support started patching Oracle Exadata Cloud@Customer...
View ArticleRMAN list backup
I am used to using TAG when listing backup and today I learned something new. ### Change disk to sbt for device type or remove device type for both disk & sbt. c/disk/sbt ### Change database with...
View ArticleDo You Tag RMAN Backups?
There were discussions if RMAN backups should be tagged. Basically, I have been tagging backup as L0, L1, AL for backups to disk or tape only. Then there are backups to both disk & tape and was...
View ArticleRMAN Backup & Restore Review
I have seen many backup reviews without any information on Recovery Time Objective (RTO) and Recovery Point Objective (RPO). The environment I am reviewing has backup to tape only. Here is the RMAN...
View ArticleExtract DB User Password
For some reason, I had a mental block in trying to extract password for database users. Here are some options. SQL> select banner from v$version; BANNER...
View ArticleGather Your Session Info For Killing
So there I was, running emremove.sql as part of pre-upgrade task; however, it was taking longer than expected. Session was stuck at the output shown below and desperately CTRL-C did not work. 14:35:05...
View Articleemcli dg_verify_config
I must love looking for trouble. There are 47 RAC databases with Data Guard distributed among 7 clusters. Being as lazy as I am, I did not want to connect to all the hosts to verify Data Guard...
View ArticleQuery OEM mgmt$(target|target_properties)
TARGET_TYPE oracle_database can be a database or an instance; however, rac_database is a database select t.TARGET_TYPE, t.TYPE_QUALIFIER3, count(*) from mgmt$target_properties p, mgmt$target t where...
View Articleemcli dg_verify_config create_srls
Convention. DB_NAME=ORACLE_SID=XXXXXXX Validate Data Guard Configuration. $ ./dgmgrl_validate_srl.sh ======================== XXXXXXX1 ======================== XXXXXXX_PHOENIX Current Log File Groups...
View ArticleData Pump Compatible Version
Import failed as shown below: Import: Release 18.0.0.0.0 - Production on Fri Jun 4 13:07:19 2021 Version 18.6.0.0.0 Copyright (c) 1982, 2018, Oracle and/or its affiliates. All rights reserved....
View ArticleCreate Delete RAC DB Using dbca silent
Tested version. [oracle@ol7-19-lax1 ~]$ $ORACLE_HOME/OPatch/opatch lspatches 31305087;OCW RELEASE UPDATE 19.8.0.0.0 (31305087) 31281355;Database Release Update : 19.8.0.0.200714 (31281355) OPatch...
View ArticleHow To Determine Host Is On OCI
Learned something new today. https://docs.oracle.com/en-us/iaas/Content/Compute/References/oci-metadata.htm Host is running OEM 13.4.0.0.0 [oracle@oemhost ~]$ oci-metadata Instance details: Display...
View ArticleThe Horror Of Restore Validate For SBT_TAPE Backups
For the database environment, there are database backups to disk and tape. I wanted to validate tape backup by using validate preview summary device type=SBT_TAPE. I hit a brick wall as the restore...
View ArticleRMAN Backup Tuning – MAXOPENFILES
Currently, database backup is performed using RMAN from shell script. The shell script has has 2,347 lines. Does anyone KISS anymore? Anyhow, I recalled very early in my career when someone coined the...
View ArticleValidating RMAN Tape Backup
Lately, I have been validating a lot of database backups to tape. The validation is made easy because channels are configured in RMAN. CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' FORMAT '%d_%U' PARMS...
View ArticleOCI- How to retrieve instance metadata from command line
When oci-metadata is not available or installed, use curl. Some information have been removed to protect the innocent. $ curl -L http://169.254.169.254/opc/v1/instance/ { "availabilityDomain" :...
View ArticleRMAN BACKUP RECOVERY AREA
The current backup solution is Disk-To-Disk-To-Tape (D2D2T). Here are the backups scheduled from cron. $ crontab -l|grep backup 30 13 * * 0 /home/oracle/scripts/backup.ksh -s $ORACLE_SID -t level0 30...
View ArticleAutoUpgrade 21.2.210721 Data Guard ORA-16532
Basically, I was somewhat purposely reckless as I wanted to see how much the new AutoUpgrade will do. After Data Guard System Upgrade, Error reported ORA-16532 (Doc ID 2186456.1) Environment is single...
View ArticleFind Tablespace Info Using RMAN report schema
A quick and dirty post. This also works for PDBs. [oracle@ol7-112-dg1 ~]$ rman target / Recovery Manager: Release 19.0.0.0.0 - Production on Wed Aug 25 12:40:16 2021 Version 19.3.0.0.0 Copyright (c)...
View Article