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

Restore 2008 Express edition db to 2012 Enterprise edition on a windows 2012 R2 failover cluster

$
0
0

Greetings Guys,

I am setting up TFS server I have to restore database from old sql server  2008 express edition server to new SQL Server 2012 enterprise edition server running on a Windows 2012 Enterprise R2  cluster. I need to how to restore the express edition database into a SQL Server 2012 running on  windows 2012 R2 enterprise cluster, what are the steps and precautions to be taken. 

With regards,

Gopinath.


With regards, Gopinath.



SQL Log shipping ISSUE

$
0
0

Hi All,

I have a maintenance plan set to run FULL backup for the database every night 12:00 AM and differential backups hourly. I also configured Log shipping for few databases. My question is: should I remove the log shipping database from maintenance plan both full and differential?

 My concern is that log shipping will do backup and maintenance plan will also backup the DBs. Will both interfere each other?  The log shipping takes the backup during the same time period (Because I put the default settings while LS setup)

Should I exclude Log shipping DB’s from maintenance plan?

Your response is important to me.

Thanks,

DBA


DBA

Make listener mandatory (alwayson)

$
0
0

Is there a way to make sure a user uses the listener or to prevent direct access to the alwayson partners?

At the very least, is there a way to identify how a connection was established (via the listener or directly)?

Can the ApplicationIntent be obtained for a connection

$
0
0

I'd like to make sure a specific user is uses applicationintent = readonly to enforce the routing defined on my availability group.

Is it possible to verify the applicationintent property of a connection via TSQL?

we need one or multi windows clusters when hybrid Failover Cluster Instances and AlwaysOn Availability Groups?

$
0
0

There is a diagram in the bottom of the following article, and there are 5 nodes hybrid environment which combined by Failover Cluster Instances and AlwaysOn Availability Groups

So my question is if all of the 5 nodes must be in the same windows cluster?  

Can we create two windows cluster for them? such as two in one windows cluster, and three in another Windows cluster, is it possible?

If it is possible, may I know can we move the  primary replica between two window clusters?

https://technet.microsoft.com/en-us/library/hh270278.aspx



Please click the Mark as Answer button if a post solves your problem!

always on issue.

$
0
0

The availability databases report that they are in Not Synchronizing  secondary  replica is in Resolving status because the automatic fail over process was      

unable to transition the secondary replica into the primary role.

 

How to fix this issue.

 

always on issue.

$
0
0
In case Always on breaks how to fix?

Does SQL Server 2014 support Group Managed Service Accounts for an AlwaysOn Availability Group?

$
0
0

Does SQL Server 2014 support Group Managed Service Accounts for an AlwaysOn Availability Group?


always on issue.

$
0
0

For example customer (or) end user  may report that the data that they are inserting in the primary replica is not getting replicated to the secondary replica.

We may find that there is latency in the logs getting transferred from primary to secondary.

 

what steps we need follow resolve this issue.

 

Cluster - "Add all eligible storage to cluster" checkbox missing?

$
0
0

I am following this tutorial to setup SQL HA Always On in Azure and  at the step to setup the WSFC Cluster it advises to uncheck the "Add all eligible storage to the cluster checkbox on the Confirmation page".

Tutorial: https://msdn.microsoft.com/en-us/library/azure/dn249504.aspx

I am using storage spaces with Azure data disks and wanted to follow that advice, but that check box does not appear.

There is simply nothing there on the Confirmation screen.

Has anyone else encountered this, I assume I must be missing something?

This is Windows Server 2012 R2 that I am using.

Thanks

