Quantcast
Channel: SCN : Popular Discussions - SAP MaxDB
Viewing all articles
Browse latest Browse all 1545

Getting error while applying logs to MaxDB standby database.

$
0
0

Hi,

I have created the MaxDB standby instance on other server and copied all the logs from Production instance to Standby instance. I tried applying logs from DBMCLI as below,

recover_start Log LOG 020

But getting error as below in dbm.prt

9 DBMKnl   Statement:  RESTORE LOG FROM '/oracle/SMD/sapdata5/saparch/BE1_LOG.020' FILE  BLOCKSIZE 8 MEDIANAME 'Logu2019

10 DBMKnl   Returncode: -7075

 

I also tried checking the log file using recover_check from DBMCLI getting error as below,

    283 DBMSrv   Command 'recover_check Log LOG 020' is being executed.

-24580 DBMSrv   ERR_COMMAND_FAILED: Command 'recover_check' has ended and failed with return code -24933.

-24933 DBMSrv   ERR_NOSERVICESESSION: No service session active

 

I also tried restoring the log files through DBMGUI but getting error as below in dbm.prt

 

     283 DBMSrv   Command 'backup_restore "Log" LOG 021' is being executed.

       1 DBMKnl   Sending an administrative statement to the database

       8 DBMKnl   Statement:  RESTORE LOG FROM '/oracle/SMD/sapdata5/saparch/BE1_LOG.021' FILE  BLOCKSIZE 8 MEDIANAME 'Logu2019

 

       3 DBMKnl   Received the result of an administrative statement from the database

       9 DBMKnl   Statement:  RESTORE LOG FROM '/oracle/SMD/sapdata5/saparch/BE1_LOG.021' FILE  BLOCKSIZE 8 MEDIANAME 'Logu2019

 

      10 DBMKnl   Returncode: -7075

       5 DBMKnl   Errortext:  Current save skipped, next is ready to take on this tape

     419 DBMSrv   Command 'backup_restore' has ended with return code 0.

     283 DBMSrv   Command 'backup_restore "Log" LOG 022' is being executed.

       1 DBMKnl   Sending an administrative statement to the database

       8 DBMKnl   Statement:  RESTORE LOG CANCEL

       3 DBMKnl   Received the result of an administrative statement from the database

       9 DBMKnl   Statement:  RESTORE LOG CANCEL

      10 DBMKnl   Returncode: -104

       5 DBMKnl   Errortext:  DBM command impossible at this time

       1 DBMKnl   Sending an administrative statement to the database

       8 DBMKnl   Statement:  RESTORE LOG FROM '/oracle/SMD/sapdata5/saparch/BE1_LOG.022' FILE  BLOCKSIZE 8 MEDIANAME 'L

 

       1 DBMSrvCo A DBM Server client connection was established at 2011-01-31 21:24:47 (client process has process ID 5052 on computer testsap14

 

     421 DBMSrv   Command 'backup_restore_state' was executed since 2011-01-31 21:24:50.

  -24580 DBMSrv   ERR_COMMAND_FAILED: Command 'backup_restore_state' has ended and failed with return code -24994.

  -24994 DBMSrv   ERR_RTE: Runtime environment error

  -24778 DBMSrv   1,wrong connection state:requested

  -24580 DBMSrv   ERR_COMMAND_FAILED: Command 'backup_restore' has ended and failed with return code -24994.

  -24994 DBMSrv   ERR_RTE: Runtime environment error

  -24778 DBMSrv   4,connection broken server state 4

       2 DBMSrvCo A DBM Server client connection was released (client process has process ID 5052 on computer testsap14

 

     283 DBMSrv   Command 'backup_restore_cancel' is being executed.

       1 DBMKnl   Sending an administrative statement to the database

       8 DBMKnl   Statement:  RESTORE LOG CANCEL

  -24580 DBMSrv   ERR_COMMAND_FAILED: Command 'backup_restore_cancel' has ended and failed with return code -24994.

  -24994 DBMSrv   ERR_RTE: Runtime environment error

  -24778 DBMSrv   1,wrong connection state:requested

 

And also can I do the switchover like oracle dataguard in MaxDB standby database. Before bringing the MaxDB standby as production instance I will do the log switch on production MaxDB database and apply that last log to standby MaxDB and then put the Production MaxDB database into Admin mode and then I will bring the MaxDB standby as production instance and shipped the log from standby to production and apply the logs as production is now standby is it possible to apply logs on production standby?

 

Thanks,

Narendra


Viewing all articles
Browse latest Browse all 1545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>