How to restore an rman backup without any existing control files

This week a came across the following very interesting scenario:

The customer made an RMAN online backup and saved it to an NFS location. Controlfile autobackup was on. During backup the backupset was written to that NFS location. The control file however was written to the controlfile autobackup location (i.e. a different location).

After that the customer destroyed all disk groups and re-installed the database servers.

Afterwards he tried to restore the database which failed because there was no controlfile in the backups at all. In order to make it worse the customer had no log files from the RMAN backup session, no DBID and no trace files whatever – including the alert.log. This leaved us with the following situation:

  • no autobackup anywhere
  • no older controlfile available
  • no snapshot controlfile available
  • no redo log available
  • no backup logfiles
  • no “backup controlfile to trace” information
  • no DBID
  • no alert.log

Under normal circumstances restoring the database from an rman backup without having any control file is impossible. In this article i will show you an approach you might use to restore the datafile anyway.

Continue reading

Posted in Oracle in general | 6 Comments

Networker: Fixing “NSR peer information” errors

Just because i have to use google to find the solution often here the direct link for fixing nsr peer information error messages.

An example error message can be found below:

39078 19.10.2010 12:07:35  nsrexecd GSS error: There is already a machine using the
name: "clientname.domain.com". Either choose a different name for your machine, or
delete the "NSR peer information" entry for "clientname.domain.com" on
host: "networkerserver.domain.com"

Preston De Guise explained in his blog how to fix the error.

Posted in Networker | Leave a comment

Less known helpers: Linux sg3_utils

The linux sg3_utils are small tools intended for working with FC / SCSI / SATA / SAS hard driv.es. They can be used to send SCSI commands (for instance INQUIRY, LOG SENSE, …) to these devices.

sg3_utils can be found on freshmeat.

An in-depth description can be found here.

Posted in Oracle in general | Leave a comment

ASM witth Oracle 11g Release 2 – Best Practises revisited

Starting with 11g Release 2 it is possible to store voting disks and OCR in ASM. But how does this affect ASM best practises?

Martin Decker found the updated Oracle document about this issue.

.

Posted in Oracle in general | 2 Comments

Using Large Pages for Oracle on Windows 64-bit (ORA_LPENABLE)

For using Large Pages on Windows some settings are needed:

1.  Start > Settings > Control Panel
2.  click Administrative Tools.
3.  click Local Security Policy.
4.  Expand Local Policies and select User Rights Assignment.
5.  Select Lock pages in memory and choose Action > Security...
6.  Click Add...
7.  Select the username that was used to install Oracle and the ora_dba group from the Name list.
8.  Click Add.
9.  Close Select Users or Groups dialog by pressing OK
10. Click OK to close the Local Security Policy Setting dialog.
11. Open Regedit
12. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb10g_home1
13. Create a registry key (REG_SZ) named ORA_LPENABLE  and set the value to 1
14. Reboot the server.
Posted in Oracle in general | Leave a comment

How to determine FC HBA WWN on Oracle Enterprise Linux 5

To determine the FC HBA WWN on Oracle Enterprise Linux (OEL) use:

cat /sys/class/fc_host/host<number>/port_name

For example:

[root@host sys]# cat /sys/class/fc_host/host6/port_name
0x2100001b329308df
[root@host sys]# cat /sys/class/fc_host/host5/port_name
0x2100001b329388d9
Posted in Oracle in general | Leave a comment

EMC Networker: NDMP backups are failing after upgrading to 7.6.1

After upgrade to EMC Networker 7.6.1 NDMP are failing with:

filer:/vol/vol0/etc 6899:nsrdsa_save: Warning: Could not determine job id. Continuing ...
filer:/vol/vol0/etc 39078:nsrdsa_save: SYSTEM error: Could not establish jobid with server.
filer:/vol/vol0/etc 39078:nsrdsa_save: DSA save time could not be retrieved, exiting

Thsi is a known bug in 7.6.1. The fix is available here:

http://solutions.emc.com/emcsolutionview.asp?id=esg116939

Posted in Networker | Leave a comment

Less know features: Alternate Archive Log Destination

Oracle offers the ability to specify so called ‘alternative’ archive log destinations in case the primary archive log destination gets full. You can enable this feature by setting:

log_archive_dest_1='location=+FRA REOPEN=0 MANDATORY alternate=log_archive_dest_2'
log_archive_dest_2='location=/some_path MANDATORY'
log_archive_dest_state_1=ENABLE
log_archive_dest_state_2=ALTERNATE

A configuration often used involved using the flash recovery area as primary destination and a nfs destination as alternative archive log destination.

Posted in Oracle in general | Leave a comment

Oracle 11.2.0.2.0 released

Few weeks ago Oracle released the first patchset for 11g Release 2 database. This is a summaization of other blog posts regarding upgrading or installating 11.2.0.2.0.

At the moment (4th November 2011) 11.2.0.2.0 is available for the following platforms:

  • Linux 32-bit
  • Linux 64-bit
  • AIX 5 64-bit
  • Solaris SPARC 64-bit
  • Solaris Intel 64-bit

 

Upgrading

Upgrading Grid Infrastructure to 11.2.0.2.0 on RHEL 4

Upgrading RAC database to 11.2.0.2.0

Problems

Upgrade to 11.2.0.2.0 failed due to errors in HA IP stack

Posted in Oracle in general | Leave a comment

Busy

I am pretty busy the last weeks so i had no time for updates. I will have more time next week.

Posted in Oracle in general | Leave a comment