EDIT: This was moved to the SQL forum, but this question has to do with Azure data disks and configuring Windows Server 2012 R2 for WSFC at the step of creating the cluster (the SQL part hasn't been installed yet), updated for clarity as well above.  Hopefully others have run into this as well with storage spaces and Azure data disks.


Error message in error log: The Service Broker endpoint is in disabled or stopped state.

$
0
0

I'm trying to track down why I see this error message in my error log 3 times a day.  

I saw another post which seems to claim this is expected behavior but the post is difficult to understand:

https://social.technet.microsoft.com/Forums/sqlserver/en-US/bc5c8a4b-bc09-4478-8434-7d2e0d5c203f/the-service-broker-endpoint-is-in-disabled-or-stopped-state?forum=sqlgetstarted

SQL 2014, cu5

*3 availability groups and 3 listeners 

How to add Analysis Service to existing SQL Server 2012 Active/Passive Windows server 2008R2 Cluster?

$
0
0

Hi All,

Is it possible to add analysis service to existing SQL Server 2012 Active/Passive Windows server 2008R2 Cluster.

When I referred few blogs it is said that analysis cannot be added for SQL 2005, 2008, R2 if the DB Cluster is already build.

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/07024324-8328-4a92-83fc-32dbabd44aa7/add-analysis-services-to-existing-multiintance-sql-cluster?forum=sqlsetupandupgrade

Regards,

Kalyan


Grateful to your time and support. Regards, Shiva

Why the non-cluster SQL Server appeared in the cluster nodes list

$
0
0

1, I install the node rs6 standalone, Why it appeared in the cluster node list by inquiry the dmv?

2, how to removed the rs6 from the cluster node list ?

by "set -clusterownernode -resource "XXXASQL" -owners NODE1,NODE2"?

But how to find the resource  name? I tried to use window cluster name, SQL cluster name, and SQL role name , All of them say failed to get the cluster object.

 3,how to set the owers to {}, I try below, but failed.




SQL DB Recovery

$
0
0


Backup Plan:

Every Sunday @ 10.30 PM---> FullBackup

Everyday @ 8.30 PM --> Differential Backup

Every 2 hrs Transnational log backup. 

On Wednesday @ 2.30 PM my DB corrupted.

Now i want recovery my database.

But unfortunately i came to know that my Tuesday's diff backup also got corrupted.

In this case how can i recover DB till Wednesday @ 2.29 PM?




Transactional Replication Not replicating non-clustered Indexes

$
0
0

Hi

I have created a transactional replication.I am sure that I have configured it to replicate Non-Clustered indexes,

but It does not do so.

I tried several times to reinitialize the subscription,but still no luck.

Regards


Is Integration service mandatory while configuring SQL Server in Cluster

$
0
0

Hi All,

SQL 2012: Standard Edition

I have configured DB Cluster on Windows Server 2008R2.

While selecting the features I have only preferred default services not any Analysis, Reporting orIntegrations.

After the DB Cluster is successfully setup I am warned  by colleagues that it is not possible to createSSIS Packages (I do agree and client does not have requirement on this as well) but also informed that evenSQL Maintenance plans like Rebuild, Reorganize, update statistics or backups and etc.,are not possible to configure. Is that true?

I am worried and immediately checked by configuring backupmaintenance plan in both the nodes andcould abletocreate and run the plans successfully. Now it is clear that integration service is not required to configure maintenance plans butstill concerned about these maintenance plans whether they get any issues infuture executions. And also please clarify whether selecting or not selecting Analysis, Reporting or Integrationseffect Always On high availability if I want to configure.

Please suggest. Thank You

Regards,

Kalyan


Grateful to your time and support. Regards, Shiva

SQL Server Virtualization

$
0
0

Hi 

I came across so many job we sites, about SQL Server Virtualization (On Vmware and Hyper-V).requirement.

What make difference?


HA + Differential after HA established

$
0
0

Thanks in advance for any assistance.

Per the documentation a differential backup cannot be used to establish replicas in the HA group. 

What is unclear is whether once the HA replicas are established, can differentials be used?

Thanks,

Morgan


Witness server/ Quorum location

$
0
0
I am in the process of configuring SQL 2012 Always on availability group with two nodes (windows 2012 R2) in same location. I want to know what's the best way to configure the quorum /witness server. Can I have a dedicated server to be the witness? Please advise.

SQL Server 2012 CLuster did not failover

$
0
0

Hello

We recently had a SQL Server 2012 SE service that went down for almost a minute. This is a clustered environment. Whats interesting is the cluster service did not failover to the other node when the service went down, rather it started back the service on the same node. Also we are not quite sure why the service had to go down. I went to cluster.log and here is what it says. Can some please help me understand this log:

2015/02/28-03:11:13.762 WARN  [RES] SQL Server <SQL Server>: [sqsrvres] Failed to retrieve data column. Return code -1
2015/02/28-03:11:14.745 ERR   [RES] SQL Server <SQL Server>: [sqsrvres] Failure detected, diagnostics heartbeat is lost
2015/02/28-03:11:14.745 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] IsAlive returns FALSE
2015/02/28-03:11:14.745 WARN  [RHS] Resource SQL Server IsAlive has indicated failure.
2015/02/28-03:11:14.745 INFO  [RCM] HandleMonitorReply: FAILURENOTIFICATION for 'SQL Server', gen(0) result 1.
2015/02/28-03:11:14.745 INFO  [RCM] TransitionToState(SQL Server) Online-->ProcessingFailure.
2015/02/28-03:11:14.745 ERR   [RCM] rcm::RcmResource::HandleFailure: (SQL Server)
2015/02/28-03:11:14.745 INFO  [RCM] resource SQL Server: failure count: 1, restartAction: 2.
2015/02/28-03:11:14.745 INFO  [RCM] Will restart resource in 500 milliseconds.
2015/02/28-03:11:14.745 INFO  [RCM] TransitionToState(SQL Server) ProcessingFailure-->[WaitingToTerminate to DelayRestartingResource].
2015/02/28-03:11:14.745 INFO  [RCM] rcm::RcmGroup::UpdateStateIfChanged: (SQL Server (MSSQLSERVER), Online --> Pending)
2015/02/28-03:11:14.745 INFO  [RCM] TransitionToState(SQL Server Agent) Online-->[WaitingToTerminate to OnlineCallIssued].
2015/02/28-03:11:14.745 INFO  [RCM] TransitionToState(SQL Server Agent) [WaitingToTerminate to OnlineCallIssued]-->[Terminating to OnlineCallIssued].
2015/02/28-03:11:16.617 INFO  [RCM] HandleMonitorReply: TERMINATERESOURCE for 'SQL Server Agent', gen(0) result 0.
2015/02/28-03:11:16.617 INFO  [RCM] Restarting resource 'SQL Server Agent'.
2015/02/28-03:11:16.617 INFO  [RCM] TransitionToState(SQL Server) [WaitingToTerminate to DelayRestartingResource]-->[Terminating to DelayRestartingResource].
2015/02/28-03:11:16.617 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Request to terminate SQL Server
2015/02/28-03:11:16.617 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Stop service MSSQLSERVER immediately
2015/02/28-03:11:16.617 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Online worker was asked to terminate
2015/02/28-03:12:09.002 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Online worker helper is stopped
2015/02/28-03:12:09.002 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] SQLMoreResults() returns -1 with following information
2015/02/28-03:12:09.002 ERR   [RES] SQL Server <SQL Server>: [sqsrvres] ODBC Error: [08S01] [Microsoft][SQL Server Native Client 11.0]TCP Provider: The specified network name is no longer available.(64)
2015/02/28-03:12:09.002 ERR   [RES] SQL Server <SQL Server>: [sqsrvres] ODBC Error: [08S01] [Microsoft][SQL Server Native Client 11.0]Communication link failure (64)
2015/02/28-03:12:09.002 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] No more diagnostics results
2015/02/28-03:12:09.002 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Diagnostics is stopped
2015/02/28-03:12:09.002 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Disconnect from SQL Server
2015/02/28-03:12:09.002 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Extended Event logging is stopped
2015/02/28-03:12:09.002 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Extended Event target state:
2015/02/28-03:12:09.002 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Extended Event session summary: dropped buffers = 0, dropped events = 0
2015/02/28-03:12:09.002 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Online worker is stopped
2015/02/28-03:12:12.387 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Service was stopped successfully
2015/02/28-03:12:12.387 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Terminate handling is completed
2015/02/28-03:12:12.387 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] SQL Server resource state is changed from 'ClusterResourceOnline' to 'ClusterResourceFailed'
2015/02/28-03:12:12.387 WARN  [RHS] returning ResourceExitStateTerminate.
2015/02/28-03:12:12.387 INFO  [RCM] HandleMonitorReply: TERMINATERESOURCE for 'SQL Server', gen(1) result 0.
2015/02/28-03:12:12.387 INFO  [RCM] TransitionToState(SQL Server) [Terminating to DelayRestartingResource]-->DelayRestartingResource.
2015/02/28-03:12:12.902 INFO  [RCM] Delay-restarting SQL Server and any waiting dependents.
2015/02/28-03:12:12.902 INFO  [RCM] TransitionToState(SQL Server) DelayRestartingResource-->OnlineCallIssued.
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Request to bring SQL Server online
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] SQL Server resource state is changed from 'ClusterResourceFailed' to 'ClusterResourceOnlinePending'
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Online worker is started
2015/02/28-03:12:12.902 INFO  [RCM] HandleMonitorReply: ONLINERESOURCE for 'SQL Server', gen(1) result 997.
2015/02/28-03:12:12.902 INFO  [RCM] TransitionToState(SQL Server) OnlineCallIssued-->OnlinePending.
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] XEvent session MSSQLSERVER is created with RolloverCount 10, MaxFileSizeInMBytes 100, and LogPath 'M:\MSSQL11.MSSQLSERVER\MSSQL\LOG\'
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Extended Event logging is started
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] The private property VerboseLogging is 0
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] The private property HealthCheckTimeout is 60000
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] The private property FailureConditionLevel is 3
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] The private property SqlDumperDumpFlags is 0x0
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] The private property SqlDumperDumpTimeOut is 0
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] The private property SqlDumperDumpPath is ''
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] The property LogIsEnabled is 1
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] The property LogFileRolloverCount is 10
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] The property LogMaxFileSizeInMBytes is 100
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] The property LogPath is ''
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Server name is SQLSERVER
2015/02/28-03:12:12.902 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Service name is MSSQLSERVER
2015/02/28-03:12:12.917 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Dependency expression for resource 'SQL Network Name (SQLServer)' is '([e7738d9a-695e-4250-8254-55b9e23e8726])'
2015/02/28-03:12:12.917 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Starting service MSSQLSERVER...
2015/02/28-03:12:13.183 INFO  [NM] Received request from client address DBServer2.
2015/02/28-03:12:14.197 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Service status checkpoint was changed from 0 to 1 (wait hint 20000). Pid is 6148
2015/02/28-03:12:14.789 INFO  [NM] Received request from client address DBServer2.
2015/02/28-03:12:15.211 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Service is started. SQL Server pid is 6148
2015/02/28-03:12:15.211 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] Connect to SQL Server ...
2015/02/28-03:12:15.211 INFO  [RES] SQL Server <SQL Server>: [sqsrvres] The connection was established successfully

However in the eventvwr system logs I am seeing a bunch of iscsiprt errors that say:

Target did not respond in time for a SCSI request. The CDB is given in the dump data.

 Initiator could not find a match for the initiator task tag in the received PDU. Dump data contains the entire iSCSI header.

Initiator sent a task management command to reset the target. The target name is given in the dump data.

Warning:

The description for Event ID 129 from source iScsiPrt cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

\Device\RaidPort1

the message resource is present but the message is not found in the string/message table

and a sql service error:

A timeout (30000 milliseconds) was reached while waiting for a transaction response from the MSSQLSERVER service.

Can someone please help me understand this:

Thanks a ton.

Viewing all 4532 articles
Browse latest View live


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