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

Cluster resource in clustered service or application failed

$
0
0

We have 2 nodes SQL 2008 Server 2008 R2 cluster installed on Windows Server 2008 R2 W/SP1 Operating System.

I have the following issue:

I need to bring cluster resource manually onling frequntly plus I found the following error in cluster event:

Event: 1587

Cluster file server resource 'Resource Name' failed a health check. This was because some of its shared folders were inaccessible. Verify that the folders are accessible from clients. Additionally, confirm the state of the Server service on this cluster node using Server Manager and look for other events related to the Server service on this cluster node.

Event: 1205

The Cluster service failed to bring clustered service or application 'SQL Server (MSSQLSERVER)' completely online or offline. One or more resources may be in a failed state. This may impact the availability of the clustered service or application.

Event: 1069

Cluster resource 'Resource Name' in clustered service or application 'SQL Server (MSSQLSERVER)' failed.


Abduljalil Abolzahab


Does SQL Backup to a Temporary Folder?

$
0
0

When running an SQL backup, does SQL first write to a temporary folder prior to actually saving the bak to the target directory?

If this is true is there a way to re-direct this temporary folder to a different location?

The issue is that on a very large database there may not be enough hard drive space where the temporary folder exists.

Thanks.

Error 9004: an error occurred while processing the log for database

$
0
0
I am using SQL-Server 2000 . when i try to attach the mdf file it gives error message Error 9004: an error occurred while processing the log for database . please help  me out..

If I start a full backup from a client (SSMS) in China, but both server and backup location are in the US, does all network traffic stay within the US, or does it have to transverse over to the client machine and back?

$
0
0

If I start a full backup from a client (SSMS) in China, but both server and backup location are in the US, does all network traffic stay within the US, or does it have to transverse over to the client machine and back? I imagine the answer is obviously the traffic is only between the server and the backup location. But not always things are programmed in obvious ways. So, anyone?

TIA,

Raphael


rferreira

Backup,Unknown,Error: 18210 Severity: 16 State: 1.

$
0
0

I am running a Microsoft SQL Server 2008 (SP2) - 10.0.4000.0 (X64) on windows server 2008 SP2 in a clustered environment. When I am trying to take a backup of the database instance I see errors and it fails. I am using networker to backup my SQL data. This is working fine with my other environments and only this environment show up these errors.  The SQL log show up these errors.

04/09/2012 03:39:41,spid92,Unknown,BackupVirtualDeviceFile::RequestDurableMedia: Flush failure on backup device 'Legato#ab6dbf69-bf3e-4df8-8486-328599a3e07f'. Operating system error 995(The I/O operation has been aborted because of either a thread exit or an application request.).
04/09/2012 03:39:41,spid92,Unknown,Error: 18210<c/> Severity: 16<c/> State: 1.
04/09/2012 03:39:41,Backup,Unknown,BackupIoRequest::ReportIoError: write failure on backup device 'Legato#ab6dbf69-bf3e-4df8-8486-328599a3e07f'. Operating system error 995(The I/O operation has been aborted because of either a thread exit or an application request.).
04/09/2012 03:39:41,Backup,Unknown,Error: 18210<c/> Severity: 16<c/> State: 1.

I had been searching but cannot trace the problem. Any help is appreciated. Thanks...


santhana gopalan

Hyper-V guest SQL 2012 cluster live migration failure

$
0
0

I have two IBM HX5 nodes connected to IBM DS5300. Hyper-V 2012 cluster was built on blades. In HV cluster was made six virtual machines, connected to DS5300 via HV Virtual SAN. These VMs was formed a guest SQL Cluster. Databases' files are placed on DS5300 storage and available through VM FibreChannel Adapters. IBM MPIO Module is installed on all hosts and VMs.

SQL Server instances work without problem. But! When I try to live migrate SQL VM to another HV node an SQL Instance fails. In SQL error log I see:

