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

SQL Server 2012 - DB Mirroring + Log Shipping + Multi-Subnet

$
0
0

Hi again,

So AG would be nice to have, but considering the costs of getting it, well, it is a no go for me at the moment (This is like a 1:20 ratio considering Std comes with server licencing and enterprise is only per 2 cores).

So, having 2 sites, with different subnet. Is it possible to configure automatic failover for DBM ? We are running Windows 2012 R2 which supports multi subnet failover. But what about DBM in this case ?

Can the witness be configured on a third site ? (I was thinking of having the following weights: Site 1:2, Site 2:1, Quorum:2 just to have no reconfig to do in case of Datacenter failure)

Also, in order to offload some of the backup load as the DB are somewhat big (1TB), I was thinking of having one additional node per site to which the logs are shipped and that are used to run the backups. The question being, is it possible to log ship from each "primary" on each site rather than have the primary on site 1 do it for all the servers across the subnets ?

It would be a setup like this:

Site 1 Primary <---DBM---> Site 2 Primary (Hot failover)

Site 1 Primary <---LogShips---> Site 1 Secondary

Site 2 Primary <---LogShips---> Site 2 Secondary

And thus reduces the load on the link between the 2 sites.

I do hope to see AG in the future for Std as they are removing DBM in the next version.

Thanks,


secondary replica database name

$
0
0

Quick Q: Does the secondary replica database name has to be same as primary one on Always on group setup?  Say my primary replica database name is AdventureWorks, so can I set the secondary replica database name as AdventureWorks_Reporting?

I have a situation where I need follow this convention.

Thanks in advance.


Mahesh

HADR Solution for SQL Server Analysis Services (SSAS) 2014 on Azure Iaas

$
0
0

Hi All

I am required to build a HA/DR solution for SQL Server and SSAS 2014 on Azure. So far I could build AlwaysOn high availability solution for SQL Server on Azure but haven't found any solution for SSAS.

Failover Clustering is not an option on azure because of the restriction of not been able to use shared storage. We also determined that the cost savings of using SQL + the cost of the 3rd Party replication tool was a wash (ie no real cost savings).

Any lead on this would be appreciated.

Thanks,
Viral Shah


Thanks - Viral

Differential backup cleanup tasks leave empty files behind

$
0
0

Hello,

I have a full backup done weekly and then differential backups every 4 hours. Both backups are followed by cleanup tasks. Full backups and cleanup tasks run with no problems and so do differential backups too and their cleanup tasks, but sometimes differential backup cleanup leaves behind empty files (0 bytes in size).

I checked the logs, and differential backup tasks are completing succesfully and I can see the backup files being created too and being cleanup up too, but sometimes there are empty backup files left over. I had the same issue while using SQL Server maintenance tasks and Ola Hallengren's SQL Server Maintenance Solution. I tried googling and asking Ola too but couldn't come up with a solution.

Has anybody else had anything like this happenning or has any idea what might be causing this?

Removing a database from availability group;

$
0
0

Hi We have a database in the AG

(Microsoft SQL Server 2014 - 12.0.2402.0 (X64) 
Aug 13 2014 11:36:34 
Copyright (c) Microsoft Corporation
Enterprise Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
)

but there was a problem in the windows cluster where we had to remove two nodes from cluster and add them back but once all the machines came back online the database went to resolving we tried to remove the DB from availability group and recover the database but its not letting us remove the DB.. Any way we can force removal of the DB?

The local availability replica of availability group 'XXX' cannot accept signal 'UNJOIN_DB' in its current replica role, 'RESOLVING_NORMAL', and state (configuration is  in Windows Server Failover Clustering store, local availability replica has  joined). The availability replica signal is invalid given the current replica role.  When the signal is permitted based on the current role of the local availability replica, retry the operation. (Microsoft SQL Server, Error: 41121)

dml triggers behaviour on secondary replica

$
0
0

Quick Q: Say on primary replica database has DML triggers on tables which again writes to other tables (writes to audit log history table) when a DML action is performed on principle table - what is the behavior on secondary replica db? 


Mahesh

Change IP Addresses of SQL 2012 Failover Cluster Nodes

$
0
0
I have a SQL Server Failover Cluster with three nodes. Each node has one of the following addresses: xxx.xxx.xxx.46, xxx.xxx.xxx.47 and xxx.xxx.xxx.48.

