Bare metal restore with Oracle client
We are currently testing our backup strategy with Symantec and so far so good.
Since last week I have been trying to do a bare metal restore of an oracle server. this is what I did so far:
- Convert original machine to Virtual machine Point in Time.
- Rename server + assign new IP + new SID
- remove oracle broken database instance (oradim -delete)
- Create new instance with same SID (oradim -new)
- generate new password file (orapwd file=path\pwdsid.ora password=<password>)
- change DBID to the original (rman: SETDBID<dbid ID>)
- Reconfigure backup exec agent utility, restore trust, reconfigure oracle instance and database access.
- Add 'new' virtual server to backup exec interface and configure password
- create restore job in old 'broken' server that uses last available control file.
- restore to a different Oracle server, with the server name, correct log on account and database log on account.
when I execute this job i get the RMAN error:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/18/2013 14:47:45 ORA-27191: sbtinfo2 returned an error
when I enable server side debugging this is the last entry i see in my log:
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.725 [engapi] - Record - 7
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.725 [engapi] - resource - Oracle-Win::\\mlinetstsvr02-vm.itnet.hosp\mlineTEST
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [engapi] - account name -
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [engapi] - account ID - 00000000-0000-0000-0000-000000000000
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [engapi] - resource ID - 00000000-0000-0000-0000-000000000000
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [engapi] - resource Container ID - 00000000-0000-0000-0000-000000000000
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [engapi] - server - mlinetstsvr02-vm.itnet.hosp
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [engapi] - server ID - 00000000-0000-0000-0000-000000000000
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [engapi] - resource OS ID - 39
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [engapi] - resource OS Ver - 0
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [engapi] - resource Type - 14
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [engapi] - resource Sub Type - 2
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [engapi] - flags - 0x5
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [engapi] - update date time - 11/18/2013 1:47:07 PM
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [engapi] - No password Found
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [engapi] - *****************************************************************
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [server] - Removing 'MLINETSTSVR02.itnet.hosp Restore 00060' from status update list
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.726 [server] - Updating status for: 'MLINETSTSVR02.itnet.hosp Restore 00060' (0x18 0x0)
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.727 [server] - Status for: 'MLINETSTSVR02.itnet.hosp Restore 00060' updated
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.730 [server] - Merging of BE / VSR Job Logs not necessary for this Type of Job
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.730 [server] - EndJob() criticalVolumeError - 0x0
BENGINE: [11/18/13 14:47:55] [9512] 2013-11-18T14:47:54.730 [server] - Ending job 'MLINETSTSVR02.itnet.hosp Restore 00060' with error status (-536870080)
to clarify, mlinetstsvr02 is the original server that is broken. mlinetstsvr02-vm is the new machine.
Does anybody have any idea how I can resolve this? Or is there a good step by step guide to do this?
I used the administrators guide but this is not that clear imho.
An update on this problem.
Although it is not resolved we have a workaround that actualy suits our needs better.
We made our own rman scripts and use this as a pre-script to the actual backup task.
BU2012 now only backups the location of our generated backup files. This gives us more freedom in rman configuration (file retention etc) and in how and what we backup.@Sasha, thank you for your time and energy
Kind regards,
C