Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

LOGSHIPPING RE-ESTABLISHMENT Expand / Collapse
Author
Message
Posted Wednesday, September 26, 2012 1:47 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Friday, October 17, 2014 8:20 AM
Points: 65, Visits: 331
Hi,
I want to understand the Logshipping reestablishment Scenerio After a Failover.Below Mentioned are the details of the Environment for the Better Understanding.


Server A: Primary Server
Server B: Secondary Server

Logshipping established between A and B .

Server A Crashed.I have restored all the Pending Logs to Secondary Server and got it into a Consistent State and Its in Use from last few days .

Now My Server A is UP again and I want to make it as an Primary Server again and Server B as Secondary Again .

Now the main Questions are :

1.Can i just restore the Full Backup of Server B on Server A and change the Mode of B to no recovery(Standby/Readonly) and Reconfigure the LOGSHIPPING from A to B.
Will that Work ??

2.Do I need to restore the Full Backup on Server A and then take a backup from A to B restoring a no recovery(Standby/Readonly) and Reconfigure the LOGSHIPPING from A to B.

What is your Opinion on the above two Doubts .Please Advise
Post #1364487
Posted Wednesday, September 26, 2012 10:15 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 8:51 PM
Points: 7,125, Visits: 12,723
Jai-SQL DBA (9/26/2012)
Hi,
I want to understand the Logshipping reestablishment Scenerio After a Failover.Below Mentioned are the details of the Environment for the Better Understanding.


Server A: Primary Server
Server B: Secondary Server

Logshipping established between A and B .

Server A Crashed.I have restored all the Pending Logs to Secondary Server and got it into a Consistent State and Its in Use from last few days .

Now My Server A is UP again and I want to make it as an Primary Server again and Server B as Secondary Again .

Now the main Questions are :

1.Can i just restore the Full Backup of Server B on Server A and change the Mode of B to no recovery(Standby/Readonly) and Reconfigure the LOGSHIPPING from A to B.
Will that Work ??

2.Do I need to restore the Full Backup on Server A and then take a backup from A to B restoring a no recovery(Standby/Readonly) and Reconfigure the LOGSHIPPING from A to B.

What is your Opinion on the above two Doubts .Please Advise

Not sure if you were saying this already but to be clear, when you take the FULL backup from Server B you'll provide either the NORECOVERY or the STANDBY option as part of the BACKUP command. This will take the backup and make the DB inaccessible for writes all in one step ensuring you have all transactions from Server B to restore on Server A and that no new transactions will enter Server B while you're in the process of failing back.

Before you begin anything disable any Log Shipping or backup jobs still in place.

Here is a guide to help you with the rest of the details:

Changing Roles Between Primary and Secondary Servers


__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1364815
Posted Thursday, September 27, 2012 12:04 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 9:56 AM
Points: 6,482, Visits: 13,945
Jai-SQL DBA (9/26/2012)
Hi,
I want to understand the Logshipping reestablishment Scenerio After a Failover.Below Mentioned are the details of the Environment for the Better Understanding.


Server A: Primary Server
Server B: Secondary Server

Logshipping established between A and B .

Server A Crashed.I have restored all the Pending Logs to Secondary Server and got it into a Consistent State and Its in Use from last few days .

Did you backup the tail of the log on the original primary and restore this?



Jai-SQL DBA (9/26/2012)
1.Can i just restore the Full Backup of Server B on Server A and change the Mode of B to no recovery(Standby/Readonly) and Reconfigure the LOGSHIPPING from A to B.
Will that Work ??

2.Do I need to restore the Full Backup on Server A and then take a backup from A to B restoring a no recovery(Standby/Readonly) and Reconfigure the LOGSHIPPING from A to B.

What is your Opinion on the above two Doubts .Please Advise

You shouldn't need to restore any full backups if you made the switch correctly!


-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1365042
Posted Thursday, October 4, 2012 3:39 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Friday, October 17, 2014 8:20 AM
Points: 65, Visits: 331
thx for responding but I just wanted to know the Following :

Date 1:A and B are working fine with Logshipping Between them
A is Primary and B is Secondary

Date 2:A went Crashed and B was made as Primary .

Date 3:A was established again and now we Need to use it as an Primary again.


Wat would be the Steps for Simplest turnover
Post #1368268
Posted Thursday, October 4, 2012 4:29 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 9:56 AM
Points: 6,482, Visits: 13,945
Jai-SQL DBA (10/4/2012)
Date 2:A went Crashed and B was made as Primary .

Please provide details of the steps you took!




Jai-SQL DBA (10/4/2012)
Date 3:A was established again and now we Need to use it as an Primary again.

Please provide details of the steps you took!


Jai-SQL DBA (10/4/2012)
Wat would be the Steps for Simplest turnover

See above


-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1368289
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse