Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 DB Mirroring Principal Server Off

Author  Topic 

imughal
Posting Yak Master

192 Posts

Posted - 2012-05-05 : 04:11:44
Hi,
i have setup SQL Server 2008 mirroring without witness server, just want to know what will happens and what steps need to take when principal server goes offline.

My senario:
my application is connected to principal server, database has 100 record and is mirror. my principal server goes off and my application shift to mirror server and now mirror server become active now i have started inserting new record for exp insert 10 records.

now my principal server gets back and become active which has 100 record.

how i can bring newly added record in principal server and is there any automatic procedure to this situation. please guide me.
thanks.

Sachin.Nand

2937 Posts

Posted - 2012-05-05 : 11:02:06
What mode is it running in ? And the principal that had gone down should it take the role of a mirror or should it become principal after it comes up again ?

After Monday and Tuesday even the calendar says W T F ....
Go to Top of Page

imughal
Posting Yak Master

192 Posts

Posted - 2012-05-07 : 02:33:06
Hi,
basically i want to test my DR site. my mirroring is set on High performance. i have forcefully shutdown my principal server now my application shift to mirror server.

Application connect to mirror server which is now live, Now i have add some record through application.

Now i have restart/On my principal server and application shift to principal server. i just what to know what will happen in that case , will newly added record available on primary server automatically or do i have to do some manual process so please guide me.
thx
Go to Top of Page

Sachin.Nand

2937 Posts

Posted - 2012-05-07 : 03:02:37
If you choose to make the initially lost principal server as the principal server you are bound to loose all the transaction that were done on the mirror server which had taken the role of the principal server when the original principal had gone down.

So the best practice is to continue having the lost principal server as the mirror server though your original principal server comes online.

After Monday and Tuesday even the calendar says W T F ....
Go to Top of Page

imughal
Posting Yak Master

192 Posts

Posted - 2012-05-07 : 04:03:00
is there anyway to bring all traction / update done at mirror server which taken role of principal server. after we bring initial/original principal server live and make it principal role.
thx.
Go to Top of Page

Sachin.Nand

2937 Posts

Posted - 2012-05-07 : 07:56:18
You would have to set up the mirroring all over again for that.

After Monday and Tuesday even the calendar says W T F ....
Go to Top of Page
   

- Advertisement -