SlideShare a Scribd company logo
[ORACLE 12cR1 2 node RAC Database]
Archivelog Enable with ASM location:
Log in as “oracle” user in node 1.
( in my caserac1)
>> check database is in archivelog mode or not by using command :
SQL> archivelog list
Databaselog mode No Archive Mode
Automatic archival Disabled
Archivedestination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 15
Currentlog sequence 16
Login to one of the nodes (i.e. rac1) and disable the cluster instance parameter by
setting “ cluster_database” to FALSEfrom the currentinstance:
SQL> select instance_name fromv$instance;
INSTANCE_NAME
----------------
RAC1
SQL> alter systemset cluster_database=falsescope=spfilesid='RAC1';
System altered.
As this a static parameter change will take a bounce of database to
reflect changes.
So shutdown the database (i.e. all instances)
[oracle@rac1 ~]$srvctl stop database -d RAC
(Note: srvctl stop database –d <database unique name>)
[oracle@rac1 ~]$srvctl status database -d RAC –v
(check and confirm that database is in down mode)
We start in nomount mode one single instance of the RAC:
[oracle@rac1 ~]$sqlplus / as sysdba
SQL*Plus: Release 12.1.0.1.0 Production on Sun Dec 3 20:00:43 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 626327552 bytes
Fixed Size 2291472 bytes
Variable Size 532678896 bytes
Database Buffers 88080384 bytes
Redo Buffers 3276800 bytes
SQL>
Make log_archive_start parameter “TRUE” :
SQL> alter system set log_archive_start=TRUE SCOPE=SPFILE;
System altered.
Specify Location of local archive log destination:
SQL> alter system set log_archive_dest_1='LOCATION=+FRA'
SCOPE=SPFILE;
System altered.
Then again change the “cluster_database” to TRUE :
SQL> alter system set cluster_database=true scope=spfile sid='RAC1';
System altered.
Now bring database to mount state:
SQL> alter database mount;
Database altered.
Now, we set the database to archive log mode:
SQL> alter database archivelog;
Database altered.
We can perform some checks after that

SQL> alter database open;
Database altered.
SQL> shut immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
Now log in as ‘sysdba’ and check using archive log list command:

More Related Content

PDF
Database decommission process
DOC
Rac nonrac clone
PPTX
Oracle: Binding versus caging
PPTX
Data Guard New Features
PPTX
Example R usage for oracle DBA UKOUG 2013
PPTX
Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...
DOCX
Physical_Standby_Database_R12.2.4
PDF
Cassandra South Bay Meetup - Backup And Restore For Apache Cassandra
Database decommission process
Rac nonrac clone
Oracle: Binding versus caging
Data Guard New Features
Example R usage for oracle DBA UKOUG 2013
Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...
Physical_Standby_Database_R12.2.4
Cassandra South Bay Meetup - Backup And Restore For Apache Cassandra

What's hot (20)

TXT
Oracle ORA Errors
DOCX
Change DB Name
PPTX
Montreal User Group - Cloning Cassandra
PPTX
Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!
PPTX
Cloning Oracle EBS R12: A Step by Step Procedure
PPTX
Database administration commands
PDF
Oracle 11g dataguard configuration in aix
PDF
Install and upgrade Oracle grid infrastructure 12.1.0.2
DOC
Schema replication using oracle golden gate 12c
PDF
Apache Con NA 2013 - Cassandra Internals
PPTX
My sql failover test using orchestrator
PDF
Beginbackup
PDF
Introduction to MySQL InnoDB Cluster
PDF
Backup andrecoverychecklist
DOCX
Backup and Recovery
PPT
Oracle12c Pluggable Database Hands On - TROUG 2014
PDF
MySQL Document Store
DOCX
Rac questions
PPTX
Varnish
PPT
Oracle 10g Performance: chapter 00 sampling
Oracle ORA Errors
Change DB Name
Montreal User Group - Cloning Cassandra
Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!
Cloning Oracle EBS R12: A Step by Step Procedure
Database administration commands
Oracle 11g dataguard configuration in aix
Install and upgrade Oracle grid infrastructure 12.1.0.2
Schema replication using oracle golden gate 12c
Apache Con NA 2013 - Cassandra Internals
My sql failover test using orchestrator
Beginbackup
Introduction to MySQL InnoDB Cluster
Backup andrecoverychecklist
Backup and Recovery
Oracle12c Pluggable Database Hands On - TROUG 2014
MySQL Document Store
Rac questions
Varnish
Oracle 10g Performance: chapter 00 sampling
Ad

Similar to Enable archivelod mode in oracle rac12cR1 with asm location (20)

