Enable Archive Log Mode In Oracle 19c RAC

 1. stop the database service.

srvctl stop database -d TANSID

2. start the database in mount state.

srvctl start database -d TANSID -o mount

3. enable archive log mode.

SQL> alter database archivelog;
Database altered.

4. Restart the database service

srvctl stop database -d TANSID

srvctl start database -d TANSID

5. Set the archive log destination to ASM DISK

SQL> alter system set log_archive_dest_1='LOCATION=+ARCH/' scope=both sid='*';
System altered.

SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination +ARCH
Oldest online log sequence 1
Next log sequence to archive 1
Current log sequence 2

SQL> alter system switch logfile;
System altered.
Checked the space of ARCH asm diskgroup before setting it for the archive destination.
SQL> select NAME,TOTAL_MB/1024 from v$asm_diskgroup;

NAME                           TOTAL_MB/1024
------------------------------ -------------
ARCH                              33.7773438
CRS                               7.24609375
FRA                               34.9960938
REDO                              12.3085938
TNBSID_DATA1                      190.433594

Comments

Popular posts from this blog

How to fix Oracle SQL Developer connection issue "Got minus one from a read call"

How to drop index and before dropping it how to get the DDL.

How to troubleshoot Long Running Concurrent Request in EBS 12.2

How to autopopulate user_guid in fnd_user table ( EBS Blank Page)

Opatch is getting faild for GI patch with error code 2 while doing prereq

Few Important steps of Oracle Database Clone

How to Check AD and TXK code levels in your EBS environment

The Server is not able to service this request: [Socket:000445]Connection rejected, filter blocked Socket, weblogic.security.net.FilterException

CPU Patch Analysis

PRVG-11250 : The check "RPM Package Manager database" was not performed because