1. Disable clustering putting cluster_database parameter FALSE.
$export ORACLE_SID=ORCL1
$sqlplus “/ as sysdba”
Check the status of archive mode of the database:
SQL>archive log list
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 407
Current log sequence 408
SQL> alter system set cluster_database=false scope=spfile sid=’ORCL1′;
2. Shutdown all instances using srvctl utilty
$ srvctl stop database -d cobra
3. Mount tha database using one of the instance:
$ sqlplus “/ as sysdba”
SQL> startup mount
4. Enable archivelog using following command:
SQL> alter database archivelog;
5. Re-enable clustering putting instance parameter cluster_database to TRUE from the current instance:
SQL> alter system set cluster_database=true scope=spfile sid=’ORCL1′;
6. Shutdown the local instance:
SQL> shutdown immediate
7. Startup all instances using srvctl utility:
#srvctl start database -d orcl
8. If any service is not up then get up those using srvctl utility:
#srvctl start service -dorcl
9. And now check archivelog mode is enabled or not using following:
$sqlplus “/ as sysdba”
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 407
Current log sequence 408
Thank you
Osama mustafa
Like this:
Like Loading...
Related
Published by Osama Mustafa
Osama considered as one of the leaders in Cloud technology, DevOps and database in the Middle-East. I have more than ten years of experience within the industry. moreover, certfied 4x AWS , 4x Azure and 6x OCI, have also obtained database certifications for multiple providers.
In addition to having experience with Oracle database and Oracle products, such as middle-ware, OID, OAM and OIM, I have gained substantial knowledge with different databases.
Currently, I am architecting and implementing Cloud and DevOps. On top of that, I'm providing solutions for companies that allow them to implement the solutions and to follow the best practices.
View all posts by Osama Mustafa
need to follow same thing for the second node also?
LikeLike