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

Unable to delete a .bak file.

$
0
0

Hi everyone,

I have a .bak file of 200Gb, i copied it to the test server, it took around 6 hours to copy.

Now when I tried to delete it from the main server i got the below error:

"Error deleting file or folder
Cannot delete [name of folder]: It is being used by another person or program. Close any programs that might be using the file and try again."

I restarted the SqlServer services but no gain.I even logged off from server ,but no effect.

Please suggest what is to be done.

Regards,

Hunt


SQL multiple instance for different applications vs limited instance with mutiple DBs

$
0
0

Hi Team,

We are planning to have 2 node failover cluster. Based on number of applications, we are planning to have multiple SQL instance FCI. Applications count is around 10, so plan is to distribute named instances between nodes as Active/Active. Alternative plan could be to have less SQL instances (may be 2-3 maximum) and have DBs for these applications distributed between these instances. I am not able to really make out which method is the recommended one (multiple instances probably each for each application) or 2-3 instances and have all DBs accommodate between these 2-3 instances only? As of now only overhead i see with multiple instances (1:1 app and instance) is running SQL setup multiple times , which i feel is fine since its mostly a one time activity for each node , each instance.

Not sure if this could impact security, performance, availability, costing etc.

 

Any inputs or article that can provide some pointers that could help considering factors that would help us decide which model to choose as best suited.

Any suggestion will be appreciated.

SQL Server Snapshot Replication error 22018

$
0
0

I am trying to get snapshot replication between two MSSQL servers to work but am receiving errors. Any help will be much appreciated!

My setup: Publisher/Distributor: SQL 2008 R2 Subscriber: SQL 2016

I am just trying it with a simple test table named Cars containing:

Car_ID   Car_Name1   Hummer2   Porsche3   Tesla4   Bently5   Lotus Elise6   Mini

In the Replication Monitor I get the following errors:

Error messages: The process could not bulk copy into table '"dbo"."Cars"'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20037) Get help: http://help/MSSQL_REPL20037 metadata query failed Invalid character value for cast specification (Source: MSSQLServer, Error number: 22018) Get help: http://help/22018 Unspecified error

Why need DTC configured on a cluster ?

$
0
0
Why need DTC configured on a cluster ?

SQL Server DBA

Upgrading Windows and keeping Cluster settings

$
0
0

Hi all,

We want to upgrade Windows of two clustered servers from 2008 to 2012. They have SQL Server 2014 clustered on them.

I saw in documents that it is possible to upgrade Windows from 2008 to 2012 without re-installing.

Is it possible to keep all settings of Cluster & SQL Servers intact or we will lose them?

Many thanks in advance!


Question about clustering a shared storage for database file on SQL Server 2016

$
0
0

Hello, I've read about the options for failover cluster on SQL Server 2016, so if I want to have high availability with my SQL Server I've to:

  1. Create a shared storage on server 1
  2. Install SQL server on servers 2 and 3
  3. Create the failover cluster

This scenario will work if either servers 2 or 3 fails, so the other server still running and there is no interruption, but what if the server 1 with the shared storage fails??? :O

so hope someone can help me to answer this questions:

  1.  Can I create a cluster on the server 1 with the shared storage?
  2. I wish to minimize the time for a recovery in the event of a server fail on 1

 

 

Thanks  alot.


what is Replica and connection mode in HAG config wizard

$
0
0

Hi started working with HAG and trying to understand configuration wizard's different options for setting primary and secondary Replicas.

How synchronous and asynchrounous commit is going to behave and connection mode setting.

I have setup Node1,node2,node3,node 4 for HAG.

