Quantcast
Viewing all 4532 articles
Browse latest View live

Excute Timeout When I SUSPEND a database from HADR

Hello,

I want to SUSPEND  a database from HADR,

But when I excute "ALTER DATABASE [eCommerceERP_0325] SET HADR SUSPEND;", It run for a long time, and nerver finish.

No useful long in "Sql server log"


DR - SQL Server running on VMware

Hi Team:

Think like we have a stand alone SQL server was running on VMware. what I m looking is what is the best DR plan.

1) thinking about implementing DR through "VMware vCenter Site Recovery Manager"

2) Configuring SQL Server traditional HA's like log shipping or database mirroring

     2** in step 2, think in one VM we have databases i don't want to create log-shipping or mirroring for all the databases on that SQL Server VM.

Hence i m looking on pros and cons of SRM's.

Please share me the docs if you have any. even i m also looking on google.

Thanks,

Satish Kumar


Thanks, Satish Kumar. Please mark as this post as answered if my anser helps you to resolves your issue :)

Indexorg/Re Indexing jobs in Primary server which has Logshipping

Hi All,

I have primary server(SQLServer 2008 R2) with 200 Database and 90 databases are configured in Log shipping(stand by).

We are planning for Indexing jobs on primary server.

Please some body advise us best practices to implement indexing jobs in primary server.

 

Thanks in advance


Sql Server Log shipping

Hi,

   We have configured log shipping in our production setup. Now we are planning to change the service account from local system on which SQL Server is running to to other domain account.  

Pls let me know changing the service account would have any impact on Log Shipping.

Regards,

Varun

SQL Server 2012 cluster with tempdb on local drives

I am working with a SQL 2012 cluster that puts tempb files into a ramdisk local to each node. The problem that I have encountered is that when the sql instances failover - they leave the old tempdb files on the previous node. After a couple of moves this results in ramdisks that are full of unused files. Does anyone have any workarounds/solutions for this?

Regards, Matt Bowler MCITP, My Blog

Maintenance Plans when using An AlwaysOn Database Availability Group

Hi,

 I'm planning on using a 2 node alwayson database availability group with a witness server. To start the replica sync I'll be using a backup on node 1 and doing a restore on node 2.

I'm planning on configuring the following weekly items into a maintenance plan:

dbcc checkdb
rebuild index

When setting up maintenance plans on two servers in an AAG, can I just create the maintenance plan on each node at a time or do I need to pay special attention to an AAG group?

Thanks


IT Support/Everything

sys.dm_hadr_instance_node_map returns no rows

We have an AlwaysOn Availability Group with 5 replicas.  It's been running for over a year, and has had no problems.  It seems healthy, by every check we can devise.  We have practiced graceful failovers multiple times, without any trouble.

However, when setting up a monitoring tool, the new tool could not see our WSFC details.  After some digging in the tool, it turns out the tool relies on sys.dm_hadr_instance_node_map to build its map of our setup.  And, this DMV returns no rows in our production environment.  

We have a very similar (I would have said identical, but it can't be) setup in dev/test, and everything is working as expected.  The monitoring tool works great in dev/test, and sys.dm_hadr_instance_node_map returns the expected results.

I'm looking for clues as to why the result set would be empty.  What have I missed?

Thanks!

SQL Server Backup versus Virtual Machine Backup. Is the virtual machine backup a reliable way to backup SQL Server data?

My SQL Server is hosted on a virtual machine (VMWare). 
A backup strategy has been suggested whereby we backup the Virtual Machine every night.
Daily backups are all that is required.

Is the virtual machine backup a reliable way to backup SQL Server data?


Jean-Pierre Fouché


SQL Cluster on VM's

Hi Team:

As of now we have two physical cluster nodes which are physical and now we are planning to move VM's. Can any one suggest me

  1.       Microsoft Recommendation for Migrating Clusterd environment to Virtual Environment – Advantages/Disadvantage
  2.     For SQL Cluster on VM's what kind of support we will get from MS and there standards on it.

Thanks,

Satish Kumar.


Thanks, Satish Kumar. Please mark as this post as answered if my anser helps you to resolves your issue :)

