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

Cluster restart MSDTC and SQL Server role

$
0
0
When it comes to require the cluster node. it is best to failover the MSDTC first or failover the SQL server role first ?

SQL Networks Interfaces error 26

$
0
0

Hello please help,,

I'm trying to login  to my sql server Express instead am getting these errors .

[A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (.Net SqlClient Data Provider)]

it was Error 28 when started fixing it, but now is popping up  error 26 and I checked  my Event Log properties and this these is what it says

[

-System
-Provider
[ Name]Application Error
-EventID1000
[ Qualifiers]0
Level2
Task100
Keywords0x80000000000000
-TimeCreated
[ SystemTime]2020-03-08T13:36:59.505333800Z
EventRecordID14934
ChannelApplication
Computer         Okeke
Security
-EventData
SqlWtsn.exe
15.0.2000.5
5d8a80af
KERNELBASE.dll
6.2.18362.628
f96f12ee
e0434f4d

000000000003a839 

]

[      

+System
-Provider
[ Name]Application Error
-EventID1000
[ Qualifiers]0
Level2
Task100
Keywords0x80000000000000
-TimeCreated
[ SystemTime]2020-03-08T13:39:19.864192800Z
EventRecordID14940
ChannelApplication
Computer                                   Okeke
Security
-EventData
SqlWtsn.exe
15.0.2000.5
5d8a80af
KERNELBASE.dll
6.2.18362.628
f96f12ee
e0434f4d

000000000003a839    ]

