Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all 4689 articles
Browse latest View live

A connection for availability group 'SQL2_HA_group' from availability replica 'SQL2' with id [7AE56038-447F-44FC-AA5A-9ADE6C96FA56] to 'SQL5' with id [72CE5DB7-7D0D-46FF-9D26-061609A4D882] has been successfully established. This is an informational mess

$
0
0
The question:

What is the correct fix or a place to look to get more information.

Details of logs
1. In the Highly Available cluster logs, have this error
SQL Server Availability Group: [hadrag] SQL Server component 'query_processing' health state has been changed from 'clean' to 'warning' at 2013-05-02 03:00:26.130

2. I found the below in the SQL Server error logs.

Date5/1/2013 8:33:30 PM
Log SQL Server (Current - 4/24/2013 10:08:00 AM)
Source spid16s
Message

A connection for availability group 'SQL2_HA_group' from availability replica 'SQL2' with id  [7AE56038-447F-44FC-AA5A-9ADE6C96FA56] to 'SQL5' with id [72CE5DB7-7D0D-46FF-9D26-061609A4D882] has been successfully established.  This is an informational message only. No user action is required.

FYI: This article is related to this, but no answer to my problem is there


Can we SQL/Windows cluster on different geographical locations?

$
0
0

I have a doubt whether we can have SQL clustering one server on newyork and another in chicago.

If yes, then what the complexity involved in configuring the server. 

how to check last log restored in log shipping

$
0
0

Gurus,

I have deleted log shipping from my databases, now after deleting log shipping from my databases, i want to check on secondary which log was last applied.

the following query is not giving any result because i have removed the loshipping.

Please help


Best Regards Nitin

SQL Server 2012 (Standard edition) - High availability

$
0
0

Hi,

I work at a small company and we can't afford the Enterprise edition of SQL server, but we have the same need as a large company (sales people in different time zones +- 6-8h) when it comes to high availability because we only have one it-admin/dba...etc, and that is me and I can't work 24/7 :)

We are using SQL server to host some minor (~20GB each) databases for internal company/staff/not public use that I like to make part of a HA SQL Server solution with automatic failover that can be monitored. What is the best and safest route to go, Mirroring, Failover clustering or replication? We are using Windows 2012 Std and SQL server 2012 Std so we can't use the AlwaysOn feature (SQL Enterprise only). I would prefer if it were possible to not introduce another single point of failure like shared storage (iSCSI, SAN (clustered = too pricey) etc...).

Regars,

  Anders 

Create High Availability Group - Validation failed

$
0
0

I encountered 'Checking Shared network location' error while working on the 'SQL Server 2012 AlwaysOn Availability Group' provided by the TechNet Virtual Labs. The error happened on Exercise 4, task z.

The details of the error is

The secondary server 'EMU-SQL2' cannot read from \\EMU-SQL1\Backup. (Microsoft.sqlserver.Managemetn.HadrTasks)

Addition Information:

An exception occured while executing a Transact-SQL Statement or batch. (Microsoft.SQLServer.ConnectionInfo)

Cannot open backup device "\\EMU-SQL1\Backup\HADR Seeding Test .bak'. Operating System error 5(Access is denied).

RESTORE HEADERONLY is terminating abnormally. (Microsoft SQL Server, Error: 3201)

\\EMU-SQL1\Backup is given Folder Full permission to MSSQLServer, shared permission to Everyone as Full.

Could someone please advise


SQL Server Cluster Design - 2 servers (Active/Passive - Passive/Active)

$
0
0

Hi everyone

I'm working on creating a SQL Server Cluster as:

My idea is to maximize the use of both servers with high availability and fail-over

so if one server is down, the passive instance on the other server will take over

what I'm looking for is :

1. do I have to use Fail-over Cluster, Load-balancing or both ?

2. do I need consider anything else ? am I missing something ?

3. will this work ? :P

thanx in advance

Disk Space Issue

$
0
0

