Dbvisit - The ultimate Oracle Standby Database solution
Dbvisit Changes
5.2.22 (12 March 2010)New features:
- Dbvisit now allows the Oracle admin directories on standby to be different from the primary database during creation of the Standby Database.
- Dbvisit does not pick up the correct sequence for RAC on the standby when NLS is set to Spanish.
- Fix issue with quotes around multiple email addresses: can't extract address at ..
- Improve obtaining asmcmd version for Windows.
- Dbvisit does not pick up the archive log destination when NLS is set to Spanish during graceful switchover.
- Create standby database may fail in Oracle 8i due to long tablespace names. This has been fixed.
- Update check and add more tracing to determine if previous Dbvisit process is still running.
- Update dbvisit help text.
- If Dbvisit is unable to create Windows Oracle service during creation of standby database, Dbvisit will suggest to create the service manually.
- Ignore the following SQLPLUS error message when creating Dbvisit
repository using dbvisit_setup:
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM - Dbvisit will detect if ORACLE_HOME_DR is set to a non-existing or not valid directory on the standby server when creating a standby database and display a warning.
- Dbvisit may not correctly detect the creation of Oracle Windows service in other languages during creation of standby database. This has been fixed.
5.2.20 (11 January 2009)
New features:
- Add ENCRYPT_PASSWDS variable to specify if all passwords should be stored encrypted in the DDC file or not. To change the setting run dbvisit_setup and choose option 6.
- Add SWITCHOVER_WAIT_IN_SEC to control how long Dbvisit waits between each checkpoint iteration for graceful switchover. Total time Dbvisit waits for each checkpoint is set by SWITCHOVER_TIMEOUT_IN_SEC.
- When standby redo logs are using OMF, graceful switchover may fail. This has been fixed.
- When log_archive_format on Windows contains %S, the sequence number can be truncated by Oracle. Ensure that Dbvisit also truncates the number the same way.
- Running dbvisit_setup: Update Dbvisit Database configuration (DDC) file may error for older DDC files.
- Improve error message for ORA-27048.
- Improve error message for creation of standby when datafile contains spaces.
- Improve message for error 5005 when standby controlfile does not contain the archive log sequence.
5.2.18 (24 November 2009)
New features:
- Allow for multiple archive log destinations in AMM (Archive Management Module) processing (AMM_PROCESS_MULTIPLE_ARCH_DEST).
- Improve restartability of standby database creation. Standby Database is now shutdown after all the standby database parameters are obtained.
- Graceful switchover synchronisation process now includes retries if there are network issues.
- Improve remote checksum processing. If remote checksum process fails, then only checksum process is repeated, not the whole transfer process.
- Allow for decimal numbers for DAYS_TO_KEEP_ARCHSOURCE and DAYS_TO_KEEP_ARCHDEST. For example 3.5 days.
- Detect Oracle XE admin location for Linux.
- Check for Standby archive log destination during graceful switchover. If location does not exist, then exit as switchover will not be successful.
- Reduce number of trace file that Dbvisit keeps on server: NUM_TRACE_TO_KEEP = 100, DAYS_TO_KEEP_TRACE = 10
- Check that Database is in archivelog mode.
- Allow for Database which has been recovered with point-in-time recovery with resetlogs where SCN may be lower than current SCN.
- Allow for "-" in the DDC file. Example: dbv_prod-vm2.env
- Improve duplicate archive log handling for OMF files. Include a unique identifier to ensure the same file does not get renamed more than once.
- Add check for ORA-00342: archived log does not have expected resetlogs SCN.
- If same archive log is needed more than once by standby database for non RAC, ensure archive log can be compressed.
- Allow for multiple NLS_LANGUAGE setting during RAC processing.
- Add 24hour time clock to trace file.
- Fixed calling AMM from dbv_functions -A
- Improve error message in Windows if during standby database creation the standby database fails to start.
- Fixed issue if first_change# is displayed as float, then graceful switchover was not successful.
- Allow for different instance_name to database_name for graceful switchover.
- Notify if create standby database process is not able to remove file on standby database.
- Allow for %d log_archive_format.
- Check and report if "ORA-00332: archived log is too small" is found.
5.2.16 (18 September 2009)
New features:
- Graceful Switchover for ASM and RAC. RAC database will become a single instance database during switchover. After switchover database can be converted to a RAC database again.
Note: The Oracle ASM instance needs to be version 11gR1 or higher. The Oracle database itself can be Oracle 10g or higher. - Upgrade Bitvise WinSSHD to 4.28 and Tunnelier to 4.29 for Windows only.
- Improve error message when standby fails to start during standby database creation.
- Add message to remove old archives when activating standby database.
- Add smtp authentication and other advanced Mail settings.
See MAILCFG_AUTH_USE and MAILCFG_AUTH_PASSWD settings. - Attach trace files to email when Dbvisit errors to forward to Dbvisit support. Set filesize limit of 768000 bytes for attachments.
- Database files are tested for correct location during creation of standby database. If not correct then user is asked to rename them.
- Standby redo log names are tested for correct location during graceful switchover.
- Add variable SEND_MAIL_FLAG_DR to turn off mailing from standby server.
- Add ability to manually email trace files as attachments with option:
dbv_functions -mtracefilename
- Check if Oracle database admin directories exists before creating the standby database.
- Fixed Dbvisit repository create error in Oracle 8i.
- Add check for ORA-00344: unable to re-create online log when activating standby database.
5.2.15 (20 July 2009)
Fixes:
- Create standby database fix. If the size of the tablespace is displayed as a float instead of number, then the insert into the Dbvisit repository fails. This has been fixed.
- Improve error message when controlfile is a backup controlfile.
- If the word export is used too many times in the DDC file, then assumes the DDC file is from Dbvisit version 3. This has been fixed.
- Improve message when standby database has insufficient SGA size.
5.2.14 (12 June 2009)
New features:
- Provide the ability to logon with sys user and password. This can be used when sysdba logon without password cannot be used or when SQLNET.AUTHENTICATION_SERVICES= (NTS) cannot be set.
- Improve message for error 837, sqlplus not found.
- Improve message for ORA-01031: insufficient privileges.
5.2.13 (3 May 2009)
Fixes:
- Fix issue with removing trace files on standby server. If the ORACLE_SID on the standby is different to the ORACLE_SID on primary primary server then trace files were not removed. This is now fixed.
- Graceful Switchover may fail in Oracle 9i with error: ORA-00271: there are no logs that need archiving. This has been fixed.
5.2.12 (21 April 2009)
New features:
- Provide improved feedback when PATH setting is not correct for Windows.
- Include 5.2 User Manual for Windows Installer.
5.2.11 (6 April 2009) (pre-release)
New features:
- Automatically creates standby database from primary database. Standby database can be created from normal file system database, or from ASM or RAC databases. To create standby database run dbvisit_setup and choose option 7.
- Automatically run command dbv_oraStartStop update_ddc_file
after activation of standby database to automatically reverse Dbvisit settings to enable instant reversing of the Dbvisit process (after standby database is rebuild).
5.1.28 (6 April 2009)
Fixes:
- Add specific SP2-0734 error.
- Ignore set pause on setting in login.sql.
5.1.27 (20 March 2009)
New features:
- Add variable SEND_HEARTBEAT_DR to allow to turn off heartbeat separately for standby server. SEND_HEARTBEAT is used for the primary server.
- Display message to add tempfile(s) to database when open in READ ONLY mode and after activation of standby database.
- Dbvisit fails to obtain ASM archive log when ASM flash recovery is used.
- Change default srvctl.exe to srvctl.bat for Windows Rac.
- Allow for German language feedback in Oracle RAC.
- Graceful switchover, in some cases the new primary database does not require recovery although the Oracle feedback specifies that it does stopping graceful switchover processing. This has been fixed.
5.1.26 (8 December 2008)
New features:
- Add a workaround for Oracle bug "Create Control File fails with ORA-600 [kccscf_1]" during graceful switchover. See metalink: 387210.1
- Added SUCCESS_MAILTO, to be able to separate the success emails from the failure emails. If this is set to an email address, then all successful Dbvisit emails will be sent to this email address. Failure or unsuccessful emails will be to the email address specified by ADMINS.
- Added variables:
MAILSUBJECT_PREFIX_LOG_GAP_REPORT
MAILSUBJECT_PREFIX_SUCCESSFUL
MAILSUBJECT_PREFIX_HEARTBEAT
These variables can be used to set a prefix for the email subject line. This can then be used to set filtering rules for emails.
- Correctly identify the log file when using ASM and the archive is no longer available through v$archive_log.
- Fix undefined subroutine message in dbv_functions.
- For Oracle 8i only: Create controlfile may fail under Graceful Switchover.
5.1.25 (1 September 2008)
New features:
- Add dbv_function -Q to replace current standby controfiles on standby database with new standby controlfile from primary database.
- Add graceful switchover check to ensure redo log numbers are the same between primary and standby databases.
- Add variable ALERT_IF_STDBY_READ_ONLY. This determines whether to alert or not if Dbvisit is run on the standby server and standby database is in READ ONLY mode.
Fixes:
- Allow for Oracle feedback in German to be interpreted correctly.
- Correctly interpret ORA-01115 error (IO error reading block from file).
- Fix for RAC TAKEOVER_SID, destination host not correctly obtained in some circumstances.
- Fix for graceful switchover when data files are in ASM but redo files are not. Dbvisit would incorrectly error that redo files are in ASM.
5.1.24 (28 July 2008)
New features:
- Add variable APPLY_DELAY_LAG_MINUTES. This creates a time delay between the archiving of a redo log at the primary database and the application of the archive log on the standby database. Note that the archive logs are still transferred to the standby server as normal without delay.
- Add variabiable TRANSFER_LOG_GAP_THRESHOLD to report on the difference between the last archived sequence on the primary and the last sequence transferred to the standby server.
- Add variables AMM_START_AFTER_EACH_APPLY and AMM_START_AFTER_EACH_TRANSFER Normally the Archive Management Module (AMM) to manage the archive log files is started at the end of Dbvisit processing. These variables allows the AMM module to be started during Dbvisit processing. This may be necessary due to space restrictions. Use with caution! Archives may be deleted before being applied.
- Add variable AMM_PERC_FULL_WAIT_MILLISEC. This is used in the Archive Management Module (AMM) to ensure that the percentage full disk space displays the correct value. For some volume managers it takes a little time to display the correct status after files have been removed. This variables ensures there is some delay before Dbvisit calculates the free space again. Default is 250 milliseconds.
- Add variable AUTO_START_STANDBY_DB. Automatically start the standby database if standby database is down and dbvisit -i or dbvisit -R command is given on the primary server. These Dbvisit commands require the standby database to be up.
Fixes:
- Add autoextend settings to creation of OMF tempfile.
- Fix upgrade issue from version 4.0. to 5.1.
- Fix add datafile issue for Oracle 8 and 9 introduced in 5.1.23.
5.1.23 (19 June 2008)
New features:
- Add new database connection mode which is determined by variables
DB_CONNECTION_MODE and DB_CONNECTION_MODE_DR.
The database connection modes are:
Dedicated: By default Dbvisit connects with the dedicated connection mode. The dedicated connection mode initiates a database connection each time information is requested from the database. The connection is closed after each request.
Shared: A database connection is opened once at the start of Dbvisit. This connection is used (shared) for all information requested from the database. At the end of Dbvisit processing, the connection is closed. - Added option LOGGING_LEVEL=important to limit the messages being logged to the Dbvisit log file (dbvisit.hist).
- Improved the feedback when Dbvisit cannot find the correct archive log file to transfer.
- Specify that dbv_oraStartStop update_ddc_file
command should be run after activate standby database command.
Fixes:
- Fix issue during Graceful Switchover if an OMF tempfile is used. The tempfile is no longer created with storage information.
- In rare cases, Dbvisit may wait indefinitely on a archive log file that is in use. This has been fixed.
- Ensure dbv_functions -N option to display transfer table works correctly when using multiple databases.
- AMM threshold processing does not stop after reaching specified threshold percentage. This has been fixed. Note that Dbvisit will always ensure the archive has transferred before deleting.
5.1.22 (Internal release)
New features:
- Add CHECKPOINT option of Ignore. This disables checkpoint processing completely and will not force the generation of a new archive log file.
- Add new method to obtain filesystem disk space information for Unix and Linux. The external df command is not longer required. This is only used in the Dbvisit archive log management module (AMM).
Fixes:
- Improved error message for error 460 if no archive log file is found on server.
5.1.21 (3 April 2008)
New features:
- Improve error message when an incorrect tablespace is chosen during installation.
- Do not error when Oracle gives warning message: "Error accessing PRODUCT_USER_PROFILE", unless ALERT_ON_WARNING = Yes. Default is ALERT_ON_WARNING = No.
- Dbvisit log files (dbvisit.hist and arch_management.log) are now managed according to LOG_FILE_ROTATE_MAX and LOG_FILE_SIZE_MAX_MB settings.
- Use SHA-1 digest algorithm as default for checksum calculation.
Fixes:
- Correctly interpret ORA-01122 error.
- Fix message: undefined call to apa_add_datafile.
- Fix graceful switchover issue when ORACLE_SID on the standby database is different to ORACLE_SID on the primary server.
- Fix applying one log file at a time for RAC standby database.
5.1.20 (19 February 2008)
New features:
- Allow for a standby database control file which was not created at the same time as the standby database.
- Allow for an alternative internal method to find the last archived log.
- Allow for tracing of Bitvise sftpc and sexec software (Windows Only).
- Improve performance of internal checksum routine.
- Allow for external checksum utility for Windows.
- Add option to dbvisit_setup to check for repository version.
- Enable the use of RESYNCH_SEQ_OFFSET = 0
- Add setting MAILCFG_SMTP_SERVER_DR to allow for different smtp server for standby server.
Fixes:
- dbvisit_setup does not write or update DDC file if option "No review of all variables" is chosen. This is now fixed.
- Alert if temp directory does not exist.
- Improved error message if ORACLE_HOME is not found on standby server.
- Windows 2000 fix for executing Bitvise sftpc copy function.
- Fix date stamp in email headers when using internal Dbvisit mail. Date was one day behind server date.
- Activate standby database command in batch mode does not activate the standby database, but opens the standby database in READ ONLY mode. The activate command in interactive mode does work. This has been fixed.
- Database tempfile does not get applied to the new primary database during switchover in some cases. This has been fixed.
- If temp directory contains spaces then graceful switchover will stop (Windows only). This has been fixed.
- Resolve core dump issue on AIX.
5.1.19 (15 January 2008)
New features:
- Automatic trace file management. Trace files will be deleted according to new Dbvisit Database Configuration (DDC) settings NUM_TRACE_TO_KEEP and DAYS_TO_KEEP_TRACE. Default settings are: NUM_TRACE_TO_KEEP=200 and DAYS_TO_KEEP_TRACE=15 Least restrictive setting applies between DAYS_TO_KEEP_TRACE and NUM_TRACE_TO_KEEP. To turn off, set to 0.
- Graceful switchover - If standby database redo log name format is in OMF format and primary database is non OMF format, then use primary database name redo format.
- AMM processing now ignores the following directories: lost+found,onlinelog,backupset,autobackup,backuppiece,flashbacklog, imagecopy,controlfile,datafile.
- Added variable INITIATE_DBVISIT_ON_STANDBY. Default = No. Setting this to Yes will initiate Dbvisit on the standby server as the last step of running Dbvisit on the primary server. Setting this to Yes, will mean Dbvisit should no longer be scheduled on the standby server (as it is now initiated from the primary server). Dbvisit will no longer function as two independent processes with independent alerting and a new strategy must be in place to ensure that notification is received in case of a failure. It is therefore recommended to set ARCHIVE_LOG_GAP_THRESHOLD and to schedule the Dbvisit archive log gap report (dbvisit -i) on the primary to alert if the standby database gets too far behind the primary database.
- Added variable ARCHIVE_LOG_GAP_THRESHOLD. Default = 0. Dbvisit will alert if the archive log gap from the Dbvisit archive log gap report (dbvisit -i) exceeds this value (ARCHIVE_LOG_GAP_THRESHOLD). To turn off alerting, set ARCHIVE_LOG_GAP_THRESHOLD to 0.
- Added variable SEND_LOG_GAP_WITH_HEARTBEAT. Default = No. Determines if the Dbvisit archive log gap report will be included in the daily heartbeat email.
- Unix/Linux only. Add initial network setup test. If remote shell method, or network is not configured correctly, Dbvisit will provide more detailed error message.
Fixes:
- Graceful Switchover processing fix with more than 9 redo log groups. Controlfile was not created correctly.
- Allow for ORACLE_SID length > 9 characters.
- For some terminal types the enter key had to be pressed before Dbvisit displayed more license information when updating the license.

Was it Einstein who once said "Things should be as complex as they need to be, but no more ..."?

