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

Alwayson with TDE!!

$
0
0

Hi Everyone,

We have two node sql server 2016 ENT within DC and another node in different DC.

currently we have configured the alwayson within DC & another DC will join later,the question is  simple- wanted to know

Is there any best practice exists on Alwayson + TDE to enable along with steps & before we go enable TDE on the DB -is there any prerequisites required.

do we need to keep same certificate and key in the secondary i,e same copy in another node as well (or) do we need to go for different option (ofcourse it depends on us,but if any good practice exists too).


Regards, S_NO "_"


Does changing the system clock impact availability group synchronisation?

$
0
0

Hi all,

a client of us noticed their system clock wasn't accurate anymore and want to manually update the system time within their domain.

This domain also holds two SQL Server instances part of an availability group.

Will the synchronisation between AG replicates be impacted when the system clock is updated?

thanks

geert


Geert Vanhove DCOD ------ http://geertvanhove.wordpress.com/ ----------- Please click the Mark as Answer or Vote As Helpful if a post solves your problem or is helpful!

Oracle RAC Vs SQL Server Cluster

$
0
0

I am confuse about SQL server cluster services. What is his main purpose + compare with Oracle (if possible) ?

In oracle cluster services typically use for load balancing and two nodes always use for load balancing. Infact, if you have 4000 users, you can divide these users on two different machines with the single database.

Looking for your expert opinion.

Regards

Server 2016 / SQL 2014 Standard - Unable to enable AlwaysOn Feature

$
0
0

Hello! I have hit a brick wall trying to enable AlwaysOn feature in SQL Server 2014 Standard.

As far as I am aware I believe that this feature is available for this version (looking at the MS documentation) as I only want to use the basic features (only 2 nodes), but... when I try to enable via the "SQL Management Configuration manager" I just see the message "This feature requires enterprise...." i.e. no check box.

I have installed and enabled on both SQL servers

- Cluster Admin and configured (on Server 2016)

- Installed SQL Server 2014 Standard

- Installed updates on both servers

I have run out of idea's.

Recommendatin for when network will be out for 2 minutes

$
0
0

Hi, 

Other than stop the SQL services, just wondered what the best practices would be for when the network will be out for 2 minutes (due to network upgrade).

Thank you very much.

Multiple Availability Groups and instances

$
0
0

  Present we have 2 instances available App1 ,App2 and SharePointDB and we are planning for Always configuration for each instance i.e 2 Node cluster .  

Our environment like  as below 


       SQL Instance1  for  App1DB.
       SQL Instance2  for  App2 DB.
       SQL Instance3  for  SharepointDB

What is the best approach for the above. what are the prerequisites need for this configuration 


 

SQLServer 2016 - Log Shipping From SQLFCI 2016 to Standalone SQLServer 2016 Installation

$
0
0

All,

We have a SQLFCI setuo on SQLServer 2016 and we want to setup Log Shipping to a SQLServer 2016 Standalone Installation in our DR location.

I have setup Log Shipping between 2 Independent Installation in SQLServer 2005. Is there any caveats or do/donts that I should be aware off?

Thanks,

grajee

Question on secondary Quorum in Always on Availability Groups

$
0
0

Hi Experts, need some suggestion please.


I did set up alwayson Availability groups

Physical-ServerA--Primary
Physical ServerB-Secondary
and Configured on ServerA and ServerB to use witness below:
VM-ServerC:File Share Witness : D\Quorum:



Now, When VM-ServerC goes down my Alwayson Availability groups will work..I know It requires quorum to function (otherwise how would it know which was the primary).


My question is: 
is there a way to build a alternate VM-ServerC:File Share Witness : D\Quorum:
may be VM-ServerC:File Share Witness : D\Quorum: 

so that if  VM-ServerC:File Share Witness : D\Quorum: goes down , i now have newly built  VM-ServerD:File Share Witness : D\Quorum: to serve ...
Please Suggest if there are any other alternate options, all i wanted is IF  VM-ServerC:File Share Witness : D\Quorum goes down i need another server to run and serve ..

Thanks in advance 




Need to migrate SQL 2012 AlwaysOn cluster and heartbeat to new network

$
0
0

We have a 2012 SQL AlwaysOn availability group(2-node) running on top of 2008 R2 Enterprise servers.  Both of these servers need to be migrated to a new network.  This is an extremely critical SQL database that we would prefer to keep online.  The production network will be a quick failover(vmotion-5 seconds) to the same subnet. The cluster heartbeat will need to be migrated to an entirely new subnet.  So we just basically need to figure out how we can move servers in an AlwaysOn AG to a new network without them failing over because of a quick network disruption, and we also need to move the cluster heartbeat to an entirely new subnet(re-ip those NICs).   

Even ideas that could help point in the right direction, are greatly appreciated.


Dave



Sync users among databases in Always On

$
0
0
Is there a way to sync the users among the databases in Always On? I need the users created in primary database be automatically created in secondary databases.

Setup HA on Windows Azure with Different Azure Region (Need Advise)

$
0
0

Dear Friends, 

i am planning to setup 2 node SQL Server HA with DR in Windows Azure as per azure documentation. Node 1 is in East Us region and Node 2 will be in West US region. is both region are connected with VNET to VNET connectivity. 

is this supported scenario to setup SQL 2016 high availability across different region with Sync. Commit. 