Hello
I installed SQL server for a SharePoint server, I need to  move the databases on SQL server from C: to D: drive, I tried:

database - task - take offline , but that did not work

* should I shutdown sharepoint server before taking the databases offline

* I'm planning to back up all databases,  take them all offline, copy the mssql folder that has (data, logs and backup) from C to D, Deattache the databases and attach them to the new location (are those the right steps to follow?)

*Do I need to do anything on sharePoint server, to let sharepoint know that the databases are on different location?

Thank you,

Moving databases to a different drive

$
0
0

Hello
I installed SQL server for a SharePoint server, I need to  move the databases on SQL server from C: to D: drive, I tried:

database - task - take offline , but that did not work

* should I shutdown sharepoint server before taking the databases offline

* I'm planning to back up all databases,  take them all offline, copy the mssql folder that has (data, logs and backup) from C to D, Deattache the databases and attach them to the new location (are those the right steps to follow?)

*Do I need to do anything on sharePoint server, to let sharepoint know that the databases are on different location?

Thank you,


Moving databases to a different drive

$
0
0

Hello
I installed SQL server for a SharePoint server, I need to  move the databases on SQL server from C: to D: drive, I tried:

database - task - take offline , but that did not work

* should I shutdown sharepoint server before taking the databases offline

* I'm planning to back up all databases,  take them all offline, copy the mssql folder that has (data, logs and backup) from C to D, Deattache the databases and attach them to the new location (are those the right steps to follow?)

*Do I need to do anything on sharePoint server, to let sharepoint know that the databases are on different location?

Thank you,

How to continuously backup SQL 2012?

$
0
0

Hello everyone,

We have deployed an SQL2012 farm for providing maximum high availability with Always On availability groups containing critical databases in synchronous commit mode (1 primary replica + 1 secondary replica).

My thread would be rather a pointing to the right direction than problem as we are now looking a way to have a continuous backup on databases to be also  protected against user errors. The main reason is that the databases are in production while under development as well, and we must make sure that under no circumstance a single transaction is lost. What products/solutions do you suggest or worked with?

I would be interested on how this could be achieved using SQL faetures, Transact-SQL / Jobs as well as if anyone of you already had experience with a third party solution.

I have already looked after:

Symantec continuous backup server: seems to be true CDP, but never tested it or worked with.

VEEAM 6.5: Unfortunately it is only near-continuous and not true-continuous backup solution

Transaction logging: I have seen a couple of people combining database backups with "synchronizations" every 15' and then replaying the remaining transaction logs into the database in case of failure. Would this be a pain in the ass?

Thank you in advance,

Mat.


Mate

Point in time restore

$
0
0

Hello,

let's say i have database 800GB big where i am doing full backup every friday at 10PM, sut-thur 10PM differential backups and transcation log backup every 3 hours starting from 0:00. How would i recover to let's Monday 6PM ?

Do full backup restore from Friday 10PM

Do differential restore from Sunday 10PM

Do transaction log restore from Sunday 9PM till Monday 6PM ?

Dedicated NIC for SQL Server "Always ON"

$
0
0

Hello,

We are trying to setup SQL Server Always ON dedicated NIC.

This is what we have done:

1) We have added the additional NIC on all the nodes partitciapting in "Always ON" and gave that NIC a FQDN. We are using that FQDN in "ENDpoint URL" while going through "Always ON" wizard.

2) We have not changed anthing in "Always On" EndPoint, script of which is listed below:

CREATE ENDPOINT [Hadr_endpoint] STATE=STARTED AS TCP (LISTENER_PORT = 5022, LISTENER_IP = ALL)

FOR DATA_MIRRORING (ROLE = ALL, AUTHENTICATION = WINDOWS NEGOTIATE , ENCRYPTION = REQUIRED ALGORITHM AES)

GO

We tested this by doing bulk insert in one of the database from Availability Group and observed that Secondary Replica is receiving traffic on dedicated NIC but for Primary Replica we saw the tarffic was going through both dedicated and non dedicated NIC. 
How can we ensure that Primary also uses dedicated NIC ? Is it mendatory to setup Listener_IP to the IP of dedicated NIC in the Endpoint ?