Node1 is primary and rest are secondary replicas.Now how replica mode (syncrounous(2)and Asynchronous is going to behave in times of failover and for database mirroring.can anyone explain??

Is it possible that if node2 goes down it can fail over to node3 or to node4.some confusion in understanding the actul concept of HAG.

Thanx in advance


srm_2010

Sql Server Per Core Licensing explanation with examples

$
0
0

We need to know Sql Server Enterprise edition Per Core Licensing explanation with example.

I had downloaded percorelicensing_definitions_vlbrief.pdf file, but was not able to get it.

Thanks,

Jagannath


Check if SQL always ON is enabled on all prod database server

$
0
0

I would like to run a script on all the pro databases server to check if Always ON is enabled on that server if yes get the details of primary and secondary.

Please give your valuable suggestions.




SQL Log Shipping Restore Job not delete the old backup

$
0
0

Hi 

I have SQL log shipping based on SQL 2014 , every thing are fine except deleting the old backup is not happening with the restore job.

any one can help


Ahmed Ali

Changing Time on SQL Cluster

$
0
0

Hi,

I have got an SQL Cluster with 2 nodes based, in a hyper-V environment. Both nodes have the time synced with the DC.

Somehow, we noticed a delay in time between on DC, thus on all VMs and SQL hosts.

What could be the root cause of such issue, if we manually fix or sync the time on DC with the internet does this affect the SQL Cluster.

Regards,

Tarek 

how to fix the issue when log shipping backup job was in hung state.

$
0
0

Hi All,

we are facing issue on log shipping primary server. some times have seen ls_backup job running longer time(looks like hung state). whenever we cross checked dashboard on secondary server and it looks like not good (log shipping exceeds more than threshold value).

The above issue frequently occurs on diff databases in the same server. We unable to find the root cause of the above issue.

usually we resolve this issue like below:

1. stop hung backup job and rerun it.

2. next rerun the copy and restore job or waiting for next schedule.

3. now dashboard looks like healthy.

My questions:

1. can you please suggest best approach to find root cause.

2. how to fix the issue (best recommendation)

Thanks in advance


New SQL Server Node Install

$
0
0

I need to install a new node to an existing AlwaysOn Cluster.

Should SQL be installed first before adding the node using Failover Cluster Manager or after adding the node?

Thanks

Windows Clustering error - SQL 2012 Always On

$
0
0

We are getting attached error pop-up in Active-Passive clustering environment. Could you please advise/or suggest on the attached error. Here I am not able to attach cluster validation report so I am here attaching error screen shot.

SQL Log Shipping database files different in sysfiles and master..sysaltfiles

$
0
0

I have set up SQL 2014 (also SQL2012) log shipping on a database with multiple filegroups and files. LS has created the physical file names on the secondary server based on the logical filenames which is different to the physical filename. So I have the situation where the information in sysfiles and SSMS, is different to the info in master..syaltfiles, and the filenames on the secondary server are different to those on the primary.

For example where the Logical/ Physical name is

LDATA1 D:\SQLData\PDATA1.mdf
LDATA2 D:\SQLData\PDATA2.ndf
LDATA3 D:\SQLData\PDATA3.ndf

it becomes on the secondary server, also changing the ndfs all to mdfs.

LDATA1 D:\SQLData\LDATA1.mdf
LDATA2 D:\SQLData\LDATA2.mdf
LDATA3 D:\SQLData\LDATA3.mdf

I have tried to pre-create the secondary DB then specify the DB name to restore into but it still happens so the DB must be dropped and recreated by the LS setup. I can't find a way to keep the DB structure that I create on the secondary server, that matches the primary. Can anyone comment or assist please?  Thanks in advance.


Replication of image Data type

$
0
0

we have setup transnational replication for tables having image data type.

We are having problem with this as it is not replicating the data after initial snapshot.

does the transnational replication in image data type support in sql server 2014 ?

CPU % Utilization - Get detail of that percentage

$
0
0

We have sometimes CPU issues on one of our production server (DynamicAx database on an alwaysOn primary server). People are asking us to give them the detail of that CPU %  used. Here<o:p></o:p>

 <o:p></o:p>

Ok there are no issue right now but sometimes CPU % goes up to 90%. We are asked to explain the detail of that 90%!!! They want to see a list of processes (spid) with a percentage for each and by adding all those percentages they will have the 90% CPU utilization.<o:p></o:p>

Process_1 -- 8%<o:p></o:p>

Process_2 -- 10%<o:p></o:p>

Process_3 -- 50%<o:p></o:p>

Process_4 -- 2%<o:p></o:p>

Process_5 -- 20%<o:p></o:p>

 <o:p></o:p>

TOTAL – 90%<o:p></o:p>

 <o:p></o:p>

Ok so it’s process_5 the problem, let’s go kill it…

<o:p></o:p>

Is there a magic query, a magic tool that can provide this kind of list?<o:p></o:p>

 <o:p></o:p>

Thank you,

Storage Recomendations for standalone SQL as AG secondary replica in DR

$
0
0

Hi Team,

we are planning to have 2 node windows cluster in primary DC and running SQL multiple Failover instance. We have plan to have standalone SQL 2014  (not part of SQL Failover cluster) running multiple Instances in DR. We will have AG between primary SQL and secondary replica in DR.

In Primary we will have shared SAN storage with LUNs . We will have separate LUN for each SQL instance DB with mount point disk. Primary will have around 40 LUNs including Windows Cluster as well as SQL instances. we w

Just wanted to check what is recommended for Standalone SQL Server in DR, should it be RDM (Raw disk directly to SQL as LUN) or vdesk and then add them as secondary disks to VM? What is recommended for DR with AG replica for IOPS or performance wise? Any pointer will be appreciated ?

Infrastructure is VMWare.


MSDTC

$
0
0

I am going to setup 2 node clustering. Do we really need MSDTC.

What is the use of MSDTC.

What happn if not configured MSDTC.

High Availabity and Disaster Recovery

$
0
0
How do we configure the DR for 2 node clustering.
Viewing all 4689 articles
Browse latest View live


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