2013-06-19 10:39:44.07 spid1s      Error: 17053, Severity: 16, State: 1.
2013-06-19 10:39:44.07 spid1s      SQLServerLogMgr::LogWriter: Operating system error 170(The requested resource is in use.) encountered.
2013-06-19 10:39:44.07 spid1s      Write error during log flush.
2013-06-19 10:39:44.07 spid55      Error: 9001, Severity: 21, State: 4.
2013-06-19 10:39:44.07 spid55      The log for database 'Admin' is not available. Check the event log for related error messages. Resolve any errors and restart the database.
2013-06-19 10:39:44.07 spid55      Database Admin was shutdown due to error 9001 in routine 'XdesRMFull::CommitInternal'. Restart for non-snapshot databases will be attempted after all connections to the database are aborted.
2013-06-19 10:39:44.31 spid36s     Error: 17053, Severity: 16, State: 1.
2013-06-19 10:39:44.31 spid36s     fcb::close-flush: Operating system error (null) encountered.
2013-06-19 10:39:44.31 spid36s     Error: 17053, Severity: 16, State: 1.
2013-06-19 10:39:44.31 spid36s     fcb::close-flush: Operating system error (null) encountered.
2013-06-19 10:39:44.32 spid36s     Error: 17053, Severity: 16, State: 1.
2013-06-19 10:39:44.32 spid36s     fcb::close-flush: Operating system error (null) encountered.
2013-06-19 10:39:44.32 spid36s     Error: 17053, Severity: 16, State: 1.
2013-06-19 10:39:44.32 spid36s     fcb::close-flush: Operating system error (null) encountered.
2013-06-19 10:39:44.33 spid36s     Starting up database 'Admin'.
2013-06-19 10:39:44.58 spid36s     349 transactions rolled forward in database 'Admin' (6:0). This is an informational message only. No user action is required.
2013-06-19 10:39:44.58 spid36s     SQLServerLogMgr::FixupLogTail (failure): alignBuf 0x000000001A75D000, writeSize 0x400, filePos 0x156adc00
2013-06-19 10:39:44.58 spid36s     blankSize 0x3c0000, blkOffset 0x1056e, fileSeqNo 1313, totBytesWritten 0x0
2013-06-19 10:39:44.58 spid36s     fcb status 0x42, handle 0x0000000000000BC0, size 262144 pages
2013-06-19 10:39:44.58 spid36s     Error: 17053, Severity: 16, State: 1.
2013-06-19 10:39:44.58 spid36s     SQLServerLogMgr::FixupLogTail: Operating system error 170(The requested resource is in use.) encountered.
2013-06-19 10:39:44.58 spid36s     Error: 5159, Severity: 24, State: 13.
2013-06-19 10:39:44.58 spid36s     Operating system error 170(The requested resource is in use.) on file "v:\MSSQL\log\Admin\Log.ldf" during FixupLogTail.
2013-06-19 10:39:44.58 spid36s     Error: 3414, Severity: 21, State: 1.
2013-06-19 10:39:44.58 spid36s     An error occurred during recovery, preventing the database 'Admin' (6:0) from restarting. Diagnose the recovery errors and fix them, or restore from a known good backup. If errors are not corrected or expected, contact Technical Support.

In windows system log I see a lot of warnings like this:

-<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
-<System>
 <ProviderName="Microsoft-Windows-Ntfs" Guid="{3FF37A1C-A68D-4D6E-8C9B-F79E8B16C482}" />
 <EventID>140</EventID>
 <Version>0</Version>
 <Level>3</Level>
 <Task>0</Task>
 <Opcode>0</Opcode>
 <Keywords>0x8000000000000008</Keywords>
 <TimeCreatedSystemTime="2013-06-19T06:39:44.314400200Z" />
 <EventRecordID>25239</EventRecordID>
 <Correlation/>
 <ExecutionProcessID="4620" ThreadID="4284" />
 <Channel>System</Channel>
 <Computer>sql-node-5.local.net</Computer>
 <SecurityUserID="S-1-5-21-796845957-515967899-725345543-17066" />
 </System>
-<EventData>
 <Data Name="VolumeId">\\?\Volume{752f0849-6201-48e9-8821-7db897a10305}</Data>
 <Data Name="DeviceName">\Device\HarddiskVolume70</Data>
 <Data Name="Error">0x80000011</Data>
 </EventData>

 </Event>

The system failed to flush data to the transaction log. Corruption may occur in VolumeId: \\?\Volume{752f0849-6201-48e9-8821-7db897a10305}, DeviceName: \Device\HarddiskVolume70.

({Device Busy}

The device is currently busy.)


There aren't any error or warning in HV hosts.

Windows and SQL failover cluster with different cores

$
0
0

I am trying to build a SQL 2012 failover cluster with Windows 2012. This will be a AAAP cluster. Can I build the 3 active nodes with different cores and RAM as followin or all 3 nodes have to be identical?

A1 - 32 cores 64RAM, A2 - 16 cores 32RAM, A3 - 16 cores 16RAM

Thanks!


Active / Passive Cluster with Multiple SQL instances