expert opinion is required in this scenario. 

Thank you, 

@ Soni

Accidentally deleted listening group and now I can't recreate it

$
0
0

It seems I can't create it with the same IP? Is there a way around this?

Script I ran:

USE [master]
GO
ALTER
AVAILABILITYGROUP[ABC]
ADDLISTENER N'ListenerNmae'(WITHIP((N'xxx.xxx.xxx.xxx',N'255.255.252.0'))

,PORT=1433);

Here's the error I'm getting

Msg 41066, Level 16, State 0, Line 3

Cannot bring the Windows Server Failover Clustering (WSFC) resource (ID 'ac46f9b1-41f1-4d40-b6fb-58f61b541fb9') online (Error code 5942).  The WSFC service may not be running or may not be accessible in its current state, or the WSFC resource may not be in a state that could accept the request.  For information about this error code, see "System Error Codes" in the Windows Development documentation.

Msg 19476, Level 16, State 4, Line 3

The attempt to create the network name and IP address for the listener failed. The WSFC service may not be running or may be inaccessible in its current state, or the values provided for the network name and IP address may be incorrect. Check the state of the WSFC cluster and validate the network name and IP address with the network administrator.


Update the port on Aways On Availability Group Listener showed up in setting but did not work

$
0
0

We want to change the port of our Always on listener, I ran the SQL to update the port to 1433 from a non-standard port. All three of the instances use a non-standard port. But the listener continued to connect on the previously set port.

I checked the setting and it had changed.

I ran this:

ALTER
AVAILABILITYGROUPgroupname
MODIFY LISTENERN'listenername'(PORT=1433);

I checked the setting on the server, it had changed, but you still could only connect to the listening group on the previously set up port.

What am I missing?

Thanks

Redo log error

$
0
0

Recently face this redo log issue,

Error: 3456, Severity: 21, State: 1.

Could not redo log record (14215667:937684:2), for transaction ID (1:-1187662913), on page (1:61242908), allocation unit 51745774043136, database 'Strorage' (database ID 12). Page: LSN = (14215534:4612217:6), allocation unit = 51745774043136, type = 1. Log: OpCode = 3, context 1, PrevPageLSN: (14215603:96348:132). Restore from a backup of the database, or repair the database.

Always On Availability Groups data movement for database 'Strorage' has been suspended for the following reason: "system" (Source ID 2; Source string: 'SUSPEND_FROM_REDO'). To resume data movement on the database, you will need to resume the database manually. For information about how to resume an availability database, see SQL Server Books Online.

During redoing of a logged operation in database 'Strorage', an error occurred at log record ID (14215667:937684:2). Typically, the specific failure is previously logged as an error in the Windows Event Log service. Restore the database from a full backup, or repair the database.

I have re-stored the backup, however would like to know why it is happening and how can i stop it from happening.. where can i check for logs. Can please advise on this.

AG Listener Connectivity

$
0
0

Hi all, I am not able to connect to the listener without the instance port number. Could you please advise what is issue and solution? 

It is a two node cluster and SQL Named instance. I am using the same port number for the instance and listener. 

Do I need to create an Alias name for the listener again?  Thanks. 




Log not being backed up

$
0
0

Hi SQL Server Pros,

I'm not a SQL admin by trade, hence the very basic question. I had the NetBackup admin setup a backup job on a SQL instance.  I see that a backup occurred, but the log was not backed up.  Does anyone know if the settings on the NetBackup backup job need to be adjusted so the log also gets backed up?

Thanks!



SQL Cluster Performance

$
0
0

Hi all, I have setup 2 node Active-Active SQL cluster and handed over to application team. Application team is running some Database performance benchmark test (That is creating a sample database with a table and inserting 60 million records and performing some random database operations) and they come back saying performance is not as expected. This is for Biztalk application.

Please share if there are performance benchmark metrics we run against the environment that we have built to show that our Database cluster is working fine with respect to performance.

Thanks, 


Ramesh M

HADR_SYNC_COMMIT waittype is high

$
0
0
I have 2 node AO setup (SQL Server 2012 SP4), having 1 AG which has around 100 databases. 
Both are the physical server having configuration OS win server 2012, 64GB RAM, 24 logical Cores.

While doing the load performance testing, I have noticing lot of lag when AG is running in sync mode, HADR_SYNC_COMMIT waitype is highest.
I setup the dedicated AO communitcation link of 1GB speed between both the servers, but still lag is same.

When it is in Asynchronous mode testing insert script gets complete within 40 seconds, where as when it is running in synchorounos mode it takes 5 minutes.
CPU usage remain between 3% to 4% and RAM between 5-6% on both the servers.

Its a test environment, so there are hardly any connection made to it and also no other operation is happening. Servers remain idle most of the time.


Any troubleshooting tips to find the bottleneck or any idea what could be the possible solution to improve it?

--
Udham Singh

alwasyon +log shipping

$
0
0

Hi All, we have configured alwasyon and log shipping . log shipping out of synch for one database . performance slow on secondary replica and  log drive got full 

how do resolve it

Is it posible to find database size when secondary database in restoring mode in MSSQL Native log shipping.

$
0
0
Is it posible to find database size when secondary database in restoring mode in MSSQL Native log shipping.
Viewing all 4532 articles
Browse latest View live


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