Is there a way to change the IP Address of each Node with out breaking the Failover Cluster?

It seems to me that I will need to create a new network and assign each node to the network.

Thank you for help in advance,

-Jimmy

SQL LOG Backup failed in one Cluster Node

$
0
0

I have 02 node SQL fail over cluster, NOD01 and NODE 02. and configure SQL log backup job via SQL Logshipping

When the sql service is mounted to node 02 job backup will work without any issues, Once its connected to node 01 this will provide below issue

Executed as user: <domain>\administrator. The process could not be created for step 1 of job 0xAC90A0F3623AE44285089E9EF53B12C7 (reason: The system cannot find the file specified).  The step failed.

could anyone have on fix for this

Thanx


DB Read only Copy

$
0
0

I am hoping to get some guidance on the best approach for a read only copy of a database that is ~ 1TB. The primary database is fed nightly with an ETL process.  We are currently trying to duplicate the ETL to read only server but that process is not going well. So we are looking at other options to let SQL make the copy.

The primary database is on a Win12R2 with SQL 12 or 14, a 2 node A/P failover cluster.

The read only copy will be on a Win12R2 with SQL 12 or 14.  It is not a requirement to fail over to the read only copy if the primary should go down.

What would best the approach to accomplish the end result?

Any Known issues I shoudl be aware of having Database Mirroring along with Log Shipping . OS is Win server 2008 Std X64 and SQL is SQL Server 2008 R2 Std X64.

$
0
0

Any Known issues / precautions, I should be aware of having Database Mirroring along with Log Shipping . OS is Win server 2008 Std X64 and SQL is SQL Server 2008 R2 Std X64.


Manikandan Veeruchamy | SQL Server Support Engineer | Microsoft GTSC|

IP configurations while doing Sql clustering on windows server 2008 R2

$
0
0

Hi there,I am doing a demo practicle for two node windows clustering later which I will be using for Sql clustering and HAG
for sql 2012.As I am novice in this and have little knowledge of Networking I would like to know for AD that we are using
what network address and IP address configuration should be for my DC which will be SAN also using iscsi and NOde1 and
Node2 which will be member domain for clustering.

As when I am validating my clustering it is giving me IP configuration and Network commumnication warnings.

I am doing practice on VMware using VMNET2 as switch.

Can anyone help me out here for proper configuration.....

Thanks in advance


srm_2010

how to find the existing sql server backup plan/schedule is there a script for that?

$
0
0

Friends,

