Arjen Visser
01-05-2009, 07:22 AM
Question:
=======
I have configured Dbvisit Standby setup successfully. On my primary database I have been using RMAN to backup my primary database and archives. Since my archive destination is not very huge, I am deleting the archives on a daily basis with the following command.
delete noprompt archivelog all;
Since I have configured Dbvisit Standby, kindly suggest me, whether I can use the above command to remove my archives. If so, kindly confirm me, whether my logs will be shipped to the standby server, before rman deletes the archives. I have scheduled every 10 minutes to ship my archive to the standby server.
Answer:
======
We would recommend you use the Dbvisit Standby Archive Management Module (AMM) to manage the archives for you instead of RMAN.
The archives can be managed by Dbvisit Standby on both the primary and standby servers.
To setup the AMM, run dbvisit_setup and choose option 3. Here you can specify the difference settings for the AMM.
The main settings are for the primary server:
DAYS_TO_KEEP_ARCHSOURCE = This is the number of days to keep an archive log.
NUM_ARCHSOURCE_TO_KEEP = The number of archives to keep on the disk.
THRESHOLD_ARCHSOURCE = Specify the threshold in percentage of how much disk space may be taken up by archive log files.
The standby server has the following settings:
DAYS_TO_KEEP_ARCHDEST = This is the number of days to keep an archive log.
NUM_ARCHDEST_TO_KEEP = The number of archives to keep on the disk.
THRESHOLD_ARCHDEST = Specify the threshold in percentage of how much disk space may be taken up by archive log files.
We suggest that you accept the defaults as they should be adequate in most cases.
The AMM settings are part of the Dbvisit Standby Database Configuration (DDC) file.
The AMM is automatically run as part of Dbvisit Standby. The AMM ensures that the archive logs have been transferred before deleting them on the primary server, and on the standby server it ensures that the archives are applied to the standby database before deleting them.
As you will no longer be using RMAN to delete the archive logs, you will need to let RMAN know that you have deleted the archive log files. Schedule this command once a week to update RMAN:
RMAN> crosscheck archivelog all;
RMAN> list expired archivelog all;
RMAN> delete expired archivelog all;
=======
I have configured Dbvisit Standby setup successfully. On my primary database I have been using RMAN to backup my primary database and archives. Since my archive destination is not very huge, I am deleting the archives on a daily basis with the following command.
delete noprompt archivelog all;
Since I have configured Dbvisit Standby, kindly suggest me, whether I can use the above command to remove my archives. If so, kindly confirm me, whether my logs will be shipped to the standby server, before rman deletes the archives. I have scheduled every 10 minutes to ship my archive to the standby server.
Answer:
======
We would recommend you use the Dbvisit Standby Archive Management Module (AMM) to manage the archives for you instead of RMAN.
The archives can be managed by Dbvisit Standby on both the primary and standby servers.
To setup the AMM, run dbvisit_setup and choose option 3. Here you can specify the difference settings for the AMM.
The main settings are for the primary server:
DAYS_TO_KEEP_ARCHSOURCE = This is the number of days to keep an archive log.
NUM_ARCHSOURCE_TO_KEEP = The number of archives to keep on the disk.
THRESHOLD_ARCHSOURCE = Specify the threshold in percentage of how much disk space may be taken up by archive log files.
The standby server has the following settings:
DAYS_TO_KEEP_ARCHDEST = This is the number of days to keep an archive log.
NUM_ARCHDEST_TO_KEEP = The number of archives to keep on the disk.
THRESHOLD_ARCHDEST = Specify the threshold in percentage of how much disk space may be taken up by archive log files.
We suggest that you accept the defaults as they should be adequate in most cases.
The AMM settings are part of the Dbvisit Standby Database Configuration (DDC) file.
The AMM is automatically run as part of Dbvisit Standby. The AMM ensures that the archive logs have been transferred before deleting them on the primary server, and on the standby server it ensures that the archives are applied to the standby database before deleting them.
As you will no longer be using RMAN to delete the archive logs, you will need to let RMAN know that you have deleted the archive log files. Schedule this command once a week to update RMAN:
RMAN> crosscheck archivelog all;
RMAN> list expired archivelog all;
RMAN> delete expired archivelog all;