Forum Discussion

manjula_srilank's avatar
10 years ago

Dissimilar hardware BMR restore error.

Please any one help me. When  I  try to BMR restore I am getting error message "failed to identify BMR restore phase from bmrenv.ini"

 

restoration log as follows 

 

Restoration log start time: 2015/04/16 14:16:22
1 DIAG regutils.cpp:GetRegistryString2() Could not get data from the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\BareMetal\RestoreStepDescription, return code = 2
4 DEBUG CDiskFacadeBuilder.cpp:isLdmActive() Could not determine state of Windows Logical Disk Manager--rc(2).
4 DEBUG CDiskFacadeBuilder.cpp:isSfwActive() Could not determine state of Veritas Storage Foundation for Windows, assuming NOT active, rc=2
1 DEBUG CWindowsVdsFacade.cpp:IsDynamic() GetPack failed, ret=-2147212265
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Device Type=7
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Media Type=12
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Disk Name=\Device\Harddisk0
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Device Type=51
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Disk Name=\Device\CdRom0
2 DEBUG volmisc.cpp:OpenDiskFile() Malformed disk device path \Device\CdRom0.
2 DEBUG volmisc.cpp:getPartitionDatabase() Could not open disk \Device\CdRom0 to get layout.
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
4 DEBUG bmrSystem.cpp:GetBmrVersion() Failed to determine the BMR version.
4 DEBUG bmrSystem.cpp:BmrRunCommand with Callbackfunction Failed, creating process. gle=2
2 DIAG CSaveCfgFile.cpp:execute() Could not run command (powermt display dev=all) in .\CSaveCfgFile.cpp at 137--rc(1),exitCode(2).
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : Finding boot drive.
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : Did not detect boot drive on=D:
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : found boot drive=<?>
4 DEBUG rst_common.cpp::GetPhaseSpecificBmrEnvIni() File X:\bmrenv.ini exists. Reading the current phase value.
1 DEBUG rst_common.cpp::GetPhaseSpecificBmrEnvIni() GetValueFromSection() returned dosRestorePhase=""" in X:\bmrenv.ini. Returning empty string. gle=3758096641
1 DEBUG rst_common.cpp::GetCurrentPhaseFromBmrEnvIni() Correct path to bmrenv.ini was not found. Erroring out.
4 DEBUG CDosRestoreStrategy.cpp:step() Current step=Load Saved Configuration
1 DIAG CNetworkAgentPlat.cpp:setRoutes() Unable to set route for host 192.168.100.2 - gateway 192.168.100.1, return code = 160
4 DEBUG CDiskFacadeBuilder.cpp:isLdmActive() Could not determine state of Windows Logical Disk Manager--rc(2).
4 DEBUG CDiskFacadeBuilder.cpp:isSfwActive() Could not determine state of Veritas Storage Foundation for Windows, assuming NOT active, rc=2
1 DEBUG CWindowsVdsFacade.cpp:IsDynamic() GetPack failed, ret=-2147212265
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Device Type=7
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Media Type=12
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Disk Name=\Device\Harddisk0
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Device Type=51
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Disk Name=\Device\CdRom0
2 DEBUG volmisc.cpp:OpenDiskFile() Malformed disk device path \Device\CdRom0.
2 DEBUG volmisc.cpp:getPartitionDatabase() Could not open disk \Device\CdRom0 to get layout.
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
4 DEBUG bmrSystem.cpp:GetBmrVersion() Failed to determine the BMR version.
4 DEBUG bmrSystem.cpp:BmrRunCommand with Callbackfunction Failed, creating process. gle=2
2 DIAG CSaveCfgFile.cpp:execute() Could not run command (powermt display dev=all) in .\CSaveCfgFile.cpp at 137--rc(1),exitCode(2).
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : Finding boot drive.
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : Did not detect boot drive on=D:
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : found boot drive=<?>
4 DEBUG rst_common.cpp::GetPhaseSpecificBmrEnvIni() File X:\bmrenv.ini exists. Reading the current phase value.
1 DEBUG rst_common.cpp::GetPhaseSpecificBmrEnvIni() GetValueFromSection() returned dosRestorePhase=""" in X:\bmrenv.ini. Returning empty string. gle=3758096641
1 DEBUG rst_common.cpp::GetCurrentPhaseFromBmrEnvIni() Correct path to bmrenv.ini was not found. Erroring out.
4 DEBUG CDosRestoreStrategy.cpp:step() Current step=Detect Current Phase of Restore
4 DEBUG CDiskFacadeBuilder.cpp:isLdmActive() Could not determine state of Windows Logical Disk Manager--rc(2).
4 DEBUG CDiskFacadeBuilder.cpp:isSfwActive() Could not determine state of Veritas Storage Foundation for Windows, assuming NOT active, rc=2
1 DEBUG CWindowsVdsFacade.cpp:IsDynamic() GetPack failed, ret=-2147212265
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Device Type=7
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Media Type=12
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Disk Name=\Device\Harddisk0
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Device Type=51
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Disk Name=\Device\CdRom0
2 DEBUG volmisc.cpp:OpenDiskFile() Malformed disk device path \Device\CdRom0.
2 DEBUG volmisc.cpp:getPartitionDatabase() Could not open disk \Device\CdRom0 to get layout.
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
4 DEBUG bmrSystem.cpp:GetBmrVersion() Failed to determine the BMR version.
4 DEBUG bmrSystem.cpp:BmrRunCommand with Callbackfunction Failed, creating process. gle=2
2 DIAG CSaveCfgFile.cpp:execute() Could not run command (powermt display dev=all) in .\CSaveCfgFile.cpp at 137--rc(1),exitCode(2).
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : Finding boot drive.
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : Did not detect boot drive on=D:
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : found boot drive=<?>
4 DEBUG rst_common.cpp::GetPhaseSpecificBmrEnvIni() File X:\bmrenv.ini exists. Reading the current phase value.
1 DEBUG rst_common.cpp::GetPhaseSpecificBmrEnvIni() GetValueFromSection() returned dosRestorePhase=""" in X:\bmrenv.ini. Returning empty string. gle=3758096641
1 DEBUG rst_common.cpp::GetCurrentPhaseFromBmrEnvIni() Correct path to bmrenv.ini was not found. Erroring out.
1 DEBUG CDosRestoreStrategy.cpp:updateStep() Error in extracting the current dos restore phase from bmrenv.ini. phase=-1
1 DEBUG CDosRestoreStrategy.cpp:step() Incorrect current step found. m_CurrentDosRestorePhase=-1
4 DEBUG CRestoreStrategy.cpp:retry() Retrying step: Detect Current Phase of Restore
4 DEBUG CDiskFacadeBuilder.cpp:isLdmActive() Could not determine state of Windows Logical Disk Manager--rc(2).
4 DEBUG CDiskFacadeBuilder.cpp:isSfwActive() Could not determine state of Veritas Storage Foundation for Windows, assuming NOT active, rc=2
1 DEBUG CWindowsVdsFacade.cpp:IsDynamic() GetPack failed, ret=-2147212265
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Device Type=7
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Media Type=12
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Disk Name=\Device\Harddisk0
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Device Type=51
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Disk Name=\Device\CdRom0
2 DEBUG volmisc.cpp:OpenDiskFile() Malformed disk device path \Device\CdRom0.
2 DEBUG volmisc.cpp:getPartitionDatabase() Could not open disk \Device\CdRom0 to get layout.
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
4 DEBUG bmrSystem.cpp:GetBmrVersion() Failed to determine the BMR version.
4 DEBUG bmrSystem.cpp:BmrRunCommand with Callbackfunction Failed, creating process. gle=2
2 DIAG CSaveCfgFile.cpp:execute() Could not run command (powermt display dev=all) in .\CSaveCfgFile.cpp at 137--rc(1),exitCode(2).
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : Finding boot drive.
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : Did not detect boot drive on=D:
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : found boot drive=<?>
4 DEBUG rst_common.cpp::GetPhaseSpecificBmrEnvIni() File X:\bmrenv.ini exists. Reading the current phase value.
1 DEBUG rst_common.cpp::GetPhaseSpecificBmrEnvIni() GetValueFromSection() returned dosRestorePhase=""" in X:\bmrenv.ini. Returning empty string. gle=3758096641
1 DEBUG rst_common.cpp::GetCurrentPhaseFromBmrEnvIni() Correct path to bmrenv.ini was not found. Erroring out.
4 DEBUG CDosRestoreStrategy.cpp:updateStep() Retrying...
4 DEBUG CDosRestoreStrategy.cpp:step() Current step=Detect Current Phase of Restore
4 DEBUG CDiskFacadeBuilder.cpp:isLdmActive() Could not determine state of Windows Logical Disk Manager--rc(2).
4 DEBUG CDiskFacadeBuilder.cpp:isSfwActive() Could not determine state of Veritas Storage Foundation for Windows, assuming NOT active, rc=2
1 DEBUG CWindowsVdsFacade.cpp:IsDynamic() GetPack failed, ret=-2147212265
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Device Type=7
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Media Type=12
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Disk Name=\Device\Harddisk0
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Device Type=51
4 DEBUG CWindowsVdsFacade.cpp:translateWindowsDisk() Disk Name=\Device\CdRom0
2 DEBUG volmisc.cpp:OpenDiskFile() Malformed disk device path \Device\CdRom0.
2 DEBUG volmisc.cpp:getPartitionDatabase() Could not open disk \Device\CdRom0 to get layout.
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(diskId) PartitionStyle = 1line=5587
1 DEBUG CWindowsVdsFacade.cpp:GetpartitionStyle(vds_disk_extent) PartitionStyle = 1line=5547
4 DEBUG bmrSystem.cpp:GetBmrVersion() Failed to determine the BMR version.
4 DEBUG bmrSystem.cpp:BmrRunCommand with Callbackfunction Failed, creating process. gle=2
2 DIAG CSaveCfgFile.cpp:execute() Could not run command (powermt display dev=all) in .\CSaveCfgFile.cpp at 137--rc(1),exitCode(2).
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : Finding boot drive.
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : Did not detect boot drive on=D:
2 DEBUG rst_common.cpp::GetDriveLetterForOndiskSystemOrBootVolume() @temp : found boot drive=<?>
4 DEBUG rst_common.cpp::GetPhaseSpecificBmrEnvIni() File X:\bmrenv.ini exists. Reading the current phase value.
1 DEBUG rst_common.cpp::GetPhaseSpecificBmrEnvIni() GetValueFromSection() returned dosRestorePhase=""" in X:\bmrenv.ini. Returning empty string. gle=3758096641
1 DEBUG rst_common.cpp::GetCurrentPhaseFromBmrEnvIni() Correct path to bmrenv.ini was not found. Erroring out.
1 DEBUG CDosRestoreStrategy.cpp:updateStep() Error in extracting the current dos restore phase from bmrenv.ini. phase=-1
1 DEBUG CDosRestoreStrategy.cpp:step() Incorrect current step found. m_CurrentDosRestorePhase=-1
Restoration log termination time: 2015/04/16 14:19:56

 

  • Based on the SRT information listed, it shows you have two SRT entries, one a file system (NFS)  based, the second a ISO image CD based (CD_WinPE).

     

    The possible problem I see is the OS version of "NT Server Class 5.2".  That OS version is Windows 2003 and means this must be a Legacy SRT. Please verify this information. If it is not a Legacy SRT, then there is a major issue with the Boot Server, in that the base SRD "wim" file is not at the correct version level.

    I also need to know if the backed up client had SFW installed on it when it was backed up. This is very important! If not, then a Legacy SRT is not required.  Use a default Fast Restore SRT to recover the client.  Use the Boot Server Assistant -> Shared Resource Wizard to create  a new non-Legacy SRT. The OS version of the Fast Restore SRT at BMR Version 7.6.0.X is WinPE 3.0, based on Windows 2008 R2.   The SRT created is generic in nature and will recover any and all  of the supported Windows versions. It does not have to match the client OS. This method does not have to access the file "bmrenv.ini" that is at the root of the restore failure. One easy way to determine if the client configuration showed a SFW disk management.  Create a new Fast Restore SRT and update the NBU client software to the same level as the Boot Server.  Then do a "Prepare To Restore" for the restoring client. BMR will only display an SRT version that will work for the given client configuration.  If SFW is not in play, it will display the SRT name of the Fast Restore SRT created. If SFW is in play,it will display the Legacy SRT name (in your case - LBN).

    To get exact SRT detail information, run the command "bmrs -o querytree -res database -table SRT -id 1".and reply with the information returned so that I can verify the state and content of the SRT used for the restore.  This will describe the entirety of SRT created, to include version of the BMR Boot Server at the time the SRT was created, version of the OS image, and version of any embedded client software.  The option "-id 1" is because this SRT has a SRT_ID of 1, as noted in the output of the command "bmrs -o list -res SRT".  The last column is a digit with this unique number.

     

    Not sure if already noted but the following article I wrote has information on doing Dissimilar System Restore for Windows clients.

    Doing a Dissimilar System Restore (DSR) to new hardware for Windows clients using Bare Metal Restore (BMR) on NetBackup 6.X and 7.X releases.
    http://www.symantec.com/docs/TECH52394

    The title is rather wordy and I will be updating that shortly, along with the content of the article for newer functions introduced by the latest releases of BMR. It will also include screen shots to help define the actions need to perform the activity.

    This article may of use to you as well, as it describes needed device driver support inserted into an SRT:

    Windows Device Driver Requirements for Bare Metal Restore (BMR) 
    http://www.symantec.com/docs/TECH181674

    Please update this thread with the SRT information and I can help you with this recovery action. It would be good to know what is the hardware make and model of the TARGET system that the restore is going to.
     

    And, yes, I am a BMR expert.