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 drop index and before dropping it how to get the DDL.

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

ORA-00257:archiver error, connect internal only until freed

Verifying Daemon “Avahi-Daemon” Not Configured And Running …FAILED (PRVG-1360)

Linux OL7/RHEL7: PRVE-0421 : No entry exists in /etc/fstab for mounting /dev/shm

SKIP DNS RESLOV.CONF CHECK DURING RAC CONFIGURATION

CPU Patch Analysis

How to write to a CSV file using Oracle SQL*Plus

How to troubleshoot Long Running Concurrent Request in EBS 12.2

How To Manage Space of The FRA in the Oracle DB