Thanks in advance

Real time problems faced while configuring HA on SQL Server 2008 R2

$
0
0

I am going on configure HA/DA on SQL Server 2008 R2. I am preparing a document before going ahead with the solution.

What are the precautions which need to taken before going ahead with the configuration?

What are real time problems faced during configuration and maintenance.

SQL 2012 VDI Access Denied - VSS & DPM 2010

$
0
0

How can the local built in account NT AUTHORITY\SYSTEM be getting permission denied with the sysadmin server role set when performing backup operations? The following system logs are generated - and pasted at the end.

-------

Configuration:

SQL 2012 SP1 11.0.3000 -- installed on a physical host running Windows Server 2012. All media is locally attached.

SQL VSS Writer service running as Local System - per SQL 2012 documentation.

NT AUTHORITY\SYSTEM  -- has been granted the sysadmin server role for 3 instances. In total 2 DBs per instance. Per Data Protection Manager (DPM) documentation.

DPM 2010 - running on physical hosts can backup file structure just fine.

For reference, I can backup my test 2012 box with the same version of SQL 2012 just fine. Really, all it takes is adding the SysAdmin server role to NT AUTHORITY\SYSTEM for each instance. ((Yes, I know the db_backupoperator will allow for Full backups, but the sysadmin is needed for DPMs incremental operations to run))

However, when any backup function from DPM is performed against the SQL DB server in question, it calls on the SQL VSS writer, and the SQL VSS Writer is getting blocked at a permission level to the SQLVDI. Which shouldn't be possible, and has been documented over the years from a number of technet and third party forums as an ongoing problem that plagues the use of the SQL VSS Writer. Solutions include re-registering the .dll files, checking the version of the registered VDI registration, rebooting, -- changing the account that the SQL VSS writer service runs as -- which is not a solution, and many of the threads I found were abandoned.

Again, if the SQL VSS writer is running as local system, and local system is a sysadmin to each SQL instance, how is it getting access denied from VSS and the SQLVDI subsystem?

----------

Event ID - 1, SQLVDI   --   

SQLVDI: Loc=SVDS::Open. Desc=Open(Control). ErrorCode=(5)Access is denied.
. Process=1788. Thread=8844. Server. Instance=DW. VD=Global\{C49FD3D9-F417-4EB1-A713-25ADF5CEB237}1_SQLVDIMemoryName_0. 

--------

Event ID - 8229, VSS

A VSS writer has rejected an event with error 0x800423f4, The writer experienced a non-transient error.  If the backup process is retried,
the error is likely to reoccur.
Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer. 

Operation:
   PrepareForSnapshot Event

Context:
   Execution Context: Writer
   Writer Class Id: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}
   Writer Name: SqlServerWriter
   Writer Instance Name: SQL Server Code-Named 'Denali' CTP2:SQLWriter
   Writer Instance ID: {f07785c1-4c66-4f49-8128-a3519c620a0d}
   Command Line: "C:\Program Files\Microsoft SQL Server\90\Shared\sqlwriter.exe"
   Process ID: 5388

--------

Event ID - 3041, Backup  -- sample event - there is one for every database.

BACKUP failed to complete the command BACKUP DATABASE master. Check the backup application log for detailed messages.

<Security UserID="S-1-5-18" /> -- 

----

Where do I find logs for an Automated Page Repair in the AlwaysOn feature of SQL Server 2012?

$
0
0

This nice article tells me SQL Server can automatically repair a page and we have an event where we think it did repair a page, literally we got notices early Sunday morning while we were all attending church and by the time I could log in the database that caused the error passed a DBCC check.  So I was digging through the SQL Server error logs to verify but I cannot find anything other than the 3 error log entries at the bottom, but if you look at the 9:52 one it looks like this is when the automated repair was completed.  Again, all I want to do is find some place that says an Automated Page Repair did happen?

