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

Server Network Address on Clustered Instance

$
0
0

Hi,

I am looking to configure database mirroring and as part of this need to specify the server network address. The primary instance is on a 2 node cluster and the mirror data base is on a separate instance on a standalone server. When creating the server network address on the clustered instance should i specify the hostname\IP address of the SQL cluster and if so do I need to do this on both nodes in the cluster?

Thanks 


Database monitoring tools in Market

$
0
0

Hi,

I are looking for a enterprise wide tool that monitor our sql server databases and other applicaitons and also the server that we those the applications .....

I am working as a start up dba .....

Please help me..

DATABASE SYNC WITH SAN

$
0
0
MY SQL SERVER 2005 DATABASE PICKS UP DATA FROM A SHARED DRIVE IN SAN MOUNTED ON A WIN 2003 OS SERVER HAVING IP ADDRESS A.B.C.D .NOW I HAVE TAKEN THE BACKUP OF DATA ON THIS SAN TO ANOTHER SAN MOUNTED ON A WIN 2008 SERVER HAVING IP A.B.C.X. CORRESPONDINGLY WHERE DO I MAKE CHANGES IN THE SQL SERVER DATABASE CONFIGURATION  SO THAT IT CAN STILL GET THE DATA FROM THE NEW SAN?

Witness disconnected to Principal but connected to Mirror

$
0
0

Hi,

Mirroring with witness  is configured in  prod environment 10 days ago and works fine. Today during monitoring i have  found that the witness is disconnected to principal but connected to mirror. 

I have checked the mirroring end points and its works fine for the port 5022.

Can any body tell me why is this happen and how can it come back.


Error :1418

$
0
0

I have read all the articles regarding ERROR :1418.

Still Seeing Same error :

Senario:-  Trying mirroring on 2 physical server.

OS-windows server 2008 sp1 in Domain Environment.

SQL Server:- 2008r2 sp1 64bit.

done to troubleshoot:-

1. Telent status  : ok (on both servers primary & secondary)

2.

SELECT type_desc, port 
FROM sys.tcp_endpoints;
................
SELECT state_desc
FROM sys.database_mirroring_endpoints;

ALTER ENDPOINT mirroring
STATE = STARTED 
AS TCP (LISTENER_PORT = 5022)
FOR database_mirroring (ROLE = ALL);

SELECT role 
FROM sys.database_mirroring_endpoints;

SELECT EP.name, SP.STATE,
CONVERT(nvarchar(38), suser_name(SP.grantor_principal_id))
AS GRANTOR,
SP.TYPE AS PERMISSION,
CONVERT(nvarchar(46),suser_name(SP.grantee_principal_id))
AS GRANTEE
FROM sys.server_permissions  SP , sys.endpoints EP
WHERE SP.major_id  = EP.endpoint_id
ORDER BY  Permission,grantor, grantee;
---------------------------------------------------------------------

3. service user having sysadmin permission on public.

 

Mirror won't start

$
0
0

In SQL 2008  R2

Setup mirror 

Mirror database in recovery mode

all endpoints up in started mode

I can telnet to all 3 servers in mirror

When I go to start the mirror I get error it can connect to mirror server on specific port.

In event log it says the mirror servers is closing the ip port being used.

I am lost in what to do.

Firewall is off, network seems fine.

Help is appreciated.

Dave


Dave Kozlowski

sql

