Oracle RAC Change Archive directory

Source: Internet
Author: User

Sql>alter system set log_archive_dest= ' +lwk/archivelog ' scope=spfile sid= ' * ';

Then close two instances, launch the instance, change the database to archive mode:

Sql>shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
Sql>startup Mount;
ORACLE instance started.

Total System Global area 1258291200 bytes
Fixed Size 1978336 bytes
Variable Size 352325664 bytes
Database buffers 889192448 bytes
Redo buffers 14794752 bytes
Database mounted.
Sql>alter database Archivelog;

Database altered.

Sql>alter database open;

Sql>archive log list;
Database Log Mode Archive mode
Automatic Archival Enabled
Archive destination/opt/oracle/archive
Oldest online log sequence 83
Next Log sequence to archive 84
Current Log Sequence 84

Next, start another node to complete the change process for the archive mode.

in a RAC Environment, the choice of archive path is worth considering, and if you use a shared archive directory as the archive path, you can reduce the complexity of the backup. If you use a separate directory, special handling is required for backup.


This article is from the "Li_weikang" blog, make sure to keep this source http://liweikang.blog.51cto.com/3246878/1872765

Oracle RAC Change Archive directory

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.