http://technet.microsoft.com/en-us/library/bb677167(v=sql.105).aspx

5/5/2013 9:52spid316UnknownA read of the file 'G:\ExigoData\Stemtech.mdf' at offset 0x00004316548000 succeeded after failing 4 time(s) with error: incorrect pageid (expected 1:35173028; actual 0:0). Additional messages in the SQL Server error log and system event log may provide more detail. This error condition threatens database integrity and must be corrected. Complete a full database consistency check (DBCC CHECKDB). This error can be caused by many factors; for more information<c/> see SQL Server Books Online.
5/5/2013 9:38spid132UnknownSQL Server detected a logical consistency-based I/O error: incorrect pageid (expected 1:35173028; actual 0:0). It occurred during a read of page (1:35173028) in database ID 21 at offset 0x00004316548000 in file 'G:\ExigoData\Stemtech.mdf'.  Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC CHECKDB). This error can be caused by many factors; for more information<c/> see SQL Server Books Online.
5/5/2013 9:38spid132UnknownError: 824<c/> Severity: 24<c/> State: 2.


Failover cluster plus failover instance, license question

$
0
0

We plan to install SQL Server Standard Edition in following configuration:

1. SQL Server in Active/Passive cluster with shared storage

2. Additionally, install SQL Server instance on separate physical server, nonclustered. Data will be replicated from server mentioned above to this server with usage of replication. The server will be used as warm standby only, no other usage.

All servers have same number of cores, same core factor.

After reading of http://download.microsoft.com/download/7/3/C/73CAD4E0-D0B5-4BE5-AB49-D5B886A5AE00/SQL_Server_2012_Licensing_Reference_Guide.pdf I got impression only one license is required in the configuration. Is it correct?

FILESTREAM not working with SQL 2012 Availability Groups

$
0
0

Hi,

I have setup 2 different SQL 2012 Availability Group group clusters which are identical in every respect except the Operating System.  The working environment is running Windows 2008 R2 and the problem environment is Windows 2012.  What I believe is occurring in the problem environment is that the VNN scoped share for FILESTREAM is not being created when a FILESTREAM enabled database is added to the Availability Group as per the link below.  When simply access the 2008 R2 server with a UNC path I can see the FILESTREAM share for both servers and the AG listener but on Windows 2012 I only see the FILESTREAM share for the individual nodes and not the AG listener.  

http://msdn.microsoft.com/en-us/library/hh510261.aspx 

The error I receive is below:

OpenSqlFileStrem
The network name cannot be found

I've validated that the Path() variable for FILESTREAM is using the Virtual network name and also validated that the FILESTREAM cluster resource is available and online.

Any thoughts on what might be occurring here?  Is there a way to create the VNN scoped share manually?  Thanks in advance.

Rich

I can not import data from Visual FoxPro

$
0
0

I have Windows server 2008 , SQL Express 2008, and VFP 9

I tried to import tables from VFP and it appears this message:

try to read ro write to protected memory. Quite often it indicates there is other  damaged memory (Interop MSDASC)

My question is ,how can i solve this issue?

SQL 2012 AlwaysOn & Log Shipping

$
0
0

Hi All

I have the following setup:

2 Servers (Server1 & Server2) in an AlwaysOn availibility group.

Is it possible to Log Ship the database from Server1 to a Server3 ?

Thanks

SQL 2008 Active Active Clustering

$
0
0

hi all,

we are in the process of designing Active/Active Failover cluster, were two nodes will have separate instances to hold a separate databases on each instance , (Node 1 will take responsibility of Instance 1 and 2, Node 2 will take responsibility of Instance 3 and 4), below design shows exactly what we are looking for, since we are not looking for database mirroring in our solution and our concern is Instance and O.S protection. is there any limitation of this design ? is it very complex to setup ? does it fullfill our high availability options ? what about reporting database ? what is the optimum ?

Viewing all 4689 articles
Browse latest View live


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