Quantcast
Channel: Database Mirroring forum
Viewing all 1024 articles
Browse latest View live

The remote copy of database has not been rolled forward to a point in time that is encompassed in the local copy of the database log.

$
0
0
I am able to setup the partner on the mirror with no problems.  I receive the error message when I try to setup the partner on the principal.  I have restored the log file with no recovery, and even created additional log files and restored them and still receive the same error. 

TITLE: Database Properties
------------------------------

An error occurred while starting mirroring.

------------------------------
ADDITIONAL INFORMATION:

Alter failed for Database 'printorders'.  (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.5000.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Alter+Database&LinkId=20476

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

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

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

The remote copy of database "printorders" has not been rolled forward to a point in time that is encompassed in the local copy of the database log. (Microsoft SQL Server, Error: 1412)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.4053&EvtSrc=MSSQLServer&EvtID=1412&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

FQDN Error with Error 1418 and Error 1408 when configuring mirror on work group pc

$
0
0

I configured mirror on work group PC without witness server so when I  start mirroring i get error one or more of the server network address lack a FQDN...

and Error 1418 : The remote copy of the database "database name"is not recovered far enough to anable database database name.

and error 1408 : the server network address"TCP://Qureshi:5022" cannot be reached or does not exist..

Is this mirror works on work group PC.

Mirroring - The server instance Partner rejected configure request

$
0
0

I configured Mirroring with no witness between 2 SQL Server 2008 R2 for about 48 databases mirrored.

Recently, I found out this error in the windows event log occuring days and night each 25 sec on the principal. No specific message on the Partner.

"The server instance Partner rejected configure request; read its error log file for more information. The reason 1460, and state 1, can be of use for diagnostics by Microsoft. This is a transient error hence retrying the request is likely to succeed. Correct the cause if any and retry"

Mirror database seems perfectly in sync. Some one can give me more information to correct this issue.

Using SQL Server in Informatica PowerCenter

$
0
0
How can I use SQL Server with Informatica, for what I understand using the Informatica PowerCenter Server and SQL requires the Login Name, Password and Port Number, what is the Port Number for SQL?

Transfer logins

$
0
0

Hello.  I need some help automating transfer of logins from principal server to mirror server (SQL Server 2008 R2) using a SQL Agent job.  I want to use sp_help_revlogin to dump a list of logins on the principal server to a .sql text file.  Then I want to put the text file on the mirror server, so in the event of a failover (which we will do manually), we can use the .sql file to restore the current logins on the mirror.  It looks like an effective way to dump the logins to a text file on the principal is by using SQLCMD:

  sqlcmd -E -d master -Q "exec sp_help_revlogin" -o "C\temp\logins.sql"

Is there a way to use variables with SQLCMD to dump the text file directly to the mirror instead of the principal?  I can query sys.database_mirroring to get the name of the mirror server, but I'm I'm stuck on how to stuff the mirror server name into a variable so that SQLCMD evaluates to:

  sqlcmd -E -d master -Q "exec sp_help_revlogin" -o <a href="file://\\\temp\logins.sql">\\<mirror_server>\temp\logins.sql

I guess I could just create a separate job step to copy the file from principal to mirror instead of trying to use variables, but I'd like to try variables first.

how to destroy the stale connection when we have a failover.

$
0
0

The exception for the Scenario #5 in the following article is "because the connection in the pools has no knowledge of the failover that has happened, it still assumes that Server_A is up and running and will attempt to connect to it."

so how to deal with that situation? just destroy the stale connection in pool?(if that's the case how to do from ado.net layer?) otherwise,the subsequent requests still use the stale connection and happen exception again.

http://blogs.msdn.com/b/spike/archive/2010/12/08/clarification-on-the-failover-partner-in-the-connectionstring-in-database-mirror-setup.aspx


how to deal with the stale connection when failover happens ?

$
0
0

The exception for the Scenario #5 in the following article is "because the connection in the pools has no knowledge of the failover that has happened, it still assumes that Server_A is up and running and will attempt to connect to it."

so how to deal with that situation? just destroy the stale connection in pool?(if that's the case how to do from ado.net layer?) otherwise,the subsequent requests still use the stale connection and happen exception again.

http://blogs.msdn.com/b/spike/archive/2010/12/08/clarification-on-the-failover-partner-in-the-connectionstring-in-database-mirror-setup.aspx



Troubleshooting Steps Link for Database Mirroring

$
0
0

Dear Link,

I want to know troublshoot steps link to layman understand easily.

Please share it if possible.


to confgue SQL server Database Mirroring

sql database mirroring, different version

$
0
0

can i use different version of sql server for database mirroring.

let say, principle is sql 2008r2 and mirror is sql 2012.

witness is server sql 2008r2?

all of them are standard edition.

True or False statment to a mirrored solution?

$
0
0

Hi,

We have this code and it basically fails as it appears to be validating the 2nd statement to see if the database is accessible or not - however surely with the code written it should always run on the Principal??  (code has been scrambled but should make sense)

So when this is run it always errors that MONEY on SERVERB is a mirror - but I don't care as it should be running the 1st step of the logic and then ending when that is satisfied?

Does anybody know a way around this?

In short, the code is going in an agent job so it should run on the principal at all times - hopefully this makes sense.

Thanks 

 

IF exists
(SELECT TOP 1 * FROM [SERVERA].MASTER.sys.DATABASE_MIRRORING
WHERE mirroring_role_desc = 'PRINCIPAL')
 
 BEGIN
   insert into [SALESSERVER].[weborders].[dbo].Orders
   (id,object,compid,type,createdtime,updatedtime,requeststatus)
   SELECT *
   FROM [SERVERA].[MONEY].[dbo].Orders
   WHERE requestStatus = 1
 END

ELSE 
  begin 
   insert into [SALESSERVER].[weborders].[dbo].Orders
   (id,object,compid,type,createdtime,updatedtime,requeststatus)
   SELECT *
   FROM [SERVERB].[MONEY].[dbo].Orders
   WHERE requestStatus = 1
  end

status disconnected

$
0
0

Hi,

The sql 2008 R2 sp2 high performance mirroring became disconnected. It seems was caused by mirror server restarted.

The mirroring settings was on port 5022. The TCP port on mirror now = 1433.

How to fix the difference? Will re-run the mirroring config security wizzard and enter 5022 there work?

Thanks!

Move mirror without breaking it

$
0
0

Greetings.

Can anyone suggest me the options to move the mirror from one SQL server instance to another without breaking the mirror and downtime.

Thanks in advance

Is the witness server and instance of MS SQL Server?

$
0
0
Is the witness server and instance of MS SQL Server?

Mr Shaw

database in emergency mode

$
0
0

Dear All,

My database was in emergency mode so i need to bring it back to normal mode. How to bring the database back from emergency mode my database size is 350 gb.

Please help.

Prabeen kumar patra

Micromax informatics ltd.


SQL Database Mirroring

$
0
0

We have a SQL 2008 R2 Standard Edition server running on a two node Active Passive Fail Over Cluster (Windows 2008 R2). For DR purposes, we would like to have mirroring setup on another SQL Server, preferably standalone on another site. We will be using the high performance mode for asynchronous operation. For this we will need to upgrade our licensing from Standard to Enterprise. Also, we dont want the automatic failover to the mirrored server. If a DR happens, we want to make the determination and do this manually. I have read through the documentation and looking for input from some one who has really done this. The following are my questions:

1. Can database mirroring be setup from a two node cluster from one site to a standalone server on another site.
2. Can multiple databases be mirrored from the above configuration.
2. Are there any issues upgrading from a SQL Server Standard to an Enterprise version on a live server.
3. Can the automatic failover behavior be controlled, ideally, we wouldnt want to use this option and handle the failover manually.So I think we will not be using the Witness server.


Has anyone done this and anything to watch out for? Greatly appreciate any help.

Move mirror without breaking it

$
0
0

Greetings.

Can anyone suggest me the options to move the mirror from one SQL server instance to another without breaking the mirror and downtime.

Thanks in advance

Is the witness server and instance of MS SQL Server?

$
0
0
Is the witness server and instance of MS SQL Server?

Mr Shaw

SQL Database Mirroring

$
0
0

We have a SQL 2008 R2 Standard Edition server running on a two node Active Passive Fail Over Cluster (Windows 2008 R2). For DR purposes, we would like to have mirroring setup on another SQL Server, preferably standalone on another site. We will be using the high performance mode for asynchronous operation. For this we will need to upgrade our licensing from Standard to Enterprise. Also, we dont want the automatic failover to the mirrored server. If a DR happens, we want to make the determination and do this manually. I have read through the documentation and looking for input from some one who has really done this. The following are my questions:

1. Can database mirroring be setup from a two node cluster from one site to a standalone server on another site.
2. Can multiple databases be mirrored from the above configuration.
2. Are there any issues upgrading from a SQL Server Standard to an Enterprise version on a live server.
3. Can the automatic failover behavior be controlled, ideally, we wouldnt want to use this option and handle the failover manually.So I think we will not be using the Witness server.


Has anyone done this and anything to watch out for? Greatly appreciate any help.

database in emergency mode

$
0
0

Dear All,

My database was in emergency mode so i need to bring it back to normal mode. How to bring the database back from emergency mode my database size is 350 gb.

Please help.

Prabeen kumar patra

Micromax informatics ltd.

Viewing all 1024 articles
Browse latest View live


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