how to changing the RAC 10g Database Archiving Mode
2011-07-18 14:41
453 查看
=== ODM Answer ===
Que:
how to changing the RAC 10g Database Archiving Mode?
Ans:
The following steps need to be taken to enable archive logging in a RAC database environment:
--1. set your log_archive_dest1 parameters to a shared location
SQL> conn / as sysdba
SQL> alter system set log_archive_dest_1='location=<ASM_DISKGROUP_NAME>' ;
--2. shutdown immediate all database instances
$ srvctl stop database -d <db_unique_name>
--3. startup database in mount mode
$ srvctl start database -d <db_unique_name> -o mount
--4. enable archvive logging
$ sqlplus / as sysdba
sql> alter database archivelog;
sql> exit;
--5. stop database
$ srvctl stop database -d <db_unique_name>
--6. restart all database instances
$ srvctl start database -d <db_unique_name>
--7. verify archiving is enabled by means of:
sql> archive log list;
=== ODM Answer ===
There's two questions:
1.Needn't set the parameter LOG_ARCHIVE_FORMAT?
==>LOG_ARCHIVE_FORMAT has the default value, so we need not set it, but if you want to change the archived log format, you can set this init parameter.
2.In the third step,is it just start mount one instance?
==>yes, change database to archivelog mode, which need in the mount status. This is the same with standalone database.
Que:
how to changing the RAC 10g Database Archiving Mode?
Ans:
The following steps need to be taken to enable archive logging in a RAC database environment:
--1. set your log_archive_dest1 parameters to a shared location
SQL> conn / as sysdba
SQL> alter system set log_archive_dest_1='location=<ASM_DISKGROUP_NAME>' ;
--2. shutdown immediate all database instances
$ srvctl stop database -d <db_unique_name>
--3. startup database in mount mode
$ srvctl start database -d <db_unique_name> -o mount
--4. enable archvive logging
$ sqlplus / as sysdba
sql> alter database archivelog;
sql> exit;
--5. stop database
$ srvctl stop database -d <db_unique_name>
--6. restart all database instances
$ srvctl start database -d <db_unique_name>
--7. verify archiving is enabled by means of:
sql> archive log list;
=== ODM Answer ===
There's two questions:
1.Needn't set the parameter LOG_ARCHIVE_FORMAT?
==>LOG_ARCHIVE_FORMAT has the default value, so we need not set it, but if you want to change the archived log format, you can set this init parameter.
2.In the third step,is it just start mount one instance?
==>yes, change database to archivelog mode, which need in the mount status. This is the same with standalone database.
相关文章推荐
- How to Convert 10g Single-Instance database to 10g RAC using Manual Conversion procedure [ID 747457.
- How to Convert 10g Single-Instance database to 10g RAC using Manual Conversion procedure
- How to Convert 10g Single-Instance database to 10g RAC using Manual Conversion procedure
- How to Convert 10g Single-Instance database to 10g RAC using Manual Conversion procedure (文档 ID 7474
- How to change single-instance database to RAC(10g)
- Tell you how to resolve Oracle 10g EM login problem: The database status is currently unavailable.
- Changing the Database Archiving Mode
- How to disable the scheduler using SCHEDULER_DISABLED attribute in 10g (文档 ID 1491941.1)
- How To List All The Named Events Set For A Database [ID 436036.1]
- How to Backup Different Release Databases with the Same Catalog Database
- How to Calculate the Number of IOPS and Throughput of a Database (文档 ID 2206831.1)
- C# how to connect the database
- usb_modeswitch How to sniff the messageContent and MessageEndpoint?
- how to use a SQLite database in a standalone program with an HTML interface and VBScript as the programming language
- Agile Project Management: How to Succeed in the Face of Changing Project Requirements
- Configuring the Database Archiving Mode
- How to identify all the Corrupted Objects in the Database reported with RMAN
- How to use the Automatic Database Diagnostic Monitor (ADDM)
- How to Determine The Lock Type and Mode from an Enqueue Wait
- Convert Oracle 9i Single-Instance database to 10g RAC .