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

Failover in mirror

$
0
0

I am trying to setup connection for a system using sql to failover to the mirror.

I was given instructions to use  failover partner in my sql connection string

If get a "Keyword not supported" in the event log

I also tried   failoverpartner and failover_partner and all result with the same errro.

Am I missing something or is there another keyword to use.

Help is appreciated.

Dave


Dave Kozlowski


Like bad weeds

$
0
0


http://zilvia.net/f/showthread.php?p=5635012


http://vk.com/topic-71453539_30184617


https://newtoy.zendesk.com/entries/38749240-Free-Watch-The-Vampire-Diaries-Season-5-Episode-22-Putlocker-For-Free-To-Download


http://steamcommunity.com/groups/vampire5x22/

http://bakrimusa.com/forum/index.php?topic=27848.0

web sql

$
0
0

How i configured my SQL to assces data via internet

how to get mirror online ,if witness and principal fails

$
0
0
how to get mirror online ,if witness and principal fails

i was created 4 maintainance sub plans,after that when i check it in sqlserver.agent......all 4 subplans are not in root of agent.give me solution

$
0
0
i was created 4 maintainance sub plans,after that when i check it in sqlserver.agent......all 4 subplans are  not in root of agent.give me solution

Options to Enable a Complex Replication structure

$
0
0

I have a complex architecture of data instances that need to see data replicated down from a single primary instance.

I'll illustrate the scenario and hopefully someone can suggest a workable solution.

I have a DB consolidation platform based on SQL 2012 Enterprise using several high spec physical servers, each hosting a single instance that takes part in a variety of availability group configurations. However, I've been asked how we can host a database on one of the availability groups, then replicate that same data content down to a several SQL Express instances.

Is it possible for a SQL 2012 Enterprise instance to participate in an availability group AND to mirror (from one of it's red-only nodes) to the 8 SQL Express instances? Given that both replication requirements would be enabled by DB mirroring I'mnot sure it's do-able. But I'm keen to be shown a workable solution.

Do multiple instances on a server need a unique mirror port?

$
0
0
The title says it all.  I have 2 Primary servers with a single instance setup to mirror to a single server with 2 instances.  Do I need a unique mirror port for each instance on the mirror server?

Changes in Database Mirroring from 2005 to 2008 r2

$
0
0

Hi

I want to know what are the changes done for database mirroring in sql server 2005 and 2008 r2.

If yes what more features added in 2008 r2.

Thanks in advance


Navakanth


AlwaysOn High Availability Jobs

$
0
0

Hi to all,

I've 3 servers configuration in AlwaysOn High Availability:

SERVER1Primary(synchronous)

SERVER2Secondary(synchronous)

SERVER3Secondary(asynchronous)

I need to configure a custom job (that is a simple query) that must execute only on PRIMARY SERVER, I cannot configure the job into all servers because I receive three times the same items.

Having said that if I create the job only on SERVER1 after an automatic failover to SERVER2 I will not have this job.

Someone can help me?

thanks

site level failover

$
0
0

scenario:

2 datacenter with good connectivity. SQL 2012 principal and witness servers are placed in main site and mirroring server is place in DR site. high-safety mode with auto failover proposed.

customer is asking what about the main site down? can force mirroring server continue to support the application (RMS2012) in DR site?


Jason

Removing mirroring

$
0
0

Hi,

My transaction log of the principle DB is has grown so much that it has occupied the whole disk space,

now I am not able to truncate the transaction logs., as mirroring is enabled.

not able to failover or remove the mirroring as well.

what would be the immediate solution to free the disk space/truncate the logs for the DB.

thanks

Delete standby database fails

$
0
0

Hello,

I setup replication on database A in server A to Server B and on the same database A i have logshipping setup as well to Server C. Now I removed logshipping configuration on database A in server A and trying to delete the mirrored copy of database A in server C and it wont let me. It throws the below error:

Cannot drop the database 'DatabaseA' because it is being used for replication.

I tried to detach it and it wont let me. I took the database offline and tried to delete it and it wont. I stopped the sqlserver service and deleted the ldf and mdf manually and after starting it back I still see it.

Is there a work around?

Thanks

Mirror Fail over with registry setting

$
0
0

I have setup a Mirror with Witness server using SQL 2008 R2 Standard.  

I have found a document on how to add a value to the Management_SQL_CONNECTION_STRING  with value

failover partner = server2.  I keep getting a keyword not supported for:

failover partner,  failoverpartner and failover_partner.

This is a registry setting.  

Has anyone used this keyword and if so what is the correct format?

Any help is appreciated.

Dave


Dave Kozlowski

Back up between two SQL servers

$
0
0

Hi everybody,

I have two servers in my office. SQL server 2005 runs on both. I want to back up from our databse from one and synchronize on another every night. please help me.

Thanks

sql database

$
0
0

Lets say in case our primary MSSQL database went down and no longer in usable state , In such situation can we use same MSSQL license  that we used in Primary database to start our new MSSQL  server  ? 

using sql standard 2014


Hi

$
0
0

Hi,

we have mirroring setup with PRINCIPAL,MIRROR and WITNESS server and suddenly the connection was lost to MIRROR  server,i know if the principal is not available then MIRROR will be online but here MIRROR itself is not available then what will bw the state of PRINCIPAL and what is the use of WITNESS server here?

please guide me how to proceed with this issue?

How can we position 5 Database Server for a centralized Database ?

$
0
0

1) We are providing a e governance solution for an organization,where we are providing a  centralized database,Client have provided 5 Database server for the same.how can we position the Database Server? there are 5000 Concurrent users and 25000 users,SAN Storage for approx. 60 TB,Database size of 2 TB and growth of 1 TB every year