PDF
How to create a non managed standby database
TXT
oracle dba
PDF
les04.pdf
PPTX
Convert single instance to RAC
DOCX
Backup and Restore of database on 2-Node RAC
DOC
Create manula and automaticly database
PPT
D17316 gc20 l05_phys_sql
DOC
Oracle data guard configuration in 12c
PPT
Les 06 Perform Rec
PDF
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
PDF
576 oracle-dba-interview-questions
PDF
Standby db creation commands
PDF
AUSOUG - NZOUG - Groundbreakers - Jun 2019 - 19 Troubleshooting Tips and Tric...
DOCX
Dba 3+ exp qus
PDF
Createclone
PDF
Oracle backup
DOC
br_test_lossof-datafile_10g.doc
PDF
DBA 3 year Interview Questions
PDF
Oracle-DBA-Interview-Question- For experience DBA
PDF
AIOUG - Groundbreakers - Jul 2019 - 19 Troubleshooting Tips and Tricks for Da...
How to create a non managed standby database
oracle dba
les04.pdf
Convert single instance to RAC
Backup and Restore of database on 2-Node RAC
Create manula and automaticly database
D17316 gc20 l05_phys_sql
Oracle data guard configuration in 12c
Les 06 Perform Rec
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
576 oracle-dba-interview-questions
Standby db creation commands
AUSOUG - NZOUG - Groundbreakers - Jun 2019 - 19 Troubleshooting Tips and Tric...
Dba 3+ exp qus
Createclone
Oracle backup
br_test_lossof-datafile_10g.doc
DBA 3 year Interview Questions
Oracle-DBA-Interview-Question- For experience DBA
AIOUG - Groundbreakers - Jul 2019 - 19 Troubleshooting Tips and Tricks for Da...
Ad

Recently uploaded (20)

PPTX
L1 - Introduction to python Backend.pptx
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
 
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
AI in Product Development-omnex systems
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
medical staffing services at VALiNTRY
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Transform Your Business with a Software ERP System
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
top salesforce developer skills in 2025.pdf
PDF
Nekopoi APK 2025 free lastest update
L1 - Introduction to python Backend.pptx
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
2025 Textile ERP Trends: SAP, Odoo & Oracle
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
 
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
AI in Product Development-omnex systems
Operating system designcfffgfgggggggvggggggggg
medical staffing services at VALiNTRY
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
How to Choose the Right IT Partner for Your Business in Malaysia
Understanding Forklifts - TECH EHS Solution
Softaken Excel to vCard Converter Software.pdf
PTS Company Brochure 2025 (1).pdf.......
Transform Your Business with a Software ERP System
Upgrade and Innovation Strategies for SAP ERP Customers
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
top salesforce developer skills in 2025.pdf
Nekopoi APK 2025 free lastest update

Enable archivelod mode in oracle rac12cR1 with asm location

  • 1. [ORACLE 12cR1 2 node RAC Database] Archivelog Enable with ASM location: Log in as “oracle” user in node 1. ( in my caserac1) >> check database is in archivelog mode or not by using command : SQL> archivelog list Databaselog mode No Archive Mode Automatic archival Disabled Archivedestination USE_DB_RECOVERY_FILE_DEST Oldest online log sequence 15 Currentlog sequence 16 Login to one of the nodes (i.e. rac1) and disable the cluster instance parameter by setting “ cluster_database” to FALSEfrom the currentinstance:
  • 2. SQL> select instance_name fromv$instance; INSTANCE_NAME ---------------- RAC1 SQL> alter systemset cluster_database=falsescope=spfilesid='RAC1'; System altered. As this a static parameter change will take a bounce of database to reflect changes. So shutdown the database (i.e. all instances) [oracle@rac1 ~]$srvctl stop database -d RAC (Note: srvctl stop database –d <database unique name>) [oracle@rac1 ~]$srvctl status database -d RAC –v (check and confirm that database is in down mode)
  • 3. We start in nomount mode one single instance of the RAC: [oracle@rac1 ~]$sqlplus / as sysdba SQL*Plus: Release 12.1.0.1.0 Production on Sun Dec 3 20:00:43 2017 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to an idle instance. SQL> startup nomount; ORACLE instance started. Total System Global Area 626327552 bytes Fixed Size 2291472 bytes Variable Size 532678896 bytes Database Buffers 88080384 bytes Redo Buffers 3276800 bytes SQL>
  • 4. Make log_archive_start parameter “TRUE” : SQL> alter system set log_archive_start=TRUE SCOPE=SPFILE; System altered. Specify Location of local archive log destination: SQL> alter system set log_archive_dest_1='LOCATION=+FRA' SCOPE=SPFILE; System altered. Then again change the “cluster_database” to TRUE : SQL> alter system set cluster_database=true scope=spfile sid='RAC1';
  • 5. System altered. Now bring database to mount state: SQL> alter database mount; Database altered. Now, we set the database to archive log mode: SQL> alter database archivelog; Database altered. We can perform some checks after that
 SQL> alter database open; Database altered. SQL> shut immediate;
  • 6. Database closed. Database dismounted. ORACLE instance shut down. Now log in as ‘sysdba’ and check using archive log list command: