Below are the steps to enable Archivelog Mode in Oracle RAC
# make sure orclrac database is running srvctl status database -d orclrac # stop the database srvctl stop database -d orclrac -o immediate srvctl status database -d orclrac # start the database in mount state srvctl start database -d orclrac -o mount # using sqlplus, login as sysdba sqlplus / as sysdba # verify that the instances are in MOUNT state SELECT INSTANCE_NAME,STATUS FROM GV$INSTANCE; # verify that the database is operating in NOARCHIVE mode ARCHIVE LOG LIST; # define the destination of the archive log files ALTER SYSTEM SET LOG_ARCHIVE_DEST_1='LOCATION=USE_DB_RECOVERY_FILE_DEST' SCOPE=SPFILE; # Note: because OMF is enabled, setting the # LOG_ARCHIVE_FORMAT parameter has no effect. # enable the archivelog mode ALTER DATABASE ARCHIVELOG; # restart the database srvctl stop database -d orclrac srvctl start database -d orclrac # verify that the archivelog is enabled sqlplus / as sysdba archive log list
Leave a Reply