Standby Bounce Steps
Standby Bounce Steps
===============================================
SHUTTING DOWN PRIMARY & STANDBY DATABASES
===============================================
============================
Shutting down Primary Database
============================
SQL> select instance_name from v$instance;
INSTANCE_NAME
----------------
PAAHAI
============================
Shutting down Standby Database
============================
SQL> !hostname
rmohsaaha04
=========================================
STARTING PRIMARY & STANDBY DATABASES
=========================================
======================
Starting Primary Database
======================
SQL> startup
ORACLE instance started.
Total System Global Area 950605032 bytes
Fixed Size 451816 bytes
Variable Size 771751936 bytes
Database Buffers 167772160 bytes
Redo Buffers 10629120 bytes
Database mounted.
Database opened.
=======================
Starting Standby Database
=======================
================================================
Checking Log Shipment using Script on RMDC(Standby)
================================================
/autofs/cmd_ctr/database/standby> ./standby_status_check.sh
DB is UP
PAAHAI:MOUNTED
STATUS OF DB LISTENER PAAHAI
DB listener is up and running
Uptime0 days 0 hr. 4 min. 50 sec
RFS process is receiving the following files from Primary database
Client_process=Arch Means ARCH process of ADC is writting archive files
Client_process=Unknown Means FAL process of RMDC is fetching archive files from ADC
no rows selected
MRP process is running
Waiting for Logfile to be shipped from ADC
no rows selected
Logfile is shipped but waiting to be applied due to delay parameter
PROCESS STATUSSEQUENCE#
--------- ------------ ----------
MRP0 WAIT_FOR_LOG 52764
Archive file being applied by MRP at this moment
no rows selected
TIMESTAMP OF LAST RECEIVED ARCHIVE FILE FOR EACH THREAD
if File_rcvd_Min_ago is > 60 then investigate why standby is not receiving the files.
NAME File_rcvd_atFile_rcvd_Min_ago
-------------------------------------------------- --------------- -----------------
/paahai/arch/PAAHAI_1_52763.arc12-sep 05:05:3152
STATUS OF ARCHIVE GAP AS OF (SYSDATE-DELAY PARAMETER), Investigate if gap is more than 15
TIME THREAD# ARCHIVEDAPPLIEDGAP
----------------- ---------- ---------- ---------- ----------
12.09.09 05:58:26 1 52762 52763 -1
thread1 52763 52763
Checking the Missing Sequences and Validating the File Size....
cat /tmp/notfound_thread1.lst to identify missing files from /paahai/arch for thread 1 in range
52763 to 52763
cat /tmp/found_thread1.lst to identify files present in /paahai/arch for thread 1 in range 52763
to 52763
/autofs/cmd_ctr/database/standby>