Manual Steps to Setup ACFS file system in ODA box with GI version 11.2

Below are the Manual Steps to Setup ACFS file system in ODA box with GI version 11.2 Terminology ———– DATA – is the diskgroup from which we are taking space (-volumeDiskGroup parameter) 1024 GB – is the space that we are allocating (-volumeSizeGB parameter ) acfsbkpvol – is the ACFS volume name (-volumeName parameter) /backupfs – is the file system […]

Monitor real time active session statistics by ORAPUB tool

The tool was devised by Craig from ORAPUB which is excellent to monitor what happens in session real time. 1.First I need to down OSM tool kit from ORAPUB. First we need to run the following scripts to create some pre-requisite tables under sys/system schema. a)osmprep.sql — ****************************************************** — * Copyright Notice : (c)1998-2014,2015 OraPub, Inc. — * Filename : […]

Oracle DBaaS 1z0-160 part 33 :-Patching in Oracle cloud RAC database

Step 1:-Please check available patch and run precheck Step 2:-Pre-check results failed with below message Step 3:-Update RDK using below command to update cloud tool [opc@pocracdemo1 ~]$ raccli update rdk -tag latest {  “jobId” : “41”,  “requestStatus” : “SUCCESS” } Step 4:-Please apply patch now From command line Apply a patch to the Oracle Database home using the apply patch subcommand with […]

Oracle DBaaS 1z0-160 part 32 :-On-premise database migration to oracle cloud using data pump conventional Export/Import

On-premise database migration to oracle cloud using data pump conventional Export/Import This is simplest migration if you prefer to migrate one schema to oracle cloud. Source:-On-premise database(Hostname:-gnssrv01 ) Target:-Oracle cloud database (Hostname:-myclone) Step 1:-On the on-premises database host, create an operating system directory to use for the on-premises database export files. $ mkdir /u01/app/oracle/admin/orcl/dpdump/for_cloud Step 2:-Create a directory object in […]

Cache buffer chain CBC latch simple query to investigate

For deep understanding on CBC,please refer to below links:- and Video tutorial from ORAPUB. I am just going to mention some useful queries to investigate or identify CBC latch Step 1:-You as user fire a sql query from client. select * from cbctest; Step 2:-Now oracle will search metadata and determine what is your file_id and block_id to locate […]

SSH connection from on-premise Linux or Unix host to Oracle cloud

Problem 1.First I copied the private key generated by puttygen (The public key was provided during DB creation in oracle cloud).After that I tried to connect cloud database using below command:- cd /home/oracle chown oracle:oinstall course_priv.ppk chmod 0600 course_priv.ppk [oracle@gnssrv01 ~]$ ssh -i course_priv.ppk opc@ Enter passphrase for key ‘course_priv.ppk’: Enter passphrase for key ‘course_priv.ppk’: Enter passphrase for key ‘course_priv.ppk’: Permission […]

TDE encryption setup for migrating on-premise backup to Oracle cloud using RMAN

This note describe how we can configure TDE encryption for RMAN backup in on-premise database to migrate to Oracle cloud. 1.First I need to update sqlnet.ora with proper location where my wallet will reside to enable TDE encryption. # sqlnet.ora Network Configuration File: /u01/app/oracle/product/12.2.0/dbhome_1/network/admin/sqlnet.ora # Generated by Oracle configuration tools. NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME) ENCRYPTION_WALLET_LOCATION= (SOURCE= (METHOD=FILE) (METHOD_DATA= (DIRECTORY=/var/opt/oracle/hdg/tde_wallet) ) […]

Backup on-premise database and restore to Oracle cloud database

My on-premise database hostname:-gnssrv01 Database name:-orcl12c Cloud database hostname:-myclone A.Backup of on-premise database to cloud container Please create the empty container for holding backup of on-premise database using following link 1.First I need to install backup module for cloud in on-premise database You need to download opc.cert and opc_install.jar mentioned in above metalink note (Doc ID 2360941.1) [oracle@myclone ~]$ […]

Oracle DBaaS 1z0-160 part 31 :- Oracle cloud database security

Data security In Oracle Database Cloud Service databases, data security is provided for data in transit and data at  rest. Security of data in transit is achieved through network encryption. Data at rest security is achieved through encryption of data stored in database data files and backups.Data in Oracle Database files, including backups, is secured by the use of encryption […]