$
0
0
I have the 2 node Server 2008 Cluster set up as active / passive, I also have the 2 named instances of SQL set up with it own disks.  My issue is that is the named Instance 1 fails and goes to Physical Cluster Node 2 and Instance 2 stays on Physical cluster Node 1 then it becomes Active / Active and requires additional SQL licensing costs.  What can I do to ensure that both Named Instances stay on the same physical node so it stays Active / Passive?

Best SQL backup strategy

$
0
0

I've been working with a customer on a project that started small, and has grown significantly.   It is a retail environment, and we are taking live transaction data from the POS system, and loading into SQL server for reporting and online presentation.  My experience has been mostly with smaller SQL dbs, nothing involving multiple servers.

The SQL database file is started at less than 6GB, and is now ~25GB  6 months later, and will only grow.  They currently have a single SQL 2012 Server, with nightly full backups to a NAS.

They bought a second physical server to be a standby / DR back up in a second physical location.  The IT Manager quit before they set this server up, and they have asked me to step in to complete the project.

What would be the best strategy to ensure DR and high availability given this set up?

My initial plan is to install the second SQL into a VM on the new hardware then set up replication from the first SQL. Would this be good enough to eliminate the nightly full back up?  Can I then just do backups on the VM? What about clustering?

Thank you for any suggestions.

Does SQL server support Active-Active Clustering?

$
0
0

if it doesn't does it mean that when user perform 1 transaction, I have to update both databases at a time.


In the case of updating remote db down, I have to keep waiting for it to be up, and update?

Problem in connection string by using ALWAYSON High Availability in SQL Server 2012....

$
0
0

Hi..

I am Using visual studio ultimate 2010 and SQL Server 2012 enterprise edition...

I have a database name as 'GBTest'

I just implemented ALWAYSON High Availability using 3 nodes in SQL Server 2012 latest feature...

among 3 nodes one as primary node and other two as secondary nodes. and 'Readable Secondary' option is 'No' on primary node and 'Yes' on two secondary node.

CLUSTER Name :- GBCLUSTER01

Availability Group Name:- GBTest_AvailGroup

and I am changing web config like this...

<add name="ConnectionString"
connectionString="Data Source=tcp:GBTest_AvailGroup,1433;Initial Catalog=GBTest;Integrated Security=SSPI" providerName="System.Data.SqlClient"/>

But its return a error...

I think there is some problem in my connection string ...Can anyone tell me the actual connection string??

MS SQL SERVER 2012 ALWAYS ON High availbilty Configuration step by step

$
0
0

hi,

requesting for ms sql server 2012 always on high availability  configuration step by step document with windows fail over cluster

thanking you

Regards

Lakshmi Narayana


LAKSHMI NARAYANA REDDY.L

ALWAYS ON Automatic Failover is not working...

$
0
0

I am successfully configured ALWAYSON High availability feature.

First time when I manually stopped the service of primary SQL Server then automatic fail over is working properly and Secondary server now becomes a Primary server.

But when I manually stopping the service of new primary server then availability group is inresolving mode and database is in not synchronizing mode andautomatic fail over is not working. and then after restarting the SQL Server service all are working well??

But when I clicking on 'failover' button from availability group name and follow the next step then its works properly.

So can anyone tell me why automatic fail over is not working afterfirst time and why availability group is in resolving mode and database is in notsynchronizing mode??

Cluster MSDTC in a SQL Server 2008 / Windows 2008 Cluster?

$
0
0

Hi - we are configuring a new SQL Server cluster.  The cluster details are the following:  2 nodes, Active/Passive, SQL Server Version = 10.0.4000 (SQL Server 2008 SP2) and Windows 2008 Service Pack 2.  This cluster will be in production, and my question is the following:

Do we need to cluster the MSDTC resource? 

We have an ongoing debate about whether to cluster MSDTC on this SQL Server cluster or not.  We're just beginning to swap out our Windows 2003 / SQL Server 2005 clusters with new Windows 2008 / SQL Server 2008 clusters, and some of our DBA's have said with Windows 2008 the need to cluster MSDTC is not necessary for high availability as it was in Windows 2003.  We can use the local DTC on each node.

My concern is during an unexpected failover of the SQL Server services how will transactions be handled if we do not cluster MSDTC?  Couldn't we lose transactions?  This would not be good (financial impact) if we lost transactions. 

Some of our DBA's are very adamant that this isn't necessary (clustering MSDTC on the new Windows 2008 clusters).  But when I research Microsoft seems to recommend clustering MSDTC for high availability.  But why offer that option if Windows 2008 has redesigned MSDTC so you don't have to? 