[

-System
-Provider
[ Name]Microsoft-Windows-Kernel-EventTracing
[ Guid]{b675ec37-bdb6-4648-bc92-f3fdc74d3ca2}
EventID2
Version0
Level2
Task2
Opcode12
Keywords0x8000000000000010
-TimeCreated
[ SystemTime]2020-03-08T12:07:34.900605800Z
EventRecordID79
Correlation
-Execution
[ ProcessID]7520
[ ThreadID]8036
ChannelMicrosoft-Windows-Kernel-EventTracing/Admin
Computer                                    Okeke
-Security
[ UserID]S-1-5-80-3880006512-4290199581-1648723128-3569869737-3631323133
-EventData
SessionNameRsFx0600 Kernel Log
FileName
ErrorCode3221225525
LoggingMode

33024

Thank you...



Windows heartbeat network

$
0
0

May I is the below option equal to

Internal = Cluster

Enabled = Cluster and Client ?

the following screen caps from Windows 2008 cluster

Failback Setting

$
0
0

What does it actually mean when I choose Fallback between 4 - 8 ?? Mean 4:00am and 8:00am ??

SQL Server Cluster Instance (FCI) SSMS lag

$
0
0


When i setup an SQL server Failover Cluster Instance, i always got lag with SQL server management studio (SSMS) . Even you do it on active node or passive node, need some second to take response from SSMS.

For example: right click on a table and it will take about 4-5 second to show the dialogue. For the SQL Always On Availability Group(AG) i didnt meet this problem.

So how can i fix this, of course it's not a big problem but it's really annoy. Thanks!

Run this resource in a separate Resource Monitor setting

$
0
0

Where can I find the definition of this cluster resource setting ?

Runthisresourceinaseparate Resource Monitor

How does it make the difference ?

Windows Failover cluster Witness disk failover

$
0
0

Suppose I am having 2 node cluster with a witness disk .

When the node need to reboot / shutdown for maintence .

if the current owner of the witness disk is the node that need to reboot, is it recommended to move the witness disk owner to another node first before reboot ?

yes and no and why ?

LookAlive vs Isalive vs leasetimeout

$
0
0

In Failover cluster, the sql server resource has LookAlive (Simple check 5 secs) , Isalive (1 min) and the leasetimeout (20s , and 5s triggered once)

what are their relationship ?


Decommissioning SQL Server 2014 AG - need to understand Lisencing part

$
0
0

Hello,

I am decommissioning 2 nodes AlwaysOn cluster with SQL Server 2014 - 20 cores each server.

and I am building new 2 nodes AlwaysOn cluster with SQL server 2016 - 20 cores each server.

My question is: when I decommissions the old servers (2014) is this going to free up the licenses automatically? or do I have to Un-install the SQL instances on old server (2014) in order for licenses to be released/free?

I would like to understand how does this work. Please let me know

Encrypting the endpoint mirroring connection

$
0
0

I have an AG with 4 replicas. How to do the encryption on the ENDPOINT ?

trace flag 3923

Are there list for all event ID related to Always-on Availability group

$
0
0

Hi All. Are there any MSDN link talking about a list of all the Event ID for Always-On AG ….??

like replica down/failover/ force failover/ session timeout/ Cluster node failover...….etc...

SQL Server Cluster is offline but AG works

$
0
0

I am trying to understand the AG scenario that is configured in the past and is working currently. 

This is a multi subnet scenario but the cluster was configured with just 1 IP address. Probably a mistake that was made in the past. But surprisingly everything works just fine. 

I have a cluster clust-prod that is configured with 1 static IP address say 10.x.x.x

I have 2 nodes from 2 different subnets

Node1: arz-db1 

Node2: kty-db2 

I have an AG ProdAGdbmarketing setup. I have listener DBprodlstn1 configured with 2 static IPS

ListIP1: 10.y.y.y

ListIP2 : 10.z.z.z

Currently the cluster in Failover cluster manager says offline & IP address says offline

Cluster Core Resources:

Name: clust-prod Offline

  IP Address 10.x.x.x Offline

Ping clust-prod (cluster name) does not work

But surprisingly ping of Listener name, Availability group works just fine. I tried a manual fail over to Node Node2: kty-db2 which works fine. Then failing back to Node1 also works fine. 


I would think, the cluster is setup incorrectly to begin with. I should have been setup with 2 IPs instead of one. 

Although the cluster shows offline, how can AG, listener, failing over work? 

Could anyone figure out how this works.



Some details on the AAG , FORCE_FAILOVER_ALLOW_DATA_LOSS

$
0
0

Hi. I may need to understand more on the failover option FORCE_FAILOVER_ALLOW_DATA_LOSS

1. Suppose I am failing other to a ASYNC node, I need to use FORCE_FAILOVER_ALLOW_DATA_LOSS. After doing that, the original replica database are suspended in data movement. Suppose we should resume the data movement. Any case that the resume data movement will fail ?

2. If the data really checked not ok in the ASYNC node , and want to use back the original replica one . how to do this ?

3. Suppose I have 4 nodes on AG replica, in DR which are set to ASYNC. In some case in customer DR drill , they would like to use open one of the DR replica database for DRILL test. What's the fastest way to rebuild this replica after drill?  Is it by doing full database backup (or copy_only) from that replica before drill + restore log backup from primary replica ?

4. How to check how much data loss on ASYNC node ?

Make Availability group know how to failover when tempdb drive is offline

$
0
0

I have two nodes Availability Group . And each replica have a separate drive for tempdb

suppose in the Primary replica, the tempdb drive is offline/or has problem.

the AG doesn't failover ……. How to make the AG/ Cluster detect this failure ?


delete data from a read only partition

$
0
0

Hi,

our database is partitioned and data older than 12 months goes into a read only partition by the DBA. However, i now have a requirement to start deleting data, will probably be older than 7 years. What's the most effective way to get rid of this data,  I would ideally prefer to drop partitions but i don't think i can, as i am deleting old data based on date butalso for specific clients, so 1 client may need 10 years worth of data, another 7. Therefore, looks like a delete statement rather than deleting partitions.

Is there an effective and quick way to do get rid of old data from read only partitions? Still using SQL Server 2008 but moving to 2016 at the end of the 2020, if makes any difference. Thank you.

Panos

Always ON AG Replicas out of sync

$
0
0

Hi.  Been a while since I maintained an Always On cluster.  I now have a typical Always On AG cluster setup (as a test cluster): Node1 = HA, Node2 = HA, Node3 = DR.  Node1 has multiple databases and was originally the primary.  The databases on Node1 are my active databases with none assigned as availability databases.  But currently Node2 is the primary.  However, there are no databases at all created on the Node2 instance, and thus no availability databases in the replica to sync.  I want to get back to a state where Node1 is primary.  You might be asking, how did the cluster get in a state where I have a primary (Node2) with no databases on it.  Not sure, but I think it happened when Ops team applied Windows updates, and didn't do the rolling updates in proper sequence.  Anyway, Node2 now displays a critical error:

"The availability group is not ready for automatic failover. The primary replica and a secondary replica are configured for automatic failover, however, the secondary replica is not ready for an automatic failover. Possibly the secondary replica is unavailable, or its data synchronization state is currently not in the SYNCHRONIZED synchronization state." 

I think the error message is probably because the HA nodes are in synchronous commit mode, but there are no availability databases to sync from Node2 to Node1.  (as I said, the DBs are on Node1.)  So how do I get the sync back in order with Node1 as the primary?  I think I have to back up the DBs on Node1, restore to Node2, add as availability databases on Node2. Then what's the  next steps?    Thanks.


SQL Always On installation mode

$
0
0

Hi,

My customer have 4 Servers with SAN Storage.I need to configure the Always On with 1 synchronous(Read only) and 2 asynchronous copy(Use for DR).

I want to know the Mode of installation of SQL server i.e I need to install the SQL Server inNew SQL Server stand-alone installation / or in New SQL Server Failover cluser Installation.??

The Operating System is Windows Server 2008 R2 64 bit.

I am using SQL Server 2012 Enterprise 64 bit (SP1)

Thanks in Advance

Setu Kumar

Resume data movement

$
0
0

After force_failover_alow_data_loss to a async replica, all the data movement are suspended.

I would like to know if I resume data movement on the secondary replica( original primary) . is the data on the secondary replica( original primary) will be rollback , if that data are more update than then current primary ( the previous async node).

Service Account role permission

$
0
0

Suppose I am having Availability group setup. and using a domain for startup account : domain\sql_svc

May I know this account still need to add in to the following role permissions :

Viewing all 4689 articles
Browse latest View live


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