cancel
Showing results for 
Search instead for 
Did you mean: 

Restore DB2 DR server

Former Member
0 Kudos

Hi Everyone,

I have restored full backup in DR server from PRD. I have message successfully completed.When i am trying start sap. R3trans is failed to connect. it is

DB2 -Database,OS- Linux.I am getting below error.

SQL1026N  The database manager is already active.


Activate database failed

R3trans connect failed

DBstartup failed


Regards,

Chandu

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member182657
Active Contributor
0 Kudos

Hi Chandu,

Please share trans.log file for analysis.

Regards,

Gaurav

Former Member
0 Kudos

Hi Everyone,

In trans.log it showing

Error in DB6connect

Dbsl connect Db6 ( sql connect ); A connection to or activiation of database "SID" cannot

be made because of ROLL-Forward pending SQLSTATE=57019


ERROR in DB6connect

ERROR=>Dbsl connect to SID as 'sapsid' failed

no connect posssible: "DBMS = DB6     -----DB2DBFT = 'SID'"


regards,

chandu


former_member182657
Active Contributor
former_member185239
Active Contributor
0 Kudos

Hi Chandu,

You need to performed roll farwarding.

Run the beloc command and check whether the status.

db2 rollforward db <DBSID> query status

With Regards

Ashutosh Chaturvedi

former_member185239
Active Contributor
0 Kudos

Hi Chandu,

Which method are you using restore

326691 - DB6: 'BACKUP' & 'REDIRECTED RESTORE' of a DB2 UDB EEE DB

You can performed the rollforward by the below command

Rollforward database <DBSID> to end of logs

db2 get snapshot for database on <DBSID>| grep -i rollforward

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Everyone,

When i am executing command db2 rollforward db sep query status.I am getting


Rollforward Status

Input database alias = test

Number of nodes have returned status = 1

Node number = 0

Rollforward status = DB working

Next log file to be read = S0000097.log

Log files processed = -

Last committed transaction = 2014-05-13-16.37.14.000000

I checked in DR sever log is not available and checked in Prd server logs are available from S0000127 .How to solve it.

Regards,

Chandu

former_member188883
Active Contributor
0 Kudos

Hi Chandu,

You need to have all the log files starting from S0000097.log onwards.

If these files are not available at PRD then check your backups whether these logs files are backed up.

If available restore the same to DR site and then perform recovery.

Hope this helps.

Regards,

Deepak Kori

JPReyes
Active Contributor
0 Kudos

Depends what sort of backup are you using...

If you used and online backup that include logs you need to do the restore using the logtarget <path> switch...

then you can use db2 rollforward db <DBSID> to end of logs and stop overflow log path "(<path>)"

That should leave the database in a consistent state.

Regards, Juan

Former Member
0 Kudos

Hi everyone,

I got S0000097.log from PRD and copied to dr server log_dir.Executed - db2 rollforward db SID end of logs and stop, db2 rollforward db sid complete.I got succesfull rollforward message.but still unable to start sap.

SQL1026N  The database manager is already active.


Activate database failed

R3trans connect failed

DBstartup failed

Regards,

Chandu

Former Member
0 Kudos

HI Everyone,

We can solve this by taking offline fullbackup of  PRD and restore in DR server ?

Regards,

chandu

former_member185239
Active Contributor
0 Kudos

Hi chandu,

can you paste db2diag.log

With Regards

Ashutosh Chaturvedi

former_member182657
Active Contributor
0 Kudos

Hi,

Give full restart to system & retry again ,if issue persists please share startdb.log

Regards,

Gaurav

Former Member
0 Kudos

Hi Gaurav,

I have restarted and tried to start sap.i'm getting same issue.I have checked in startdb.log. it is empty

Regards,

Chandu