$
0
0
CareFor hospital is one of the popular hospitals in Scotland with branches all over the world. The
hospital is known for its dedicated staff and high quality services. It has a number of specialized
departments, such as Cardiology, Hematology, Nephrology, and Oncology, each equipped with
experienced doctors. The hospital provides various facilities, such as CT scan, Ultrasound, and Xray.
New patients need to register themselves first and pay a fee prior to the doctor's appointment.
If the doctor prescribes a test, the patient needs to pay the fee of the test before the test.
Currently, the hospital management maintains details of the patients, doctors, and departments
manually. The details of the patients are stored in the Patient file and consist of name and ID of
the patient, name and code of the department, fees, and name of the doctor the patient wishes to
visit. Similarly, the details of the doctors are stored in the Doctors file. These details consist of the
doctor's name, ID, and salary, department name and ID, name of the department head, and the
doctor's prescribed fees to be charged from the patients. In addition, the details of the
departments are stored in the Department file and consist of department name and ID, associated
doctor's names and IDs, and name of the department head.
Recently, the hospital has started a free health check-up camp on the weekends. This has led to a
tremendous increase in the number of patients visiting the hospital. Consequently, it has become
very difficult for the management to maintain the patient records manually. Therefore, the
management has decided to use a hospital management system to maintain the records of the
patients, doctors, and departments online. It has also approached HighTech Inc. for developing
the hospital management application.
At HighTech Inc., a team of developers have been assigned the task of creating the required
application. Jim Houston, being the project manager, analyzes the project requirements and
identifies various components required to create the desired application. Being the database
developer in the team, you have been assigned the task of analyzing the application and creating
the required databases and tables.
You need to analyze the various files in the given scenario and perform the following tasks:
1. Identify the entities that may cause data redundancy. Justify your answer. [5 Marks]
2. Identify the problems that may arise due to data redundancy in the given scenario. Justify your
answer. [5 Marks]

Database Mirroring

$
0
0
If database in suspect mode what is going to be happen in mirroring? will it failover?

How to resolve Error: 1418 in sql server while mirroring

$
0
0

Hi  Support,

I am trying to mirroring a database in sql server. I created a database and took a backup of it and restored on the another instance(i am using same server but with different instances). But after doing all operations and click on start mirroring, then it showing following error.

The server network address "TCP://indserver.xxxx.local:5022" can not be reached or does not exist. Check the network address name and reissue the command. (Microsoft SQL Server, Error: 1418)

I followed mirroring steps in this "http://www.codeproject.com/Articles/31325/Step-by-Step-SQL-Mirroring-the-ASPState-Database" Here it says, create an user on both principal and mirror server with the same credentials in STEP 3.So please provide me solution for above error.

unable to start mirroring due to 1418 Errror!

$
0
0

 Hi all,

 while starting  mirroring getting error " TCp/ip does not exist "

The server network address "TCP://C0046739.itcs.hp.com:5022" can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational

1.TELNET ServerName  5022

2.firewall is turned off.

3. en poinst are started

4. endpoints dropped and recrted

 eventhogh getting same error . pls help me...

Thanks in advance..

SQL 2005 mirroring - time taken to fail over?

$
0
0

I'm looking for an easy way to 'measure' the amount of time it takes our principal Database Server to fail over to our mirror Server in which all regular service will be resumed.

Any help would be hugely appreciated 

Thanks guys

ras


SQL Always On

$
0
0

Hi,

I have installed 2 SQL servers [SQL01 & SQL02] with failover clustering and have enabled alwayson feature.

Issue is I'm unable to connect to a database which is part of high availability group after stopping SQL service on server SQL01,

But when I shutdown SQL01 server completely, I'm able to connect to the database, does SQL always on feature works only when  the server is down or will it work even when the service is down?

please help me in troubleshooting the issue.

Regards,

Nandish N M


Warm Regards, Nandish N M

Database Mirroring Connectivity issues

$
0
0

Dear Friends,

I am trying to configure mirroring between two servers without witness server. Both servers have configured default instance

(MSSQLSERVER). I am configuring the mirroring settings but when clicking to start its giving me this one error:

================================================

