Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Rac opens archiving

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Create an archive log path

Asmca

+ data/lhrrac1/arch

Sets the archive log path.

Alter system set log_archive_dest_1='location=+data/lhrrac1/arch' scope=spfile sid='*'

(each node has to run to one side)

1BZ RAC switch archiving

1. Log in to the database: execute alter system set cluster_database = false scope=spfile

2. Close the node1 and node2 databases: shutdown immediate;-- [grid @ rac1 ~] $srvctl stop database-d racdb

3. Start node1 to mount status: startup mount

4. Execute the closed archive: alter database archivelog

5. Open the database: alter database open

6. Execute in node1: alter system set cluster_database=true scope=spfile

7. Close the database: shutdown immediate

8. Start the node1 database: startup

9. Start the node2 database: startup

Please refer to:

Https://blog.csdn.net/onlyshenmin/article/details/52432114

Https://blog.csdn.net/dbcommando/article/details/7925861

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report