Need some advice\perspective. 

Perf issue with media set size for transaction log backups

$
0
0

We have a highly transactional database that's mirrored (and thus in recovery mode = 'FULL') so we have to perform regular transaction log backups between full database backups.

The transaction log backup grows very fast. We have plenty of space, but the issue is that as the day goes on (until the next full backup), the media set (I think that's the correct terminology) on disk grows and grows. And for each subsequent transaction log backup, we see start pegging read i/o on that disk.

The behavior seems to be that we seek to the end to append the latest transaction log backup by reading the entire file.

Are there ways to mitigate this behavior? My colleague says to rotate the media set (i.e., transaction log backup file) more frequently to reduce the max size. I also explored having the media set consist of multiple media families (e.g., three different files on disk). But my colleague postulates that this would not solve the problem because ultimately the same amount of seeking will have to be done (albeit on three smaller files). Perhaps if these files were on separate disks we might see a win.

Anyway, am I correct in my analysis with regards to large media set on disk requiring lots of read i/o to successfully backup subsequent transaction logs?


SQL 2005 Cluster Issue

$
0
0
Hi,
We have a Active/Passive cluster set up with 7 instances of  SQL 2005 SP4 Enterprise(64 bit).
Daily at 2 AM the SQL Cluster group is restarting on same node or failing over to the otehr node with errors starting with:

SQL Server has encountered 1 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file  in database.  The OS file handle is 0x0000000000000B98.  The offset of the latest long I/O is: 0x000012b0dfe000

/*there are many occurences of the above message on many instances and particularly msdb database*/

Event Id 4156 MSDTC - String message: ProcId = 0x2188 CSO: Maintain session; Received E_CM_SERVER_NOT_READY. 

Event ID 19019
[sqsrvres] CheckQueryProcessorAlive: sqlexecdirect failed

[sqsrvres] printODBCError: sqlstate = 08S01; native error = 79; message = [Microsoft][SQL Native Client]TCP Provider: The semaphore timeout period has expired.

[sqsrvres] printODBCError: sqlstate = 08S01; native error = 79; message = [Microsoft][SQL Native Client]Communication link failure

[sqsrvres] OnlineThread: QP is not online.

[sqsrvres] CheckQueryProcessorAlive: sqlexecdirect failed

[sqsrvres] printODBCError: sqlstate = 08S01; native error = 0; message = [Microsoft][SQL Native Client]Communication link failure

Above errors are logged in the system logs and all the sql cluster groups are either restarting or failing over to other node every day from past one week  around 2AM.

Backup jobs are scheduled to run at 2 AM on 4 instances same time every day.Could you please tell me if this is related to the backup jobs.We have different drives(for every instance and also different data/log/tempdb drives).
If this is not due to these backup jobs,could you please tell me how i can troubleshoot on this.I am suspecting a memory/io bottleneck but why is it failing now only which is running from from past few years.Please tell me which performance counters i can collect to resolve this issue.

SQL AlwaysOn backups Shrink Database

$
0
0

Hi,

I am configuring SQL AlwaysOn backups in our environment. The first step will backup the databases, that works fine, the last step is to remove files older than 3 days, that works fine ...The problem is the Shrink Database command that runs second wont work ..it keeps failing with the error:

"Property Size is not available for Database 'Database_Name'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. "

I've googled but cant find anything related to this error. I can run sp_helpdb and get all of the information i need (when connecting in with the ApplicationIntent=ReadOnly switch)

I am running the backups from the secondary server. Is it not possible to Shrink the DB from the secondary server as this runs fine from the primary?

cheers,

Jon

SQL Server 2000 - Restore command running for over 2 hours - logs show this error!

$
0
0

Hi there,

I use SQL Server 2000. Using T-SQL I am trying to restore a db (11GB). It has been over 2 hours and the command is still running.

When I check for logs all I see is as per this screenshot:

Any help will be greatly appreciated! Let me know if I can provide more information.

Thanks so much.

SQL Server 2000 - When I try to restore a database - the progress bar does not move?

$
0
0

Hi, on an old server we have SQL Server 2000.

Using the GUI - Enterprise Manager - I am trying to restore db1.bak. When I click on OK button after that a window pops with a Stop button. On this window the progress bar remains gray and does not move at all not even a whit.

DB size is 11GB while for other DBs I was able to do this for much larger DBs.

Any help is appreciated.

Thanks.

SQL Data base

$
0
0
databaseclusterblockbut in anormal serverworks fineany help??
Viewing all 4532 articles
Browse latest View live


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