TITLE: Database Properties
------------------------------
An error occurred while starting mirroring.
------------------------------
ADDITIONAL INFORMATION:
Alter failed for Database 'JI-TFS-Warehouse'.  (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600.1+((KJ_RTM).100402-1539+)&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 server network address "TCP://MIRROR.corp.aaj.com:5022" can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational. (Microsoft SQL Server, Error: 1418)

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

################################################################3

I can see this error in event viewer window as follow:

Database mirroring connection error 4 'An error occurred while receiving data: '10054(An existing connection was forcibly closed by the remote host.)'.' for 'TCP://MIRROR.corp.aaj.com:5022'.

From principle: If connecting with server (mirror) without instance name then its connecting but if mentioning instance name like mirror\MSSQLSERVER then its not connecting.

Regards

Shall we run mirroring on two different service packs.

$
0
0

we have setup sql server 2008 mirrored instances in cluster. we use to upgrade the server to sp3. but client was asking us to apply sp3 on one server one week and another server in another week. 

shall we run the mirroring on two diffrent service packs..

and i would like to know which is the best way to install service packs on mirrored with clusters servers.

try this out

$
0
0

http://www.ion.ac.uk/node/143520/
http://adventurerswanted.com/forum/viewtopic.php?f=2&t=36618

while configuring mirroing getting error : 1431

$
0
0

Hi Experts,

while coniguring mirroring getting error 1431.

pls  share your ideas.

Mirror error 1418 (in principal server sql error log - :DNS lookup failed with error: '11004

$
0
0

Task- Mirroring between DC and DR. DC servers are in failover clustering having Virtual IP

xxx.xxx.xx.34. DR server is running on standalone  server with IP xx.xxx.xx.73.DC&DR servers are in trusted domain having different subnet.

  1.       SQL Servers are installed with same service account (domain account  abc\admin) on DC &DR Site.
  2.       Mirrored DB is restored with no recovery having latest full &transaction backup.
  3.        port is used 3399. Opened this port on both side on firewall.
  4.       Telnet is successfully executed from DC to DR and vice versa. On DC IP xxx.xxx.xx.34 (Virtual cluster IP).
  5.       Endpoints are created on both side.
  6.       But when configuring mirroring .error 1418 is occurred.
  7.       Seen in sql log error in principal server :- ERROR :DNS lookup failed with error: '11004(The requested name is valid<c/> but no data of the requested type was found.)
  8.       Checked DNS ,itz working ok.
  9.       There is no error generating in SQL log of Mirror server.
  10.   Till now login a/c for each other servers have not created. when tries to create login

 On Principal server—

USE master;

GO

CREATE LOGIN [domain\DRservername$] FROM WINDOWS;

--GO

--GRANT CONNECT on ENDPOINT::Mirroring TO [domain\DRservername$];

Error is occurred– Windows NT or user group not found.

On mirror server-?

What have to use in place of server name   xxx.xxx.xx.34 or actual server name on which cluster service in running.

@Please help.

    


Regards Naveen MSSQL DBA

Mirroring and Transaction dumps

$
0
0

I am in the process of setting up a mirror (with witness server) in SQL 2008 R2.  I was told I need to have a scheduled transaction log (dump) backup running. 

How do I setup a scheduled transaction dumps in SQL 2008 R2.

Any help is appreciated.

Dave


Dave Kozlowski

Database alias

$
0
0

Hello,

I configured database mirroring and it's working properly.  Both servers are running sql 2005 enterprise w/SP1.  I also configured snapshots on the mirror server so I can run reporting service on them.  My problem is that database names are hardcoded on views and stored procedures.  Is there a way to workaround this?  I don't want to rewrite all my reports and stored procedures.  Thanks.


Shawn

Failover errors in mirroring

$
0
0

Found a regedit object to set in management_sql_connection_string     failover partner= server

I used the syntax   failover partnet = server.xxx.xxx for fqdn on 2 publishing servers

I am getting the error  Failed t generate publishing metadata. Reason "Keyword not supported: "failover partnet"

I got this from a Microsoft doc 

Is the syntax wrong, do I need quotes around the server name

Any hep is appreciated.

Dave


Dave Kozlowski

Viewing all 1024 articles
Browse latest View live


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