Is there a easy way to find out in SQLServer (for All DB's) what is the current backup plan/schedule ? is there a script for that?

Thanks,

Karthikeyan Jothi

Close SQL Management Studio while running HA Wizard

$
0
0

I finished the wizard for new availability group. The setup was progressing and I accidently closed the window for SQL Management Studio which definitely closed the window for setup wizard. I assume the databases stopped syncing. Is there way I can start them again or I have to delete the group and re-create them.


Muhammad Mehdi

Skipped log backup file. Secondary DB.

$
0
0

Dear Microsoft Customer Assistance:

I have configured log shipping myriads of times but never have I encountered with the issues I will be inquiring below. My colleagues and I are configuring log shipping for test purposes from server A (primary) to server B (secondary).  The configuration from server A to server B was successful, and we shot-down server A and we brought up server be, which was a practice for Unplanned Failover log shipping. Server B was up successfully. I (and my colleagues) wanted to configure log shipping from server B (primary) to server A (secondary). Two of the databases were configured successfully, are functioning with no issue. However, the third database was configured successfully but the restore job skips the transaction logs and the transaction logs are not restored at all even though they are on the secondary server's share folder. I reconfigured this particular database more than 5 times and I still see no transaction logs are restored on the secondary server at all. I tried to restore the logs manually, and they get successfully restored but it says that zero pages are successfully restored. 

How can I go about troubleshooting? I went online to see if there are any solicitors but for no avail. There are no other backups or job on either of these two servers except the log shipping jobs. Below is the message from viewing the restore history on the secondary (A) server.

I cordially thank you for your absolute cooperation in solving this issue.

Dan.

Message

2014-12-15 20:55:01.10  Skipped log backup file. Secondary DB: 'DatabaseName', File: '\\SERVER\FOLDER\DATABASE_20141215205355.trn'

2014-12-15 20:55:01.12  Could not find a log backup file that could be applied to secondary database 'DATABASENAME'.

2014-12-15 20:55:01.13  The restore operation was successful. Secondary Database: 'DATABASENAME', Number of log backup files restored: 0


Cross-domain AlwaysOn Availability Groups

$
0
0

I had a colleague of mine comment in a meeting that SQL Server 2014 supports cross-domain data synchronisation using AlwaysOn Availability Groups.  I didn't contradict that immediately because, even though I thought it wasn't the case, I couldn't find any documentation either confirming or denying it.

Looking at the Network Access section for troubleshooting AlwaysOn AG (http://msdn.microsoft.com/en-us/library/ff878308.aspx#NetworkAccess), the inference is that you can have AlwaysOn AG spanning different domains. However, one of the pre-requisities for creating a WSFC is that all servers that are to be added as cluster nodes are joined to the same Active Directory domain (http://technet.microsoft.com/en-us/library/dn505754.aspx).

So I guess the question is - can you have a cross-domain implementation of AlwaysOn AG?  And if so, how?


Backup preference

$
0
0

We had requirement to setup alwaysOn for the Disaster Recovery.

we have two boxes PROD and DR, we do have reqular maintenance backup jobs on production.My

I am bit confused with backup preference for the availability group

why we need backup for the availability groups?

Please Help me


Reduce LDF file size

$
0
0

Hi SQL Server Expert,

we are using windows server 2008 and sql server 2012. I found that even my database is about 2GB, but the .ldf (log transaction file is about 100GB). is there anyway to reduce the size or perform the clean maintenance task for this?

Thanks.

Regards,

Henry

Not able to connect to Replicas in Always on in SQl 2012

$
0
0

Hi, I am working on High availibility(always)in Sql 2012 and tried to connect to replicas through HAG wizaed but
not able get coonection when I try to through BRowse for Server dialog box in SSMS.

What should I do???


srm_2010

SAN Storage for Sql Clustering on vmware using ISCSItarget 3.3

$
0
0

I am learning Sql Clustering for which I need Windows Clustering Setup with proper shared storage
I have downloaded iscsitarget 3.3 version from microsoft site.

I want to do two node clustering with Node and Disk Majority setting.How do I configure ISCSI target and initiator
for cluster disk that will later on be used for Sql Clustering.

Thanks in advance


srm_2010

Hyper-v replica of SQL Server 2014 erroring during application consistent replica

$
0
0

Windows 2012 R2 VM with SQL 2014 on Hyper-v 2012 core is throwing SQL errors during VSS replica.  I have ran a test failover and the recovery point seems fine.  It almost looks like no database changes have occurred and the VSS engine is aborting the thread inappropriately.  If this is not an actual error is there any way to suppress these messages?

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

BackupVirtualDeviceFile::SendFileInfoBegin:  failure on backup device '{F93039AB-B6A8-4944-93B2-6B2737228FEB}2'. Operating system error 995(The I/O operation has been aborted because of either a thread exit or an application request.).

SQLVDI: Loc=SignalAbort. Desc=Client initiates abort. ErrorCode=(0). Process=1972. Thread=7360. Client. Instance=. VD=Global\{F93039AB-B6A8-4944-93B2-6B2737228FEB}3_SQLVDIMemoryName_0. 

Sqllib error: OLEDB Error encountered calling ICommandText::Execute. hr = 0x80040e14. SQLSTATE: 42000, Native Error: 3013
Error state: 1, Severity: 16
Source: Microsoft SQL Server Native Client 11.0
Error message: BACKUP DATABASE is terminating abnormally.
SQLSTATE: 42000, Native Error: 3271
Error state: 1, Severity: 16
Source: Microsoft SQL Server Native Client 11.0
Error message: A nonrecoverable I/O error occurred on file "{F93039AB-B6A8-4944-93B2-6B2737228FEB}2:" 995(The I/O operation has been aborted because of either a thread exit or an application request.).
SQLSTATE: 01000, Native Error: 4035
Error state: 1, Severity: 0
Source: Microsoft SQL Server Native Client 11.0
Error message: Processed 0 pages for database 'msdb', file 'MSDBData' on file 1.
Viewing all 4689 articles
Browse latest View live


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