2) How many instance can we have for above said Case?

3) How much RAM Required ?

Database Mirroring and Replication in SQL Server 2008 R2

$
0
0

I have configured the mirroring and replication between 4 servers (A,B,C,D).i.e, Mirroring between A to B and C to D, Replication between A and C. The configuration was a success and I am able test the replication(B to C) when I have failed over the mirroring dbs(A to B). The replication works fine after the mirroring fail over but I am not able to check its status in the Replication monitor. When I am having any insert in a table which is replicated in B, it is reflected back to C..it means the replication is working fine.

Any thought on how I can view the status of replication from mirrored server. I tried adding the publisher in the monitor, but no luck. If I check the snapshot agent status, it says could not retrieve the info, same with the log reader agent status.

Any suggestions on this please.

Thanks, Siri

ADO.net Connection string behavior with hostfile

$
0
0
HI All,

Our environment does not have DNS- so mirroring is configured as how we setup for different domains. Mirroring is functioning as expected and manual/automatic failover is also working for all databases. Issue is the websites/applications are not functioning as expected when database failover to MirrorSQL server.

On webserver the hosts file is mentioned as
10.11.100.200- PrimarySQL
10.11.500.600 - MirrorSQL

On DB server the hostfile is mentioned as 

10.11.100.200- AMAXXXYYYDS01 
10.11.500.600-AMAXXXYYYDS02

Actual Primary DB instance name is AMAXXXYYYDS01
Actual Mirror DB instance name is AMAXXXYYYDS02

In the mirorring configuration properties the server network address is mentioned as below:
Principal -tcp://AMAXXXYYYDS01:5022
Mirror - TCP:// AMAXXXYYYDS02:5022
Witness- TCP:// AMAXXXYYYDS03:5022


so does the host file in webservers should be as what we have or is it should be the actual name of the server? and what is the difference or is this the issue for sites not functioning?


Also our connection string is like this:
Server=PrimarySQL;Failover Partner=MirrorSQL;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword;Network Library=DBMSSOCN;

From this link
http://msdn.microsoft.com/en-us/library/vstudio/5h52hef8(v=vs.100).aspx

Its mentioned as “When a SqlConnection is successfully opened, the failover partner name is returned by the server and supersedes any values supplied in the connection string.”

Is this is the issue ? why our websites were not able to connect to the failover db server after failover.
Based on above link it seems like when failover happens- Sqlconnection was looking for "AMAXXXYYYDS02"instance name and which is not mentioned in webserver host file. 
Can some one please provide your opinion on this issue? Is the issue with host-files on the webserver?

Briefcase all the time

$
0
0
http://tekkycraft.musicistabest.com/showthread.php?tid=9568
Viewing all 1024 articles
Browse latest View live


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