SQL 2012 Failover Cluster Installation error

I am installing SQL Serveer 2012 on a Windows Server 2008 R2 Cluster. 

I start the installation, and choose "New SQL Server Failover Cluster installation"  Everything is going along fine until i get to the "Database Engine Configuration" Page.  On the "Data Directories" tab, it automatically filled in the paths for the database file locations with:

\\?\Volume{... Volume GUID}\MSSQL11.MSSQLSERVER\MSSQL\Data

But these have an error that says: "The path \\?\Volume{...guid...}\MSSQL..... is malformed or not absolute.

In my Windows Server Cluster, I have two devices in my storage folder.  One is the Quorum drive, and the other is a shared Volume.  The shared volume does not have a drive letter, and when I look at the Properties in the Cluster Manager, the volume is listed as "C:\ClusterStorage\Volume1".  (Note:  It had a drive letter untill i configured it as a Cluster Shared volume.

My question is, what is the correct value to enter for the data file paths?

Thanks


Matt

Exclusive access could not be obtained because the database is in use

Hi

 

I am trying to use sql server 2005 management stodio to restore a database. But I got this error message:

 

Exclusive access could not be obtained because the database is in use

 

Anyone know how to solve this problem?

 

Thanks

 

Li

How to recover from database consistency errors?

I have a SQL server cluster 2005. Due to the broken of SAN storage's controller and disks, one of my SharePoint content DB has corrupted and has been causing numerous error to the SharePoint. I have run the command "DBCC CHECKDB WITH NO_INFOMDGS" and the truncated output are as following:

Table error: Object ID 53575229, index ID 1, partition ID 72057594038583296, alloc unit ID 72057594043564032 (type In-row data), page ID (3:21580503) contains an incorrect page ID in its page header. The PageId in the page header = (3:21580511).
CHECKDB found 0 allocation errors and 6 consistency errors in table 'AllDocs' (object ID 53575229).

Table error: Object ID 53575229, index ID 1, partition ID 72057594038583296, alloc unit ID 72057594043564032 (type In-row data), page ID (3:21580503) contains an incorrect page ID in its page header. The PageId in the page header = (3:21580511).
CHECKDB found 0 allocation errors and 6 consistency errors in table 'AllDocs' (object ID 53575229).

Object ID 1058102810, index ID 4, partition ID 72057594052411392, alloc unit ID 72057594058571776 (type In-row data): Page (3:21580478) could not be processed.  See other errors for details.
CHECKDB found 0 allocation errors and 4 consistency errors in table 'EventCache' (object ID 1058102810).

Table error: Object ID 1762105318, index ID 1, partition ID 72057594055819264, alloc unit ID 72057594062897152 (type LOB data). The off-row data node at page (3:21985593), slot 35, text ID 5702751551488 is not referenced.
Msg 8964, Level 16, State 1, Line 1
Table error: Object ID 1762105318, index ID 1, partition ID 72057594055819264, alloc unit ID 72057594062897152 (type LOB data). The off-row data node at page (3:21985594), slot 14, text ID 5702751354880 is not referenced.
Msg 8986, Level 16, State 1, Line 1
Too many errors found (201) for object ID 1762105318. To see all error messages rerun the statement using "WITH ALL_ERRORMSGS".
CHECKDB found 0 allocation errors and 307 consistency errors in table 'AuditData' (object ID 1762105318).
CHECKDB found 0 allocation errors and 363 consistency errors in database 'ALCIM_WSS_Content'.
repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (WSS_Content).

Error show in the event log:

SQL Server detected a logical consistency-based I/O error: incorrect pageid (expected 3:21580475; actual 0:0). It occurred during a read of page (3:21580475) in database ID 9 at offset 0x00002929576000 in file 'E:\Microsoft SQL Server\Data\MSSQL.1\MSSQL\DATA\WSS_Content_2.ndf'. 

The last DB backup creatred was about a month ago so doing DB resotre will be my last choice. Is it possible I can recover the DB without data loss using "DBCC CHECKDB ('WSS_Content', REPAIR_REBUILD)"? Any alternative method to acheive my goal?

Thank you.

How to check when database on primary server switch to secondary server and clients also did not connect to database ?

Dear :

     I am new beginner on sql server 2012 always on. 

    Our site had met an accident.  It was the primary database server was unavailable and database was switch to

secondary server.  Many users did not connect to database unless I switch database back to primary server.

    So,  it was strange that  the service is alive when the database switch to another server.  Why users did not connect to 

database which on secondary server ?   How can I check that issue?

Log shipping is not restoring log files ata particular time

Hi,

I have configured log shipping and it restores all the log files upto a particular time after which it throws error and not in consistent sate. I tried deleting and again configuring log shipping couple of times but no success. Can any one tell me  how to prevent it as I have already configured log shipping from another server to same destination server and it is working fine for more than 1 year? The new configuration is only throwing errors in restoration job.

Thanks,

Preetha

AlwaysOn Availability Groups - Can we have just Primary replica?

Hi all,

We are looking at a future deployment of this technology in SQL 2012 for Production. Would sit on a 2-site WSFC.

The question has come up: is it feasible to create a 'single-node' copy of such a deployment, based on a single-node WSFC at the first site. We would have SQL 2012 instances installed on this one server, still have the AAG in place but have no other instance to host secondary replicas?

Reason being to get to a 'Pre-Prod' build that simulates as close as possible to Prod but is not a full WSFC and does not have full AAG on top.

From reading, my thinking is you need 1 or more genuine secondary replicas in the AAG by definition. Can anyone confirm or comment?

Many thanks

PD


How to upgrade an Active & Active sql cluster?

Hi Experts,

How to upgrade an Active & Active sql cluster?

Is there any difference in upgrade for sql 2005 Active-Active cluster and sql 2008 R2 Active - Active cluster?

Thanks in advance.

SQL Server 2012 Always ON Users Sync

Team,

We have a development cluster which is configured on Windows Server 2012. Recently we had an issue where the cluster failover happened momentarily and the roles were interchanged wrt to AlwaysON. During this process users lost connectivity and upon further investigation, the users were orphaned on the other node and had to manually permission the users. Now that we have fixed the permission issue, please let me know whether this happens everytime whenever the cluster failover happens?

Also would like to seek your help in any user sync script which I can incorporate for the issue to sync up the logins.

SQL Version: 11.0.3000

Any help on this is much appreciated.

Regards,

Sharath

Question on sql cluster

Hi,

On a cluster, we have 2 networks i.e private network and public network.
Private network is used for cluster communication(LooksAlive and IsAlive checks) and Public network is used for client applications to connect.

Now my question is, what happens if Private network is down. Does it have any effect on cluster? or Does it failback to Public network?

Thanks in advance.

Failover scenarios for AlwaysOn

What are the failover scenarios/situations in which the failover happens when the Databases are configured with ALways-On?

In our situation windows failover cluster server node 1 fails over to node 2 but the databases are still pointing to node 1.

thanks


Active/Active Cluster SQL Server 2008 R2 connectivity problems

Hi,

We have a 2 node Actice/Active Cluster as described here:

SqlServer Instance 1 = MSSQLSERVER

SqlServer Instance 2 = Instance2

As we know when we want to connect to the second instance, our web.config files in Application Servers must be changed to something likeIP\Instance2 or DNS\Instance2 which is too difficult for us to do.

The question is that is there any other way to connect to the Active/Active cluster?


Viewing all 4532 articles
Browse latest View live


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